Fix send consolidation typo
[glibc.git] / ChangeLog
blob0aedae84ff5749ce86f41aa29f3bee40a3797ec7
1 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
3         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4         (__ASSUME_RECV_SYSCALL): Replace duplicate by
5         __ASSUME_SEND_SYSCALL.
7 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
9         * math/auto-libm-test-out-catan: Regenerated.
10         * math/auto-libm-test-out-catanh: Likewise.
11         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
15         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
16         for long double with corrected test expectations.
18 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
21         Define.
22         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
23         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
24         * sysdeps/unix/sysv/linux/nios2/sysdep.h
25         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
26         * sysdeps/unix/sysv/linux/tile/sysdep.h
27         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
28         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29         (__ASSUME_RECV_SYSCALL): Define.
30         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31         (__ASSUME_RECV_SYSCALL): Likewise.
32         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33         (__ASSUME_RECV_SYSCALL): Likewise.
34         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35         (__ASSUME_RECV_SYSCALL): Likewise.
36         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37         (__ASSUME_RECV_SYSCALL): Likewise.
38         * sysdeps/unix/sysv/linux/i386/kernel-features.h
39         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
40         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
41         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
42         * sysdeps/unix/sysv/linux/s390/kernel-features.h
43         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
44         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
45         auto-generation list.
46         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
47         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
48         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
49         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
50         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
51         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
52         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
53         __ASSUME_SENDTO_SYSCALL.
54         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
55         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
56         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
58         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
59         auto-generation list.
60         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
61         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
62         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
63         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
64         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
65         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
66         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
67         * sysdeps/unix/sysv/linux/kernel-features.h
68         (__ASSUME_SENDTO_SYSCALL): Define by default.
69         * sysdeps/unix/sysv/linux/i386/kernel-features.h
70         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
71         __NR_sendto.
72         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
73         (__ASSUME_SENDTO_SYSCALL): Likewise.
74         * sysdeps/unix/sysv/linux/s390/kernel-features.h
75         (__ASSUME_SENDTO_SYSCALL): Likewise.
76         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
77         (__ASSUME_SENDTO_SYSCALL): Remove definition.
78         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
79         (__ASSUME_SENDTO_SYSCALL): Likewise.
80         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
81         (__ASSUME_SENDTO_SYSCALL): Likewise.
82         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
84         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
85         auto-generation list.
86         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
87         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
88         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
89         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
90         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
91         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
92         (__ASSUME_RECV_SYSCALL): New define.
93         * sysdeps/unix/sysv/linux/arm/kernel-features.h
94         (__ASSUME_RECV_SYSCALL): Likewise.
95         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
96         (__ASSUME_RECV_SYSCALL): Likewise.
97         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
98         (__ASSUME_RECV_SYSCALL): Likewise.
99         * sysdeps/unix/sysv/linux/mips/kernel-features.h
100         (__ASSUME_RECV_SYSCALL): Likewise.
101         * sysdeps/unix/sysv/linux/i386/kernel-features.h
102         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
103         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
104         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
105         * sysdeps/unix/sysv/linux/s390/kernel-features.h
106         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
107         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
108         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
109         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
110         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
111         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
112         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
114         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
115         auto-generation list.
116         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
117         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
118         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
119         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
120         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
121         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
122         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
123         * sysdeps/unix/sysv/linux/i386/kernel-features.h
124         (__ASSUME_RECVFROM_SYSCALL): Define by default.
125         * sysdeps/unix/sysv/linux/kernel-features.h
126         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
127         __NR_recvfrom.
128         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
129         (__ASSUME_RECVFROM_SYSCALL): Likewise.
130         * sysdeps/unix/sysv/linux/s390/kernel-features.h
131         (__ASSUME_RECVFROM_SYSCALL): Likewise.
132         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
133         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
134         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
135         (__ASSUME_RECVFROM_SYSCALL): Likewise.
136         * sysdeps/unix/sysv/linux/sh/kernel-features.h
137         (__ASSUME_RECVFROM_SYSCALL): Likewise.
138         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
139         (__ASSUME_RECVFROM_SYSCALL): Likewise.
140         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
142         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
143         auto-generation list.
144         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
145         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
146         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
147         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
148         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
149         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
150         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
151         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
152         * sysdeps/unix/sysv/linux/kernel-features.h
153         (__ASSUME_CONNECT_SYSCALL): Define.
154         * sysdeps/unix/sysv/linux/i386/kernel-features.h
155         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
156         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
157         (__ASSUME_CONNECT_SYSCALL): Likewise.
158         * sysdeps/unix/sysv/linux/s390/kernel-features.h
159         (__ASSUME_CONNECT_SYSCALL): Likewise.
160         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
161         (__ASSUME_CONNECT_SYSCALL): Likewise.
163         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
164         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
165         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
166         auto-generation list.
167         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
168         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
169         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
170         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
171         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
172         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
173         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
174         * sysdeps/unix/sysv/linux/i386/kernel-features.h
175         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
176         (__ASSUME_ACCEPT_SYSCALL): Undefine.
177         * sysdeps/unix/sysv/linux/kernel-features.h
178         (__ASSUME_ACCEPT_SYSCALL): New define.
179         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
180         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
181         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
182         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
183         (__ASSUME_ACCEPT_SYSCALL): Define.
184         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
185         (__ASSUME_ACCEPT_SYSCALL): Undefine.
186         * sysdeps/unix/sysv/linux/s390/kernel-features.h
187         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
188         (__ASSUME_ACCEPT_SYSCALL): Undefine.
189         * sysdeps/unix/sysv/linux/sh/kernel-features.h
190         (__ASSUME_ACCEPT_SYSCALL): Undefine.
191         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
192         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
194 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
195             Zack Weinberg  <zackw@panix.com>
197         * posix/test-errno.c: New file.
198         * posix/Makefile (tests): Add test-errno.
199         * sysdeps/unix/sysv/linux/test-errno.c: New file.
200         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
202 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
204         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
206 2017-03-07  Florian Weimer  <fweimer@redhat.com>
208         * time/tzset.c (compute_offset): Open-code min macro.
209         (min, max, sign): Remove.
211 2017-03-07  Florian Weimer  <fweimer@redhat.com>
213         [BZ #15576]
214         Remove TZNAME_MAX limit from sysconf.
215         * include/time.h (__tzname_cur_max, __tzname_max): Remove
216         declaration.
217         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
218         compute_tzname_max.
219         (compute_tzname_max): Remove.
220         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
221         (update_vars): Do not update __tzname_cur_max.
222         (tzset_internal): Remove argument.
223         (__tzset): Adjust call to tzset_internal.
224         (__tz_convert): Likewise.
226         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
227         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
228         * manual/conf.texi (Sysconf Definition): Update comment.
230 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
232         [BZ #21209]
233         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
234         AT_SECURE processes.
235         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
236         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
237         (test_child): Likewise.
238         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
240 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
242         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
244 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
246         * sysdeps/s390/atomic-machine.h
247         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
248         (__arch_compare_and_exchange_val_8_acq,
249         __arch_compare_and_exchange_val_16_acq,
250         __arch_compare_and_exchange_val_32_acq,
251         __arch_compare_and_exchange_val_64_acq):
252         Delete macro.
253         (atomic_compare_and_exchange_val_acq,
254         atomic_compare_and_exchange_val_rel,
255         atomic_compare_and_exchange_bool_acq,
256         catomic_compare_and_exchange_bool_acq,
257         atomic_exchange_acq, atomic_exchange_rel,
258         atomic_exchange_and_add_acq,
259         atomic_exchange_and_add_rel,
260         catomic_exchange_and_add, atomic_or_val,
261         atomic_or, catomic_or, atomic_bit_test_set,
262         atomic_and_val, atomic_and, catomic_and):
263         Define macros with help of C11 atomic builtins.
265 2017-03-03  Justus Winter <justus@gnupg.org>
267         * sysdeps/mach/hurd/ftruncate64.c: New file.
268         * sysdeps/mach/hurd/truncate64.c: Likewise.
270 2017-03-03  Florian Weimer  <fweimer@redhat.com>
272         * time/tzfile.c (NOID): Do not define.
273         * time/tzset.c (NOID): Likewise.
275 2017-03-03  Florian Weimer  <fweimer@redhat.com>
277         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
279 2017-03-02  Florian Weimer  <fweimer@redhat.com>
281         * elf/get-dynamic-info.h: Remove header file inclusion guard.
283 2017-03-02  Florian Weimer  <fweimer@redhat.com>
285         [BZ #21015]
286         * manual/install.texi (Configuring and compiling): Document
287         --enable-bind-now.
288         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
289         (build-shlib-helper): Use $(LDFLAGS-lib.so).
290         (format.lds): Likewise.
291         [bind-now] (LDFLAGS-c.so): Remove.
292         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
293         be R_X86_64_GLOB_DAT.
294         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
295         relocation can be R_386_GLOB_DAT.
296         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
297         relocaiton can be R_ALPHA_GLOB_DAT.
298         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
300 2017-03-01  Zack Weinberg  <zackw@panix.com>
302         * include/libc-pointer-arith.h: New file.  Define
303         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
304         PTR_ALIGN_DOWN here.
305         * include/libc-internal.h: Definitions of above macros
306         moved from here.  Don't include libc-diag.h anymore either.
307         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
308         Don't include libc-internal.h.
310         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
311         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
312         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
313         * string/strcoll_l.c, sysdeps/nacl/brk.c
314         * sysdeps/unix/clock_settime.c
315         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
316         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
317         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
318         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
319         Don't include libc-internal.h.
321         * elf/get-dynamic-info.h, iconv/loop.c
322         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
323         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
324         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
325         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
326         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
327         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
328         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
329         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
330         * sysdeps/ieee754/ldbl-128/k_tanl.c
331         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
332         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
333         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
334         Include libc-diag.h instead of libc-internal.h.
336         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
337         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
338         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
339         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
340         * sysdeps/unix/sysv/linux/spawni.c
341         * sysdeps/x86_64/nptl/tls.h:
342         Include libc-pointer-arith.h instead of libc-internal.h.
344         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
345         * sysdeps/x86_64/atomic-machine.h:
346         Add multiple include guard.
348         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
349         * string/strcasestr.c: No need to include config.h.
350         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
351         sys/auxv.h. Don't include sysdep.h.
352         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
354         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
355         DL_LOOKUP_ADDRESS.
356         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
357         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
358         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
359         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
360         of ARTIFICIAL_LIMIT.
361         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
362         declaration of __clone2.
364 2017-02-28  Florian Weimer  <fweimer@redhat.com>
366         * scripts/backport-support.sh (latest_commit): New file.
368 2017-02-28  Florian Weimer  <fweimer@redhat.com>
370         [BZ #20257]
371         * inet/Makefile (routines): Add deadline.
372         (tests-static): Add tst-deadline.
373         * inet/net-internal.h (struct deadline_current_time)
374         (__deadline_current_time, struct deadline, __deadline_is_infinite)
375         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
376         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
377         * inet/deadline.c: New file.
378         * inet/tst-deadline.c: Likewise.
379         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
380         tst-udp-timeout, tst-udp-garbage.
381         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
382         explicitly.
383         (tst-udp-garbage): Likewise.  Also link against thread library.
384         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
385         struct layout is part of the ABI.
386         (clntudp_call): Rework timeout handling.
387         * sunrpc/tst-udp-garbage.c: New file.
388         * sunrpc/tst-udp-nonblocking.c: Likewise.
389         * sunrpc/tst-udp-timeout.c: Likewise.
391 2017-02-28  Florian Weimer  <fweimer@redhat.com>
393         [BZ #5010]
394         * sunrpc/svc.c (svc_is_mapped): Remove.
395         (svc_unregister): Obtain mapped status while the service is still
396         registered.
397         * sunrpc/Makefile [have-thread-library] (tests): Add
398         tst-svc_register.
399         (tst-svc_register): Link against libc.so explicitly and the thread
400         library.
401         * sunrpc/tst-svc_register.c: New file.
403 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
405         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
406         * sysdeps/pthread/bits/sigthread.h: Likewise.
408 2017-02-27  Florian Weimer  <fweimer@redhat.com>
410         [BZ #21115]
411         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
412         * sunrpc/Makefile (tests): Add tst-udp-error.
413         (tst-udp-error): Link against libc.so explicitly.
414         * sunrpc/tst-udp-error: New file.
416 2017-02-25  Zack Weinberg  <zackw@panix.com>
418         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
419         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
421         * sysdeps/generic/math_ldbl.h
422         * sysdeps/ia64/fpu/math_ldbl.h
423         * sysdeps/ieee754/ldbl-128/math_ldbl.h
424         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
425         * sysdeps/ieee754/ldbl-96/math_ldbl.h
426         * sysdeps/powerpc/fpu/math_ldbl.h
427         * sysdeps/x86_64/fpu/math_ldbl.h:
428         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
429         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
430         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
431         Add copyright notices.
433         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
434         Don't use EXTRACT_WORDS64.
436         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
437         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
438         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
439         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
440         Include math_ldbl.h, not math_private.h.
442 2017-02-25  Zack Weinberg  <zackw@panix.com>
444         * include/libc-diag.h: New file.  Define ignore_value,
445         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
446         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
448         * include/libc-internal.h: Definitions of above macros moved from
449         here.  Include libc-diag.h.  Add copyright notice.
451         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
452         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
453         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
454         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
455         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
456         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
457         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
458         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
459         Include libc-diag.h instead of libc-internal.h.
461         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
462         call to unsetenv (NULL).
463         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
464         call to pthread_mutexattr_destroy (NULL).
466 2017-02-25  Zack Weinberg  <zackw@panix.com>
468         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
469         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
470         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
471         gets was removed from C++ in C++14.
472         * include/stdio.h: Remove redundant declaration of gets.
473         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
474         be declared, since we are testing it.
475         * stdio-common/Makefile (tst-gets.c): Compile with
476         -Wno-deprecated-declarations.
477         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
478         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
479         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
480         Compile with -Wno-deprecated-declarations.
482 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
484         * math/libm-test-support.c (check_ulp): Use LIT() around literal
485         numbers.
487 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
489         * resolv/tst-resolv-qtypes.c (domain):
490         Change type to const pointer to const char.
492 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
494         * math/Makefile (libm-tests-generated): Remove variable.
495         (libm-tests-base-normal): New variable.
496         (libm-tests-base-finite): Likewise.
497         (libm-tests-base-inline): Likewise.
498         (libm-tests-base): Likewise.
499         (libm-tests-normal): Likewise.
500         (libm-tests-finite): Likewise.
501         (libm-tests-inline): Likewise.
502         (libm-tests-vector): Likewise.
503         (libm-tests): Define in terms of these new variables.
504         (libm-tests-for-type): New variable.
505         (libm-tests.o): Move definition.
506         (tests): Move addition of $(libm-tests).
507         (generated): Update for new and removed libm test files.
508         ($(objpfx)libm-test.c): Remove target.
509         ($(objpfx)libm-have-vector-test.h): Likewise.
510         (CFLAGS-test-double-vlen2.c): Remove variable.
511         (CFLAGS-test-double-vlen4.c): Likewise.
512         (CFLAGS-test-double-vlen8.c): Likewise.
513         (CFLAGS-test-float-vlen4.c): Likewise.
514         (CFLAGS-test-float-vlen8.c): Likewise.
515         (CFLAGS-test-float-vlen16.c): Likewise.
516         (CFLAGS-test-float.c): Likewise.
517         (CFLAGS-test-float-finite.c): Likewise.
518         (CFLAGS-libm-test-support-float.c): Likewise.
519         (CFLAGS-test-double.c): Likewise.
520         (CFLAGS-test-double-finite.c): Likewise.
521         (CFLAGS-libm-test-support-double.c): Likewise.
522         (CFLAGS-test-ldouble.c): Likewise.
523         (CFLAGS-test-ldouble-finite.c): Likewise.
524         (CFLAGS-libm-test-support-ldouble.c): Likewise.
525         (libm-test-inline-cflags): New variable.
526         (CFLAGS-test-ifloat.c): Remove variable.
527         (CFLAGS-test-idouble.c): Likewise.
528         (CFLAGS-test-ildouble.c): Likewise.
529         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
530         dependencies.
531         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
532         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
533         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
534         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
535         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
536         Likewise.
537         (dependencies on libm-test-support-*.o): Remove.
538         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
539         rules using iterators.
540         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
541         Likewise.
542         ($(objpfx)libm-test-support-$(o).o): Likewise.
543         ($(addprefix $(objpfx),$(filter-out $(tests-static)
544         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
545         instead.
546         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
547         define rule instead.
548         * math/README.libm-test: Update.
549         * math/libm-test-acos.inc: Include libm-test-driver.c.
550         (do_test): New function.
551         * math/libm-test-acosh.inc: Include libm-test-driver.c.
552         (do_test): New function.
553         * math/libm-test-asin.inc: Include libm-test-driver.c.
554         (do_test): New function.
555         * math/libm-test-asinh.inc: Include libm-test-driver.c.
556         (do_test): New function.
557         * math/libm-test-atan.inc: Include libm-test-driver.c.
558         (do_test): New function.
559         * math/libm-test-atan2.inc: Include libm-test-driver.c.
560         (do_test): New function.
561         * math/libm-test-atanh.inc: Include libm-test-driver.c.
562         (do_test): New function.
563         * math/libm-test-cabs.inc: Include libm-test-driver.c.
564         (do_test): New function.
565         * math/libm-test-cacos.inc: Include libm-test-driver.c.
566         (do_test): New function.
567         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
568         (do_test): New function.
569         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
570         (do_test): New function.
571         * math/libm-test-carg.inc: Include libm-test-driver.c.
572         (do_test): New function.
573         * math/libm-test-casin.inc: Include libm-test-driver.c.
574         (do_test): New function.
575         * math/libm-test-casinh.inc: Include libm-test-driver.c.
576         (do_test): New function.
577         * math/libm-test-catan.inc: Include libm-test-driver.c.
578         (do_test): New function.
579         * math/libm-test-catanh.inc: Include libm-test-driver.c.
580         (do_test): New function.
581         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
582         (do_test): New function.
583         * math/libm-test-ccos.inc: Include libm-test-driver.c.
584         (do_test): New function.
585         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
586         (do_test): New function.
587         * math/libm-test-ceil.inc: Include libm-test-driver.c.
588         (do_test): New function.
589         * math/libm-test-cexp.inc: Include libm-test-driver.c.
590         (do_test): New function.
591         * math/libm-test-cimag.inc: Include libm-test-driver.c.
592         (do_test): New function.
593         * math/libm-test-clog.inc: Include libm-test-driver.c.
594         (do_test): New function.
595         * math/libm-test-clog10.inc: Include libm-test-driver.c.
596         (do_test): New function.
597         * math/libm-test-conj.inc: Include libm-test-driver.c.
598         (do_test): New function.
599         * math/libm-test-copysign.inc: Include libm-test-driver.c.
600         (do_test): New function.
601         * math/libm-test-cos.inc: Include libm-test-driver.c.
602         (do_test): New function.
603         * math/libm-test-cosh.inc: Include libm-test-driver.c.
604         (do_test): New function.
605         * math/libm-test-cpow.inc: Include libm-test-driver.c.
606         (do_test): New function.
607         * math/libm-test-cproj.inc: Include libm-test-driver.c.
608         (do_test): New function.
609         * math/libm-test-creal.inc: Include libm-test-driver.c.
610         (do_test): New function.
611         * math/libm-test-csin.inc: Include libm-test-driver.c.
612         (do_test): New function.
613         * math/libm-test-csinh.inc: Include libm-test-driver.c.
614         (do_test): New function.
615         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
616         (do_test): New function.
617         * math/libm-test-ctan.inc: Include libm-test-driver.c.
618         (do_test): New function.
619         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
620         (do_test): New function.
621         * math/libm-test-erf.inc: Include libm-test-driver.c.
622         (do_test): New function.
623         * math/libm-test-erfc.inc: Include libm-test-driver.c.
624         (do_test): New function.
625         * math/libm-test-exp.inc: Include libm-test-driver.c.
626         (do_test): New function.
627         * math/libm-test-exp10.inc: Include libm-test-driver.c.
628         (do_test): New function.
629         * math/libm-test-exp2.inc: Include libm-test-driver.c.
630         (do_test): New function.
631         * math/libm-test-expm1.inc: Include libm-test-driver.c.
632         (do_test): New function.
633         * math/libm-test-fabs.inc: Include libm-test-driver.c.
634         (do_test): New function.
635         * math/libm-test-fdim.inc: Include libm-test-driver.c.
636         (do_test): New function.
637         * math/libm-test-floor.inc: Include libm-test-driver.c.
638         (do_test): New function.
639         * math/libm-test-fma.inc: Include libm-test-driver.c.
640         (do_test): New function.
641         * math/libm-test-fmax.inc: Include libm-test-driver.c.
642         (do_test): New function.
643         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
644         (do_test): New function.
645         * math/libm-test-fmin.inc: Include libm-test-driver.c.
646         (do_test): New function.
647         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
648         (do_test): New function.
649         * math/libm-test-fmod.inc: Include libm-test-driver.c.
650         (do_test): New function.
651         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
652         (do_test): New function.
653         * math/libm-test-frexp.inc: Include libm-test-driver.c.
654         (do_test): New function.
655         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
656         (do_test): New function.
657         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
658         (do_test): New function.
659         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
660         (do_test): New function.
661         * math/libm-test-hypot.inc: Include libm-test-driver.c.
662         (do_test): New function.
663         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
664         (do_test): New function.
665         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
666         (do_test): New function.
667         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
668         (do_test): New function.
669         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
670         (do_test): New function.
671         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
672         (do_test): New function.
673         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
674         (do_test): New function.
675         * math/libm-test-isinf.inc: Include libm-test-driver.c.
676         (do_test): New function.
677         * math/libm-test-isless.inc: Include libm-test-driver.c.
678         (do_test): New function.
679         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
680         (do_test): New function.
681         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
682         (do_test): New function.
683         * math/libm-test-isnan.inc: Include libm-test-driver.c.
684         (do_test): New function.
685         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
686         (do_test): New function.
687         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
688         (do_test): New function.
689         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
690         (do_test): New function.
691         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
692         (do_test): New function.
693         * math/libm-test-iszero.inc: Include libm-test-driver.c.
694         (do_test): New function.
695         * math/libm-test-j0.inc: Include libm-test-driver.c.
696         (do_test): New function.
697         * math/libm-test-j1.inc: Include libm-test-driver.c.
698         (do_test): New function.
699         * math/libm-test-jn.inc: Include libm-test-driver.c.
700         (do_test): New function.
701         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
702         (do_test): New function.
703         * math/libm-test-llogb.inc: Include libm-test-driver.c.
704         (do_test): New function.
705         * math/libm-test-llrint.inc: Include libm-test-driver.c.
706         (do_test): New function.
707         * math/libm-test-llround.inc: Include libm-test-driver.c.
708         (do_test): New function.
709         * math/libm-test-log.inc: Include libm-test-driver.c.
710         (do_test): New function.
711         * math/libm-test-log10.inc: Include libm-test-driver.c.
712         (do_test): New function.
713         * math/libm-test-log1p.inc: Include libm-test-driver.c.
714         (do_test): New function.
715         * math/libm-test-log2.inc: Include libm-test-driver.c.
716         (do_test): New function.
717         * math/libm-test-logb.inc: Include libm-test-driver.c.
718         (do_test): New function.
719         * math/libm-test-lrint.inc: Include libm-test-driver.c.
720         (do_test): New function.
721         * math/libm-test-lround.inc: Include libm-test-driver.c.
722         (do_test): New function.
723         * math/libm-test-modf.inc: Include libm-test-driver.c.
724         (do_test): New function.
725         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
726         (do_test): New function.
727         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
728         (do_test): New function.
729         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
730         (do_test): New function.
731         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
732         (do_test): New function.
733         * math/libm-test-nextup.inc: Include libm-test-driver.c.
734         (do_test): New function.
735         * math/libm-test-pow.inc: Include libm-test-driver.c.
736         (do_test): New function.
737         * math/libm-test-remainder.inc: Include libm-test-driver.c.
738         (do_test): New function.
739         * math/libm-test-remquo.inc: Include libm-test-driver.c.
740         (do_test): New function.
741         * math/libm-test-rint.inc: Include libm-test-driver.c.
742         (do_test): New function.
743         * math/libm-test-round.inc: Include libm-test-driver.c.
744         (do_test): New function.
745         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
746         (do_test): New function.
747         * math/libm-test-scalb.inc: Include libm-test-driver.c.
748         (do_test): New function.
749         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
750         (do_test): New function.
751         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
752         (do_test): New function.
753         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
754         (do_test): New function.
755         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
756         (do_test): New function.
757         * math/libm-test-signbit.inc: Include libm-test-driver.c.
758         (do_test): New function.
759         * math/libm-test-significand.inc: Include libm-test-driver.c.
760         (do_test): New function.
761         * math/libm-test-sin.inc: Include libm-test-driver.c.
762         (do_test): New function.
763         * math/libm-test-sincos.inc: Include libm-test-driver.c.
764         (do_test): New function.
765         * math/libm-test-sinh.inc: Include libm-test-driver.c.
766         (do_test): New function.
767         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
768         (do_test): New function.
769         * math/libm-test-tan.inc: Include libm-test-driver.c.
770         (do_test): New function.
771         * math/libm-test-tanh.inc: Include libm-test-driver.c.
772         (do_test): New function.
773         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
774         (do_test): New function.
775         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
776         (do_test): New function.
777         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
778         (do_test): New function.
779         * math/libm-test-trunc.inc: Include libm-test-driver.c.
780         (do_test): New function.
781         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
782         (do_test): New function.
783         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
784         (do_test): New function.
785         * math/libm-test-y0.inc: Include libm-test-driver.c.
786         (do_test): New function.
787         * math/libm-test-y1.inc: Include libm-test-driver.c.
788         (do_test): New function.
789         * math/libm-test-yn.inc: Include libm-test-driver.c.
790         (do_test): New function.
791         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
792         (HAVE_VECTOR): Remove macro.
793         (START): Do not call HAVE_VECTOR.
794         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
795         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
796         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
797         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
798         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
799         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
800         * math/test-math-vector.h (FUNC_TEST): New macro.
801         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
802         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
803         (double-vlen4-funcs): Likewise.
804         (double-vlen4-avx2-funcs): Likewise.
805         (double-vlen8-funcs): Likewise.
806         (float-vlen4-funcs): Likewise.
807         (float-vlen8-funcs): Likewise.
808         (float-vlen8-avx2-funcs): Likewise.
809         (float-vlen16-funcs): Likewise.
810         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
811         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
812         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
813         macro.
814         (TEST_VECTOR_sin): Likewise.
815         (TEST_VECTOR_sincos): Likewise.
816         (TEST_VECTOR_log): Likewise.
817         (TEST_VECTOR_exp): Likewise.
818         (TEST_VECTOR_pow): Likewise.
819         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
820         Likewise.
821         (TEST_VECTOR_sin): Likewise.
822         (TEST_VECTOR_sincos): Likewise.
823         (TEST_VECTOR_log): Likewise.
824         (TEST_VECTOR_exp): Likewise.
825         (TEST_VECTOR_pow): Likewise.
826         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
827         Likewise.
828         (TEST_VECTOR_sinf): Likewise.
829         (TEST_VECTOR_sincosf): Likewise.
830         (TEST_VECTOR_logf): Likewise.
831         (TEST_VECTOR_expf): Likewise.
832         (TEST_VECTOR_powf): Likewise.
833         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
834         Likewise.
835         (TEST_VECTOR_sinf): Likewise.
836         (TEST_VECTOR_sincosf): Likewise.
837         (TEST_VECTOR_logf): Likewise.
838         (TEST_VECTOR_expf): Likewise.
839         (TEST_VECTOR_powf): Likewise.
840         * math/gen-libm-have-vector-test.sh: Remove file.
841         * math/libm-test.inc: Likewise.
842         * math/libm-test-support-double.c: Likewise.
843         * math/libm-test-support-float.c: Likewise.
844         * math/libm-test-support-ldouble.c: Likewise.
845         * math/test-double-finite.c: Likewise.: Likewise.
846         * math/test-double.c: Likewise.
847         * math/test-float-finite.c: Likewise.
848         * math/test-float.c: Likewise.
849         * math/test-idouble.c: Likewise.
850         * math/test-ifloat.c: Likewise.
851         * math/test-ildouble.c: Likewise.
852         * math/test-ldouble-finite.c: Likewise.
853         * math/test-ldouble.c: Likewise.
854         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
855         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
856         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
857         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
858         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
859         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
860         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
861         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
862         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
863         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
865 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
866            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
868         * math/Makefile: Add wrappers to gen-libm-calls.
869         * math/w_acos_template.c: New file.
870         * math/w_acosh_template.c: Likewise.
871         * math/w_asin_template.c: Likewise.
872         * math/w_atan2_template.c: Likewise.
873         * math/w_atanh_template.c: Likewise.
874         * math/w_cosh_template.c: Likewise.
875         * math/w_exp10_template.c: Likewise.
876         * math/w_exp2_template.c: Likewise.
877         * math/w_exp_template.c: Likewise.
878         * math/w_fmod_template.c: Likewise.
879         * math/w_hypot_template.c: Likewise.
880         * math/w_j0_template.c: Likewise.
881         * math/w_j1_template.c: Likewise.
882         * math/w_jn_template.c: Likewise.
883         * math/w_lgamma_r_template.c: Likewise.
884         * math/w_lgamma_template.c: Likewise.
885         * math/w_log10_template.c: Likewise.
886         * math/w_log2_template.c: Likewise.
887         * math/w_log_template.c: Likewise.
888         * math/w_pow_template.c: Likewise.
889         * math/w_remainder_template.c: Likewise.
890         * math/w_sinh_template.c: Likewise.
891         * math/w_sqrt_template.c: Likewise.
892         * math/w_tgamma_template.c: Likewise.: Likewise.
893         * sysdeps/generic/math-type-macros-double.h
894         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
895         the new wrappers.
896         * sysdeps/generic/math-type-macros-float.h: Likewise.
897         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
899 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
901         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
902         New enum constant and macro.
904         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
905         kernel version to 4.10.
907 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
909         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
911 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
913         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
915 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
917         * sysdeps/powerpc/tst-set_ppr.c: New file.
918         Implement test cases for __ppc_set_ppr_* functions.
919         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
920         in the list of tests.
922 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
924         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
925         instead of test-skeleton.c.
926         (do_test): Replaced pthread_create and pthread_join with
927         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
928         Removed unneeded status variable.
929         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
930         instead of test-skeleton.c.
931         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
933 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
935         [BZ #20313]
936         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
937         201605L, for Unicode 9.
939 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
941         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
942         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
943         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
944         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
945         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
946         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
948 2017-02-19  Zack Weinberg  <zackw@panix.com>
950         * rt/tst-mqueue4.c: Include stdint.h.
952 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
954         * sysdeps/arm/libm-test-ulps: Update.
955         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
956         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
957         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
959 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
961         [BZ #21029]
962         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
963         * sysdeps/unix/sysv/linux/i386/Makefile
964         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
965         (uses-6-syscall-arguments): Remove.
966         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
967         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
968         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
969         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
970         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
971         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
972         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
973         [$(subdir) = misc] (cflags-pselect.o): Likewise.
974         [$(subdir) = misc] (cflags-pselect.os): Likewise.
975         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
976         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
977         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
978         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
979         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
980         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
981         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
982         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
983         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
984         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
985         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
986         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
987         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
988         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
989         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
990         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
991         Likewise.
992         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
993         Likewise.
994         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
995         Likewise.
996         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
997         Likewise.
998         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
999         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
1000         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
1001         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
1002         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
1003         ebp on inline assembly.
1004         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
1005         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
1006         Set if CAN_USE_REGISTER_ASM_EBP is set.
1008 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
1010         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
1011         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
1013 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
1015         * math/auto-libm-test-in: Add tests of catan and catanh.
1016         * math/auto-libm-test-out-catan: New generated file.
1017         * math/auto-libm-test-out-catanh: Likewise.
1018         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
1019         Move tests with finite inputs, except divide-by-zero cases, to
1020         auto-libm-test-in.
1021         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
1022         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
1023         (libm-test-funcs-noauto): Remove catan and catanh.
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 casin and casinh.
1029         * math/auto-libm-test-out-casin: New generated file.
1030         * math/auto-libm-test-out-casinh: Likewise.
1031         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
1032         Move tests with finite inputs to auto-libm-test-in.
1033         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
1034         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
1035         (libm-test-funcs-noauto): Remove casin and casinh.
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         * math/auto-libm-test-in: Add tests of cacos and cacosh.
1041         * math/auto-libm-test-out-cacos: New generated file.
1042         * math/auto-libm-test-out-cacosh: Likewise.
1043         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
1044         Move tests with finite inputs to auto-libm-test-in.
1045         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
1046         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
1047         (libm-test-funcs-noauto): Remove cacos and cacosh.
1048         * sysdeps/i386/fpu/libm-test-ulps: Update.
1049         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1052         Revert:
1053         2017-02-16  Zack Weinberg  <zackw@panix.com>
1055         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
1056         Don't include init-arch.h.
1057         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
1058         Don't include init-arch.h.
1060 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1062         [BZ #21171]
1063         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
1064         +Inf and raise divide-by-zero when x is negative.
1065         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
1066         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
1067         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
1068         -Inf and raise divide-by-zero when x = +-0.
1069         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
1070         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
1071         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
1072         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
1073         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
1074         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1075         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1077 2017-02-16  Zack Weinberg  <zackw@panix.com>
1079         * scripts/build-many-glibcs.py (bot_build_mail): If the
1080         bot_config does not contain all of the necessary email-
1081         related settings, just print a warning and continue.
1083 2017-02-16  Zack Weinberg  <zackw@panix.com>
1085         * crypt/md5.h: Test _LIBC with #if defined, not #if.
1086         * dirent/opendir-tst1.c: Include sys/stat.h.
1087         * dirent/tst-fdopendir.c: Include sys/stat.h.
1088         * dirent/tst-fdopendir2.c: Include stdlib.h.
1089         * dirent/tst-scandir.c: Include stdbool.h.
1090         * elf/tst-auditmod1.c: Include link.h and stddef.h.
1091         * elf/tst-tls15.c: Include stdlib.h.
1092         * elf/tst-tls16.c: Include stdlib.h.
1093         * elf/tst-tls17.c: Include stdlib.h.
1094         * elf/tst-tls18.c: Include stdlib.h.
1095         * iconv/tst-iconv6.c: Include endian.h.
1096         * iconvdata/bug-iconv11.c: Include limits.h.
1097         * io/test-utime.c: Include stdint.h.
1098         * io/tst-faccessat.c: Include sys/stat.h.
1099         * io/tst-fchmodat.c: Include sys/stat.h.
1100         * io/tst-fchownat.c: Include sys/stat.h.
1101         * io/tst-fstatat.c: Include sys/stat.h.
1102         * io/tst-futimesat.c: Include sys/stat.h.
1103         * io/tst-linkat.c: Include sys/stat.h.
1104         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
1105         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
1106         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
1107         * io/tst-openat.c: Include stdbool.h.
1108         * io/tst-readlinkat.c: Include sys/stat.h.
1109         * io/tst-renameat.c: Include sys/stat.h.
1110         * io/tst-symlinkat.c: Include sys/stat.h.
1111         * io/tst-unlinkat.c: Include stdbool.h.
1112         * libio/bug-memstream1.c: Include stdlib.h.
1113         * libio/bug-wmemstream1.c: Include stdlib.h.
1114         * libio/tst-fwrite-error.c: Include stdlib.h.
1115         * libio/tst-memstream1.c: Include stdlib.h.
1116         * libio/tst-memstream2.c: Include stdlib.h.
1117         * libio/tst-memstream3.c: Include stdlib.h.
1118         * malloc/tst-interpose-aux.c: Include stdint.h.
1119         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
1120         * nptl/tst-basic7.c: Include limits.h.
1121         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
1122         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
1123         * nptl/tst-cancel4_1.c: Include stddef.h.
1124         * nptl/tst-cancel4_2.c: Include stddef.h.
1125         * nptl/tst-cond16.c: Include limits.h.
1126         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
1127         * nptl/tst-cond18.c: Include limits.h.
1128         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
1129         * nptl/tst-cond4.c: Include stdint.h.
1130         * nptl/tst-cond6.c: Include stdint.h.
1131         * nptl/tst-stack2.c: Include limits.h.
1132         * nptl/tst-stackguard1.c: Include stddef.h.
1133         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
1134         * nptl/tst-tls4moda.c: Include stddef.h.
1135         Don't include stdio.h, unistd.h, or tls.h.
1136         * nptl/tst-tls4modb.c: Include stddef.h.
1137         Don't include stdio.h, unistd.h, or tls.h.
1138         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
1139         * posix/tst-getaddrinfo2.c: Include stdio.h.
1140         * posix/tst-getaddrinfo5.c: Include stdio.h.
1141         * posix/tst-pathconf.c: Include sys/stat.h.
1142         * posix/tst-posix_fadvise-common.c: Include stdint.h.
1143         * posix/tst-preadwrite-common.c: Include sys/stat.h.
1144         * posix/tst-regex.c: Include stdint.h.
1145         Don't include spawn.h or spawn_int.h.
1146         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
1147         * posix/tst-vfork3.c: Include sys/stat.h.
1148         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
1149         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
1150         * resolv/tst-resolv-search.c: Include stdlib.h.
1151         * stdio-common/tst-fmemopen2.c: Include stdint.h.
1152         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
1153         * stdlib/test-canon.c: Include sys/stat.h.
1154         * stdlib/tst-tls-atexit.c: Include stdbool.h.
1155         * string/test-memchr.c: Include stdint.h.
1156         * string/tst-cmp.c: Include stdint.h.
1157         * sysdeps/pthread/tst-timer.c: Include stdint.h.
1158         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
1159         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
1160         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
1161         Don't include init-arch.h.
1162         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
1163         Don't include init-arch.h.
1164         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
1165         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
1166         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
1167         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
1168         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
1169         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
1170         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
1171         * time/clocktest.c: Include stdint.h.
1172         * time/tst-posixtz.c: Include stdint.h.
1173         * timezone/tst-timezone.c: Include stdint.h.
1175 2017-02-16  Zack Weinberg  <zackw@panix.com>
1177         * string/string.h [__USE_MISC]: Include strings.h.
1178         (__bzero, bcmp, bcopy, bzero, index, rindex)
1179         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
1180         (ffs, ffsl, ffsll): Don't declare.
1181         * string/strings.h: Do not suppress the file if string.h has
1182         already been included.
1183         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
1184         annotations.
1185         (index, rindex): Define inline forwarders even if
1186         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
1187         (ffs): Use __attribute_const__.
1188         (ffsl, ffsll): Declare here.
1189         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
1190         have now been standardized.
1191         * include/string.h (__bzero): Declare here.
1193         * bits/types.h: Move to posix/bits.
1194         * include/bits/types.h: New wrapper.
1196 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
1198         * string/bits/string2.h (strcmp): Remove define.
1199         (__strcmp_cg): Likewise.
1200         (strncmp): Likewise.
1202 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
1204         * include/string.h: Add __cplusplus check.
1206 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1208         [BZ #21134]
1209         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
1210         "divide by zero" exception when the input is zero.
1211         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
1212         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
1213         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
1214         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
1215         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1217 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
1219         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
1220         and include ...
1221         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
1222         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
1223         to, and include ...
1224         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
1225         file.
1226         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
1227         and include ...
1228         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
1229         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
1230         and include ...
1231         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
1232         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
1233         and include ...
1234         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
1235         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
1236         and include ...
1237         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
1238         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
1239         to, and include ...
1240         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
1241         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
1242         and include ...
1243         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
1245 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
1247         * math/libm-test-support.h: Do not include <math-tests-arch.h>
1248         here.
1249         * math/libm-test-support.c (libm_test_init): Do not call
1250         INIT_ARCH_EXT here.
1251         * math/libm-test-driver.c: Include <math-tests-arch.h>.
1252         (main): Call INIT_ARCH_EXT.
1254 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1256         [BZ #21130]
1257         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
1258         with the "invalid" exception raised when x is -Inf.
1259         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1261 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
1263         * string/bits/string2.h (strchr): Remove define.
1265 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
1267         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
1268         tst-avx512.
1269         (test-extras): Add tst-avx-aux and tst-avx512-aux.
1270         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
1271         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
1272         ($(objpfx)tst-sse): New rule.
1273         ($(objpfx)tst-avx): Likewise.
1274         ($(objpfx)tst-avx512): Likewise.
1275         (CFLAGS-tst-avx-aux.c): New.
1276         (CFLAGS-tst-avxmod.c): Likewise.
1277         (CFLAGS-tst-avx512-aux.c): Likewise.
1278         (CFLAGS-tst-avx512mod.c): Likewise.
1279         * sysdeps/x86_64/tst-avx-aux.c: New file.
1280         * sysdeps/x86_64/tst-avx.c: Likewise.
1281         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
1282         * sysdeps/x86_64/tst-avx512.c: Likewise.
1283         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
1284         * sysdeps/x86_64/tst-avxmod.c: Likewise.
1285         * sysdeps/x86_64/tst-sse.c: Likewise.
1286         * sysdeps/x86_64/tst-ssemod.c: Likewise.
1288 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
1290         * math/auto-libm-test-in: Add more tests of csin and csinh.
1291         * math/auto-libm-test-out-csin: Regenerated.
1292         * math/auto-libm-test-out-csinh: Likewise.
1293         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
1294         auto-libm-test-in.
1295         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
1297 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1299         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
1300         libm-compat-calls-auto.
1301         (libm-compat-calls): Likewise.
1302         (libm-compat-calls-auto): Rename to libm-compat-calls and add
1303         w_lgamma_compatF and k_standardF (merged from the items above).
1304         (libm-routines): Use libm-compat-calls, instead of
1305         libm-compat-calls-auto, with type-foreach.
1307 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
1309         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
1310         macro.
1311         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
1312         (CFLAGS-test-ifloat.c): ... this.  Remove
1313         -U__LIBC_INTERNAL_MATH_INLINES.
1314         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
1315         (CFLAGS-test-idouble.c): ... this.  Remove
1316         -U__LIBC_INTERNAL_MATH_INLINES.
1317         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
1318         (CFLAGS-test-ildouble.c): ... this.  Remove
1319         -U__LIBC_INTERNAL_MATH_INLINES.
1321 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
1323         * math/libm-test-support.c: New file.  Content from
1324         math/libm-test-driver.c.
1325         * math/libm-test-support.h: Likewise.
1326         * math/libm-test-support-double.c: New file.
1327         * math/libm-test-support-float.c: Likewise.
1328         * math/libm-test-support-ldouble.c: Likewise.
1329         * math/libm-test-driver.c: Remove main comment and header
1330         includes.  Include libm-test-support.h.
1331         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
1332         (flag_test_errno): Remove static.
1333         (flag_test_exceptions): Likewise.
1334         (flag_test_finite): Likewise.
1335         (flag_test_inline): Likewise.
1336         (flag_test_mathvec): Likewise.
1337         (test_msg): Likewise.
1338         (NO_EXCEPTION): Remove.
1339         (INVALID_EXCEPTION): Likewise.
1340         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
1341         (OVERFLOW_EXCEPTION): Likewise.
1342         (UNDERFLOW_EXCEPTION): Likewise.
1343         (INEXACT_EXCEPTION): Likewise.
1344         (INVALID_EXCEPTION_OK): Likewise.
1345         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1346         (OVERFLOW_EXCEPTION_OK): Likewise.
1347         (UNDERFLOW_EXCEPTION_OK): Likewise.
1348         (NO_INEXACT_EXCEPTION): Likewise.
1349         (EXCEPTIONS_OK): Likewise.
1350         (IGNORE_ZERO_INF_SIGN): Likewise.
1351         (TEST_NAN_SIGN): Likewise.
1352         (TEST_NAN_PAYLOAD): Likewise.
1353         (NO_TEST_INLINE): Likewise.
1354         (XFAIL_TEST): Likewise.
1355         (ERRNO_UNCHANGED): Likewise.
1356         (ERRNO_EDOM): Likewise.
1357         (ERRNO_ERANGE): Likewise.
1358         (IGNORE_RESULT): Likewise.
1359         (NON_FINITE): Likewise.
1360         (TEST_SNAN): Likewise.
1361         (NO_TEST_MATHVEC): Likewise.
1362         (__CONCATX): Likewise.
1363         (TYPE_MIN): Likewise.
1364         (TYPE_TRUE_MIN): Likewise.
1365         (TYPE_MAX): Likewise.
1366         (MIN_EXP): Likewise.
1367         (MAX_EXP): Likewise.
1368         (MANT_DIG): Likewise.
1369         (FSTR_MAX): Likewise.
1370         (ulp_idx): Likewise.
1371         (qtype_str): Remove static.
1372         (TEST_COND_binary32): Remove.
1373         (TEST_COND_binary64): Likewise.
1374         (TEST_COND_binary128): Likewise.
1375         (TEST_COND_ibm128): Likewise.
1376         (TEST_COND_intel96): Likewise.
1377         (TEST_COND_m68k96): Likewise.
1378         (TEST_COND_ibm128_libgcc): Likewise.
1379         (XFAIL_IBM128_LIBGCC): Likewise.
1380         (PAYLOAD_DIG): Likewise.
1381         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1382         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1383         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1384         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
1385         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1386         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
1387         (TEST_COND_long32): Likewise.
1388         (TEST_COND_long64): Likewise.
1389         (TEST_COND_before_rounding): Likewise.
1390         (TEST_COND_after_rounding): Likewise.
1391         (ulps_file_name): Likewise.
1392         (ulps_file): Likewise.
1393         (output_ulps): Likewise.
1394         (output_dir): Likewise.
1395         (noErrors): Likewise.
1396         (noTests): Likewise.
1397         (noExcTests): Likewise.
1398         (noErrnoTests): Likewise.
1399         (verbose): Likewise.
1400         (output_max_error): Likewise.
1401         (output_points): Likewise.
1402         (ignore_max_ulp): Likewise.
1403         (max_error): Likewise.
1404         (real_max_error): Likewise.
1405         (imag_max_error): Likewise.
1406         (prev_max_error): Likewise.
1407         (prev_real_max_error): Likewise.
1408         (prev_imag_max_error): Likewise.
1409         (max_valid_error): Likewise.
1410         (TYPE_DECIMAL_DIG): Likewise.
1411         (TYPE_HEX_DIG): Likewise.
1412         (fmt_ftostr): Likewise.
1413         (compare_ulp_data): Likewise.
1414         (find_ulps): Likewise.
1415         (init_max_error): Likewise.
1416         (set_max_error): Likewise.
1417         (print_float): Likewise.
1418         (print_screen): Likewise.
1419         (print_screen_max_error): Likewise.
1420         (update_stats): Likewise.
1421         (print_function_ulps): Likewise.
1422         (print_complex_function_ulps): Likewise.
1423         (fpstack_test): Likewise.
1424         (print_max_error): Likewise.
1425         (print_complex_max_error): Likewise.
1426         (test_single_exception): Likewise.
1427         (test_exceptions): Likewise.
1428         (test_single_errno): Likewise.
1429         (test_errno): Likewise.
1430         (ULPDIFF): Likewise.
1431         (ulp): Likewise.
1432         (check_float_internal): Likewise.
1433         (check_float): Likewise.
1434         (check_complex): Likewise.
1435         (check_int): Likewise.
1436         (check_long): Likewise.
1437         (check_bool): Likewise.
1438         (check_longlong): Likewise.
1439         (check_intmax_t): Likewise.
1440         (check_uintmax_t): Likewise.
1441         (enable_test): Likewise.
1442         (matherr): Likewise.
1443         (initialize): Likewise.
1444         (options): Likewise.
1445         (doc): Remove static.
1446         (argp): Likewise.
1447         (parse_opt): Remove.
1448         (check_ulp): Likewise.
1449         (libm_test_init): Likewise.
1450         (libm_test_finish): Likewise.
1451         * math/Makefile (libm-test-support): New variable.
1452         (test-extras): Add libm-test-support files.
1453         (extra-test-objs): Likewise.
1454         (CFLAGS-libm-test-support-float.c): New variable.
1455         (CFLAGS-libm-test-support-double.c): Likewise.
1456         (CFLAGS-libm-test-support-ldouble.c): Likewise.
1457         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
1458         libm-test-support objects.
1460 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1462         * math/Makefile (libm-calls): Move w_exp...
1463         (libm-compat-calls-auto): Here.
1465         * math/w_expl.c: Add suffix "_compat" to filename.
1466         * sysdeps/ia64/fpu/w_expl.c: Likewise.
1467         * sysdeps/ia64/fpu/w_expf.c: Likewise.
1468         * sysdeps/ia64/fpu/w_exp.c: Likewise.
1469         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1470         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1471         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1472         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
1473         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1475         * math/w_expl_compat.c: New file, copied from above.
1476         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
1477         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
1478         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
1479         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
1480         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
1481         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
1482         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
1483         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
1485         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
1486         to filename.
1487         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
1489         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
1490         copied from above and adjusted for the new filenames.
1491         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
1493 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1495         * math/Makefile (libm-calls): Move w_lgammaF...
1496         (libm-compat-calls-auto): Here.
1498         * math/w_lgamma.c: Add suffix "_compat2" to filename.
1499         * math/w_lgammaf.c: Likewise.
1500         * math/w_lgammal.c: Likewise.
1502         * math/w_lgamma_compat2.c: New file, copied from above.
1503         * math/w_lgammaf_compat2.c: Likewise.
1504         * math/w_lgammal_compat2.c: Likewise.
1506 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1508         * math/Makefile (libm-calls): Move w_lgammaF_r...
1509         (libm-compat-calls-auto): Here.
1511         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
1512         * math/w_lgammaf_r.c: Likewise.
1513         * math/w_lgammal_r.c: Likewise.
1514         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
1515         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
1516         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
1518         * math/w_lgamma_r_compat.c: New file, copied from above.
1519         * math/w_lgammaf_r_compat.c: Likewise.
1520         * math/w_lgammal_r_compat.c: Likewise.
1521         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
1522         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
1523         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
1525         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
1526         to filename.
1527         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
1529         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
1530         copied from above and adjusted for the new filenames.
1531         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
1533 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
1535         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
1536         calculation in SYSCALL_ERROR_HANDLER().
1538 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
1540         * manual/contrib.texi: Fix typo.
1542 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1544         [BZ #21109]
1545         * elf/dl-tunable-types.h (tunable_callback_t): Accept
1546         tunable_val_t as argument.
1547         * elf/dl-tunables.c (__tunable_set_val): Add comment.
1548         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
1549         argument.
1550         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
1552 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
1554         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
1555         Add PTRACE_EVENT_STOP.
1556         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
1557         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1558         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1559         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1560         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
1561         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
1563 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
1565         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
1566         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
1567         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
1568         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
1569         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
1570         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
1571         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
1572         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
1573         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
1574         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
1576         [BZ #21112]
1577         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
1578         12 bits zero.
1579         (cp_l): Update for new value of cp_h.
1580         * math/auto-libm-test-in: Add another test of pow.
1581         * math/auto-libm-test-out-pow: Regenerated.
1583 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1585         * manual/contrib.texi: Fix typo.
1587 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1589         [BZ #15998]
1590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1591         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
1592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1594 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1596         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
1597         STRCHR as __strchr_power8.
1598         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
1599         strlen as __strlen_power8.
1601 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1603         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
1604         unaligned load for shorter strings.
1605         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
1607 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
1609         * math/libm-test-driver.c (flag_test_errno): New variable.
1610         (flag_test_exceptions): Likewise.
1611         (flag_test_finite): Likewise.
1612         (flag_test_inline): Likewise.
1613         (flag_test_mathvec): Likewise.
1614         (test_msg): Likewise.
1615         (ulp_idx): Likewise.
1616         (qtype_str): Likewise.
1617         (ULP_IDX): Remove macro.
1618         (QTYPE_STR): Likewise.
1619         (find_ulps): Use ulp_idx not ULP_IDX.
1620         (print_function_ulps): Use qtype_str, printed with %s, not
1621         QTYPE_STR, printed with concatentation to format string.
1622         (print_complex_function_ulps): Likewise.
1623         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
1624         (test_errno): Use flag_test_errno not TEST_ERRNO.
1625         (enable_test): Use flag_test_inline, flag_test_finite and
1626         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
1627         TEST_MATHVEC.
1628         (libm_test_init): New function.  Factored out of main.
1629         (libm_test_finish): Likewise.
1630         (main): Call libm_test_init and libm_test_finish and move most
1631         code to those functions.
1633         * math/libm-test-driver.c (STRX): New macro.
1634         (STR): Likewise.
1635         (STR_FLOAT): Likewise.
1636         (STR_VEC_LEN): Likewise.
1637         (TEST_MSG): Likewise.  Define here instead of expecting to be
1638         defined by including file.
1639         * math/test-double-finite.c (TEST_MSG): Remove macro.
1640         * math/test-double-vlen2.h (TEST_MSG): Likewise.
1641         * math/test-double-vlen4.h (TEST_MSG): Likewise.
1642         * math/test-double-vlen8.h (TEST_MSG): Likewise.
1643         * math/test-double.c (TEST_MSG): Likewise.
1644         * math/test-float-finite.c (TEST_MSG): Likewise.
1645         * math/test-float-vlen16.h (TEST_MSG): Likewise.
1646         * math/test-float-vlen4.h (TEST_MSG): Likewise.
1647         * math/test-float-vlen8.h (TEST_MSG): Likewise.
1648         * math/test-float.c (TEST_MSG): Likewise.
1649         * math/test-idouble.c (TEST_MSG): Likewise.
1650         * math/test-ifloat.c (TEST_MSG): Likewise.
1651         * math/test-ildouble.c (TEST_MSG): Likewise.
1652         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
1653         * math/test-ldouble.c (TEST_MSG): Likewise.
1655         * math/libm-test.inc: Move all tests of individual functions to
1656         libm-test-*.inc and #include libm-test-*.c files.
1657         (acos_test_data): Remove.
1658         (acos_test): Likewise.
1659         (acosh_test_data): Likewise.
1660         (acosh_test): Likewise.
1661         (asin_test_data): Likewise.
1662         (asin_test): Likewise.
1663         (asinh_test_data): Likewise.
1664         (asinh_test): Likewise.
1665         (atan_test_data): Likewise.
1666         (atan_test): Likewise.
1667         (atanh_test_data): Likewise.
1668         (atanh_test): Likewise.
1669         (atan2_test_data): Likewise.
1670         (atan2_test): Likewise.
1671         (cabs_test_data): Likewise.
1672         (cabs_test): Likewise.
1673         (cacos_test_data): Likewise.
1674         (cacos_test): Likewise.
1675         (cacosh_test_data): Likewise.
1676         (cacosh_test): Likewise.
1677         (canonicalize_test_data): Likewise.
1678         (canonicalize_test): Likewise.
1679         (carg_test_data): Likewise.
1680         (carg_test): Likewise.
1681         (casin_test_data): Likewise.
1682         (casin_test): Likewise.
1683         (casinh_test_data): Likewise.
1684         (casinh_test): Likewise.
1685         (catan_test_data): Likewise.
1686         (catan_test): Likewise.
1687         (catanh_test_data): Likewise.
1688         (catanh_test): Likewise.
1689         (cbrt_test_data): Likewise.
1690         (cbrt_test): Likewise.
1691         (ccos_test_data): Likewise.
1692         (ccos_test): Likewise.
1693         (ccosh_test_data): Likewise.
1694         (ccosh_test): Likewise.
1695         (ceil_test_data): Likewise.
1696         (ceil_test): Likewise.
1697         (cexp_test_data): Likewise.
1698         (cexp_test): Likewise.
1699         (cimag_test_data): Likewise.
1700         (cimag_test): Likewise.
1701         (clog_test_data): Likewise.
1702         (clog_test): Likewise.
1703         (clog10_test_data): Likewise.
1704         (clog10_test): Likewise.
1705         (conj_test_data): Likewise.
1706         (conj_test): Likewise.
1707         (copysign_test_data): Likewise.
1708         (copysign_test): Likewise.
1709         (cos_test_data): Likewise.
1710         (cos_test): Likewise.
1711         (cosh_test_data): Likewise.
1712         (cosh_test): Likewise.
1713         (cpow_test_data): Likewise.
1714         (cpow_test): Likewise.
1715         (cproj_test_data): Likewise.
1716         (cproj_test): Likewise.
1717         (creal_test_data): Likewise.
1718         (creal_test): Likewise.
1719         (csin_test_data): Likewise.
1720         (csin_test): Likewise.
1721         (csinh_test_data): Likewise.
1722         (csinh_test): Likewise.
1723         (csqrt_test_data): Likewise.
1724         (csqrt_test): Likewise.
1725         (ctan_test_data): Likewise.
1726         (ctan_test): Likewise.
1727         (ctanh_test_data): Likewise.
1728         (ctanh_test): Likewise.
1729         (erf_test_data): Likewise.
1730         (erf_test): Likewise.
1731         (erfc_test_data): Likewise.
1732         (erfc_test): Likewise.
1733         (exp_test_data): Likewise.
1734         (exp_test): Likewise.
1735         (exp10_test_data): Likewise.
1736         (exp10_test): Likewise.
1737         (pow10_test): Likewise.
1738         (exp2_test_data): Likewise.
1739         (exp2_test): Likewise.
1740         (expm1_test_data): Likewise.
1741         (expm1_test): Likewise.
1742         (fabs_test_data): Likewise.
1743         (fabs_test): Likewise.
1744         (fdim_test_data): Likewise.
1745         (fdim_test): Likewise.
1746         (floor_test_data): Likewise.
1747         (floor_test): Likewise.
1748         (fma_test_data): Likewise.
1749         (fma_test): Likewise.
1750         (fmax_test_data): Likewise.
1751         (fmax_test): Likewise.
1752         (fmaxmag_test_data): Likewise.
1753         (fmaxmag_test): Likewise.
1754         (fmin_test_data): Likewise.
1755         (fmin_test): Likewise.
1756         (fminmag_test_data): Likewise.
1757         (fminmag_test): Likewise.
1758         (fmod_test_data): Likewise.
1759         (fmod_test): Likewise.
1760         (fpclassify_test_data): Likewise.
1761         (fpclassify_test): Likewise.
1762         (frexp_test_data): Likewise.
1763         (frexp_test): Likewise.
1764         (fromfp_test_data): Likewise.
1765         (fromfp_test): Likewise.
1766         (fromfpx_test_data): Likewise.
1767         (fromfpx_test): Likewise.
1768         (getpayload_test_data): Likewise.
1769         (getpayload_test): Likewise.
1770         (hypot_test_data): Likewise.
1771         (hypot_test): Likewise.
1772         (ilogb_test_data): Likewise.
1773         (ilogb_test): Likewise.
1774         (iscanonical_test_data): Likewise.
1775         (iscanonical_test): Likewise.
1776         (iseqsig_test_data): Likewise.
1777         (iseqsig_test): Likewise.
1778         (isfinite_test_data): Likewise.
1779         (isfinite_test): Likewise.
1780         (finite_test): Likewise.
1781         (isgreater_test_data): Likewise.
1782         (isgreater_test): Likewise.
1783         (isgreaterequal_test_data): Likewise.
1784         (isgreaterequal_test): Likewise.
1785         (isinf_test_data): Likewise.
1786         (isinf_test): Likewise.
1787         (isless_test_data): Likewise.
1788         (isless_test): Likewise.
1789         (islessequal_test_data): Likewise.
1790         (islessequal_test): Likewise.
1791         (islessgreater_test_data): Likewise.
1792         (islessgreater_test): Likewise.
1793         (isnan_test_data): Likewise.
1794         (isnan_test): Likewise.
1795         (isnormal_test_data): Likewise.
1796         (isnormal_test): Likewise.
1797         (issignaling_test_data): Likewise.
1798         (issignaling_test): Likewise.
1799         (issubnormal_test_data): Likewise.
1800         (issubnormal_test): Likewise.
1801         (isunordered_test_data): Likewise.
1802         (isunordered_test): Likewise.
1803         (iszero_test_data): Likewise.
1804         (iszero_test): Likewise.
1805         (j0_test_data): Likewise.
1806         (j0_test): Likewise.
1807         (j1_test_data): Likewise.
1808         (j1_test): Likewise.
1809         (jn_test_data): Likewise.
1810         (jn_test): Likewise.
1811         (lgamma_test_data): Likewise.
1812         (lgamma_test): Likewise.
1813         (gamma_test): Likewise.
1814         (llogb_test_data): Likewise.
1815         (llogb_test): Likewise.
1816         (lrint_test_data): Likewise.
1817         (lrint_test): Likewise.
1818         (llrint_test_data): Likewise.
1819         (llrint_test): Likewise.
1820         (log_test_data): Likewise.
1821         (log_test): Likewise.
1822         (log10_test_data): Likewise.
1823         (log10_test): Likewise.
1824         (log1p_test_data): Likewise.
1825         (log1p_test): Likewise.
1826         (log2_test_data): Likewise.
1827         (log2_test): Likewise.
1828         (logb_test_data): Likewise.
1829         (logb_test): Likewise.
1830         (lround_test_data): Likewise.
1831         (lround_test): Likewise.
1832         (llround_test_data): Likewise.
1833         (llround_test): Likewise.
1834         (modf_test_data): Likewise.
1835         (modf_test): Likewise.
1836         (nearbyint_test_data): Likewise.
1837         (nearbyint_test): Likewise.
1838         (nextafter_test_data): Likewise.
1839         (nextafter_test): Likewise.
1840         (nextup_test_data): Likewise.
1841         (nextup_test): Likewise.
1842         (nextdown_test_data): Likewise.
1843         (nextdown_test): Likewise.
1844         (nexttoward_test_data): Likewise.
1845         (nexttoward_test): Likewise.
1846         (pow_test_data): Likewise.
1847         (pow_test): Likewise.
1848         (remainder_test_data): Likewise.
1849         (remainder_test): Likewise.
1850         (drem_test): Likewise.
1851         (remquo_test_data): Likewise.
1852         (remquo_test): Likewise.
1853         (rint_test_data): Likewise.
1854         (rint_test): Likewise.
1855         (round_test_data): Likewise.
1856         (round_test): Likewise.
1857         (roundeven_test_data): Likewise.
1858         (roundeven_test): Likewise.
1859         (scalb_test_data): Likewise.
1860         (scalb_test): Likewise.
1861         (scalbn_test_data): Likewise.
1862         (scalbn_test): Likewise.
1863         (ldexp_test): Likewise.
1864         (scalbln_test_data): Likewise.
1865         (scalbln_test): Likewise.
1866         (setpayload_test_data): Likewise.
1867         (setpayload_test): Likewise.
1868         (setpayloadsig_test_data): Likewise.
1869         (setpayloadsig_test): Likewise.
1870         (signbit_test_data): Likewise.
1871         (signbit_test): Likewise.
1872         (sin_test_data): Likewise.
1873         (sin_test): Likewise.
1874         (sincos_test_data): Likewise.
1875         (sincos_test): Likewise.
1876         (sinh_test_data): Likewise.
1877         (sinh_test): Likewise.
1878         (sqrt_test_data): Likewise.
1879         (sqrt_test): Likewise.
1880         (tan_test_data): Likewise.
1881         (tan_test): Likewise.
1882         (tanh_test_data): Likewise.
1883         (tanh_test): Likewise.
1884         (tgamma_test_data): Likewise.
1885         (tgamma_test): Likewise.
1886         (totalorder_test_data): Likewise.
1887         (totalorder_test): Likewise.
1888         (totalordermag_test_data): Likewise.
1889         (totalordermag_test): Likewise.
1890         (trunc_test_data): Likewise.
1891         (trunc_test): Likewise.
1892         (ufromfp_test_data): Likewise.
1893         (ufromfp_test): Likewise.
1894         (ufromfpx_test_data): Likewise.
1895         (ufromfpx_test): Likewise.
1896         (y0_test_data): Likewise.
1897         (y0_test): Likewise.
1898         (y1_test_data): Likewise.
1899         (y1_test): Likewise.
1900         (yn_test_data): Likewise.
1901         (yn_test): Likewise.
1902         (significand_test_data): Likewise.
1903         (significand_test): Likewise.
1904         * math/Makefile (auto-libm-test-out-files): Remove variable.
1905         (libm-test-funcs-noauto): New variable.
1906         (libm-test-funcs-all): Likewise.
1907         (libm-test-c-auto): Likewise.
1908         (libm-test-c-noauto): Likewise.
1909         (libm-tests-generated): Add $(libm-test-c-auto) and
1910         $(libm-test-c-noauto).
1911         (generated): Do not add auto-libm-test-out.
1912         (libm-test-c-auto-obj): New variable.
1913         (libm-test-c-noauto-obj): Likewise.
1914         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
1915         ($(libm-test-c-noauto-obj)): New static pattern rule.
1916         ($(libm-test-c-auto-obj)): Likewise.
1917         (libm-test-incs): New variable.
1918         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
1919         and pass it to gen-libm-have-vector-test.sh.
1920         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
1921         be passed on command line.
1922         * math/libm-test-acos.inc: New file.  Content from
1923         math/libm-test.inc.
1924         * math/libm-test-acosh.inc: Likewise.
1925         * math/libm-test-asin.inc: Likewise.
1926         * math/libm-test-asinh.inc: Likewise.
1927         * math/libm-test-atan.inc: Likewise.
1928         * math/libm-test-atan2.inc: Likewise.
1929         * math/libm-test-atanh.inc: Likewise.
1930         * math/libm-test-cabs.inc: Likewise.
1931         * math/libm-test-cacos.inc: Likewise.
1932         * math/libm-test-cacosh.inc: Likewise.
1933         * math/libm-test-canonicalize.inc: Likewise.
1934         * math/libm-test-carg.inc: Likewise.
1935         * math/libm-test-casin.inc: Likewise.
1936         * math/libm-test-casinh.inc: Likewise.
1937         * math/libm-test-catan.inc: Likewise.
1938         * math/libm-test-catanh.inc: Likewise.
1939         * math/libm-test-cbrt.inc: Likewise.
1940         * math/libm-test-ccos.inc: Likewise.
1941         * math/libm-test-ccosh.inc: Likewise.
1942         * math/libm-test-ceil.inc: Likewise.
1943         * math/libm-test-cexp.inc: Likewise.
1944         * math/libm-test-cimag.inc: Likewise.
1945         * math/libm-test-clog.inc: Likewise.
1946         * math/libm-test-clog10.inc: Likewise.
1947         * math/libm-test-conj.inc: Likewise.
1948         * math/libm-test-copysign.inc: Likewise.
1949         * math/libm-test-cos.inc: Likewise.
1950         * math/libm-test-cosh.inc: Likewise.
1951         * math/libm-test-cpow.inc: Likewise.
1952         * math/libm-test-cproj.inc: Likewise.
1953         * math/libm-test-creal.inc: Likewise.
1954         * math/libm-test-csin.inc: Likewise.
1955         * math/libm-test-csinh.inc: Likewise.
1956         * math/libm-test-csqrt.inc: Likewise.
1957         * math/libm-test-ctan.inc: Likewise.
1958         * math/libm-test-ctanh.inc: Likewise.
1959         * math/libm-test-erf.inc: Likewise.
1960         * math/libm-test-erfc.inc: Likewise.
1961         * math/libm-test-exp.inc: Likewise.
1962         * math/libm-test-exp10.inc: Likewise.
1963         * math/libm-test-exp2.inc: Likewise.
1964         * math/libm-test-expm1.inc: Likewise.
1965         * math/libm-test-fabs.inc: Likewise.
1966         * math/libm-test-fdim.inc: Likewise.
1967         * math/libm-test-floor.inc: Likewise.
1968         * math/libm-test-fma.inc: Likewise.
1969         * math/libm-test-fmax.inc: Likewise.
1970         * math/libm-test-fmaxmag.inc: Likewise.
1971         * math/libm-test-fmin.inc: Likewise.
1972         * math/libm-test-fminmag.inc: Likewise.
1973         * math/libm-test-fmod.inc: Likewise.
1974         * math/libm-test-fpclassify.inc: Likewise.
1975         * math/libm-test-frexp.inc: Likewise.
1976         * math/libm-test-fromfp.inc: Likewise.
1977         * math/libm-test-fromfpx.inc: Likewise.
1978         * math/libm-test-getpayload.inc: Likewise.
1979         * math/libm-test-hypot.inc: Likewise.
1980         * math/libm-test-ilogb.inc: Likewise.
1981         * math/libm-test-iscanonical.inc: Likewise.
1982         * math/libm-test-iseqsig.inc: Likewise.
1983         * math/libm-test-isfinite.inc: Likewise.
1984         * math/libm-test-isgreater.inc: Likewise.
1985         * math/libm-test-isgreaterequal.inc: Likewise.
1986         * math/libm-test-isinf.inc: Likewise.
1987         * math/libm-test-isless.inc: Likewise.
1988         * math/libm-test-islessequal.inc: Likewise.
1989         * math/libm-test-islessgreater.inc: Likewise.
1990         * math/libm-test-isnan.inc: Likewise.
1991         * math/libm-test-isnormal.inc: Likewise.
1992         * math/libm-test-issignaling.inc: Likewise.
1993         * math/libm-test-issubnormal.inc: Likewise.
1994         * math/libm-test-isunordered.inc: Likewise.
1995         * math/libm-test-iszero.inc: Likewise.
1996         * math/libm-test-j0.inc: Likewise.
1997         * math/libm-test-j1.inc: Likewise.
1998         * math/libm-test-jn.inc: Likewise.
1999         * math/libm-test-lgamma.inc: Likewise.
2000         * math/libm-test-llogb.inc: Likewise.
2001         * math/libm-test-llrint.inc: Likewise.
2002         * math/libm-test-llround.inc: Likewise.
2003         * math/libm-test-log.inc: Likewise.
2004         * math/libm-test-log10.inc: Likewise.
2005         * math/libm-test-log1p.inc: Likewise.
2006         * math/libm-test-log2.inc: Likewise.
2007         * math/libm-test-logb.inc: Likewise.
2008         * math/libm-test-lrint.inc: Likewise.
2009         * math/libm-test-lround.inc: Likewise.
2010         * math/libm-test-modf.inc: Likewise.
2011         * math/libm-test-nearbyint.inc: Likewise.
2012         * math/libm-test-nextafter.inc: Likewise.
2013         * math/libm-test-nextdown.inc: Likewise.
2014         * math/libm-test-nexttoward.inc: Likewise.
2015         * math/libm-test-nextup.inc: Likewise.
2016         * math/libm-test-pow.inc: Likewise.
2017         * math/libm-test-remainder.inc: Likewise.
2018         * math/libm-test-remquo.inc: Likewise.
2019         * math/libm-test-rint.inc: Likewise.
2020         * math/libm-test-round.inc: Likewise.
2021         * math/libm-test-roundeven.inc: Likewise.
2022         * math/libm-test-scalb.inc: Likewise.
2023         * math/libm-test-scalbln.inc: Likewise.
2024         * math/libm-test-scalbn.inc: Likewise.
2025         * math/libm-test-setpayload.inc: Likewise.
2026         * math/libm-test-setpayloadsig.inc: Likewise.
2027         * math/libm-test-signbit.inc: Likewise.
2028         * math/libm-test-significand.inc: Likewise.
2029         * math/libm-test-sin.inc: Likewise.
2030         * math/libm-test-sincos.inc: Likewise.
2031         * math/libm-test-sinh.inc: Likewise.
2032         * math/libm-test-sqrt.inc: Likewise.
2033         * math/libm-test-tan.inc: Likewise.
2034         * math/libm-test-tanh.inc: Likewise.
2035         * math/libm-test-tgamma.inc: Likewise.
2036         * math/libm-test-totalorder.inc: Likewise.
2037         * math/libm-test-totalordermag.inc: Likewise.
2038         * math/libm-test-trunc.inc: Likewise.
2039         * math/libm-test-ufromfp.inc: Likewise.
2040         * math/libm-test-ufromfpx.inc: Likewise.
2041         * math/libm-test-y0.inc: Likewise.
2042         * math/libm-test-y1.inc: Likewise.
2043         * math/libm-test-yn.inc: Likewise.
2044         * math/README.libm-test: Update.
2046         * math/gen-auto-libm-tests.c: Update comment about use of program.
2047         (generate_output): Add argument FUNCTION.
2048         (main): Require extra argument.  Pass function name to
2049         generate_output.
2050         * math/Makefile (generated): Add auto-libm-test-out.
2051         (libm-test-funcs-auto): New variable.
2052         (auto-libm-test-out-files): New variable.
2053         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
2054         Concatenate those files to form $(objpfx)auto-libm-test-out and
2055         use it as input to gen-libm-test.pl.
2056         * math/README.libm-test: Update.
2057         * math/auto-libm-test-out: Remove.
2058         * math/auto-libm-test-out-acos: New generated file.
2059         * math/auto-libm-test-out-acosh: Likewise.
2060         * math/auto-libm-test-out-asin: Likewise.
2061         * math/auto-libm-test-out-asinh: Likewise.
2062         * math/auto-libm-test-out-atan: Likewise.
2063         * math/auto-libm-test-out-atan2: Likewise.
2064         * math/auto-libm-test-out-atanh: Likewise.
2065         * math/auto-libm-test-out-cabs: Likewise.
2066         * math/auto-libm-test-out-carg: Likewise.
2067         * math/auto-libm-test-out-cbrt: Likewise.
2068         * math/auto-libm-test-out-ccos: Likewise.
2069         * math/auto-libm-test-out-ccosh: Likewise.
2070         * math/auto-libm-test-out-cexp: Likewise.
2071         * math/auto-libm-test-out-clog: Likewise.
2072         * math/auto-libm-test-out-clog10: Likewise.
2073         * math/auto-libm-test-out-cos: Likewise.
2074         * math/auto-libm-test-out-cosh: Likewise.
2075         * math/auto-libm-test-out-cpow: Likewise.
2076         * math/auto-libm-test-out-csin: Likewise.
2077         * math/auto-libm-test-out-csinh: Likewise.
2078         * math/auto-libm-test-out-csqrt: Likewise.
2079         * math/auto-libm-test-out-ctan: Likewise.
2080         * math/auto-libm-test-out-ctanh: Likewise.
2081         * math/auto-libm-test-out-erf: Likewise.
2082         * math/auto-libm-test-out-erfc: Likewise.
2083         * math/auto-libm-test-out-exp: Likewise.
2084         * math/auto-libm-test-out-exp10: Likewise.
2085         * math/auto-libm-test-out-exp2: Likewise.
2086         * math/auto-libm-test-out-expm1: Likewise.
2087         * math/auto-libm-test-out-fma: Likewise.
2088         * math/auto-libm-test-out-hypot: Likewise.
2089         * math/auto-libm-test-out-j0: Likewise.
2090         * math/auto-libm-test-out-j1: Likewise.
2091         * math/auto-libm-test-out-jn: Likewise.
2092         * math/auto-libm-test-out-lgamma: Likewise.
2093         * math/auto-libm-test-out-log: Likewise.
2094         * math/auto-libm-test-out-log10: Likewise.
2095         * math/auto-libm-test-out-log1p: Likewise.
2096         * math/auto-libm-test-out-log2: Likewise.
2097         * math/auto-libm-test-out-pow: Likewise.
2098         * math/auto-libm-test-out-sin: Likewise.
2099         * math/auto-libm-test-out-sincos: Likewise.
2100         * math/auto-libm-test-out-sinh: Likewise.
2101         * math/auto-libm-test-out-sqrt: Likewise.
2102         * math/auto-libm-test-out-tan: Likewise.
2103         * math/auto-libm-test-out-tanh: Likewise.
2104         * math/auto-libm-test-out-tgamma: Likewise.
2105         * math/auto-libm-test-out-y0: Likewise.
2106         * math/auto-libm-test-out-y1: Likewise.
2107         * math/auto-libm-test-out-yn: Likewise.
2109         * math/Makefile (generated): Do not include libm-test.stmp.
2110         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
2111         on $(objpfx)libm-test.stmp.
2112         ($(objpfx)libm-test.stmp): Remove rule.
2113         ($(objpfx)libm-test-ulps.h): New rule.
2114         ($(objpfx)libm-test.c): Likewise.
2115         ($(objpfx)libm-have-vector-test.h): Likewise.
2116         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
2117         individual generated files, not libm-test.stmp.
2119         * math/gen-libm-test.pl ($output_dir): Remove variable.
2120         ($srcdir): Likewise.
2121         ($opt_a): New variable.
2122         ($opt_c): Likewise.
2123         ($opt_C): Likewise.
2124         ($opt_H): Likewise.
2125         (-n): Make option take argument and use it as NewUlps output.
2126         (-a): New option.  Use its argument for auto-libm-test-out input.
2127         (-c): New option.  Use its argument for libm-test.inc input.
2128         (-C): New option.  Use its argument for libm-test.c output.
2129         (-H): New option.  Use its argument for libm-test-ulps.h output.
2130         (top level): Only process inputs needed to generate outputs
2131         specified by command-line options.  Only generate outputs
2132         specified by command-line options.
2133         * math/README.libm-test: Update example gen-libm-test.pl command.
2134         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
2135         commands.
2136         (regen-ulps): Likewise.
2138 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
2140         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
2141         * include/string.h (index): Remove define.
2142         (rindex): Likewise.
2143         * misc/getttyent.c (__getttyent): Rename index to strchr.
2144         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
2145         * sunrpc/rpc_main.c (mkfile_output): Likewise.
2147 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
2149         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
2150         * math/libm-test.inc: Move all contents, other than tests of
2151         individual functions, to libm-test-driver.c.
2152         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
2153         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
2154         [!FE_UPWARD] (FE_UPWARD): Likewise.
2155         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
2156         (NO_EXCEPTION): Likewise.
2157         (INVALID_EXCEPTION): Likewise.
2158         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
2159         (OVERFLOW_EXCEPTION): Likewise.
2160         (UNDERFLOW_EXCEPTION): Likewise.
2161         (INEXACT_EXCEPTION): Likewise.
2162         (INVALID_EXCEPTION_OK): Likewise.
2163         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2164         (OVERFLOW_EXCEPTION_OK): Likewise.
2165         (UNDERFLOW_EXCEPTION_OK): Likewise.
2166         (NO_INEXACT_EXCEPTION): Likewise.
2167         (EXCEPTIONS_OK): Likewise.
2168         (IGNORE_ZERO_INF_SIGN): Likewise.
2169         (TEST_NAN_SIGN): Likewise.
2170         (TEST_NAN_PAYLOAD): Likewise.
2171         (NO_TEST_INLINE): Likewise.
2172         (XFAIL_TEST): Likewise.
2173         (ERRNO_UNCHANGED): Likewise.
2174         (ERRNO_EDOM): Likewise.
2175         (ERRNO_ERANGE): Likewise.
2176         (IGNORE_RESULT): Likewise.
2177         (NON_FINITE): Likewise.
2178         (TEST_SNAN): Likewise.
2179         (NO_TEST_MATHVEC): Likewise.
2180         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
2181         (__CONCATX): Likewise.
2182         (TYPE_MIN): Likewise.
2183         (TYPE_TRUE_MIN): Likewise.
2184         (TYPE_MAX): Likewise.
2185         (MIN_EXP): Likewise.
2186         (MAX_EXP): Likewise.
2187         (MANT_DIG): Likewise.
2188         (FSTR_MAX): Likewise.
2189         (ULP_IDX): Likewise.
2190         (QTYPE_STR): Likewise.
2191         (TEST_COND_binary32): Likewise.
2192         (TEST_COND_binary64): Likewise.
2193         (TEST_COND_binary128): Likewise.
2194         (TEST_COND_ibm128): Likewise.
2195         (TEST_COND_intel96): Likewise.
2196         (TEST_COND_m68k96): Likewise.
2197         (TEST_COND_ibm128_libgcc): Likewise.
2198         (XFAIL_IBM128_LIBGCC): Likewise.
2199         (PAYLOAD_DIG): Likewise.
2200         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2201         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2202         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2203         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
2204         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2205         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
2206         (TEST_COND_long32): Likewise.
2207         (TEST_COND_long64): Likewise.
2208         (TEST_COND_before_rounding): Likewise.
2209         (TEST_COND_after_rounding): Likewise.
2210         (lit_pi_3_m_4_d): Likewise.
2211         (lit_pi_3_m_4_ln10_m_d): Likewise.
2212         (lit_pi_2_ln10_m_d): Likewise.
2213         (lit_pi_4_ln10_m_d): Likewise.
2214         (lit_pi_ln10_d): Likewise.
2215         (lit_pi_2_d): Likewise.
2216         (lit_pi_4_d): Likewise.
2217         (lit_pi): Likewise.
2218         (lit_e): Likewise.
2219         (ulps_file_name): Likewise.
2220         (ulps_file): Likewise.
2221         (output_ulps): Likewise.
2222         (output_dir): Likewise.
2223         (noErrors): Likewise.
2224         (noTests): Likewise.
2225         (noExcTests): Likewise.
2226         (noErrnoTests): Likewise.
2227         (verbose): Likewise.
2228         (output_max_error): Likewise.
2229         (output_points): Likewise.
2230         (ignore_max_ulp): Likewise.
2231         (plus_zero): Likewise.
2232         (minus_zero): Likewise.
2233         (plus_infty): Likewise.
2234         (minus_infty): Likewise.
2235         (qnan_value_pl): Likewise.
2236         (qnan_value): Likewise.
2237         (snan_value_pl): Likewise.
2238         (snan_value): Likewise.
2239         (max_value): Likewise.
2240         (min_value): Likewise.
2241         (min_subnorm_value): Likewise.
2242         (snan_value_ld): Likewise.
2243         (max_error): Likewise.
2244         (real_max_error): Likewise.
2245         (imag_max_error): Likewise.
2246         (prev_max_error): Likewise.
2247         (prev_real_max_error): Likewise.
2248         (prev_imag_max_error): Likewise.
2249         (max_valid_error): Likewise.
2250         (TYPE_DECIMAL_DIG): Likewise.
2251         (TYPE_HEX_DIG): Likewise.
2252         (fmt_ftostr): Likewise.
2253         (compare_ulp_data): Likewise.
2254         (find_ulps): Likewise.
2255         (init_max_error): Likewise.
2256         (set_max_error): Likewise.
2257         (print_float): Likewise.
2258         (print_screen): Likewise.
2259         (print_screen_max_error): Likewise.
2260         (update_stats): Likewise.
2261         (print_function_ulps): Likewise.
2262         (print_complex_function_ulps): Likewise.
2263         (fpstack_test): Likewise.
2264         (print_max_error): Likewise.
2265         (print_complex_max_error): Likewise.
2266         (test_single_exception): Likewise.
2267         (test_exceptions): Likewise.
2268         (test_single_errno): Likewise.
2269         (test_errno): Likewise.
2270         (ULPDIFF): Likewise.
2271         (ulp): Likewise.
2272         (check_float_internal): Likewise.
2273         (check_float): Likewise.
2274         (check_complex): Likewise.
2275         (check_int): Likewise.
2276         (check_long): Likewise.
2277         (check_bool): Likewise.
2278         (check_longlong): Likewise.
2279         (check_intmax_t): Likewise.
2280         (check_uintmax_t): Likewise.
2281         (enable_test): Likewise.
2282         (struct test_f_f_data): Likewise.
2283         (struct test_ff_f_data): Likewise.
2284         (struct test_fj_f_data): Likewise.
2285         (struct test_fi_f_data): Likewise.
2286         (struct test_fl_f_data): Likewise.
2287         (struct test_if_f_data): Likewise.
2288         (struct test_fff_f_data): Likewise.
2289         (struct test_fiu_M_data): Likewise.
2290         (struct test_fiu_U_data): Likewise.
2291         (struct test_c_f_data): Likewise.
2292         (struct test_f_f1_data): Likewise.
2293         (struct test_fF_f1_data): Likewise.
2294         (struct test_ffI_f1_data): Likewise.
2295         (struct test_c_c_data): Likewise.
2296         (struct test_cc_c_data): Likewise.
2297         (struct test_f_i_data): Likewise.
2298         (struct test_ff_i_data): Likewise.
2299         (struct test_f_l_data): Likewise.
2300         (struct test_f_L_data): Likewise.
2301         (struct test_fFF_11_data): Likewise.
2302         (struct test_Ff_b1_data): Likewise.
2303         (IF_ROUND_INIT_): Likewise.
2304         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
2305         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2306         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2307         (IF_ROUND_INIT_FE_UPWARD): Likewise.
2308         (ROUND_RESTORE_): Likewise.
2309         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
2310         (ROUND_RESTORE_FE_TONEAREST): Likewise.
2311         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
2312         (ROUND_RESTORE_FE_UPWARD): Likewise.
2313         (RM_): Likewise.
2314         (RM_FE_DOWNWARD): Likewise.
2315         (RM_FE_TONEAREST): Likewise.
2316         (RM_FE_TOWARDZERO): Likewise.
2317         (RM_FE_UPWARD): Likewise.
2318         (COMMON_TEST_SETUP): Likewise.
2319         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2320         (COMMON_TEST_CLEANUP): Likewise.
2321         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2322         (RUN_TEST_f_f): Likewise.
2323         (RUN_TEST_LOOP_f_f): Likewise.
2324         (RUN_TEST_fp_f): Likewise.
2325         (RUN_TEST_LOOP_fp_f): Likewise.
2326         (RUN_TEST_2_f): Likewise.
2327         (RUN_TEST_LOOP_2_f): Likewise.
2328         (RUN_TEST_ff_f): Likewise.
2329         (RUN_TEST_LOOP_ff_f): Likewise.
2330         (RUN_TEST_LOOP_fj_f): Likewise.
2331         (RUN_TEST_fi_f): Likewise.
2332         (RUN_TEST_LOOP_fi_f): Likewise.
2333         (RUN_TEST_fl_f): Likewise.
2334         (RUN_TEST_LOOP_fl_f): Likewise.
2335         (RUN_TEST_if_f): Likewise.
2336         (RUN_TEST_LOOP_if_f): Likewise.
2337         (RUN_TEST_fff_f): Likewise.
2338         (RUN_TEST_LOOP_fff_f): Likewise.
2339         (RUN_TEST_fiu_M): Likewise.
2340         (RUN_TEST_LOOP_fiu_M): Likewise.
2341         (RUN_TEST_fiu_U): Likewise.
2342         (RUN_TEST_LOOP_fiu_U): Likewise.
2343         (RUN_TEST_c_f): Likewise.
2344         (RUN_TEST_LOOP_c_f): Likewise.
2345         (RUN_TEST_f_f1): Likewise.
2346         (RUN_TEST_LOOP_f_f1): Likewise.
2347         (RUN_TEST_fF_f1): Likewise.
2348         (RUN_TEST_LOOP_fF_f1): Likewise.
2349         (RUN_TEST_fI_f1): Likewise.
2350         (RUN_TEST_LOOP_fI_f1): Likewise.
2351         (RUN_TEST_ffI_f1_mod8): Likewise.
2352         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
2353         (RUN_TEST_Ff_b1): Likewise.
2354         (RUN_TEST_LOOP_Ff_b1): Likewise.
2355         (RUN_TEST_Ffp_b1): Likewise.
2356         (RUN_TEST_LOOP_Ffp_b1): Likewise.
2357         (RUN_TEST_c_c): Likewise.
2358         (RUN_TEST_LOOP_c_c): Likewise.
2359         (RUN_TEST_cc_c): Likewise.
2360         (RUN_TEST_LOOP_cc_c): Likewise.
2361         (RUN_TEST_f_i): Likewise.
2362         (RUN_TEST_LOOP_f_i): Likewise.
2363         (RUN_TEST_f_i_tg): Likewise.
2364         (RUN_TEST_LOOP_f_i_tg): Likewise.
2365         (RUN_TEST_ff_b): Likewise.
2366         (RUN_TEST_LOOP_ff_b): Likewise.
2367         (RUN_TEST_ff_i_tg): Likewise.
2368         (RUN_TEST_LOOP_ff_i_tg): Likewise.
2369         (RUN_TEST_f_b): Likewise.
2370         (RUN_TEST_LOOP_f_b): Likewise.
2371         (RUN_TEST_f_b_tg): Likewise.
2372         (RUN_TEST_LOOP_f_b_tg): Likewise.
2373         (RUN_TEST_f_l): Likewise.
2374         (RUN_TEST_LOOP_f_l): Likewise.
2375         (RUN_TEST_f_L): Likewise.
2376         (RUN_TEST_LOOP_f_L): Likewise.
2377         (RUN_TEST_fFF_11): Likewise.
2378         (RUN_TEST_LOOP_fFF_11): Likewise.
2379         (VEC_SUFF): Likewise.
2380         (STR_CONCAT): Likewise.
2381         (STR_CON3): Likewise.
2382         (HAVE_VECTOR): Likewise.
2383         (START): Likewise.
2384         (END): Likewise.
2385         (END_COMPLEX): Likewise.
2386         (ALL_RM_TEST): Likewise.
2387         (matherr): Likewise.
2388         (initialize): Likewise.
2389         (options): Likewise.
2390         (doc): Likewise.
2391         (parse_opt): Likewise.
2392         (argp): Likewise.
2393         (check_ulp): Likewise.
2394         (main): Likewise.
2395         (do_test): New function.  Call tests of individual functions
2396         previously called from main.
2398         * math/libm-test.inc: Remove comment listing functions tested and
2399         not tested.
2401 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2403         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
2404         (allocate_stack): Remove COLORING_INCREMENT usage.
2405         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
2406         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
2408 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
2410         * manual/libm-err-tab.pl (@all_functions): Change to
2411         %all_functions.  Initialize as empty.
2412         (parse_ulps): Add to %all_functions based on functions found in
2413         ulps files.  Ignore results for non-default rounding modes and
2414         vector functions.
2415         (print_platforms): Use %all_platforms.
2416         * manual/math.texi (Errors in Math Functions): Document omissions
2417         from the table.
2419         * math/Makefile (before-compile): Remove.
2421 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
2423         [BZ #21075]
2424         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
2425         unused assignment.
2426         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
2428 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2430         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
2431         Add __glibc_unlikely hint.
2433 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2435         [BZ #16640]
2436         * sysdeps/i386/i686/strtok.S: Remove file.
2437         * sysdeps/i386/i686/strtok_r.S: Likewise.
2438         * sysdeps/i386/strtok.S: Likewise.
2439         * sysdeps/i386/strtok_r.S: Likewise.
2440         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
2441         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
2442         * sysdeps/x86_64/strtok.S: Likewise.
2443         * sysdeps/x86_64/strtok_r.S: Likewise.
2445         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
2446         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
2447         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2448         (__ASSUME_FADVISE64_AS_64_64): Define.
2449         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
2450         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
2451         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
2452         __ALIGNMENT_ARG usage.
2453         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
2454         __NR_fadvise64_64 if it is not defined.
2456 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2458         * version.h (RELEASE): Set to "development"
2459         (VERSION): Set to 2.25.90.
2460         * NEWS: Add 2.26 section.
2462         * version.h (RELEASE): Set to "stable"
2463         (VERSION): Set to 2.25.
2464         * include/features.h (__GLIBC_MINOR__): Set to 25.
2466         * manual/contrib.texi: Add more contributors from this release
2467         and past releases.
2469         * NEWS (2.25): Add list of bugs fixed.
2471         * NEWS: Add missing news items.
2473 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2475         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
2476         parent if child exited in that manner.  Print WEXITSTATUS
2477         instead of the raw status.
2478         (do_test_prep): Rename to do_test.
2479         (do_test): Return the result of run_executable_sgid.
2480         (TEST_FUNCTION_ARGV): Adjust.
2482 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
2483             Florian Weimer  <fweimer@redhat.com>
2484             Carlos O'Donell  <carlos@redhat.com>
2486         [BZ #20915]
2487         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
2488         Do not initialize DTV.
2489         * nptl/allocatestack.c (init_one_static_tls): Likewise.
2491 2017-02-03  David S. Miller  <davem@davemloft.net>
2493         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
2494         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
2495         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
2496         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
2497         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
2498         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
2499         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
2500         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
2501         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
2502         (libm-sysdep_routines): Update.
2503         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
2504         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
2505         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2506         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
2507         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2508         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
2509         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
2510         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
2511         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
2512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
2513         Likewise.
2514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
2516         Likewise.
2517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
2518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
2519         Likewise.
2520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
2522         Likewise.
2523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
2524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2525         (libm-sysdep_routines): Update.
2527 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
2529         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
2530         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
2531         against unrelocated shared library.
2532         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2534 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2536         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
2537         * elf/tst-env-setuid-tunables.c
2538         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
2539         GLIBC_TUNABLES is removed in a setgid process.
2541         [BZ #21073]
2542         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
2543         * elf/dl-tunables.c (tunables_strdup): Remove.
2544         (get_next_env): Also return the previous envp.
2545         (parse_tunables): Erase tunables of category
2546         TUNABLES_SECLEVEL_SXID_ERASE.
2547         (maybe_enable_malloc_check): Make MALLOC_CHECK_
2548         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
2549         (__tunables_init)[TUNABLES_FRONTEND ==
2550         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
2551         after parsing.
2552         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
2553         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
2554         * elf/dl-tunables.h (struct _tunable): Change member is_secure
2555         to security_level.
2556         * elf/dl-tunables.list: Add security_level annotations for all
2557         tunables.
2558         * scripts/gen-tunables.awk: Recognize and generate enum values
2559         for security_level.
2560         * elf/tst-env-setuid.c: New test case.
2561         * elf/tst-env-setuid-tunables: new test case.
2562         * elf/Makefile (tests-static): Add them.
2564 2017-02-01  Richard Henderson  <rth@twiddle.net>
2566         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
2567         adjusting the byte count.
2569 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
2571         * conform/Makefile (linknamespace-libs): Define.
2573         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
2574         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
2575         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
2576         operands.
2578 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
2580         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
2582 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
2584         [BZ #21081]
2585         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2586         (L(stosb)): Add VZEROUPPER before ret.
2588 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
2589             Alexey Makhalov <amakhalov@vmware.com>
2590             Florian Weimer <fweimer@redhat.com>
2592         [BZ #20116]
2593         * nptl/pthread_create.c: Document concurrency notes.
2594         Enhance thread creation notes.
2595         (create_thread): Use bool *stopped_start.
2596         (START_THREAD_DEFN): Comment ownership of PD.
2597         (__pthread_create_2_1): Add local bool stopped_start and use
2598         that instead of pd->stopped_start where appropriate.
2599         * nptl/createthread.c (create_thread): Use bool *stopped_start.
2600         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
2601         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
2602         * nptl/tst-create-detached.c: New file.
2603         * nptl/Makefile (tests): Add tst-create-detached.
2604         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
2605         Reference the enhanced thread creation notes.
2606         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
2607         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
2608         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
2609         (__pthread_current_priority): Likewise.
2610         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
2611         xpthread_attr_init, xpthread_attr_setdetachstate, and
2612         xpthread_attr_setstacksize.
2613         * support/xpthread_attr_destroy.c: New file.
2614         * support/xpthread_attr_init.c: New file.
2615         * support/xpthread_attr_setdetachstate.c: New file.
2616         * support/xpthread_attr_setstacksize.c: New file.
2617         * support/xthread.h: Define prototypes for xpthread_attr_destroy
2618         xpthread_attr_init, xpthread_attr_setdetachstate, and
2619         xpthread_attr_setstacksize.
2621 2017-01-27  Florian Weimer  <fweimer@redhat.com>
2623         * nptl/Makefile (tests): Add tst-robust-fork.
2624         * nptl/tst-robust-fork.c: New file.
2625         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
2626         xpthread_mutex_consistent, xpthread_mutex_destroy,
2627         xpthread_mutex_init, xpthread_mutexattr_destroy,
2628         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
2629         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
2630         xpthread_mutexattr_settype.
2631         * support/xmmap.c: New file.
2632         * support/xmunmap.c: Likewise.
2633         * support/xpthread_mutex_consistent.c: Likewise.
2634         * support/xpthread_mutex_destroy.c: Likewise.
2635         * support/xpthread_mutex_init.c: Likewise.
2636         * support/xpthread_mutexattr_destroy.c: Likewise.
2637         * support/xpthread_mutexattr_init.c: Likewise.
2638         * support/xpthread_mutexattr_setprotocol.c: Likewise.
2639         * support/xpthread_mutexattr_setpshared.c: Likewise.
2640         * support/xpthread_mutexattr_setrobust.c: Likewise.
2641         * support/xpthread_mutexattr_settype.c: Likewise.
2642         * support/xthread.h (xpthread_mutexattr_destroy)
2643         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
2644         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
2645         (xpthread_mutexattr_settype, xpthread_mutex_init)
2646         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
2647         * support/xunistd.h (xmmap, xmunmap): Likewise.
2649 2017-01-25  Florian Weimer  <fweimer@redhat.com>
2651         * string/Makefile (xtests): Add comment.
2652         (LOCALES): Add en_GB.UTF-8.
2653         (tst-strcoll-overflow.out): Depend on generated locales.
2654         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
2655         (SIZE, TIMEOUT): Update comments.
2656         (do_test): Define as static.  Fail test if setlocale fails.
2657         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
2658         messages.
2659         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
2660         TIMEOUT at 300 seconds should be enough to run this test
2661         successfully.
2663 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
2665         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
2666         /* FALLTHRU */ comments.
2668 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
2670         [BZ #21053]
2671         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
2672         constants instead of the old R* ones.
2673         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
2674         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
2675         (NGREG): ... to this, to fit in with other architectures.
2676         (gpregset_t): Use new NGREG macro.
2677         [__USE_GNU]: Remove condition; all architectures other than tile
2678         are unconditional.
2679         (R*): Rename to REG_R*.
2681 2017-01-20  DJ Delorie  <dj@redhat.com>
2683         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
2684         (tunable_set_val_if_valid_range_signed) ... this, and ...
2685         (tunable_set_val_if_valid_range_unsigned) ... this.
2686         (tunable_initialize): Call the correct one of the above based on type.
2688 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
2690         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
2691         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2692         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2693         * sysdeps/microblaze/libm-test-ulps: Likewise.
2694         * sysdeps/sh/libm-test-ulps: Likewise.
2696         * math/README.libm-test: Update list of characters for input and
2697         output types.
2699 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2701         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
2702         (__lll_unlock_elision): Fix adapt_count decrement.
2704 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
2706         * README.pretty-printers (Known issues): Warn about printers not
2707         always covering everything.
2708         * nptl/nptl-printers.py (MutexPrinter): Change output.
2709         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
2711 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2713         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
2714         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2715         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
2716         (__lll_lock_elision): Do not test futex before starting a
2717         transaction.  Use __glibc_likely instead of __builtin_expect.
2718         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
2719         (__lll_trylock_elision): Do not test futex before starting a
2720         transaction.  Use __glibc_likely instead of __builtin_expect.
2722 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2724         * po/Makefile (update-translations): New target.
2726 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
2728         [BZ #21061]
2729         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
2731 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2733         * elf/dl-tunables (get_next_env): Always advance envp.
2734         * stdlib/tst-empty-env.c: New test case.
2735         * stdlib/Makefile (tests): Use it.
2737 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
2739         [BZ #21047]
2740         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
2741         name for instruction.
2742         [!__SOFTFP__] (_FPU_SETCW): Likewise.
2744 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
2746         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
2747         for make install.
2749 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2751         * po/bg.po: Merge from Translation Project.
2752         * po/fr.po: Likewise.
2753         * po/ko.po: Likewise.
2754         * po/nl.po: Likewise.
2755         * po/sv.po: Likewise.
2757 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
2759         * manual/install.texi (Tools for Compilation): Update GCC version
2760         known to work to build glibc.
2761         * INSTALL: Regenerated.
2763 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2765         [BZ #21006]
2766         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
2768 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
2770         [BZ #21045]
2771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
2772         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
2773         to __sigprocmask.
2775 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
2777         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
2778         wrap-around.
2779         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
2781         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
2783 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2785         * NEWS: Fix typo.
2787 2016-01-13  Torvald Riegel  <triegel@redhat.com>
2789         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
2790         barriers and comments.
2791         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
2792         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
2793         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2795 2016-01-13  Torvald Riegel  <triegel@redhat.com>
2797         [BZ #19402]
2798         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
2799         mutexes.
2801 2016-01-13  Torvald Riegel  <triegel@redhat.com>
2803         [BZ #20985]
2804         * nptl/Makefile: Adapt.
2805         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
2806         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
2807         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
2808         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
2809         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
2810         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
2811         lll_robust* functions and adapt.
2812         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2813         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
2814         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
2815         __lll_robust_timedlock, __lll_robust_unlock): Remove.
2816         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
2817         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
2818         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
2819         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
2820         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
2821         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
2822         __lll_robust_timedlock, __lll_robust_unlock): Remove.
2823         * nptl/lowlevelrobustlock.c: Remove file.
2824         * nptl/lowlevelrobustlock.sym: Likewise.
2825         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
2826         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
2828 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2830         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
2832 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2834         * po/cs.po: Merge translations from the Translation Project.
2835         * po/de.po: Likewise.
2836         * po/pl.po: Likewise.
2837         * po/ru.po: Likewise.
2838         * po/tr.po: Likewise.
2839         * po/uk.po: Likewise.
2840         * po/vi.po: Likewise.
2841         * po/zh_CN.po: Likewise.
2843 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
2845         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
2847         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
2848         object.
2850 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
2852         [BZ #16458]
2853         * bits/uintn-identity.h: New file.
2854         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
2855         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
2856         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
2857         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
2858         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
2859         * string/endian.h: Include <bits/uintn-identity.h>.
2860         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
2861         __uint16_identity.
2862         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
2863         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
2864         __uint32_identity.
2865         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
2866         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
2867         __uint64_identity.
2868         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
2869         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
2870         __uint16_identity.
2871         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
2872         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
2873         __uint32_identity.
2874         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
2875         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
2876         __uint64_identity.
2877         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
2878         * string/Makefile (headers): Add bits/uintn-identity.h.
2879         (tests): Add test-endian-types.
2880         * string/test-endian-types.c: New file.
2881         * inet/Makefile (tests): Add test-hnto-types.
2882         * inet/test-hnto-types.c: New file.
2884 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2886         * po/be.po: Update from Translation Project.
2887         * po/bg.po: Likewise.
2888         * po/ca.po: Likewise.
2889         * po/cs.po: Likewise.
2890         * po/da.po: Likewise.
2891         * po/de.po: Likewise.
2892         * po/el.po: Likewise.
2893         * po/eo.po: Likewise.
2894         * po/es.po: Likewise.
2895         * po/fi.po: Likewise.
2896         * po/fr.po: Likewise.
2897         * po/gl.po: Likewise.
2898         * po/hr.po: Likewise.
2899         * po/hu.po: Likewise.
2900         * po/ia.po: Likewise.
2901         * po/id.po: Likewise.
2902         * po/it.po: Likewise.
2903         * po/ja.po: Likewise.
2904         * po/ko.po: Likewise.
2905         * po/lt.po: Likewise.
2906         * po/nb.po: Likewise.
2907         * po/nl.po: Likewise.
2908         * po/pl.po: Likewise.
2909         * po/pt_BR.po: Likewise.
2910         * po/ru.po: Likewise.
2911         * po/rw.po: Likewise.
2912         * po/sk.po: Likewise.
2913         * po/sl.po: Likewise.
2914         * po/sv.po: Likewise.
2915         * po/tr.po: Likewise.
2916         * po/uk.po: Likewise.
2917         * po/vi.po: Likewise.
2918         * po/zh_CN.po: Likewise.
2919         * po/zh_TW.po: Likewise.
2921 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
2923         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
2924         -Wformat-truncation instead of -Wformat-length.
2925         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
2926         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
2927         GCC 7.
2928         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
2929         (do_test): Ignore -Wformat-truncation for GCC 7.
2931         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
2932         buffer used to print long int value.
2934         * elf/sotruss-lib.c (init): Increase space allocated for pid by
2935         one byte.  Print it with %ld, cast to long int.
2937 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2939         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
2940         (re.fullmatch, subprocess.run): Likewise.
2942 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2944         * po/libc.pot: Regenerate.
2946 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2948         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
2949         (min_strlen): Likewise.
2950         (disable_tunable): Likewise.
2951         (maybe_disable_malloc_check): Rename to
2952         maybe_enable_malloc_check.
2953         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
2954         if /etc/suid-debug file exists.
2955         (__tunables_init): Update caller.
2956         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
2957         secure.
2959 2016-01-10  Torvald Riegel  <triegel@redhat.com>
2961         * nptl/DESIGN-rwlock.txt: Remove.
2962         * nptl/lowlevelrwlock.sym: Remove.
2963         * nptl/Makefile: Add new tests.
2964         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
2965         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
2966         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
2967         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
2968         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
2969         PTHREAD_RWLOCK_FUTEX_USED): New.
2970         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
2971         implementation.
2972         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
2973         (__pthread_rwlock_rdlock): Adapt.
2974         * nptl/pthread_rwlock_timedrdlock.c
2975         (pthread_rwlock_timedrdlock): Adapt.
2976         * nptl/pthread_rwlock_timedwrlock.c
2977         (pthread_rwlock_timedwrlock): Adapt.
2978         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
2979         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
2980         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
2981         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
2982         (__pthread_rwlock_wrlock): Adapt.
2983         * nptl/tst-rwlock10.c: Adapt.
2984         * nptl/tst-rwlock11.c: Adapt.
2985         * nptl/tst-rwlock17.c: New file.
2986         * nptl/tst-rwlock18.c: New file.
2987         * nptl/tst-rwlock19.c: New file.
2988         * nptl/tst-rwlock2b.c: New file.
2989         * nptl/tst-rwlock8.c: Adapt.
2990         * nptl/tst-rwlock9.c: Adapt.
2991         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2992         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2993         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2994         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2995         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2996         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2997         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2998         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2999         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3000         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3001         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3002         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3003         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
3004         (pthread_rwlock_t): Adapt.
3005         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3006         (pthread_rwlock_t): Adapt.
3007         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3008         * nptl/nptl-printers.py (): Adapt.
3009         * nptl/nptl_lock_constants.pysym: Adapt.
3010         * nptl/test-rwlock-printers.py: Adapt.
3011         * nptl/test-rwlockattr-printers.c: Adapt.
3012         * nptl/test-rwlockattr-printers.py: Adapt.
3014 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
3016         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
3017         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
3018         (fma_test_data): Likewise.
3019         (hypot_test_data): Likewise.
3020         (log1p_test_data): Likewise.
3021         (modf_test_data): Likewise.
3022         (pow_test_data): Likewise.
3023         (remainder_test_data): Likewise.
3024         (remquo_test_data): Likewise.
3025         (scalb_test_data): Likewise.
3026         (scalbn_test_data): Likewise.
3027         (scalbln_test_data): Likewise.
3028         * math/gen-libm-test.pl (parse_args): Transform
3029         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
3030         on the rounding mode.
3032 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
3034         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
3035         xfail-rounding:ibm128-libgcc automatically to tests overflowing
3036         and those that can underflow to zero.
3037         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
3038         add others.
3039         * math/auto-libm-test-out: Regenerated.
3041         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
3042         supported.
3043         (feholdexcept_tests): Skip tests requiring exceptions or rounding
3044         modes support if not supported.
3046         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
3047         Add libc.so PLT entry.
3048         (__tls_get_addr): Make ld.so PLT entry optional.
3050 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3052         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
3053         * string/bits/string3.h: ... here.
3055 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
3057         [BZ #21028]
3058         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
3059         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
3060         if EXCEPTION_TESTS returns false.
3062 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3064         [BZ #20558]
3065         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
3066         strings_fortified.h.
3067         [__USE_MISC] (bzero): Likewise.
3068         [__USE_MISC] (explicit_bzero): Likewise.
3069         * string/strings.h: Include strings_fortified.h.
3070         * string/Makefile (headers): Add strings_fortified.h.
3071         * string/bits/strings_fortified.h: New file.
3072         * include/bits/strings_fortified.h: Likewise.
3074 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
3076         * elf/tst-tls13.c (TIMEOUT): Remove.
3077         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
3078         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
3079         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
3080         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
3081         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
3083         [BZ #21026]
3084         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
3085         (readahead): New syscall entry.
3087 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
3089         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
3090         around tests of strncat with large sizes.
3092         * malloc/tst-malloc.c: Include <libc-internal.h>.
3093         (do_test): Disable -Walloc-size-larger-than= around tests of
3094         malloc with negative sizes.
3095         * malloc/tst-mcheck.c: Include <libc-internal.h>.
3096         (do_test): Disable -Walloc-size-larger-than= around tests of
3097         malloc and realloc with negative sizes.
3098         * malloc/tst-realloc.c: Include <libc-internal.h>.
3099         (do_test): Disable -Walloc-size-larger-than= around tests of
3100         realloc with negative sizes.
3102         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
3103         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
3104         allowed to 16 ulps.
3105         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
3106         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
3107         * math/auto-libm-test-out: Regenerated.
3109 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3111         * math/Makefile (libm-calls): Move wrappers...
3112         (libm-compat-call-auto): Here.
3113         (libm-routines): Add items in libm-compat-calls-auto.
3114         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
3115         the filenames of the wrappers that have been renamed.
3116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
3117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3119         * math/w_acos.c: Add _compat suffix to filename.
3120         * math/w_acosf.c: Likewise.
3121         * math/w_acosh.c: Likewise.
3122         * math/w_acoshf.c: Likewise.
3123         * math/w_acoshl.c: Likewise.
3124         * math/w_acosl.c: Likewise.
3125         * math/w_asin.c: Likewise.
3126         * math/w_asinf.c: Likewise.
3127         * math/w_asinl.c: Likewise.
3128         * math/w_atan2.c: Likewise.
3129         * math/w_atan2f.c: Likewise.
3130         * math/w_atan2l.c: Likewise.
3131         * math/w_atanh.c: Likewise.
3132         * math/w_atanhf.c: Likewise.
3133         * math/w_atanhl.c: Likewise.
3134         * math/w_cosh.c: Likewise.
3135         * math/w_coshf.c: Likewise.
3136         * math/w_coshl.c: Likewise.
3137         * math/w_exp10.c: Likewise.
3138         * math/w_exp10f.c: Likewise.
3139         * math/w_exp10l.c: Likewise.
3140         * math/w_exp2.c: Likewise.
3141         * math/w_exp2f.c: Likewise.
3142         * math/w_exp2l.c: Likewise.
3143         * math/w_fmod.c: Likewise.
3144         * math/w_fmodf.c: Likewise.
3145         * math/w_fmodl.c: Likewise.
3146         * math/w_hypot.c: Likewise.
3147         * math/w_hypotf.c: Likewise.
3148         * math/w_hypotl.c: Likewise.
3149         * math/w_j0.c: Likewise.
3150         * math/w_j0f.c: Likewise.
3151         * math/w_j0l.c: Likewise.
3152         * math/w_j1.c: Likewise.
3153         * math/w_j1f.c: Likewise.
3154         * math/w_j1l.c: Likewise.
3155         * math/w_jn.c: Likewise.
3156         * math/w_jnf.c: Likewise.
3157         * math/w_jnl.c: Likewise.
3158         * math/w_log10.c: Likewise.
3159         * math/w_log10f.c: Likewise.
3160         * math/w_log10l.c: Likewise.
3161         * math/w_log2.c: Likewise.
3162         * math/w_log2f.c: Likewise.
3163         * math/w_log2l.c: Likewise.
3164         * math/w_log.c: Likewise.
3165         * math/w_logf.c: Likewise.
3166         * math/w_logl.c: Likewise.
3167         * math/w_pow.c: Likewise.
3168         * math/w_powf.c: Likewise.
3169         * math/w_powl.c: Likewise.
3170         * math/w_remainder.c: Likewise.
3171         * math/w_remainderf.c: Likewise.
3172         * math/w_remainderl.c: Likewise.
3173         * math/w_scalb.c: Likewise.
3174         * math/w_scalbf.c: Likewise.
3175         * math/w_scalbl.c: Likewise.
3176         * math/w_sinh.c: Likewise.
3177         * math/w_sinhf.c: Likewise.
3178         * math/w_sinhl.c: Likewise.
3179         * math/w_sqrt.c: Likewise.
3180         * math/w_sqrtf.c: Likewise.
3181         * math/w_sqrtl.c: Likewise.
3182         * math/w_tgamma.c: Likewise.
3183         * math/w_tgammaf.c: Likewise.
3184         * math/w_tgammal.c: Likewise.
3186         * math/w_acos_compat.c: New file copied from above and
3187         adjusted for new #includes path
3188         * math/w_acosf_compat.c: Likewise.
3189         * math/w_acosh_compat.c: Likewise.
3190         * math/w_acoshf_compat.c: Likewise.
3191         * math/w_acoshl_compat.c: Likewise.
3192         * math/w_acosl_compat.c: Likewise.
3193         * math/w_asin_compat.c: Likewise.
3194         * math/w_asinf_compat.c: Likewise.
3195         * math/w_asinl_compat.c: Likewise.
3196         * math/w_atan2_compat.c: Likewise.
3197         * math/w_atan2f_compat.c: Likewise.
3198         * math/w_atan2l_compat.c: Likewise.
3199         * math/w_atanh_compat.c: Likewise.
3200         * math/w_atanhf_compat.c: Likewise.
3201         * math/w_atanhl_compat.c: Likewise.
3202         * math/w_cosh_compat.c: Likewise.
3203         * math/w_coshf_compat.c: Likewise.
3204         * math/w_coshl_compat.c: Likewise.
3205         * math/w_exp10_compat.c: Likewise.
3206         * math/w_exp10f_compat.c: Likewise.
3207         * math/w_exp10l_compat.c: Likewise.
3208         * math/w_exp2_compat.c: Likewise.
3209         * math/w_exp2f_compat.c: Likewise.
3210         * math/w_exp2l_compat.c: Likewise.
3211         * math/w_fmod_compat.c: Likewise.
3212         * math/w_fmodf_compat.c: Likewise.
3213         * math/w_fmodl_compat.c: Likewise.
3214         * math/w_hypot_compat.c: Likewise.
3215         * math/w_hypotf_compat.c: Likewise.
3216         * math/w_hypotl_compat.c: Likewise.
3217         * math/w_j0_compat.c: Likewise.
3218         * math/w_j0f_compat.c: Likewise.
3219         * math/w_j0l_compat.c: Likewise.
3220         * math/w_j1_compat.c: Likewise.
3221         * math/w_j1f_compat.c: Likewise.
3222         * math/w_j1l_compat.c: Likewise.
3223         * math/w_jn_compat.c: Likewise.
3224         * math/w_jnf_compat.c: Likewise.
3225         * math/w_jnl_compat.c: Likewise.
3226         * math/w_log10_compat.c: Likewise.
3227         * math/w_log10f_compat.c: Likewise.
3228         * math/w_log10l_compat.c: Likewise.
3229         * math/w_log2_compat.c: Likewise.
3230         * math/w_log2f_compat.c: Likewise.
3231         * math/w_log2l_compat.c: Likewise.
3232         * math/w_log_compat.c: Likewise.
3233         * math/w_logf_compat.c: Likewise.
3234         * math/w_logl_compat.c: Likewise.
3235         * math/w_pow_compat.c: Likewise.
3236         * math/w_powf_compat.c: Likewise.
3237         * math/w_powl_compat.c: Likewise.
3238         * math/w_remainder_compat.c: Likewise.
3239         * math/w_remainderf_compat.c: Likewise.
3240         * math/w_remainderl_compat.c: Likewise.
3241         * math/w_scalb_compat.c: Likewise.
3242         * math/w_scalbf_compat.c: Likewise.
3243         * math/w_scalbl_compat.c: Likewise.
3244         * math/w_sinh_compat.c: Likewise.
3245         * math/w_sinhf_compat.c: Likewise.
3246         * math/w_sinhl_compat.c: Likewise.
3247         * math/w_sqrt_compat.c: Likewise.
3248         * math/w_sqrtf_compat.c: Likewise.
3249         * math/w_sqrtl_compat.c: Likewise.
3250         * math/w_tgamma_compat.c: Likewise.
3251         * math/w_tgammaf_compat.c: Likewise.
3252         * math/w_tgammal_compat.c: Likewise.
3254         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
3255         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
3256         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
3257         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
3258         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
3259         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
3260         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
3261         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
3262         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
3263         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
3264         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
3265         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
3266         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
3267         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
3268         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
3269         * sysdeps/ia64/fpu/w_powl.c: Likewise.
3270         * sysdeps/ia64/fpu/w_powf.c: Likewise.
3271         * sysdeps/ia64/fpu/w_pow.c: Likewise.
3272         * sysdeps/ia64/fpu/w_logl.c: Likewise.
3273         * sysdeps/ia64/fpu/w_logf.c: Likewise.
3274         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
3275         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
3276         * sysdeps/ia64/fpu/w_log2.c: Likewise.
3277         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
3278         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
3279         * sysdeps/ia64/fpu/w_log10.c: Likewise.
3280         * sysdeps/ia64/fpu/w_log.c: Likewise.
3281         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
3282         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
3283         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
3284         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
3285         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
3286         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
3287         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
3288         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
3289         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
3290         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
3291         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
3292         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
3293         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
3294         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
3295         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
3296         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
3297         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
3298         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
3299         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
3300         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
3301         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
3302         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
3303         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
3304         * sysdeps/ia64/fpu/w_asin.c: Likewise.
3305         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
3306         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
3307         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
3308         * sysdeps/ia64/fpu/w_acos.c: Likewise.
3309         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
3310         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
3311         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
3312         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
3313         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
3314         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
3315         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
3316         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
3317         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
3318         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
3319         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
3320         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
3321         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
3322         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
3323         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
3324         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
3325         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
3326         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
3327         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
3328         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
3329         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
3330         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
3331         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
3332         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
3333         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
3334         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
3335         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
3336         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
3337         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
3338         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
3339         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
3340         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
3341         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
3342         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
3343         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
3344         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
3345         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
3346         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
3347         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
3348         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
3349         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
3350         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
3351         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
3352         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
3353         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
3354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
3355         Likewise.
3356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
3357         Likewise.
3358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
3359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
3360         Likewise.
3361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
3362         Likewise.
3363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
3364         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3365         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3366         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3367         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3368         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
3369         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
3370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
3371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
3373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3374         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
3375         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
3376         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
3377         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
3379         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
3380         and adjusted for new #includes path
3381         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
3382         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
3383         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
3384         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
3385         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
3386         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
3387         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
3388         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
3389         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
3390         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
3391         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
3392         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
3393         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
3394         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
3395         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
3396         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
3397         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
3398         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
3399         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
3400         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
3401         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
3402         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
3403         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
3404         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
3405         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
3406         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
3407         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
3408         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
3409         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
3410         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
3411         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
3412         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
3413         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
3414         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
3415         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
3416         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
3417         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
3418         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
3419         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
3420         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
3421         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
3422         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
3423         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
3424         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
3425         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
3426         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
3427         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
3428         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
3429         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
3430         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
3431         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
3432         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
3433         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
3434         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
3435         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
3436         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
3437         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
3438         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
3439         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
3440         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
3441         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
3442         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
3443         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
3444         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
3445         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
3446         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
3447         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
3448         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
3449         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
3450         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
3451         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
3452         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
3453         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
3454         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
3455         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
3456         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
3457         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
3458         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
3459         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
3460         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
3461         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
3462         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
3463         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
3464         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
3465         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
3466         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
3467         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
3468         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
3469         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
3470         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
3471         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
3472         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
3473         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
3474         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
3475         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
3476         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
3477         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
3478         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
3479         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
3480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
3481         Likewise.
3482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
3483         Likewise.
3484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
3485         Likewise.
3486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
3487         Likewise.
3488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
3489         Likewise.
3490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
3491         Likewise.
3492         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
3493         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
3494         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
3495         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
3496         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
3497         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
3498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
3499         Likewise.
3500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
3501         Likewise.
3502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
3503         Likewise.
3504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
3505         Likewise.
3506         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
3507         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
3508         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
3509         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
3511 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
3513         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
3514         __jmp_buf_internal_tag.
3516         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
3517         preserve NaN payload if [__mips_nan2008].
3518         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3520         [BZ #21022]
3521         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
3523 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
3525         * sysdeps/i386/fpu/libm-test-ulps: Update.
3527 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3529         * sysdeps/ia64/strcat.c: Remove file.
3530         * sysdeps/powerpc/strcat.c: Likewise.
3531         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
3532         C implementation.
3533         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
3534         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
3536 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3537             Steven Munroe  <sjmunroe@us.ibm.com>
3538             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3540         [BZ #20822]
3541         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3542         (__lll_lock_elision): Access adapt_count via C11 atomics.
3543         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3544         (__lll_trylock_elision): Likewise.
3545         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
3546         (__lll_unlock_elision):  Update adapt_count variable inside the
3547         critical section using C11 atomics.
3549 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
3551         * math/test-fenvinline.c (do_test): Disable tests of raised
3552         exceptions if !EXCEPTION_TESTS (FLOAT).
3554 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3556         [BZ #19390]
3557         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
3558         maximum string size.
3559         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
3560         in pointer addition.
3561         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
3562         Likewise.
3564 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
3566         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
3567         passed to tst-ldconfig-X.sh.
3569 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
3571         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
3573 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
3575         [BZ #21019]
3576         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
3577         New syscall entry.
3578         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
3579         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
3580         lseek.
3582         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
3583         power4 glibc for powerpc-linux-gnu.
3585 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3587         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
3588         semctl.
3590 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
3592         * math/test-nearbyint-except.c: Include <stdbool.h>.
3593         (any_supported): New variable.
3594         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
3595         set any_supported.
3596         (do_test): Return 77 if no floating-point type supported
3597         exceptions.
3599         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
3600         condition on [__mips_hard_float].
3602 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3604         [BZ #21014]
3605         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
3606         in pointer addition.
3607         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
3609 2017-01-02  Torvald Riegel  <triegel@redhat.com>
3611         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
3612         new condvar.
3614 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
3616         * scripts/build-many-glibcs.py (Context.checkout): Default
3617         binutils version to 2.28 branch.
3619 2017-01-01  Florian Weimer  <fweimer@redhat.com>
3621         * support/support_format_netent.c (support_format_netent): Work
3622         around alpha struct netent definition difference.
3624 2017-01-01  Florian Weimer  <fweimer@redhat.com>
3626         * support/xwrite.c (xwrite): Use %td for pointer difference.
3628 2017-01-01  Florian Weimer  <fweimer@redhat.com>
3630         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
3631         have-tunables only.
3632         (tests-static): Add tst-malloc-usable-static-tunables for
3633         have-tunables only.
3635 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
3637         * scripts/config.guess: Update to version 2017-01-01.
3638         * scripts/config.sub: Update to version 2017-01-01.
3640         * NEWS: Update copyright dates.
3641         * catgets/gencat.c (print_version): Likewise.
3642         * csu/version.c (banner): Likewise.
3643         * debug/catchsegv.sh: Likewise.
3644         * debug/pcprofiledump.c (print_version): Likewise.
3645         * debug/xtrace.sh (do_version): Likewise.
3646         * elf/ldconfig.c (print_version): Likewise.
3647         * elf/ldd.bash.in: Likewise.
3648         * elf/pldd.c (print_version): Likewise.
3649         * elf/sotruss.sh: Likewise.
3650         * elf/sprof.c (print_version): Likewise.
3651         * iconv/iconv_prog.c (print_version): Likewise.
3652         * iconv/iconvconfig.c (print_version): Likewise.
3653         * locale/programs/locale.c (print_version): Likewise.
3654         * locale/programs/localedef.c (print_version): Likewise.
3655         * login/programs/pt_chown.c (print_version): Likewise.
3656         * malloc/memusage.sh (do_version): Likewise.
3657         * malloc/memusagestat.c (print_version): Likewise.
3658         * malloc/mtrace.pl: Likewise.
3659         * manual/libc.texinfo: Likewise.
3660         * nptl/version.c (banner): Likewise.
3661         * nscd/nscd.c (print_version): Likewise.
3662         * nss/getent.c (print_version): Likewise.
3663         * nss/makedb.c (print_version): Likewise.
3664         * posix/getconf.c (main): Likewise.
3665         * scripts/test-installation.pl: Likewise.
3666         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3668         * All files with FSF copyright notices: Update copyright dates
3669         using scripts/update-copyrights.
3670         * intl/plural.c: Regenerated.
3671         * locale/programs/charmap-kw.h: Likewise.
3672         * locale/programs/locfile-kw.h: Likewise.
3674 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3676         [BZ #20593]
3677         Update DNS RR type definitions.
3678         * scripts/gen-rrtypes.py: New file.
3679         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
3680         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
3681         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
3682         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
3683         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
3684         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
3685         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
3686         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
3687         ns_t_ta, ns_t_dlv.
3688         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
3689         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
3690         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
3691         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
3692         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
3693         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
3694         Define.
3695         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
3696         entry for ns_t_zxfr.
3698 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3700         [BZ #18784]
3701         CVE-2015-5180
3702         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
3703         T_UNSPEC.  Adjust value.
3704         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
3705         * resolv/res_query.c (__libc_res_nquery): Likewise.
3706         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
3707         QTYPEs.
3708         * resolv/tst-resolv-qtypes.c: New file.
3709         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
3710         (tst-resolv-qtypes): Link against libresolv and libpthread.
3712 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3714         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
3716 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3718         * manual/tunables.texi: New chapter.
3719         * manual/Makefile (chapters): Add it.
3720         * manual/probes.texi (@node): Point to the Tunables chapter.
3722         * Makeconfig (have-tunables): Check for non-negative instead
3723         of positive.
3724         * configure.ac: Add 'valstring' as a valid value for
3725         --enable-tunables.
3726         * configure: Regenerate.
3727         * elf/Makefile (have-tunables): Check for non-negative instead
3728         of positive.
3729         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
3730         dl-tunables.c.
3731         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
3732         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
3733         (tunables_strdup): Likewise.
3734         (disable_tunables): Likewise.
3735         (parse_tunables): Likewise.
3736         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
3737         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
3738         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
3739         (TUNABLES_FRONTEND_yes): New macro, define as
3740         TUNABLES_FRONTEND_valstring by default.
3741         * manual/install.texi: Document new acceptable values for
3742         --enable-tunables.
3743         * INSTALL: Regenerate.
3745         * config.make.in (have-loop-to-function): Define.
3746         * elf/Makefile (CFLAGS-dl-tunables.c): Add
3747         -fno-tree-loop-distribute-patterns.
3748         * elf/dl-tunables.c: Include libc-internals.h.
3749         (GLIBC_TUNABLES): New macro.
3750         (tunables_strdup): New function.
3751         (parse_tunables): New function.
3752         (min_strlen): New function.
3753         (__tunables_init): Use the new functions and macro.
3754         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
3755         * malloc/tst-malloc-usable-tunables.c: New test case.
3756         * malloc/tst-malloc-usable-static-tunables.c: New test case.
3757         * malloc/Makefile (tests, tests-static): Add tests.
3759         * manual/install.texi: Add --enable-tunables option.
3760         * INSTALL: Regenerate.
3761         * README.tunables: New file.
3762         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
3763         (before-compile): Generate dl-tunable-list.h early.
3764         * config.h.in: Add HAVE_TUNABLES.
3765         * config.make.in: Add have-tunables.
3766         * configure.ac: Add --enable-tunables option.
3767         * configure: Regenerate.
3768         * csu/init-first.c (__libc_init_first): Move
3769         __libc_init_secure earlier...
3770         * csu/init-first.c (LIBC_START_MAIN):... to here.
3771         Include dl-tunables.h, libc-internal.h.
3772         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
3773         binaries.
3774         * elf/Makefile (dl-routines): Add dl-tunables.
3775         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
3776         namespace.
3777         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
3778         only when !HAVE_TUNABLES.
3779         * elf/rtld.c (process_envvars): Likewise.
3780         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
3781         (_dl_sysdep_start): Call __tunables_init.
3782         * elf/dl-tunable-types.h: New file.
3783         * elf/dl-tunables.c: New file.
3784         * elf/dl-tunables.h: New file.
3785         * elf/dl-tunables.list: New file.
3786         * malloc/tst-malloc-usable-static.c: New test case.
3787         * malloc/Makefile (tests-static): Add it.
3788         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
3789         Define TUNABLE_NAMESPACE.
3790         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
3791         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
3792         callback functions.
3793         (ptmalloc_init): Set tunable values.
3794         * scripts/gen-tunables.awk: New file.
3795         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
3796         (_dl_sysdep_start): Call __tunables_init.
3798 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3800         * resolv/resolv.h (RES_BLAST): Deprecate.
3801         * resolv/res_debug.c (p_option): Remove RES_BLAST.
3802         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
3803         to RES_BLAST.
3805 2016-12-27  Florian Weimer  <fweimer@redhat.com>
3807         [BZ #19582]
3808         Deprecate RES_USE_INET6.
3809         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
3810         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
3811         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
3812         RES_USE_INET6.
3813         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
3814         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
3815         (_nss_nisplus_gethostbyaddr_r): Likewise.
3816         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
3817         of res_use_inet6.
3818         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
3819         instead of RES_USE_INET6.
3820         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
3821         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
3822         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
3823         Likewise.
3824         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
3825         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
3826         Likewise.
3827         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
3828         (_nss_dns_gethostbyname_r): Likewise.
3829         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
3830         alternate RES_USE_INET6 handling.
3831         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
3832         instead of RES_USE_INET6.
3833         * resolv/res_init.c (res_setoptions): Likewise.
3834         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
3835         * resolv/resolv-internal.h: New file.
3836         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
3837         make the deprecation warning non-fatal.
3838         * resolv/README (Using the resolver in multi-threaded code): Drop
3839         reference to RES_USE_INET6.
3840         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
3841         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
3843 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3845         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
3846         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
3847         tst-resolv-search.
3848         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
3849         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
3850         with libresolv and libpthread.
3851         * resolv/tst-bug18665.c: New file.
3852         * resolv/tst-bug18665-tcp: Likewise.
3853         * resolv/tst-res_use_inet6: Likewise.
3854         * resolv/tst-resolv-basic: Likewise.
3855         * resolv/tst-resolv-network: Likewise.
3856         * resolv/tst-resolv-search: Likewise.
3857         * support/Makefile (libsupport-routines): Add check_addrinfo,
3858         check_dns_packet, check_hostent, check_netent, resolv_test,
3859         support_format_address_family, support_format_addrinfo,
3860         support_format_dns_packet, support_format_herrno,
3861         support_format_hostent, support_format_netent, support_run_diff,
3862         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
3863         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
3864         xstrdup, xwrite.
3865         * support/check_addrinfo.c: New file.
3866         * support/check_dns_packet.c: Likewise.
3867         * support/check_hostent.c: Likewise.
3868         * support/check_netent.c: Likewise.
3869         * support/check_nss.h: Likewise.
3870         * support/format_nss.h: Likewise.
3871         * support/resolv_test.c: Likewise.
3872         * support/resolv_test.h: Likewise.
3873         * support/run_diff.h: Likewise.
3874         * support/support_format_address_family.c: Likewise.
3875         * support/support_format_addrinfo.c: Likewise.
3876         * support/support_format_dns_packet.c: Likewise.
3877         * support/support_format_herrno.c: Likewise.
3878         * support/support_format_hostent.c: Likewise.
3879         * support/support_format_netent.c: Likewise.
3880         * support/support_run_diff.c: Likewise.
3881         * support/xaccept.c: Likewise.
3882         * support/xbind.c: Likewise.
3883         * support/xconnect.c: Likewise.
3884         * support/xfclose.c: Likewise.
3885         * support/xfopen.c: Likewise.
3886         * support/xgetsockname.c: Likewise.
3887         * support/xlisten.c: Likewise.
3888         * support/xmemstream.c: Likewise.
3889         * support/xmemstream.h: Likewise.
3890         * support/xpoll.c: Likewise.
3891         * support/xpthread_once.c: Likewise.
3892         * support/xrecvfrom.c: Likewise.
3893         * support/xsendto.c: Likewise.
3894         * support/xsetsockopt.c: Likewise.
3895         * support/xstdio.h: Likewise.
3896         * support/xstrdup.c: Likewise.
3897         * support/support.h (xstrdup): Declare.
3898         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
3899         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
3900         * support/xthread.h (xpthread_once): Likwise.
3901         * support/xunistd.h (xwrite): Declare.
3903 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3905         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
3906         (test_verbose): Declare.
3907         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
3908         * support/support_test_main.c (default_options): Likewise.
3909         (usage, support_test_main): Handle 'v'.
3910         (test_verbose): Define.
3911         * support/tst-support_record_failure.c (do_test): Use
3912         test_verbose.
3913         * support/tst-support_record_failure-2.sh (different_status): Add
3914         --verbose test.
3916 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3918         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
3919         test failures are recorded.
3920         * support/check.c (support_print_failure_impl): Call
3921         support_record_failure.
3922         (support_exit_failure_impl): Call support_record_failure if status
3923         indicates failure.
3924         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
3925         * support/xasprintf.c (xasprintf): Likewise.
3926         * support/xfork.c (xfork): Likewise.
3927         * support/xpthread_check_return.c (xpthread_check_return):
3928         Likewise.
3929         * support/xsocket.c (xsocket): Likeweise.
3930         * support/xwaitpid.c (xwaitpid): Likewise.
3931         * support/support_record_failure.c (struct test_failures): Adjust
3932         to coding style.
3933         * support/support_test_verify_impl.c (support_test_verify_impl):
3934         Adjust error messages.
3935         * support/tst-support_record_failure-2.sh (different_status):
3936         Adjust error messages.
3938 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3940         * support/namespace.h: New file.
3941         * support/support_become_root.c: Likewise.
3942         * support/support_enter_network_namespace.c: Likewise.
3943         * support/tst-support-namespace.c: Likewise.
3944         * support/xsocket.c: Likewise.
3945         * support/xsocket.h: Likewise.
3946         * support/Makefile (libsupport-routines): Add support_become_root,
3947         support_enter_network_namespace, xsocket.
3948         (tests): Add tst-support-namespace.
3950 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3952         [BZ #17252]
3953         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
3954         __USE_GNU.
3956 2016-12-31  Torvald Riegel  <triegel@redhat.com>
3958         [BZ #13165]
3959         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
3960         use new algorithm.
3961         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
3962         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
3963         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
3964         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
3965         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
3966         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
3967         __condvar_cleanup_waiting, __condvar_dec_grefs,
3968         __pthread_cond_wait_common): New.
3969         (__condvar_cleanup): Remove.
3970         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
3971         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
3972         Likewise.
3973         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
3974         Likewise.
3975         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
3976         * nptl/tst-cond1.c: Add comment.
3977         * nptl/tst-cond20.c (do_test): Adapt.
3978         * nptl/tst-cond22.c (do_test): Likewise.
3979         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
3980         structure.
3981         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3982         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3983         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3984         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
3985         Likewise.
3986         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3987         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3988         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3989         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3990         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3991         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
3992         Likewise.
3993         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
3994         Likewise.
3995         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3996         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
3997         (COND_CLOCK_BITS): Adapt.
3998         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
3999         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
4000         __PTHREAD_COND_SHARED_MASK): New.
4001         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
4002         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
4003         * nptl/nptl_lock_constants.pysym: Adapt.
4004         * nptl/test-cond-printers.py: Adapt.
4005         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
4006         cond_compat_check_and_clear): Adapt.
4007         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
4008         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
4009         (__pthread_cond_timedwait): ... and move here.
4010         * nptl/DESIGN-condvar.txt: Remove file.
4011         * nptl/lowlevelcond.sym: Likewise.
4012         * nptl/pthread_cond_timedwait.c: Likewise.
4013         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
4014         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
4015         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
4016         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
4017         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
4018         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
4019         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
4020         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
4021         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
4022         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
4023         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
4024         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
4025         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
4026         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
4027         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
4028         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
4030 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
4032         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4033         (fromfp): New declaration.
4034         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
4035         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
4036         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
4037         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
4038         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
4039         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
4040         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
4041         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
4042         * math/math.h: Include <bits/types.h>.
4043         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
4044         constant and macro.
4045         (FP_INT_DOWNWARD): Likewise.
4046         (FP_INT_TOWARDZERO): Likewise.
4047         (FP_INT_TONEARESTFROMZERO): Likewise.
4048         (FP_INT_TONEAREST): Likewise.
4049         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
4050         (fromfpf): Likewise.
4051         (fromfpl): Likewise.
4052         (ufromfp): Likewise.
4053         (ufromfpf): Likewise.
4054         (ufromfpl): Likewise.
4055         (fromfpx): Likewise.
4056         (fromfpxf): Likewise.
4057         (fromfpxl): Likewise.
4058         (ufromfpx): Likewise.
4059         (ufromfpxf): Likewise.
4060         (ufromfpxl): Likewise.
4061         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
4062         s_fromfpxF and s_ufromfpxF.
4063         * math/gen-fromfp-tests.py: New file.
4064         * math/gen-fromfp-tests-inputs: Likewise.
4065         * math/libm-test.inc: Include <stdint.h>
4066         (check_intmax_t): New function.
4067         (check_uintmax_t): Likewise.
4068         (struct test_fiu_M_data): New type.
4069         (struct test_fiu_U_data): Likewise.
4070         (RUN_TEST_fiu_M): New macro.
4071         (RUN_TEST_LOOP_fiu_M): Likewise.
4072         (RUN_TEST_fiu_U): Likewise.
4073         (RUN_TEST_LOOP_fiu_U): Likewise.
4074         (fromfp_test_data): New array.
4075         (fromfp_test): New function.
4076         (fromfpx_test_data): New array.
4077         (fromfpx_test): New function.
4078         (ufromfp_test_data): New array.
4079         (ufromfp_test): New function.
4080         (ufromfpx_test_data): New array.
4081         (ufromfpx_test): New function.
4082         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
4083         ufromfpx_test.
4084         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
4085         characters.
4086         * math/test-tgmath-ret.c: Include <stdint.h>.
4087         (rm): New variable.
4088         (width): Likewise.
4089         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
4090         called function.
4091         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
4092         CHECK_RET_CONST_TYPE.
4093         (CHECK_RET_CONST_DOUBLE): Likewise.
4094         (CHECK_RET_CONST_LDOUBLE): Likewise.
4095         (CHECK_RET_CONST): Take extra arguments and pass them to calls
4096         macros.
4097         (fromfp): New CHECK_RET_CONST call.
4098         (ufromfp): Likewise.
4099         (fromfpx): Likewise.
4100         (ufromfpx): Likewise.
4101         (do_test): Call check_return_fromfp, check_return_ufromfp,
4102         check_return_fromfpx and check_return_ufromfpx.
4103         * math/test-tgmath.c: Include <stdint.h>
4104         (NCALLS): Increase to 138.
4105         (F(compile_test)): Initialize i.  Call fromfp functions.
4106         (F(fromfp)): New function.
4107         (F(fromfpx)): Likewise.
4108         (F(ufromfp)): Likewise.
4109         (F(ufromfpx)): Likewise.
4110         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
4111         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
4112         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
4113         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
4114         ufromfpxl.
4115         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
4116         ufromfp and ufromfpx.
4117         * math/fromfp.h: New file.
4118         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
4119         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
4120         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
4121         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
4122         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
4123         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
4124         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
4125         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
4126         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
4127         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
4128         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
4129         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
4130         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
4131         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
4132         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
4133         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
4134         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
4135         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
4136         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
4137         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
4138         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
4139         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
4140         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
4141         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
4142         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
4143         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
4144         ufromfp, fromfpx and ufromfpx.
4145         (CFLAGS-nldbl-fromfp.c): New variable.
4146         (CFLAGS-nldbl-fromfpx.c): Likewise.
4147         (CFLAGS-nldbl-ufromfp.c): Likewise.
4148         (CFLAGS-nldbl-ufromfpx.c): Likewise.
4149         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
4150         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
4151         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
4152         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
4153         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
4154         * sysdeps/nacl/libm.abilist: Update.
4155         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4156         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4157         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4158         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4159         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4160         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4161         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4162         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4163         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4164         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4165         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4166         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4168         Likewise.
4169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4170         Likewise.
4171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4172         Likewise.
4173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4174         Likewise.
4175         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4176         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4177         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4178         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4179         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4180         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4181         Likewise.
4182         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4183         Likewise.
4184         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4185         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4186         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4188 2016-12-30  Florian Weimer  <fweimer@redhat.com>
4190         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
4191         compat-gethnamaddr.
4192         (CPPFLAGS): Remove.
4193         * resolv/gethnamaddr.c: Rename ...
4194         * resolv/compat-gethnamaddr.c: ... to this file.
4195         (_endhtent): Make static.
4196         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
4197         symbol.
4198         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
4199         compat symbol.
4200         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
4201         symbol.
4202         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
4203         Turn into compat symbol.
4204         * include/resolv.h (_endhtent): Remove declaration.
4206 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
4208         * bits/types.h (__intmax_t): New typedef.
4209         (__uintmax_t): Likewise.
4210         * sysdeps/generic/stdint.h: Include <bits/types.h>.
4211         (intmax_t): Define using __intmax_t.
4212         (uintmax_t): Define using __uintmax_t.
4214         * support/Makefile (tests-special): Make definition conditional on
4215         [$(run-built-tests) = yes].
4216         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
4217         on [$(run-built-tests) = yes].
4219 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4221         * Rules (tests): Add tests-printers-programs to tests to be
4222         built.
4224 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4226         * sysvipc/Makefile (tests): Add test-sysvshm.
4227         * sysvipc/test-sysvshm.c: New file.
4229         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
4230         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
4231         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
4232         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
4233         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
4234         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
4235         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
4236         Likewise.
4237         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
4238         Likewise.
4239         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
4240         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
4241         is defined.
4243         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
4244         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
4245         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
4246         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
4247         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
4248         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
4249         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
4250         Likewise.
4251         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
4252         Likewise.
4253         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
4254         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
4255         defined.
4257         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
4258         oldshmctl.
4259         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
4260         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
4261         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
4262         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
4263         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
4264         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
4265         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
4266         Likewise.
4267         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
4268         Likewise.
4269         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
4270         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
4271         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
4272         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
4273         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
4274         implementation.
4275         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
4276         if it is defined.
4278         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
4279         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
4280         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
4281         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
4282         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
4283         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
4284         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
4285         Likewise.
4286         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
4287         Likewise.
4288         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
4289         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
4290         Define to __NR_osf_shmat.
4291         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
4292         defined.
4294         * sysvipc/Makefile (tests): Add test-sysvsem.
4295         * sysvipc/test-sysvsem.c: New file.
4297         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
4298         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
4299         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
4300         Likewise.
4301         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
4302         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
4303         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
4304         Likewise.
4305         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
4306         Likewise.
4307         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
4308         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
4309         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
4310         add a comment about s390 syscall difference from default one.
4311         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
4312         syscall if it is defined.
4314         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
4315         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
4316         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
4317         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
4318         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
4319         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
4320         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
4321         Likewise.
4322         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
4323         Likewise.
4324         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
4325         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
4326         defined.
4328         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
4329         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
4330         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
4331         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
4332         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
4333         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
4334         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
4335         Likewise.
4336         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
4337         Likewise.
4338         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
4339         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
4340         if it is defined.
4342         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
4343         oldsemctl.
4344         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
4345         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
4346         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
4347         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
4348         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
4349         implementation.
4350         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
4351         syscall if it is defined.
4352         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
4353         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
4354         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
4355         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
4356         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
4357         Likewise.
4358         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
4360         * sysvipc/Makefile (tests): Add test-sysvmsg.
4361         * sysvipc/test-sysvmsg.c: New file.
4362         * support/check.h (FAIL_UNSUPPORTED): New define.
4364         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
4365         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
4366         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
4367         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
4368         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
4369         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
4370         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
4371         Likewise.
4372         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
4373         Likewise.
4374         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
4375         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
4376         define.
4378         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
4379         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
4380         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
4381         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
4382         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
4383         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
4384         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
4385         Likewise.
4386         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
4387         Likewise.
4388         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
4389         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
4390         if defined.
4392         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
4393         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
4394         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
4395         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
4396         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
4397         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
4398         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
4399         Likewise.
4400         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
4401         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
4402         Likewise.
4403         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
4404         if defined.
4405         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
4407         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
4408         oldmsgctl.
4409         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
4410         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
4411         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
4412         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
4413         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
4414         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
4415         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
4416         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
4417         Likewise.
4418         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
4419         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
4420         implementation.
4421         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
4422         if defined.
4424         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
4425         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
4426         definition and define its own.
4427         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
4428         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
4429         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
4430         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
4431         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
4432         definitions to common header.
4433         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
4434         operation from ipc_ops.h.
4436         * sysdeps/unix/sysv/linux/kernel-features.h
4437         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
4438         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4439         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
4440         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4441         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4442         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4443         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4444         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4445         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4446         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4447         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4448         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4449         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4450         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4451         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4453 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4455         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
4456         overflow in pointer addition.
4458 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4460         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4461         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
4462         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4463         (strchr): Add __strchr_power8 to list of strchr functions.
4464         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
4465         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
4466         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
4467         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
4468         (strchr): Add __strchr_power8 to ifunc list.
4469         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
4470         (__strchrnul): Add __strchrnul_power8 to ifunc list.
4471         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
4472         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
4474 2016-12-28  Florian Weimer  <fweimer@redhat.com>
4476         * support/Makefile (libsupport-routines): Add
4477         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
4478         (tests): Add tst-support_record_failure.
4479         (tests-special): tst-support_record_failure-2.
4480         (tst-support_record_failure-2.out): Depend on
4481         tst-support_record_failure-2.sh and tst-support_record_failure.
4482         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
4483         (support_test_verify_impl, support_record_failure)
4484         (support_report_failure, support_report_failure_reset): Declare.
4485         * support/support_test_main.c (adjust_exit_status): New function.
4486         (support_test_main): Call it to incorporate record test failures.
4487         * support/support_test_verify_impl.c: New file.
4488         * support/support_record_failure.c: Likewise.
4489         * support/tst-support_record_failure.c: Likewise.
4490         * support/tst-support_record_failure-2.sh: Likewise.
4491         * support/xunistd.h: Likewise.
4492         * support/xfork.c: Likewise.
4493         * support/xwaitpid.c: Likewise.
4495 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
4497         * scripts/check-c++-types.sh: Add comments.
4499 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
4501         [BZ #19514]
4502         * resolv/res_send.c: Fix typo in comment.
4503         * sysdeps/i386/i386-mcount.S: Likewise.
4504         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4505         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4506         * sysdeps/sparc/sparc-mcount.S: Likewise.
4508 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4510         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
4511         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
4512         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
4513         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
4514         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
4515         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
4516         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
4517         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
4519 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4521         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
4523 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4525         [BZ #17252]
4526         * posix/unistd.h (getentropy): Declare.
4528 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4530         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
4531         Remove.
4532         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
4533         (cmd): Remove spoof, nospoof, spoofalert.
4534         (parse_line): Ignore spoof-related lines.
4535         (do_init): Do not process RESOLV_SPOOF_CHECK.
4537 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4539         [BZ #20964]
4540         sunrpc: Always obtain AF_INET addresses from NSS.
4541         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
4542         * sunrpc/rpc_gethostbyname.c: New file.
4543         * sunrpc/Makefile (routines): Add it.
4544         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
4545         * sunrpc/clnt_simp.c (callrpc): Likewise.
4546         * sunrpc/getrpcport.c (getrpcport): Likewise.
4548 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4550         * sunrpc/rpcinfo.c: Remove.
4551         * sunrpc/Makefile: Remove comments referring to rpcinfo.
4553 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4555         [BZ# 19387]
4556         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
4557         addition.
4558         * string/test-memchr.c (do_test): Remove alignment limitation.
4559         (test_main): Add test that trigger BZ# 19387.
4561 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4563         [BZ #7065]
4564         Enable stack protectore if requested by ./configure.
4565         * Makeconfig (+stack-protector): New variable.
4566         (+cflags): Use it.
4568 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4570         [BZ #7065]
4571         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
4572         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
4573         (__rt_sigreturn_stub): Use inhibit_stack_protector.
4574         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4575         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
4577 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4579         [BZ #7065]
4580         * login/Makefile (pt_chown-cflags): Remove.
4581         * nscd/Makefile (CFLAGS-nscd): Likewise.
4582         * resolv/Makefile (CFLAGS-libresolv): Likewise.
4584 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4586         [BZ #7065]
4587         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
4588         non-libc-linking testcase.
4590 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4591             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4592             Florian Weimer  <fweimer@redhat.com>
4594         [BZ #7065]
4595         PLT avoidance for __stack_chk_fail*.
4596         * debug/Makefile (CFLAGS-stack_chk_fail.c)
4597         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
4598         * debug/stack_chk_fail.c (__stack_chk_fail): Add
4599         __stack_chk_fail_local alias.
4600         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
4601         (__stack_chk_fail): Turn into hidden reference to
4602         __stack_chk_fail_local.
4604 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4606         [BZ #7065]
4607         * configure.ac: Add check for unsupported stack-protection level.
4608         (libc_cv_predef_stack_protector): Remove.
4609         (no_ssp): New variable.
4610         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
4611         (stack_protector): Set to -fno-stack-protector similarly.
4612         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
4613         (libc_cv_asm_set_directive): Likewise.
4614         (libc_cv_protected_data): Likewise.
4615         (libc_cv_z_combreloc): Likewise.
4616         (libc_cv_hashstyle): Likewise.
4617         (libc_cv_has_glob_dat): Likewise.
4618         (libc_cv_output_format): Likewise.
4619         (libc_cv_output_format): Likewise.
4620         (libc_cv_ehdr_start): Likewise.
4621         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
4622         (LIBC_LINKER_FEATURE): Likewise.
4623         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
4625 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4627         [BZ #7065]
4628         * elf/Makefile (dummy-stack-chk-fail): New.
4629         (librtld.map): Use it.
4631 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4633         [BZ #7065]
4634         Compile the dynamic linker without stack protection.
4635         * elf/Makefile (elide-stack-protector): New.
4636         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
4637         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
4638         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
4639         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
4641 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4643         [BZ #7065]
4644         * config.make.in (have-ssp, no-stack-protector): New.
4645         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
4646         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
4647         (CFLAGS-sbrk.op): Likewise.
4648         (CFLAGS-brk.o): Likewise.
4649         (CFLAGS-brk.op): Likewise.
4650         * string/Makefile (CFLAGS-memcpy.c): Likewise.
4651         (CFLAGS-wordcopy.c): Likewise.
4653 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4655         [BZ #7065]
4656         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
4657         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
4658         * include/libc-symbols.h (inhibit_stack_protector): New macro.
4659         (__ifunc_resolver): Use it.
4660         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
4661         inhibit_stack_protector.
4662         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
4663         * elf/ifuncmain7.c (foo_ifunc): Likewise.
4664         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
4665         (foo_protected_ifunc): Likewise.
4666         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
4667         (foo_protected_ifunc): Likewise.
4668         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
4669         * sysdeps/nacl/nacl_interface_query.c
4670         (nacl_interface_query_ifunc): Likewise.
4671         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
4672         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
4673         Likewise.
4674         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
4675         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
4676         the generated vDSO syscall resolver.
4678 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4679             Florian Weimer  <fweimer@redhat.com>
4681         [BZ #7065]
4682         Initialize the stack guard earlier when linking statically.
4683         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
4684         (__pthread_initialize_minimal): Declare.
4685         * csu/libc-start.c (__pthread_initialize_minimal): Remove
4686         declaration.
4687         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
4688         stack canary and apply_irel initialization up.  Call
4689         __pthread_initialize_minimal only if linked in.
4690         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
4691         constant values.
4692         (__pthread_initialize_minimal): Remove.
4693         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
4694         (__pthread_initialize_minimal_internal): Do not call
4695         __libc_setup_tls.
4697 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4699         [BZ #7065]
4700         * configure.ac (libc_cv_ssp): Move up.
4701         (libc_cv_ssp_strong): Likewise.
4702         (libc_cv_ssp_all): New.
4703         (stack_protector): Augment, adding -fstack-protector-all.
4704         (no_stack_protector): New.
4705         (STACK_PROTECTOR_LEVEL): New.
4706         (AC_ARG_ENABLE(stack-protector)): New configure flag.
4707         * manual/install.texi (--enable-stack-protector): Document it.
4708         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
4710 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
4712         * README.pretty-printers: Must specify CPPFLAGS-* also.
4713         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
4714         (CPPFLAGS-test-mutex-printers.c): Define.
4715         (CPPFLAGS-test-condattr-printers.c): Define.
4716         (CPPFLAGS-test-cond-printers.c): Define.
4717         (CPPFLAGS-test-rwlockattr-printers.c): Define.
4718         (CPPFLAGS-test-rwlock-printers.c): Define.
4720         * nss/Makefile [ifeq (yes,$(have-thread-library))]
4721         (tests): Add tst-cancel-getpwuid_r.
4722         * nss/tst-cancel-getpwuid_r.c: New file.
4724         [BZ #11941]
4725         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
4726         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
4727         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
4728         tst-nodelete-dlclose.
4729         (modules-names): Add tst-nodelete-dlclose-dso and
4730         tst-nodelete-dlclose-plugin.
4731         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
4732         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
4733         ($(objpfx)tst-nodelete-dlclose): Define.
4734         ($(objpfx)tst-nodelete-dlclose.out): Define.
4736 2016-12-23  Florian Weimer  <fweimer@redhat.com>
4738         * scripts/test_printers_common.py: Log GDB output in case of
4739         Python detection failure.
4741 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4743         * configure.ac: Check for python3 or python.
4744         * configure: Regenerated.
4745         * config.make.in (PYTHON): New variable.
4746         * benchtests/Makefile: Don't define PYTHON.
4747         (bench): Define target only if PYTHON was defined.
4748         * Rules: Don't define PYTHON.
4749         Define pretty printer targets only if PYTHON was defined.
4750         (tests-printers): Add to tests-unsupported if PYTHON is not
4751         found.
4752         (python-flags, python-invoke): Remove.
4753         (tests-printers-out): Use PYTHON instead of python-invoke.
4755 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
4757         [BZ #20978]
4758         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4759         Compare name == NULL, not name != NULL.
4761         * manual/texinfo.tex: Update to version 2016-09-18.18 with
4762         trailing whitespace removed.
4763         * scripts/config.guess: Update to version 2016-10-02.
4764         * scripts/config.sub: Update to version 2016-11-19.
4765         * scripts/install-sh: Update to version 2016-01-11.22.
4766         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
4767         * scripts/move-if-change: Update to version 2016-01-11 22:04.
4769 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
4771         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
4772         (do_one_test) Restore original string so iteration works.
4773         * string/string-inlines.c (do_test): Create better input strings.
4774         (test_main) Reduce number of testruns.
4775         * string/string-inlines.c (__old_strsep_1c): New function.
4776         (__old_strsep_2c): Likewise.
4777         (__old_strsep_3c): Likewise.
4778         * string/strsep.c (__strsep): Remove case of small delim string.
4779         Call strcspn directly rather than strpbrk.
4780         * string/bits/string2.h (__strsep): Remove define.
4781         (__strsep_1c): Remove.
4782         (__strsep_2c): Remove.
4783         (__strsep_3c): Remove.
4784         (strsep): Remove.
4785         * sysdeps/unix/sysv/linux/internal_statvfs.c
4786         (__statvfs_getflags): Rename to __strsep.
4788 2016-12-21  Florian Weimer  <fweimer@redhat.com>
4790         * csu/libc-tls.c (_dl_tls_setup): Remove.
4791         * elf/dl-tls.c (_dl_tls_setup): Likewise.
4792         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
4793         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
4795 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
4797         [BZ #7065]
4798         * sysdeps/x86_64/Makefile [$(subdir) = elf]
4799         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
4801 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
4802             Florian Weimer  <fweimer@redhat.com>
4804         [BZ #7065]
4805         * csu/Makefile (tests): Empty assignment and document it.
4806         (tests-static): Remove.
4807         * csu/tst-empty.c: Move to...
4808         * misc/tst-empty.c: ... here.  Switch to new test driver.
4809         * csu/tst-atomic.c: Move to...
4810         * misc/tst-atomic.c: ... here.  Switch to new test driver.
4811         * csu/tst-atomic-long.c: Move to...
4812         * misc/tst-atomic-long.c: ... here.
4813         * misc/Makefile (tests): Add tst-empty, tst-atomic,
4814         tst-atomic-long.
4815         (tests-static): Add tst-empty.
4817 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
4819         * manual/nss.texi: Change incorrect @vtable to @table.
4820         * manual/arith.texi: Convert @tables of variables to @vtables
4821         and remove unnecessary indexing.
4822         * manual/filesys.texi: Likewise.
4823         * manual/llio.texi: Likewise.
4824         * manual/memory.texi: Likewise.
4825         * manual/process.texi: Likewise.
4826         * manual/resource.texi: Likewise.
4827         * manual/search.texi: Likewise.
4828         * manual/signal.texi: Likewise.
4829         * manual/socket.texi: Likewise.
4830         * manual/stdio.texi: Likewise.
4831         * manual/sysinfo.texi: Likewise.
4832         * manual/syslog.texi: Likewise.
4833         * manual/terminal.texi: Likewise.
4834         * manual/time.texi: Likewise.
4835         * manual/users.texi: Likewise.
4837 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
4839         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4840         (roundeven): New declaration.
4841         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
4842         macro.
4843         * math/Versions (roundeven): New libm symbol at version
4844         GLIBC_2.25.
4845         (roundevenf): Likewise.
4846         (roundevenl): Likewise.
4847         * math/Makefile (libm-calls): Add s_roundevenF.
4848         * math/libm-test.inc (roundeven_test_data): New array.
4849         (roundeven_test): New function.
4850         (main): Call roundeven_test.
4851         * math/test-tgmath.c (NCALLS): Increase to 134.
4852         (F(compile_test)): Call roundeven.
4853         (F(roundeven)): New function.
4854         * manual/arith.texi (Rounding Functions): Document roundeven,
4855         roundevenf and roundevenl.
4856         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
4857         * include/math.h (roundeven): Use libm_hidden_proto.
4858         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
4859         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
4860         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
4861         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
4862         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
4863         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
4864         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4865         roundeven.
4866         (CFLAGS-nldbl-roundeven.c): New variable.
4867         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
4868         * sysdeps/nacl/libm.abilist: Update.
4869         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4870         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4871         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4872         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4873         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4874         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4875         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4876         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4877         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4878         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4879         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4880         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4882         Likewise.
4883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4884         Likewise.
4885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4886         Likewise.
4887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4888         Likewise.
4889         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4890         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4891         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4892         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4893         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4894         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4895         Likewise.
4896         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4897         Likewise.
4898         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4899         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4900         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4902 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
4904         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
4905         preprocessor indentation inside #if.
4907 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4909         * math/libm-test.inc (fmt_ftostr): New function.
4910         (print_float, check_float_internal): Replace some uses of
4911         FTOSTR with uses of fmt_ftostr.
4912         (print_max_error, print_complex_max_error, print_function_ulps)
4913         (print_complex_function_ulps): Remove uses of the macros
4914         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
4915         * math/test-double.h (FTOSTR): Define to strfromd.
4916         (PRINTF_EXPR): Delete.
4917         (PRINTF_XEXPR): Likewise.
4918         (PRINTF_NEXPR): Likewise.
4919         * math/test-float.h (FTOSTR): Define to strfromf.
4920         (PRINTF_EXPR): Delete.
4921         (PRINTF_XEXPR): Likewise.
4922         (PRINTF_NEXPR): Likewise.
4923         * math/test-ldouble.h (FTOSTR): Define to strfroml.
4924         (PRINTF_EXPR): Delete.
4925         (PRINTF_XEXPR): Likewise.
4926         (PRINTF_NEXPR): Likewise.
4928 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4930         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
4931         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
4932         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
4933         (__lll_lock_elision): Decrement adapt_count while unlocking
4934         instead of before locking.
4935         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
4936         (__lll_trylock_elision): Likewise.
4937         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
4938         (__lll_unlock_elision): Likewise.
4940 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4942         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
4943         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
4944         Use __libc_tbegin_retry macro.
4946 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4948         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
4949         Add -msoft-float.
4950         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
4951         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
4952         Use __libc_t* transaction macros instead of __builtin_t*.
4953         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4954         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4956 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4958         * sysdeps/unix/sysv/linux/s390/elision-lock.c
4959         (__lll_lock_elision): Use atomics to load / store adapt_count.
4960         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
4961         (__lll_trylock_elision): Likewise.
4963 2016-12-20  Florian Weimer  <fweimer@redhat.com>
4965         Do not require memset elimination in explicit_bzero test.
4966         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
4967         (enum test_expectation): Add NO_EXPECTATIONS.
4968         (subtests): NO_EXPECTATIONS for ordinary clear.
4969         (check_test_buffer): Handle NO_EXPECTATIONS.
4970         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
4972 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
4974         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4975         (fmaxmag): New declaration.
4976         (fminmag): Likewise.
4977         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
4978         macro.
4979         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
4980         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
4981         (fmaxmagf): Likewise.
4982         (fmaxmagl): Likewise.
4983         (fminmag): Likewise.
4984         (fminmagf): Likewise.
4985         (fminmagl): Likewise.
4986         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
4987         * math/s_fmaxmag_template.c: New file.
4988         * math/s_fminmag_template.c: Likewise.
4989         * math/libm-test.inc (fmaxmag_test_data): New array.
4990         (fmaxmag_test): New function.
4991         (fminmag_test_data): New array.
4992         (fminmag_test): New function.
4993         (main): Call fmaxmag_test and fminmag_test.
4994         * math/test-tgmath.c (NCALLS): Increase to 132.
4995         (F(compile_test)): Call fmaxmag and fminmag.
4996         (F(fminmag)): New function.
4997         (F(fmaxmag)): Likewise.
4998         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
4999         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
5000         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
5001         fminmag.
5002         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
5003         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
5004         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
5005         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
5006         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
5007         and fminmag.
5008         (CFLAGS-nldbl-fmaxmag.c): New variable.
5009         (CFLAGS-nldbl-fminmag.c): Likewise.
5010         * sysdeps/nacl/libm.abilist: Update.
5011         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5012         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5013         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5014         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5015         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5016         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5017         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5018         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5019         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5020         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5021         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5022         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5024         Likewise.
5025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5026         Likewise.
5027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5028         Likewise.
5029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5030         Likewise.
5031         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5032         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5033         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5034         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5035         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5036         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5037         Likewise.
5038         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5039         Likewise.
5040         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5041         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5042         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5044 2016-12-19  Torvald Riegel  <triegel@redhat.com>
5046         [BZ #20973]
5047         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
5048         wake-up in robust mutexes.
5049         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5051 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5053         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
5054         (CFLAGS-bench-fmaxf.c): New rule.
5055         (CFLAGS-bench-fminf.c): Likewise.
5056         * benchtests/fmaxf-inputs: New file.
5057         * benchtests/fminf-inputs: Likewise.
5059         * benchtests/Makefile (bench-math): Add fmin and fmax.
5060         (CFLAGS-bench-fmax.c): New rule.
5061         (CFLAGS-bench-fmin.c): Likewise.
5062         * benchtests/fmax-inputs: New file.
5063         * benchtests/fmin-inputs: Likewise.
5065         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
5066         parenthesis.
5067         (CMDLINE_PROCESS): Define using function instead of macro.
5068         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
5069         of test-skeleton.
5070         * benchtests/bench-memchr.c: Likewise.
5071         * benchtests/bench-memcmp.c: Likewise.
5072         * benchtests/bench-memcpy-large.c: Likewise.
5073         * benchtests/bench-memcpy.c: Likewise.
5074         * benchtests/bench-memmem.c: Likewise.
5075         * benchtests/bench-memmove-large.c: Likewise.
5076         * benchtests/bench-memmove.c: Likewise.
5077         * benchtests/bench-memset-large.c: Likewise.
5078         * benchtests/bench-memset.c: Likewise.
5079         * benchtests/bench-rawmemchr.c: Likewise.
5080         * benchtests/bench-strcasecmp.c: Likewise.
5081         * benchtests/bench-strcasestr.c: Likewise.
5082         * benchtests/bench-strcat.c: Likewise.
5083         * benchtests/bench-strchr.c: Likewise.
5084         * benchtests/bench-strcmp.c: Likewise.
5085         * benchtests/bench-strcpy.c: Likewise.
5086         * benchtests/bench-strcpy_chk.c: Likewise.
5087         * benchtests/bench-strlen.c: Likewise.
5088         * benchtests/bench-strncasecmp.c: Likewise.
5089         * benchtests/bench-strncmp.c: Likewise.
5090         * benchtests/bench-strncpy.c: Likewise.
5091         * benchtests/bench-strnlen.c: Likewise.
5092         * benchtests/bench-strpbrk.c: Likewise.
5093         * benchtests/bench-strrchr.c: Likewise.
5094         * benchtests/bench-strsep.c: Likewise.
5095         * benchtests/bench-strspn.c: Likewise.
5096         * benchtests/bench-strstr.c: Likewise.
5097         * benchtests/bench-strtok.c: Likewise.
5099 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
5101         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
5102         stepping identification.
5103         (init_cpu_features): Add handle of Haswell.
5105 2016-11-25  Jim Meyering  <meyering@fb.com>
5107         [BZ #20386]
5108         Let gcc detect assert(a = 1) errors.
5109         * assert/assert.h (assert): Rewrite, retaining the old definintion
5110         when required, but otherwise putting the expression as-is in an "if"
5111         expression (hence, with no added parentheses) within a statement
5112         expression.
5114 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5116         * benchtests/Makefile (binaries-benchset): Depend on libsupport
5117         DSO.
5119 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
5121         * Rules (python-flags, python-invoke): New.
5122         ($(test-printers-out)): Use $(python-flags).
5124 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
5126         * manual/arith.texi (Math Error Reporting): Document that sNaN
5127         arguments are not considered domain errors.
5129 2016-12-16  Zack Weinberg <zackw@panix.com>
5130             Florian Weimer <fweimer@redhat.com>
5131             Nick Mathewson <nickm@torproject.org>
5133         * string/explicit_bzero.c: New routine.
5134         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
5135         * string/Makefile (routines, strop-tests, tests): Add them.
5136         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
5137         * string/string.h [__USE_MISC]: Declare explicit_bzero.
5139         * debug/explicit_bzero_chk.c: New routine.
5140         * debug/Makefile (routines): Add it.
5141         * debug/tst-chk1.c: Test fortification of explicit_bzero.
5142         * string/bits/string3.h: Fortify explicit_bzero.
5144         * manual/string.texi: Document explicit_bzero.
5145         * NEWS: Mention addition of explicit_bzero.
5147         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
5148         data before returning, using explicit_bzero.
5149         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
5150         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5151         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5153         * include/string.h: Redirect internal uses of explicit_bzero
5154         to __explicit_bzero_chk[_internal].
5155         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
5156         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
5157         * sysdeps/arm/nacl/libc.abilist
5158         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
5159         * sysdeps/unix/sysv/linux/alpha/libc.abilist
5160         * sysdeps/unix/sysv/linux/arm/libc.abilist
5161         * sysdeps/unix/sysv/linux/hppa/libc.abilist
5162         * sysdeps/unix/sysv/linux/i386/libc.abilist
5163         * sysdeps/unix/sysv/linux/ia64/libc.abilist
5164         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
5165         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
5166         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
5167         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5168         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5169         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5170         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5171         * sysdeps/unix/sysv/linux/nios2/libc.abilist
5172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5176         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
5177         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
5178         * sysdeps/unix/sysv/linux/sh/libc.abilist
5179         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
5180         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
5181         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
5182         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
5183         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
5184         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
5185         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
5186         Add entries for explicit_bzero and __explicit_bzero_chk.
5188 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
5190         * math/fenv.h
5191         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
5192         (FE_SNANS_ALWAYS_SIGNAL): New macro.
5193         * math/test-fe-snans-always-signal.c: New file.
5194         * math/Makefile (tests): Add test-fe-snans-always-signal.
5195         (CFLAGS-test-fe-snans-always-signal.c): New variable.
5196         * manual/arith.texi (Infinity and NaN): Document
5197         FE_SNANS_ALWAYS_SIGNAL.
5199 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5201         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
5202         bracket.
5204 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
5206         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
5207         before calling execv.
5209 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5211         [BZ# 20971]
5212         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
5213         overflow in pointer addition.
5214         * string/test-memchr.c (do_test): Add an argument to pass as
5215         the size on memchr.
5216         (test_main): Add check for SIZE_MAX.
5218 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5220         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
5221         (libm-calls): Add w_scalblnF.
5222         * math/w_scalbln.c: Remove.
5223         * math/w_scalblnf.c: Likewise.
5224         * math/w_scalblnl.c: Likewise.
5225         * math/w_scalbln_template.c: New file with type-generic
5226         implementation based on math/w_scalbln.c.
5227         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
5228         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
5230 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
5232         [BZ #20947]
5233         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
5234         either is a signaling NaN.
5235         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
5236         follow fmaxl more closely.
5237         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
5238         when either is a signaling NaN.
5239         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
5240         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
5241         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
5242         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
5243         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
5244         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
5245         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
5246         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
5247         (fmin_test_data): Likewise.
5249 2016-12-15  Andreas Schwab  <schwab@suse.de>
5251         * support/support_test_main.c (support_test_main): Don't shadow
5252         file-local variable test_pid.
5254 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
5256         [BZ #20947]
5257         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
5258         either is a signaling NaN.
5259         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
5261 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
5263         [BZ #20947]
5264         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
5265         when either is a signaling NaN.
5266         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
5268         * bits/long-double.h: New file.
5269         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
5270         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
5271         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
5272         * sysdeps/mips/bits/long-double.h: Likewise.
5273         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
5274         * math/Makefile (headers): Add bits/long-double.h.
5275         * misc/sys/cdefs.h: Include <bits/long-double.h>.
5276         * stdlib/strtold.c: Include <bits/long-double.h> instead of
5277         <bits/wordsize.h>.
5278         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
5279         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
5280         * math/math.h: Do not include <bits/mathdef.h>.
5281         * sysdeps/aarch64/bits/mathdef.h: Remove file.
5282         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
5283         inclusion.
5284         * sysdeps/ia64/bits/mathdef.h: Remove file.
5285         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
5286         * sysdeps/mips/bits/mathdef.h: Likewise.
5287         * sysdeps/powerpc/bits/mathdef.h: Likewise.
5288         * sysdeps/s390/bits/mathdef.h: Likewise.
5289         * sysdeps/sparc/bits/mathdef.h: Likewise.
5290         * sysdeps/x86/bits/mathdef.h: Likewise.
5291         * sysdeps/s390/s390-32/bits/wordsize.h
5292         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
5293         conditional code.
5294         * sysdeps/s390/s390-64/bits/wordsize.h
5295         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
5296         Likewise.
5297         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
5298         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
5299         Likewise.
5300         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
5301         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
5302         Likewise.
5303         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
5304         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
5305         Likewise.
5307         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
5308         <linux/falloc.h>.
5309         (FALLOC_FL_KEEP_SIZE): Remove.
5310         (FALLOC_FL_PUNCH_HOLE): Likewise.
5311         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
5312         (FALLOC_FL_ZERO_RANGE): Likewise.
5314 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5316         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
5318 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5320         * sysdeps/unix/sysv/linux/renameat.c: New file.
5321         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
5323         * sysdeps/unix/sysv/linux/rename.c: New file.
5324         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
5326 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
5328         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
5329         * string/strtok.c (strtok): Change to tailcall __strtok_r.
5330         * string/strtok_r.c (__strtok_r): Optimize for performance.
5331         * string/string-inlines.c (__old_strtok_r_1c): New function.
5332         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
5334 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5336         * math/Makefile (gen-libm-calls): Add w_log1pF.
5337         (libm-calls): Remove w_log1pF.
5338         * math/w_log1p.c: Remove.
5339         * math/w_log1pf.c: Likewise.
5340         * math/w_log1pl.c: Likewise.
5341         * math/w_log1p_template.c: New file with type-generic
5342         implementation based on math/w_log1p.c.
5343         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
5344         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
5346 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
5348         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
5350 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
5352         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5353         kernel version to 4.9.
5355 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
5357         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
5358         ($(inst_libdir)/libm.a): Fix rule to create the target only.
5360 2016-12-13  Andreas Schwab  <schwab@suse.de>
5362         * sysdeps/powerpc/dl-procinfo.c: Don't define
5363         _dl_powerpc_platforms.
5364         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
5365         constants instead of referencing _dl_powerpc_platforms.
5366         (_dl_platform_string): Remove.
5368 2016-12-13  Florian Weimer  <fweimer@redhat.com>
5370         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
5372 2016-12-13  Florian Weimer  <fweimer@redhat.com>
5374         * Rules (binaries-shared-tests, binaries-pie-tests)
5375         (binaries-static-tests): Link with $(link-extra-libs-tests).
5376         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
5377         Remove $(link-extra-libs-tests).
5379 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5381         * sysdeps/powerpc/powerpc64/multiarch/Makefile
5382         (sysdep_routines): Add strncmp_power9.
5383         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5384         (strncmp): Add __strncmp_power9 to list of strncmp functions.
5385         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
5386         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
5387         (strncmp): Add __strncmp_power9 to ifunc list.
5388         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
5390 2016-12-12  Florian Weimer  <fweimer@redhat.com>
5392         [BZ #17252]
5393         Add getentropy, getrandom.
5394         * stdlib/sys/random.h: New file.
5395         (headers): Add it.
5396         * stdlib/Makefile (routines): Add getentropy, getrandom.
5397         (tests): Add tst-getrandom.
5398         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
5399         * stdlib/getentropy.c: New file.
5400         * stdlib/getrandom.c: Likewise.
5401         * stdlib/tst-getrandom.c: Likewise.
5402         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
5403         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
5404         * manual/crypt.texi (Unpredictable Bytes): New section.
5405         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
5406         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
5407         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
5408         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5409         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5410         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5411         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5412         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5413         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5414         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5415         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5416         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5417         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5418         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5419         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5420         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5422         Likewise.
5423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5424         Likewise.
5425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5427         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5428         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5429         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5430         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5431         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5432         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5433         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5434         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5435         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5436         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5438 2016-12-10  Florian Weimer  <fweimer@redhat.com>
5440         [BZ #20956]
5441         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
5442         as additional compiler barriers.
5443         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
5444         (fn2, do_test): Declare with external linkage.
5445         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
5446         (do_test): Declare with external linkage.
5447         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
5448         (do_test): Declare with external linkage.
5449         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
5450         (do_test): Declare with external linkage.
5452 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
5454         * support/support_test_main.c (support_test_main): Use correct
5455         timeout.
5457 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
5458             Florian Weimer  <fweimer@redhat.com>
5460         [BZ #16421]
5461         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
5462         and __u6_addr32 members.
5463         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
5464         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
5465         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
5466         Use __u6_addr32.
5467         * inet/tst-checks.c: Use <support/test-driver.c>
5468         * inet/tst-checks-posix.c: New file.
5469         * inet/Makefile (tests): Add it.
5470         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
5472 2016-12-09  Florian Weimer  <fweimer@redhat.com>
5474         New subdirectory support for build and test infrastructure.
5475         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
5476         setting install-lib.
5477         * Makeconfig (link-extra-libs-tests): Define.
5478         (+link-pie-tests, +link-static-tests, +link-tests): Use
5479         link-extra-libs-tests.
5480         (rpath-dirs, all-subdirs): Add support.
5481         (built-modules): Add libsupport.
5482         (libsupport): Define.
5483         * support: New directory.
5484         * support/Makefile: New file.
5485         * support/check.c: Likewise.
5486         * support/check.h: Likewise.
5487         * support/delayed_exit.c: Likewise.
5488         * support/ignore_stderr.c: Likewise.
5489         * support/oom_error.c: Likewise.
5490         * support/set_fortify_handler.c: Likewise.
5491         * support/support.h: Likewise.
5492         * support/temp_file-internal.h: Likewise.
5493         * support/temp_file.c: Likewise.
5494         * support/test-driver.c: Likewise.
5495         * support/test-driver.h: Likewise.
5496         * support/test_main.c: Likewise.
5497         * support/write_message.c: Likewise.
5498         * support/xasprintf.c: Likewise.
5499         * support/xcalloc.c: Likewise.
5500         * support/xmalloc.c: Likewise.
5501         * support/xpthread_barrier_destroy.c: Likewise.
5502         * support/xpthread_barrier_init.c: Likewise.
5503         * support/xpthread_barrier_wait.c: Likewise.
5504         * support/xpthread_cancel.c: Likewise.
5505         * support/xpthread_check_return.c: Likewise.
5506         * support/xpthread_cond_wait.c: Likewise.
5507         * support/xpthread_create.c: Likewise.
5508         * support/xpthread_detach.c: Likewise.
5509         * support/xpthread_join.c: Likewise.
5510         * support/xpthread_mutex_lock.c: Likewise.
5511         * support/xpthread_mutex_unlock.c: Likewise.
5512         * support/xpthread_sigmask.c: Likewise.
5513         * support/xpthread_spin_lock.c: Likewise.
5514         * support/xpthread_spin_unlock.c: Likewise.
5515         * support/xrealloc.c: Likewise.
5516         * support/xsignal.h: Likewise.
5517         * support/xthread.h: Likewise.
5518         * support_tempfile.h: Likewise.
5519         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
5520         (TEST_DATA_LIMIT): Remove unused macro.
5521         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
5522         <support/check.h>.
5523         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
5524         (ignore_stderr, set_fortify_handler): Remove.  Now in
5525         <support/support.h>.
5526         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
5527         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
5528         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
5529         (xpthread_join): Remove.  Now in <support/xthread.h>.
5530         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
5531         Introduce legacy wrappers.
5532         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
5533         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
5534         (write_message): Remove.
5535         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
5536         test-skeleton.c.
5537         * io/test-open-tmpfile: Likewise.
5538         * io/tst-posix_fallocate-common.c: Likewise.
5539         * libio/tst-fseek.c: Likewise.
5540         * malloc/tst-malloc-backtrace.c: Likewise.
5541         * malloc/tst-malloc-fork-deadlock.c: Likewise.
5542         * malloc/tst-malloc-thread-exit.c: Likewise.
5543         * nptl/tst-cancel7.c: Likewise.
5544         * nptl/tst-cleanup0.c: Likewise.
5545         * posix/tst-posix_fadvise-common.c: Likewise.
5546         * rt/tst-shm.c: Likewise.
5547         * time/bug-getdate1.c: Likewise.
5548         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
5549         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
5550         * elf/Makefile (tst-piemod1.so): Link against libsupport.
5552 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
5554         * Rules [$(run-built-tests) != no] (tests-expected): Add
5555         $(tests-printers).
5556         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
5558 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
5560         [BZ #20539]
5561         * math/Makefile (install-lib-ldscripts): Add libm.a.
5562         (install_subdir): Remove.
5563         (install-others): Add.
5564         ($(inst_libdir)/libm.a): Add rule for installation as
5565         linker script.
5566         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
5568 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
5570         * INSTALL: Regenerated.
5571         * Makeconfig: Add comments and whitespace to make the control flow
5572         clearer.
5573         (+link-printers-tests, +link-pie-printers-tests,
5574         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
5575         built-rtld-LDFLAGS, link-libc-rpath,
5576         link-libc-tests-after-rpath-link,
5577         link-libc-printers-tests): New.
5578         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
5579         link-libc-tests): Use the new variables as required.
5580         * Makerules ($(py-const)): New rule.
5581         generated: Add $(py-const).
5582         * README.pretty-printers: New file.
5583         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
5584         (others): Depend on $(py-const).
5585         (tests): Depend on $(tests-printers-programs) or
5586         $(tests-printers-out),
5587         as required.  Pass $(tests-printers) to merge-test-results.sh.
5588         * manual/install.texi: Add requirements for testing the pretty
5589         printers.
5590         * nptl/Makefile (gen-py-const-headers, pretty-printers,
5591         tests-printers, CFLAGS-test-mutexattr-printers.c
5592         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
5593         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
5594         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
5595         * nptl/nptl-printers.py: New file.
5596         * nptl/nptl_lock_constants.pysym: Likewise.
5597         * nptl/test-cond-printers.c: Likewise.
5598         * nptl/test-cond-printers.py: Likewise.
5599         * nptl/test-condattr-printers.c: Likewise.
5600         * nptl/test-condattr-printers.py: Likewise.
5601         * nptl/test-mutex-printers.c: Likewise.
5602         * nptl/test-mutex-printers.py: Likewise.
5603         * nptl/test-mutexattr-printers.c: Likewise.
5604         * nptl/test-mutexattr-printers.py: Likewise.
5605         * nptl/test-rwlock-printers.c: Likewise.
5606         * nptl/test-rwlock-printers.py: Likewise.
5607         * nptl/test-rwlockattr-printers.c: Likewise.
5608         * nptl/test-rwlockattr-printers.py: Likewise.
5609         * scripts/gen-py-const.awk: Likewise.
5610         * scripts/test_printers_common.py: Likewise.
5611         * scripts/test_printers_exceptions.py: Likewise.
5613 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
5615         * scripts/build-many-glibcs.py (Context.__init__): Take strip
5616         argument.
5617         (Glibc.build_glibc): Strip installed shared libraries if
5618         requested.
5619         (get_parser): Add --strip option.
5620         (main): Update Context call.
5622 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5623             Dominik Vogt  <vogt@linux.vnet.ibm.com>
5625         [BZ #20847]
5626         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
5627         array bounds for else branch.
5628         (__execvpe): Style fixes.
5629         * posix/tst-vfork3.c (run_script): New function.
5630         (create_script): Likewise.
5631         (do_test): Use run_script internal function.
5632         (do_prepare): Use create_script internal function.
5634 2016-12-07  Andreas Schwab  <schwab@suse.de>
5636         * sysdeps/unix/sysv/linux/x86/elision-conf.h
5637         (__elision_available): Don't declare.
5638         * sysdeps/unix/sysv/linux/x86/elision-conf.c
5639         (__elision_available): Don't define.
5640         (elision_init): Don't set __elision_available.
5642 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
5644         [BZ #20940]
5645         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
5646         return Inf for arguments Inf and sNaN.
5647         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
5648         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5649         Likewise.
5650         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5651         Likewise.
5652         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
5653         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
5654         for arguments Inf and sNaN.  When returning a NaN, compute it by
5655         arithmetic on the arguments.
5656         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
5657         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
5658         arguments.
5660 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
5662         [BZ #20916]
5663         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
5664         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
5665         to compute result.
5666         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5667         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
5669 2016-12-05  Torvald Riegel  <triegel@redhat.com>
5671         * include/atomic.h (__atomic_check_size_ls): New.
5672         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
5673         atomic_store_release): Use it.
5674         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
5675         (elision_adapt, ELIDE_LOCK): Use atomics.
5676         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
5677         atomics and improve code comments.
5678         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
5679         (__lll_trylock_elision): Likewise.
5681 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5683         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
5684         programs.
5686 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
5688         [BZ #20916]
5689         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
5690         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
5691         arguments to compute result.
5692         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
5693         1 for arguments (sNaN, 0) or (1, sNaN).
5694         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
5695         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5697         [BZ #20919]
5698         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
5699         NaN first argument when raised to power 0.
5700         * math/w_pow.c (__pow): Do not check for NaN or zero results from
5701         raising to power zero.
5702         * math/w_powf.c (__powf): Likewise.
5703         * math/w_powl.c (__powl): Likewise.
5704         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
5705         pow (0, 0) or pow (NaN, 0).
5707 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
5709         [BZ #20918]
5710         * configure.ac: Test for static NSS cryptographic libraries and set
5711         libc_cv_static_nss_crypt.
5712         * configure: Regenerate.
5713         * config.make.in (static-nss-crypt): Define.
5714         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
5715         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
5716         (CFLAGS-tst-linkall-static.c): Define.
5717         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
5718         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
5719         ($(objpfx)tst-linkall-static): Define.
5720         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
5721         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
5723 2016-12-02  Florian Weimer  <fweimer@redhat.com>
5725         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
5726         (one-hundred, tst-tls-many-dynamic-modules): Define.
5727         (modules-names): Add $(tst-tls-many-dynamic-modules).
5728         (tst-tls-manydynamic%mod.os): Build with special preprocessor
5729         macros.
5730         (tst-tls-manydynamic): Link against libdl, libpthread.
5731         (tst-tls-manydynamic.out): The test needs the test modules at run
5732         time.
5733         * elf/tst-tls-manydynamic.c: New file.
5734         * elf/tst-tls-manydynamic.h: Likewise.
5735         * elf/tst-tls-manydynamicmod.c: Likewise.
5737 2016-12-02  Florian Weimer  <fweimer@redhat.com>
5739         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
5740         (TLS_DTV_UNALLOCATED): Add.
5741         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
5742         offsets.
5744 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
5746         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5748 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
5750         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
5751         Add -fno-optimize-sibling-calls.
5753 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
5755         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
5756         New declaration.
5757         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
5758         macro.
5759         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
5760         New macro.
5761         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
5762         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
5763         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
5764         (llogbf): Likewise.
5765         (llogbl): Likewise.
5766         * math/Makefile (gen-libm-calls): Add w_llogbF.
5767         (tests): Add test-fp-llogb-constants.
5768         * math/w_llogb_template.c: New file.  Based on
5769         math/w_ilogb_template.c.
5770         * math/libm-test.inc (llogb_test_data): New array.
5771         (llogb_test): New function.
5772         (main): Call llogb_test.
5773         * math/test-fp-llogb-constants.c: New file.  Based on
5774         math/test-fp-ilogb-constants.c.
5775         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
5776         (do_test): Call check_return_llogb.
5777         * math/test-tgmath.c (NCALLS): Increase to 126.
5778         (F(compile_test)): Call llogb.
5779         (F(llogb)): New function.
5780         * manual/math.texi (Exponents and Logarithms): Document llogb,
5781         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
5782         * manual/libm-err-tab.pl (@all_functions): Add llogb.
5783         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
5784         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
5785         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
5786         (CFLAGS-nldbl-llogb.c): New variable.
5787         * sysdeps/nacl/libm.abilist: Update.
5788         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5789         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5790         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5791         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5792         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5793         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5794         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5795         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5796         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5797         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5798         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5799         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5801         Likewise.
5802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5803         Likewise.
5804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5805         Likewise.
5806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5807         Likewise.
5808         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5809         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5810         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5811         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5812         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5813         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5814         Likewise.
5815         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5816         Likewise.
5817         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5818         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5819         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5821 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
5823         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
5824         _Float128 instead of long double.
5825         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
5827         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
5828         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
5829         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
5830         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
5831         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
5832         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
5833         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
5834         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
5835         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
5836         Likewise.
5838 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5840         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
5841         Remove redirection to __strrchr_ppc.
5843 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5845         * sysdeps/powerpc/powerpc64/multiarch/Makefile
5846         (sysdep_routines): Add strcmp_power9.
5847         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5848         (strcmp): Add __strcmp_power9 to list of strcmp functions.
5849         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
5850         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
5851         (strcmp): Add __strcmp_power9 to ifunc list.
5852         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
5854 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
5856         * bits/fp-logb.h: New file.
5857         * sysdeps/ia64/bits/fp-logb.h: Likewise.
5858         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
5859         * sysdeps/x86/bits/fp-logb.h: Likewise.
5860         * math/Makefile (headers): Add bits/fp-logb.h.
5861         * math/math.h: Include <bits/fp-logb.h>.
5862         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
5863         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
5864         * bits/mathdef.h (FP_ILOGB0): Remove.
5865         (FP_ILOGBNAN): Likewise.
5866         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
5867         (FP_ILOGBNAN): Likewise.
5868         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
5869         (FP_ILOGBNAN): Likewise.
5870         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
5871         (FP_ILOGBNAN): Likewise.
5872         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
5873         (FP_ILOGBNAN): Likewise.
5874         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
5875         (FP_ILOGBNAN): Likewise.
5876         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
5877         (FP_ILOGBNAN): Likewise.
5878         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
5879         (FP_ILOGBNAN): Likewise.
5880         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
5881         (FP_ILOGBNAN): Likewise.
5882         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
5883         (FP_ILOGBNAN): Likewise.
5885         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
5886         time module.
5887         (Context.__init__): Initialize self.logsdir_old.
5888         (Context.run_builds): Handle bot action.
5889         (Context.bot_cycle): Copy logs directory before running builds.
5890         (Context.bot_run_self): Take argument for whether to check
5891         subprocess result.  Flush stdout before running subprocess.
5892         (Context.bot): New function.
5893         (get_parser): Allow bot action.
5895 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
5897         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
5898         Import email.mime.text, email.utils and smtplib modules.
5899         (Context.__init__): Initialize self.bot_config_json.
5900         (Context.run_builds): Handle bot-cycle action.
5901         (Context.load_bot_config_json): New function.
5902         (Context.part_build_old): Likewise.
5903         (Context.bot_cycle): Likewise.
5904         (Context.bot_build_mail): Likewise.
5905         (Context.bot_run_self): Likewise.
5906         (get_parser): Allow bot-cycle action.
5908 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5910         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
5911         Remove redirection to __stpcpy_ppc.
5913 2016-11-30  Florian Weimer  <fweimer@redhat.com>
5915         Remove __libc_memalign from ld.so because it is unused.
5916         * elf/dl-minimal.c: Update comment on the malloc implementation.
5917         (malloc): Renamed from __libc_memalign, replacing the original
5918         malloc implementation.  Replace the align parameter with
5919         MALLOC_ALIGNMENT.
5920         * elf/Versions (ld): Update comment and remove __libc_memalign.
5921         * sysdeps/nacl/ld.abilist: Likewise.
5922         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
5923         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
5924         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
5925         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
5926         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
5927         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
5928         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
5929         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
5930         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
5931         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
5932         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
5933         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
5934         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
5935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
5936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
5937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
5938         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
5939         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
5940         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
5941         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
5942         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
5943         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
5944         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
5945         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
5946         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
5947         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
5948         * sysdeps/generic/localplt.data (ld.so): Likewise.
5949         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
5950         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
5951         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
5952         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
5953         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
5954         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
5955         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
5956         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
5957         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
5958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
5959         (ld.so): Likewise.
5960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
5961         (ld.so): Likewise.
5962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
5963         Likewise.
5964         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
5965         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
5966         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
5967         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
5968         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
5970 2016-11-30  Florian Weimer  <fweimer@redhat.com>
5972         [BZ #16628]
5973         Implement _dl_catch_error, _dl_signal_error in libc.so.
5974         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
5975         (catch_hook): Define as thread-local or regular variable,
5976         depending on DL_ERROR_BOOTSTRAP.
5977         (CATCH_HOOK): Remove.
5978         (dl_signal_error, _dl_catch_error): Use
5979         catch_hook.  Add hidden definition for libc.
5980         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
5981         for DL_ERROR_BOOTSTRAP only.
5982         * elf/dl-error.c: New file.
5983         * elf/dl-error-minimal.c: Likewise.
5984         * elf/tst-latepthread.c: Likewise.
5985         * elf/tst-latepthreadmod.c: Likewise.
5986         * elf/Makefile (routines): Add dl-error.
5987         (dl-routines): Remove dl-error.
5988         (rtld-routines): Add dl-error-minimal.
5989         [build-shared] (tests): Add tst-latepthread.
5990         (module-names): Add tst-latepthreadmod.
5991         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
5992         symbol.
5993         (tst-latepthreadmod.so): Link against libpthread.
5994         (tst-latepthread): Link against libdbl.
5995         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
5996         _dl_catch_error.
5997         [ld] (GLIBC_PRIVATE): Likewise.
5998         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
5999         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
6000         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
6001         directly.
6002         * elf/dl-tsd.c: Remove file.
6003         * elf/rtld.c (_rtld_global_ro): Remove initializers for
6004         _dl_catch_error, _dl_signal_error.
6005         (_dl_initial_error_catch_tsd): Remove definition.
6006         (do_preload): Remove initialization of dl_error_catch_tsd.
6007         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
6008         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
6009         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
6010         * dlfcn/dlopen.c (dlopen_doit): Likewise.
6011         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
6012         set dl_error_catch_tsd.
6013         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
6014         _dl_error_catch_tsd member.
6015         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
6016         members.
6017         (_dl_initial_error_catch_tsd): Remove declaration.
6018         (_dl_dprintf): Provide definition for use outside of ld.so.
6019         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
6020         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
6021         prototype for libc.
6022         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
6023         _dl_catch_error.
6024         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
6025         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
6026         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
6027         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
6028         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
6029         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
6030         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
6031         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
6032         Likewise.
6033         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
6034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
6035         (ld.so): Likewise.
6036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
6037         (ld.so): Likewise.
6038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
6039         Likewise.
6040         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
6041         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
6042         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
6043         Likewise.
6044         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
6045         Likewise.
6046         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
6048 2016-11-30  Florian Weimer  <fweimer@redhat.com>
6050         [BZ #4099]
6051         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
6052         _IO_BUFSIZ (8192).
6054 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
6056         * PROJECTS: Remove file.
6058 2016-11-29  Florian Weimer  <fweimer@redhat.com>
6060         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
6062 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
6063             Steve Ellcey  <sellcey@caviumnetworks.com>
6065         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
6066         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
6067         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
6068         fxstatat.
6069         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
6070         lxstat.
6071         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
6072         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
6073         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
6074         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
6075         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
6076         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
6077         __xstat.
6079 2016-11-29  Florian Weimer  <fweimer@redhat.com>
6081         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
6082         Define.
6083         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
6084         definition.
6086 2016-11-29  Florian Weimer  <fweimer@redhat.com>
6088         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
6089         version and turn into strong alias.  Remove compat symbol.
6091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6092         (__longjmp): Remove.
6094 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
6096         * bits/fp-fast.h: New file.
6097         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
6098         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
6099         * math/Makefile (headers): Add bits/fp-fast.h.
6100         * math/math.h: Include <bits/fp-fast.h>.
6101         * bits/mathdef.h (FP_FAST_FMA): Remove.
6102         (FP_FAST_FMAF): Likewise.
6103         (FP_FAST_FMAL): Likewise.
6104         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
6105         (FP_FAST_FMAF): Likewise.
6106         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
6107         (FP_FAST_FMAF): Likewise.
6108         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
6109         (FP_FAST_FMAF): Likewise.
6110         (FP_FAST_FMAL): Likewise.
6111         * sysdeps/arm/bits/mathdef.h: Remove file.
6112         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
6113         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6114         * sysdeps/tile/bits/mathdef.h: Likewise.
6116 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
6118         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
6119         * math/w_ilogb.c: Remove.
6120         * math/w_ilogbf.c: Likewise.
6121         * math/w_ilogbl.c: Likewise.
6122         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
6123         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
6124         * math/Makefile (gen-libm-calls): Add w_ilogbF.
6125         (libm-calls): Remove w_ilogbF.
6126         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
6127         (LDOUBLE_ilogbl_libm_version): New macro.
6129         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
6131         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
6132         [!__STRICT_ANSI__ && !__cplusplus].
6134 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
6136         [BZ #20750]
6137         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
6138         of PIC.
6140 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
6141             Yury Norov  <ynorov@caviumnetworks.com>
6142             Steve Ellcey  <sellcey@caviumnetworks.com>
6144         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
6145         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
6146         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
6147         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
6148         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
6149         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
6150         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
6151         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
6152         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
6153         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
6154         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
6155         to get correct reg name for ILP32.
6156         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
6157         (RELA_SIZE): New Macro.
6158         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
6159         to support ILP32.
6160         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
6161         cast for ILP32 mode.
6162         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
6163         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
6164         * sysdeps/aarch64/memset.S (__memset): Ditto.
6165         * sysdeps/aarch64/strchr.S (strchr): Ditto.
6166         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
6167         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
6168         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
6169         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
6170         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
6171         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
6172         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
6173         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
6174         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
6175         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
6176         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
6177         change PTR_MANGLE call to use register numbers instead of names.
6178         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
6179         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
6180         ILP32 mode, change PTR_MANGLE calls to use register numbers.
6181         * sysdeps/aarch64/start.S (_start): Ditto.
6182         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
6183         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
6184         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
6185         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
6186         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
6187         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
6188         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
6189         Make defined values dependent on __ILP32__.
6190         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
6191         (sem_t): Change __align type.
6192         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
6193         PTR_SIZE): New Macros.
6194         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
6195         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
6196         Set when in ILP32 mode.
6197         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
6198         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
6199         Set elf flags for ILP32.
6200         (add_system_dir): Set ILP32 library directories.
6201         * sysdeps/unix/sysv/linux/aarch64/init-first.c
6202         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
6203         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
6204         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
6205         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
6206         New Macros.
6207         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
6209 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
6211         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
6212         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
6213         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
6215 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
6217         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
6218         <asm/cachectl.h>.
6220 2016-11-27  Zack Weinberg  <zackw@panix.com>
6222         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
6223         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
6225 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6227         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
6228         error_t to fix usage in C++ programs.
6230 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
6232         * scripts/build-many-glibcs.py: Import datetime module.
6233         (Context.__init__): Load JSON build state.  Initialize list of
6234         status logs.
6235         (Context.run_builds): Update saved build state.
6236         (Context.add_makefile_cmdlist): Update list of status logs.
6237         (Context.load_build_state_json): New function.
6238         (Context.store_build_state_json): Likewise.
6239         (Context.clear_last_build_state): Likewise.
6240         (Context.update_build_state): Likewise.
6241         (CommandList.status_logs): Likewise.
6243 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
6245         * scripts/build-many-glibcs.py (Context.__init__): Save text of
6246         script being executed.
6247         (Context.get_script_text): New function.
6248         (Context.exec_self): Likewise.
6249         (Context.checkout): Re-exec script if changed by checkout process.
6251 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
6253         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6254         (setpayloadsig): New declaration.
6255         * math/Versions (setpayloadsig): New libm symbol at version
6256         GLIBC_2.25.
6257         (setpayloadsigf): Likewise.
6258         (setpayloadsigl): Likewise.
6259         * math/Makefile (libm-calls): Add s_setpayloadsigF.
6260         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
6261         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
6262         (setpayloadsig_test_data): New array.
6263         (setpayloadsig_test): New function.
6264         (main): Call setpayloadsig_test.
6265         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
6266         setpayloadsigf and setpayloadsigl.
6267         * manual/libm-err-tab.pl: Update comment on interfaces without
6268         ulps tabulated.
6269         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
6270         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
6271         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
6272         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
6273         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
6274         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
6275         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6276         setpayloadsig.
6277         (CFLAGS-nldbl-setpayloadsig.c): New variable.
6278         * sysdeps/nacl/libm.abilist: Update.
6279         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6280         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6281         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6282         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6283         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6284         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6285         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6286         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6287         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6288         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6289         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6290         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6292         Likewise.
6293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6294         Likewise.
6295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6296         Likewise.
6297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6298         Likewise.
6299         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6300         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6301         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6302         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6303         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6304         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6305         Likewise.
6306         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6307         Likewise.
6308         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6309         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6310         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6312         * scripts/build-many-glibcs.py: Import json module.
6313         (Context.__init__): Take replace_sources argument.  Load
6314         versions.json.
6315         (Context.load_versions_json): New function.
6316         (Context.store_json): Likewise.
6317         (Context.store_versions_json): Likewise.
6318         (Context.set_component_version): Likewise.
6319         (Context.checkout): Update versions.json.  Check for and handle
6320         changes of version.  Prefer previously explicitly specified
6321         version to default version.
6322         (Context.checkout_vcs): Return a revision identifier.
6323         (Context.git_checkout): Likewise.
6324         (Context.gcc_checkout): Likewise.
6325         (get_parser): Add --replace-sources option.
6326         (main): Pass replace_sources argument to Context call.
6328 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6330         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
6331         * nptl/allocatestack.c (allocate_stack): Likewise.
6332         (__reclaim_stacks): Likewise.
6333         (setxid_signal_thread): Obtain pid through syscall.
6334         * nptl/nptl-init.c (sigcancel_handler): Likewise.
6335         (sighandle_setxid): Likewise.
6336         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
6337         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
6338         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
6339         Likewise.
6340         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
6341         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
6342         comment.
6343         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
6344         * nptl/descr.h (struct pthread): Change comment about pid value.
6345         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
6346         pid assert.
6347         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
6348         Do not set pid value.
6349         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
6350         pid cache check.
6351         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
6352         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
6353         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
6354         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
6355         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
6356         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
6357         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
6358         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
6359         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
6360         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
6361         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
6362         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
6363         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
6364         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
6365         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
6366         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
6367         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
6368         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
6369         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
6370         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
6371         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
6372         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6373         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
6374         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
6375         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
6376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
6378         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
6379         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
6380         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
6381         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
6382         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
6383         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
6384         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6385         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
6386         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
6387         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
6388         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6389         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
6390         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
6391         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
6392         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
6393         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
6394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
6395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
6396         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6397         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6398         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6399         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
6400         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
6401         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
6402         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
6403         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
6404         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
6405         struct access.
6406         (clone_test): Remove function.
6407         (do_test): Rewrite to take in consideration pid is not cached anymore.
6409 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
6411         * bits/flt-eval-method.h: New file.
6412         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
6413         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
6414         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
6415         * math/Makefile (headers): Add bits/flt-eval-method.h.
6416         * math/math.h: Include <bits/flt-eval-method.h>.
6417         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
6418         [__USE_ISOC99] (double_t): Likewise.
6419         * bits/mathdef.h (float_t): Remove.
6420         (double_t): Likewise.
6421         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
6422         (double_t): Likewise.
6423         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
6424         (double_t): Likewise.
6425         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
6426         (double_t): Likewise.
6427         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
6428         (double_t): Likewise.
6429         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
6430         (double_t): Likewise.
6431         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
6432         (double_t): Likewise.
6433         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
6434         (double_t): Likewise.
6435         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
6436         (double_t): Likewise.
6437         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
6438         (double_t): Likewise.
6439         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
6440         (double_t): Likewise.
6441         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
6442         (double_t): Likewise.
6443         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
6444         (double_t): Likewise.
6445         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
6446         (double_t): Likewise.
6448 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
6450         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
6451         instead of PIC.
6453 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
6455         [BZ #20859]
6456         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
6457         (-0x7fffffff) instead of 0x80000001.
6458         * math/test-fp-ilogb-constants.c: New file.
6459         * math/Makefile (tests): Add test-fp-ilogb-constants.
6461 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
6463         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
6464         (_init): Use it in place of hardcoded R_MIPS_JALR.
6465         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
6466         (_init): Use it in place of hardcoded R_MIPS_JALR.
6467         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
6468         (_init): Use it in place of hardcoded R_MIPS_JALR.
6470 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
6472         [BZ #20787]
6473         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
6474         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
6475         (double_t): Do not define to double if [__x86_64__] when
6476         __FLT_EVAL_METHOD__ is nonzero.
6477         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
6478         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
6479         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6480         test-flt-eval-method-387 and test-flt-eval-method-sse.
6481         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
6482         variable.
6483         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
6485 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
6487         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
6488         use of -fno-isolate-erroneous-paths options for tilepro.
6490 2016-11-23  Florian Weimer  <fweimer@redhat.com>
6492         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
6493         structure initialization is no longer needed.
6495 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
6497         [BZ #20855]
6498         * bits/mathdef.h (float_t): Define to float.
6499         * math/test-flt-eval-method.c: New file.
6500         * math/Makefile (tests): Add test-flt-eval-method.
6501         (CFLAGS-test-flt-eval-method.c): New variable.
6503 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
6505         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
6506         and __fstatfs.  Make them aliases of __fstatfs64 if
6507         STATFS_IS_STATFS64 is set to non-zero.
6508         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
6509         and __statfs64.
6510         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
6511         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
6512         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
6513         for __statfs and statfs.
6514         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
6515         to 0.
6516         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
6517         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
6518         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
6519         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
6520         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
6521         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
6522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
6523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
6524         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
6525         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
6526         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
6527         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
6529 2016-11-22  Andreas Schwab  <schwab@suse.de>
6531         * misc/mkstemp.c: Include <fcntl.h>.
6532         * misc/mkstemps.c: Likewise.
6533         * misc/mkostemp.c: Likewise.
6534         * misc/mkostemps.c: Likewise.
6536 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
6538         [BZ #20847]
6539         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
6540         array bounds.
6541         (__execvpe): Likewise.
6543 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
6545         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
6546         -fno-isolate-erroneous-paths options for tilepro.
6548 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
6550         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
6551         to 0 when in 32 bit mode.
6552         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
6553         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
6554         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
6555         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
6556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
6557         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
6558         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
6559         XSTAT_IS_XSTAT64 test.
6560         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
6561         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
6562         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
6563         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
6564         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
6565         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
6566         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
6567         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
6568         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
6569         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
6570         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
6572 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
6574         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6575         (setpayload): New declaration.
6576         * math/Versions (setpayload): New libm symbol at version
6577         GLIBC_2.25.
6578         (setpayloadf): Likewise.
6579         (setpayloadl): Likewise.
6580         * math/Makefile (libm-calls): Add s_setpayloadF.
6581         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
6582         test_Ff_b1_data.
6583         (RUN_TEST_Ff_b1): New macro.
6584         (RUN_TEST_LOOP_Ff_b1): Likewise.
6585         (canonicalize_test_data): Update type.
6586         (setpayload_test_data): New array.
6587         (setpayload_test): New function.
6588         (main): Call setpayload_test.
6589         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
6590         setpayloadf and setpayloadl.
6591         * manual/libm-err-tab.pl: Update comment on interfaces without
6592         ulps tabulated.
6593         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
6594         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
6595         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
6596         Likewise.
6597         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
6598         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
6599         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
6600         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
6601         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
6602         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
6603         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
6604         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
6605         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
6606         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6607         setpayload.
6608         (CFLAGS-nldbl-setpayload.c): New variable.
6609         * sysdeps/nacl/libm.abilist: Update.
6610         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6611         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6612         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6613         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6614         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6615         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6616         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6617         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6618         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6619         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6620         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6621         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6623         Likewise.
6624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6625         Likewise.
6626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6627         Likewise.
6628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6629         Likewise.
6630         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6631         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6632         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6633         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6634         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6635         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6636         Likewise.
6637         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6638         Likewise.
6639         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6640         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6641         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6643 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6645         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
6646         * include/unistd.h: Extend comment about __access_noerrno return
6647         semantics.
6648         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
6649         (access_common): Correct typo for EACCES.
6651 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
6653         * sysdeps/tile/math-tests.h: New file.
6655         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
6656         (__old_set_dataplane): Rename from set_dataplane and make a
6657         compatibility symbol.
6658         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
6659         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
6660         sys/dataplane.h.
6662 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
6664         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
6665         script quote words in command output to log suitably for input to
6666         the shell.
6668 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
6669             Maciej W. Rozycki  <macro@imgtec.com>
6671         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
6672         `.Lno_weak_fn' label.
6673         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
6674         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
6676 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6677             Yury Norov  <ynorov@caviumnetworks.com>
6679         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
6680         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
6681         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
6682         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
6683         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
6684         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
6685         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
6686         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6687         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
6688         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
6689         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
6690         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
6691         (sysdep_routines): Remove oldgetrlimit64.
6692         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
6693         (sysdep_routines): Likewise.
6694         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
6695         (sysdep_routines): Likewise.
6696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6697         [$(subdir) = resource] (sysdep_routines): Likewise.
6698         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
6699         [$(subdir) = resource] (sysdep_routines): Likewise.
6700         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
6701         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
6702         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
6703         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
6704         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
6705         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
6706         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
6707         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
6708         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
6709         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
6710         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
6711         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
6712         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
6713         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
6714         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
6715         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
6716         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
6717         setrlimit and getrlimit.
6718         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6719         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
6720         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
6721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
6722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
6723         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
6724         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
6725         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6726         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6727         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
6728         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
6729         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
6730         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
6731         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
6732         (__old_getrlimit64): Add compatibility symbol.
6733         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
6735 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
6737         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
6738         newly built gmp, mpfr and mpc.
6740         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
6742 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
6744         * conform/Makefile (linknamespace-libs): Rename to
6745         linknamespace-libs-thr.
6746         (linknamespace-libs-posix): New variable.
6747         (linknamespace-libs-xsi): Likewise.
6748         (linknamespace-libs-XPG3): Include libcrypt.a.
6749         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
6750         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
6751         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
6752         (linknamespace-libs-XOPEN2K): Likewise.
6753         (linknamespace-libs-XOPEN2K8): Likewise.
6754         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
6756         [BZ #20829]
6757         * stdio-common/Versions (__snprintf): Add to version
6758         GLIBC_PRIVATE.
6759         * include/stdio.h (__snprintf): Use libc_hidden_proto.
6760         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
6761         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
6762         of snprintf.
6763         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6765 2016-11-16  Zack Weinberg  <zackw@panix.com>
6767         * string/string.h: Remove obsolete comment stating that
6768         strcoll_l and strxfrm_l have not yet been standardized.
6770 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6772         * hurd/hurd.h (__hurd_fail_noerrno): New function.
6773         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
6774         __access_noerrno.
6775         * io/access.c (__access_noerrno): New function.
6776         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
6777         (hurd_fail_seterrno): Likewise.
6778         (access_common): Likewise.
6779         (__access_noerrno): Likewise.
6780         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
6781         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
6782         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
6783         macro.
6785 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
6787         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
6788         Only declare fpregs if [__SH_FPU_ANY__].
6790 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
6792         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
6793         Make code unconditional.
6794         [!(__SH4__ || __SH4A__)]: Remove conditional code.
6796 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
6798         * manual/sysinfo.texi (S_APPEND): Delete.
6799         (S_IMMUTABLE): Likewise.
6801 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
6802             Magnus Granberg  <zorry@gentoo.org>
6803             Mike Frysinger  <vapier@gentoo.org>
6805         [BZ #20662]
6806         * configure.ac (libc_cv_predef_stack_protector): Also check for
6807         __stack_chk_fail_local symbols.
6808         * configure: Regenerated.
6810 2016-11-15  Florian Weimer  <fweimer@redhat.com>
6812         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
6813         (libc_hidden_def): Remove redefinition.
6814         (__sigsetjmp): Add hidden definition.
6815         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
6816         (libc_hidden_def): Remove redefinition.
6817         (__sigsetjmp): Add hidden definition.
6819 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
6821         * scripts/build-many-glibcs.py (os.path): Do not import.
6822         (Context): Inherit explicitly from object.  Remove blank line
6823         between class and docstring.
6824         (Config): Likewise.
6825         (Glibc): Likewise.
6826         (Command): Likewise.
6827         (CommandList): Likewise.
6828         (Context.write_files): Store chmod mode in a variable.
6830         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
6831         LIBC_SLIBDIR_RTLDDIR for tilegx32.
6832         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
6834 2016-11-14  Zack Weinberg  <zackw@panix.com>
6836         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
6837         creating or re-creating it.
6839         * string/bits/string2.h: Fix typo in comment.
6841 2016-11-14  Zack Weinberg  <zackw@panix.com>
6843         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
6844         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
6845         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
6846         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
6847         of redirected function names.
6849         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
6850         as well.  Document that MESSAGE must be a single string literal.
6852 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
6854         * scripts/build-many-glibcs.py: New file.
6856         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
6857         (do_test): Disable -Wmaybe-uninitialized around uses of
6858         except_mask.
6860         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
6862 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
6864         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
6865         (atomic_store_release): Provide tilepro-specific implementations.
6867 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
6869         * math/math.h (__MATH_TG): New macro.
6870         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
6871         [__USE_ISOC99] (signbit): Likewise.
6872         [__USE_ISOC99] (isfinite): Likewise.
6873         [__USE_ISOC99] (isnan): Likewise.
6874         [__USE_ISOC99] (isinf): Likewise.
6875         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
6876         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
6877         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
6878         __MATH_TG and __MATH_EVAL_FMT2.
6879         * sysdeps/generic/math_private.h (fabs_tg): Define using
6880         __MATH_TG.
6881         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
6882         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
6883         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
6884         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
6885         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
6886         macro.
6887         (__iscanonical): Likewise.
6888         (iscanonical): Define using __MATH_TG.
6890 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6892         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
6893         guards.
6895         * sysdeps/unix/sysv/linux/access.c: New file.
6896         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
6898 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
6900         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
6901         and __WORDSIZE32_PTRDIFF_LONG.
6903 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6905         * sysdeps/aarch64/libm-test-ulps: Regenerated.
6907 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6909         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
6910         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
6911         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
6912         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
6913         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
6914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
6915         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
6916         * sysdeps/unix/sysv/linux/truncate.c: New file.
6917         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
6918         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
6919         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
6920         Remove.
6921         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
6922         Likewise.
6924         * posix/tst-truncate-common.c: New file.
6925         * posix/tst-truncate.c: Use tst-truncate-common.c.
6926         * posix/tst-truncate64.c: Likewise and add LFS tests.
6927         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
6928         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
6929         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
6930         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
6931         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
6932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
6933         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
6934         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
6935         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
6936         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
6937         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
6938         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
6939         Remove.
6940         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
6941         Likewise.
6943 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
6945         [BZ #20790]
6946         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
6947         to MAXLINESIZE.
6948         * sunrpc/bug20790.x: New file.
6949         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
6950         variable.
6951         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
6952         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
6954         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
6956         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
6958         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
6959         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
6960         calloc, realloc, free, memalign and __libc_memalign rather than
6961         making them optional.
6963         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
6964         for libc.so.
6966 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6968         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
6969         ptw-lseek64.
6970         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
6971         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
6972         Likewise.
6973         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
6974         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
6975         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
6976         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
6977         * sysdeps/unix/sysv/linux/lseek.c: New file.
6978         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
6979         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
6980         __libc_lseek64 from auto-generation.
6981         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6982         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
6984 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6986         * nptl/tst-basic1.c (tf, do_test): Use write_message.
6987         * nptl/tst-cleanup1.c (do_test): Likewise.
6988         * nptl/tst-cleanup3.c (do_test): Likewise.
6989         * nptl/tst-key1.c (do_test): Likewise.
6990         * nptl/tst-key2.c (tf, do_test): Likewise.
6991         * nptl/tst-key3.c (tf, do_test): Likewise.
6992         * nptl/tst-stdio1.c (do_test): Likewise.
6993         * nptl/tst-stdio2.c (do_test): Likewise.
6995         * nptl/tst-kill3.c (handler): Use write_message in place of write.
6996         * nptl/tst-kill6.c (handler): Likewise.
6997         * nptl/tst-tls2.c (CB): Likewise.
6998         * nptl/tst-tls3.c (CB): Likewise.
7000 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
7002         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
7004 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
7005             Steve Ellcey  <sellcey@caviumnetworks.com>
7007         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
7008           __ASSUME_ST_INO_64_BIT as 0
7009         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
7010         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
7011           over the code where __ASSUME_ST_INO_64_BIT is used.
7012         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
7013         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
7014         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7016 2016-11-07  Florian Weimer  <fweimer@redhat.com>
7018         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7019         Document ABI exposure of the __kind offset.
7020         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7021         Mention reason for the __kind offset exposure in the ABI.
7022         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7023         Likewise.
7024         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7025         Likewise.
7026         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7027         Likewise.
7028         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
7029         (struct __pthread_mutex_s): Likewise.
7030         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7031         Likewise.
7032         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7033         Likewise.
7034         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7035         Likewise.
7036         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7037         Likewise.
7038         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7039         Likewise.
7040         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7041         Likewise.
7042         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
7043         (struct __pthread_mutex_s): Likewise.
7044         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7045         (struct __pthread_mutex_s): Likewise.
7046         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
7047         Likewise.
7049 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
7051         * test-skeleton.c: Document do_test usage.
7053 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
7055         * iconv/gconv.h (__gconv_info): Define __data element using a
7056         zero-length array.
7058 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
7060         * math/test-tgmath2.c: Split up test function.
7062 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
7064         * Rules (tests-expected): New variable, depending on
7065         $(run-built-tests).
7066         (tests): Pass $(tests-expected) to merge-test-results.sh, not
7067         $(tests).
7069         * Rules [$(run-built-tests) = no] (tests): Do not depend on
7070         $(tests-unsupported).
7072 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7074         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
7075         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
7077 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
7079         [BZ #20768]
7080         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
7081         __fegetenv instead of fegetenv.
7083         [BZ #14139]
7084         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
7085         (find_files): Obtain platform name from libm-test-ulps-name and
7086         store in %pplatforms.
7087         (canonicalize_platform): Remove.
7088         (print_platforms): Use $pplatforms directly.
7089         (by_platforms): Do not allow for platforms missing from
7090         %pplatforms.
7091         * sysdeps/aarch64/libm-test-ulps-name: New file.
7092         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
7093         * sysdeps/arm/libm-test-ulps-name: Likewise.
7094         * sysdeps/generic/libm-test-ulps-name: Likewise.
7095         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
7096         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
7097         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
7098         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
7099         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
7100         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
7101         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
7102         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
7103         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
7104         * sysdeps/nios2/libm-test-ulps-name: Likewise.
7105         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
7106         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
7107         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
7108         * sysdeps/sh/libm-test-ulps-name: Likewise.
7109         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
7110         * sysdeps/tile/libm-test-ulps-name: Likewise.
7111         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
7113         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
7115         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
7116         (test-xfail-check-execstack): New variable.
7118         * sysdeps/mips/localplt.data: New file.
7120 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
7121             Steve Ellcey  <sellcey@caviumnetworks.com>
7123         * bits/wordsize.h: Add documentation.
7124         * sysdeps/aarch64/bits/wordsize.h : New file
7125         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
7126         definitions.
7127         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
7128         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
7129         with #if instead of #ifdef.
7130         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
7131         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
7132         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
7133         Add or change defines.
7134         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
7135         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
7136         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
7137         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
7138         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
7139         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
7140         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
7141         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
7142         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
7143         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
7144         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
7145         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
7146         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
7147         * sysdeps/x86/bits/wordsize.h: Likewise.
7149 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
7150             Kevin Petit  <kevin.petit@arm.com>
7152         * sysdeps/aarch64/memchr.S (__memchr): New file.
7154 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
7156         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
7158 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
7160         [BZ #19398]
7161         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
7162         $(linknamespace-symlists-tests).
7164 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
7166         * time/tst-strptime2.c: Ignore -Wformat-length warning.
7168 2016-11-02  Florian Weimer  <fweimer@redhat.com>
7169             Carlos O'Donell  <carlos@redhat.com>
7171         [Bug #20729]
7172         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
7173         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
7174         for -Os related change.
7176 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
7178         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
7180 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
7182         [BZ #19673]
7183         * manual/math.texi (Exponents and Logarithms): Correct description
7184         of clog10.
7186 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
7188         [Bz #20729]
7189         * locale/weight.h: Include libc-internal.h.
7190         * locale/weightwc.h: Likewise.
7191         * nptl/nptl_dbP.h: Likewise.
7193 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
7195         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
7196         when it is MACH_PORT_NULL.
7198 2016-10-31  Andreas Schwab  <schwab@suse.de>
7200         [BZ #20707]
7201         * posix/glob.c (glob): Initialize pglob before checking for
7202         GLOB_BRACE.  Don't call glob recursively if pattern contains no
7203         valid brace expression despite GLOB_BRACE.
7204         * posix/globtest.sh: Test it.
7206 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
7208         [BZ #20729]
7209         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
7210         Define.
7211         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
7212         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
7213         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
7214         for seq2.back_us and seq1.back_us only for -Os compiles.
7215         * locale/weightwc.h (findix): Likewise.
7216         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
7217         DB_GET_FIELD_ADDRESS only for -Os compiles.
7218         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
7219         for slen only for -Os compiles.
7220         * string/strcoll_l.c (get_next_seq): Ignore
7221         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
7222         for -Os compiles.
7224         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
7225         * include/crypt.h: New file.
7227 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7229         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
7230         from test-skeleton.c.
7231         (statclass): Replace calls to write with calls to write_message.
7233 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
7235         * math/math.h
7236         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
7237         New macro.
7238         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
7239         Likewise.
7240         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
7241         Likewise.
7242         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
7243         SNANL.
7244         * math/test-double.h (snan_value_MACRO): New macro.
7245         * math/test-float.h (snan_value_MACRO): Likewise.
7246         * math/test-ldouble.h (snan_value_MACRO): Likewise.
7247         * math/libm-test.inc (issignaling_test_data): Add tests of
7248         snan_value_MACRO.
7250 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7252         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
7253         behavior when eliding a lock not held by the current thread.
7254         * sysdeps/powerpc/nptl/elide.h: Likewise.
7256 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7258         [BZ #20728]
7259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
7260         branch to _exit() by a function call.
7262 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7264         * malloc/malloc.c: Update chunk layout comments.
7265         (chunk_main_arena): Update comment.
7267 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7269         * crypt/sha256.c, crypt/sha256-block.c,
7270         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
7271         sha256_process_block to __sha256_process_block.
7272         * crypt/sha512.c, crypt/sha512-block.c,
7273         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
7274         sha512_process_block to __sha512_process_block.
7276 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
7278         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
7280         * math/test-nan-overflow.c: Include stdlib.h for malloc.
7282 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
7284         [BZ #20019]
7285         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
7286         definition in unrelocated shared library.
7287         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7289 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7291         [BZ #20729]
7292         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
7293         * sysdeps/unix/sysv/linux/i386/Makefile
7294         (uses-6-syscall-arguments): Define.
7295         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
7296         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
7297         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
7298         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
7299         Likewise.
7300         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
7301         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
7302         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
7303         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
7304         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
7305         (CFLAGS-fallocate64.os): Likewise.
7306         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
7307         (CFLAGS-pthread_rwlock_timedrdlock.os)
7308         (CFLAGS-pthread_rwlock_timedwrlock.o)
7309         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
7310         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
7311         (CFLAGS-sem_timedwait.os): Likewise.
7313 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7315         * elf/tst-linkall-static.c: New file.
7316         * elf/Makefile (tests-static): Add tst-linkall-static.
7317         (tst-linkall-static): Link against static libraries.
7319 2016-10-27  Florian Weimer  <fweimer@redhat.com>
7321         * malloc/malloc.c (sysmalloc): Initialize previous size field of
7322         mmaped chunks.
7324 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7326         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
7327         members to mchunk_prev_size, mchunk_size.
7328         (chunk_main_arena): Reverse sense and rename from
7329         chunk_non_main_arena.
7330         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
7331         mchunk_size instead of size.
7332         (set_non_main_arena): Define.
7333         (chunksize): Use chunksize_nomask instead of direct member access.
7334         (chunksize_nomask): Define.
7335         (next_chunk): Use chunksize instead of direct member access.
7336         (prev_size, set_prev_size): Define.
7337         (prev_chunk): Use prev_size instead of direct member access.
7338         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
7339         (inuse_bit_at_offset, set_inuse_bit_at_offset)
7340         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
7341         (mchunk_prev_size, mchunk_size): Poison tokens.
7342         (unlink): Use chunksize_nomask, prev_size accessors.
7343         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
7344         (do_check_free_chunk): Use prev_size accessor.
7345         (sysmalloc): Use set_prev_size, set_head accessors.
7346         (munmap_chunk, mremap_chunk): Use prev_size accessor.
7347         (__libc_free): Use chunksize_nomask accessor.
7348         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
7349         chunk_main_arena accessors.
7350         (_int_free): Use chunksize_nomask, prev_size accessors.
7351         (malloc_consolidate): Use chunksize, prev_size accessors.
7352         (_int_realloc): Use chunksize_nomask accessor.
7353         (_int_memalign): Use set_prev_size accessor.
7354         (__malloc_info): Use chunksize_nomask accessor.
7355         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
7356         accessors.
7357         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
7358         (heap_trim): Use chunksize_nomask, prev_size accessors.
7360 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
7362         [BZ #19380]
7363         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
7364         for inexact results.
7365         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
7366         of inexact result where mpfr_subnormalize is the only inexact
7367         step.
7368         * stdlib/tst-strtod-round-data.h: Regenerated.
7369         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
7370         Define to 0.
7371         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
7373 2016-10-27  David S. Miller  <davem@davemloft.net>
7375         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
7377 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7379         * malloc/malloc.c (do_set_mallopt_check): New function.
7380         (do_set_mmap_threshold): Likewise.
7381         (do_set_mmaps_max): Likewise.
7382         (do_set_top_pad): Likewise.
7383         (do_set_perturb_byte): Likewise.
7384         (do_set_trim_threshold): Likewise.
7385         (do_set_arena_max): Likewise.
7386         (do_set_arena_test): Likewise.
7387         (__libc_mallopt): Use them.
7389 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
7391         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7392         (canonicalize): New declaration.
7393         * math/Versions (canonicalize): New libm symbol at version
7394         GLIBC_2.25.
7395         (canonicalizef): Likewise.
7396         (canonicalizel): Likewise.
7397         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
7398         * math/s_canonicalize_template.c: New file.
7399         * math/libm-test.inc: Update comment on functions tested and
7400         testing of NaN payloads.
7401         (TEST_NAN_PAYLOAD): New macro.
7402         (NO_TEST_INLINE): Update value.
7403         (XFAIL_TEST): Likewise.
7404         (ERRNO_UNCHANGED): Likewise.
7405         (ERRNO_EDOM): Likewise.
7406         (ERRNO_ERANGE): Likewise.
7407         (IGNORE_RESULT): Likewise.
7408         (NON_FINITE): Likewise.
7409         (TEST_SNAN): Likewise.
7410         (NO_TEST_MATHVEC): Likewise.
7411         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
7412         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
7413         (struct test_Ffp_b1_data): New type.
7414         (RUN_TEST_Ffp_b1): New macro.
7415         (RUN_TEST_LOOP_Ffp_b1): Likewise.
7416         (canonicalize_test_data): New array.
7417         (canonicalize_test): New function.
7418         (main): Call canonicalize_test.
7419         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
7420         canonicalizef and canonicalizel.
7421         * manual/libm-err-tab.pl: Update comment on interfaces without
7422         ulps tabulated.
7423         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
7424         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
7425         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7426         canonicalize.
7427         (CFLAGS-nldbl-canonicalize.c): New variable.
7428         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
7429         to ...
7430         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
7431         ... here.
7432         (do_test): Also test canonicalizel.
7433         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
7434         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
7435         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
7436         file.
7437         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
7438         Use libm_hidden_def.
7439         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
7440         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
7441         (do_test): Also test canonicalizel.
7442         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
7443         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
7444         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
7445         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
7446         libm_hidden_def.
7447         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
7448         macro.
7449         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
7450         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
7451         * sysdeps/nacl/libm.abilist: Update.
7452         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7453         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7454         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7455         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7456         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7457         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7458         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7459         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7460         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7461         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7462         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7463         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7465         Likewise.
7466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7467         Likewise.
7468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7469         Likewise.
7470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7471         Likewise.
7472         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7473         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7474         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7475         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7476         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7478         Likewise.
7479         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7480         Likewise.
7481         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7482         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7483         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7485         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
7486         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7487         getpayload.
7488         (CFLAGS-nldbl-getpayload.c): New variable.
7490 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7492         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
7493         integer from the format string.
7495 2016-10-26  Florian Weimer  <fweimer@redhat.com>
7497         [BZ #19473]
7498         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
7499         declarations.
7500         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
7501         weak aliases.
7502         * malloc/hooks.c (__malloc_get_state): Remove definition.
7503         (malloc_get_state): New stub implementation as
7504         compatibility symbol.
7505         (malloc_set_state): Rename from __malloc_set_state.  Turn into
7506         compat symbol.
7507         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
7508         malloc_set_state.
7509         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
7511 2016-10-26  Florian Weimer  <fweimer@redhat.com>
7513         * iconvdata/iso646.c (enum variant): Drop illegal_var.
7514         (names): Turn into concatenation of strings.
7515         (gconv_init): Adapt iteration over names.
7517 2016-10-26  Florian Weimer  <fweimer@redhat.com>
7519         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
7520         make const.
7521         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
7522         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
7523         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
7524         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
7525         character in sbconv.
7526         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
7527         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
7528         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
7530 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7532         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
7534         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
7535         (M_TRIM_THRESHOLD): Likewise.
7537         * manual/memory.texi (M_ARENA_TEST): Add documentation.
7538         (M_ARENA_MAX): Likewise.
7539         * malloc/malloc.c: Remove obsolete comment.
7541         * manual/memory.texi: Add environment variable alternatives to
7542         setting mallopt parameters.
7544 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
7546         * include/atomic.h
7547         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
7548         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
7550 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7552         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
7553         * stdlib/tst-strfrom.h: New file.
7554         * stdlib/tst-strfrom.c: New file.
7555         * stdlib/tst-strfrom-locale.c: New file.
7557         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
7558         * stdlib/bug-strtod2.c: Likewise.
7559         * stdlib/tst-strtod-round-skeleton.c: Likewise.
7560         * stdlib/tst-strtod6.c: Likewise.
7561         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
7563 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7565         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
7566         * manual/arith.texi: Document strfromd, strfromf, strfroml.
7567         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
7568         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
7569         * stdlib/stdlib.h (strfromd): New declaration.
7570         (strfromf): Likewise.
7571         (strfroml): Likewise.
7572         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
7573         strfrom.
7574         * stdlib/strfromd.c: New file.
7575         * stdlib/strfromf.c: Likewise.
7576         * stdlib/strfroml.c: Likewise.
7577         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
7578         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
7579         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
7580         * sysdeps/arm/nacl/libc.abilist: Update.
7581         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
7582         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7583         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7584         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7585         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7586         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7587         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7588         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7589         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7590         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7591         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7592         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7593         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7594         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
7596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
7597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7599         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7600         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7601         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7602         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7603         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7604         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7605         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7606         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7607         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7608         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7610 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
7612         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
7613         instead of cmpli.
7614         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
7615         instead of cmpli.
7617 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
7619         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
7620         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
7621         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
7622         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
7623         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
7624         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
7626 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7628         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
7629         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7630         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
7631         SYSCALL_LL64_PRW.
7632         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
7633         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
7634         __ASSUME_PRW_DUMMY_ARG.
7635         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
7636         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7637         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
7638         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7639         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
7640         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
7642 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
7644         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
7646 2016-10-22  Florian Weimer  <fweimer@redhat.com>
7648         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
7649         "C++", to override a potential extern "C" directive around the
7650         header file inclusion.
7652 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
7654         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
7656 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7658         * sysdeps/powerpc/fpu/fenv_private.h:
7659         (_FPU_MASK_ALL): Rename to...
7660         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
7661         XE FPSCR bits.
7663         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
7665         (_FPU_MASK_ROUNDING): Rename to...
7666         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
7667         NI bits.
7669         (_FPU_MASK_EXCEPT_ROUND): Rename to...
7670         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
7671         bits and rounding bits.
7673         (__libc_feholdbits_ppc): New inline function to mask, set,
7674         and pontentially clear FSPCR bits, and change MSR[FE] bits.
7675         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
7676         (libc_feholdexcept_setround_ppc): Likewise.
7678         (__libc_femergeenv_ppc): New function to dynamically mask both
7679         old and new FP environments and merge.
7680         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
7681         (libc_feresetround_ppc): Likewise.
7682         (libc_feupdateenv_test_ppc): Likewise.
7683         (libc_feupdateenv_ppc): Likewise.
7685         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
7686         of ISA RN bits, and update macro names.
7687         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
7688         effectively the same as the previously mentioned function.
7690         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
7691         usage with fe_resetround_ppc.
7693         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
7694         to be used.
7695         (libc_feholdexcept_setround_ctxf): Likewise.
7696         (libc_feholdexcept_setround_ctxl): Likewise.
7698 2016-10-21  Florian Weimer  <fweimer@redhat.com>
7700         [BZ #20715]
7701         * math/math.h [__cplusplus] (iszero): Define as function template.
7702         * math/Makefile [CXX] (tests): Add test-math-iszero.
7703         (CFLAGS-test-math-iszero.cc): Set.
7704         * math/test-math-iszero.cc: New file.
7706 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
7708         [BZ #20660]
7709         * sysdeps/arm/e_sqrt.c: New file.
7710         * sysdeps/arm/e_sqrtf.c: Likewise.
7712 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
7714         [BZ #20718]
7715         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
7716         not use floating-point comparisons to test sign.
7717         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
7718         Likewise.
7720         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7721         (getpayload): New declaration.
7722         * math/Versions (getpayload): New libm symbol at version
7723         GLIBC_2.25.
7724         (getpayloadf): Likewise.
7725         (getpayloadl): Likewise.
7726         * math/Makefile (libm-calls): Add s_getpayloadF.
7727         * math/libm-test.inc: Include <nan-high-order-bit.h>.
7728         (struct test_f_f_data): Add comment.
7729         (RUN_TEST_fp_f): New macro.
7730         (RUN_TEST_LOOP_fp_f): Likewise.
7731         (getpayload_test_data): New array.
7732         (getpayload_test): New function.
7733         (main): Call getpayload_test.
7734         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
7735         descriptor.
7736         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
7737         getpayloadf and getpayloadl.
7738         * manual/libm-err-tab.pl: Update comment on interfaces without
7739         ulps tabulated.
7740         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
7741         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
7742         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
7743         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
7744         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
7745         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
7746         * sysdeps/nacl/libm.abilist: Update.
7747         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7748         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7749         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7750         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7751         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7752         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7753         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7754         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7755         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7756         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7757         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7758         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7760         Likewise.
7761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7762         Likewise.
7763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7764         Likewise.
7765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7766         Likewise.
7767         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7768         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7769         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7770         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7771         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7773         Likewise.
7774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7775         Likewise.
7776         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7777         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7778         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7780 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7782         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
7783         tst-fallocate{64}.
7784         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
7785         on syscall return.
7787 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
7789         [BZ #20689]
7790         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
7791         usable.
7793 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
7795         * sysdeps/generic/nan-high-order-bit.h: New file.
7796         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
7797         * sysdeps/mips/nan-high-order-bit.h: Likewise.
7798         * sysdeps/hppa/math_private.h: Remove file.
7799         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
7800         not define here.
7801         * sysdeps/ieee754/dbl-64/s_issignaling.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/s_totalorder.c: Include
7805         <nan-high-order-bit.h>.
7806         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7807         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
7808         <nan-high-order-bit.h>.
7809         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7810         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
7811         <nan-high-order-bit.h>.
7812         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7813         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
7814         <nan-high-order-bit.h>.
7815         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7816         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
7817         <nan-high-order-bit.h>.
7818         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7819         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
7820         <nan-high-order-bit.h>.
7821         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7822         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
7823         <nan-high-order-bit.h>.
7824         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7825         * sysdeps/ieee754/flt-32/s_totalordermagf.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-128/s_issignalingl.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-128/s_totalorderl.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-128/s_totalordermagl.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-128ibm/s_issignalingl.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-128ibm/s_totalorderl.c: Include
7841         <nan-high-order-bit.h>.
7842         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7843         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
7844         <nan-high-order-bit.h>.
7845         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7846         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
7847         <nan-high-order-bit.h>.
7848         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7849         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
7850         <nan-high-order-bit.h>.
7851         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7852         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
7853         <nan-high-order-bit.h>.
7854         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7856 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7858         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
7860 2016-09-22  John David Anglin  <dave.anglin@bell.net>
7862         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
7863         abort-instr.h.
7864         (EFAULT): Remove conditional define.
7865         (ENOSYS): Likewise.
7866         (atomic_compare_and_exchange_val_acq): Use instruction nullification
7867         instead of conditional branch instructions.
7869 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
7871         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7872         (totalordermag): New declaration.
7873         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
7874         New macro.
7875         * math/Versions (totalordermag): New libm symbol at version
7876         GLIBC_2.25.
7877         (totalordermagf): Likewise.
7878         (totalordermagl): Likewise.
7879         * math/Makefile (libm-calls): Add s_totalordermagF.
7880         * math/libm-test.inc (totalordermag_test_data): New array.
7881         (totalordermag_test): New function.
7882         (main): Call totalordermag_test.
7883         * math/test-tgmath.c (NCALLS): Increase to 125.
7884         (F(compile_test)): Call totalordermag.
7885         (F(totalordermag)): New function.
7886         * manual/arith.texi (FP Comparison Functions): Document
7887         totalordermag, totalordermagf and totalordermagl.
7888         * manual/libm-err-tab.pl: Update comment on interfaces without
7889         ulps tabulated.
7890         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
7891         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
7892         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
7893         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
7894         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
7895         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
7896         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
7897         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7898         totalordermag.
7899         (CFLAGS-nldbl-totalordermag.c): New variable.
7900         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
7901         (do_test): Also test totalordermagl.
7902         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
7903         Likewise.
7904         * sysdeps/nacl/libm.abilist: Update.
7905         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7906         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7907         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7908         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7909         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7910         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7911         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7912         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7913         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7914         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7915         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7916         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7918         Likewise.
7919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7920         Likewise.
7921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7922         Likewise.
7923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7924         Likewise.
7925         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7926         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7927         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7928         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7929         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7930         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7931         Likewise.
7932         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7933         Likewise.
7934         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7935         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7936         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7938 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
7940         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
7941         boolean.
7943 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
7945         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
7946         raising FE_INVALID with feraisexcept in case where part of
7947         argument is infinite, subtract that part of argument from itself.
7948         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
7949         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
7950         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
7952 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
7954         * math/libm-test.inc (totalorder_test_data): Add more tests.
7956 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
7958         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
7959         Undefine weak_alias and add a comment why mips64 require
7960         versioning.
7962 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
7964         [BZ #20647]
7965         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
7966         maximum CPUID level is less than 2.
7968 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
7970         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7971         (totalorder): New declaration.
7972         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
7973         New macro.
7974         * math/Versions (totalorder): New libm symbol at version
7975         GLIBC_2.25.
7976         (totalorderf): Likewise.
7977         (totalorderl): Likewise.
7978         * math/Makefile (libm-calls): Add s_totalorderF.
7979         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
7980         string.
7981         * math/libm-test.inc (PAYLOAD_DIG): New macro.
7982         (qnan_value_pl): Likewise.
7983         (snan_value_pl): Likewise.
7984         (qnan_value): Define using qnan_value_pl.
7985         (snan_value): Define using snan_value_pl.
7986         (struct test_ff_i_data): Add comment about which tests use this
7987         structure.
7988         (RUN_TEST_ff_b): New macro.
7989         (RUN_TEST_LOOP_ff_b): Likewise.
7990         (totalorder_test_data): New array.
7991         (totalorder_test): New function.
7992         (main): Call totalorder_test.
7993         * math/test-tgmath.c (NCALLS): Increase to 122.
7994         (F(compile_test)): Call totalorder.
7995         (F(totalorder)): New function.
7996         * manual/arith.texi (FP Comparison Functions): Document
7997         totalorder, totalorderf and totalorderl.
7998         * manual/libm-err-tab.pl: Update comment on interfaces without
7999         ulps tabulated.
8000         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
8001         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
8002         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
8003         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
8004         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
8005         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
8006         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
8007         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8008         totalorder.
8009         (CFLAGS-nldbl-totalorder.c): New variable.
8010         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
8011         file.
8012         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
8013         Add test-totalorderl-ldbl-128ibm.
8014         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
8015         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
8016         test-totalorderl-ldbl-96.
8017         * sysdeps/nacl/libm.abilist: Update.
8018         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8019         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8020         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8021         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8022         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8023         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8024         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8025         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8026         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8027         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8028         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8029         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8031         Likewise.
8032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8033         Likewise.
8034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8035         Likewise.
8036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8037         Likewise.
8038         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8039         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8040         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8041         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8042         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8043         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8044         Likewise.
8045         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8046         Likewise.
8047         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8048         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8049         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8051 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8053         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
8054         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
8055         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
8056         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
8057         remove ENOSYS implementation.
8058         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
8059         Consolidate all Linux implementations.
8061 2016-10-11  Florian Weimer  <fweimer@redhat.com>
8063         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
8064         * resolv/herror.c (herror): Cast away const-ness.
8065         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
8066         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
8068 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
8070         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
8071         instead of M_NAN + M_NAN.
8072         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
8074 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8076         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
8077         unused variable 'p'.
8079 2016-10-09  Alan Modra  <amodra@gmail.com>
8080             Andreas Schwab  <schwab@linux-m68k.org>
8082         [BZ #20554]
8083         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
8084         [PIC && !SHARED]: Set up PIC register for PLT call.
8086 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
8088         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
8089         conditional on value of [__FLT_EVAL_METHOD__].
8090         * math/test-iseqsig-excess-precision.c: New file.
8091         * math/Makefile (tests): Add test-iseqsig-excess-precision.
8093 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8095         * math/s_iseqsig_template.c: Include math-private.h.
8097         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
8098         * posix/tst-posix_fadvise.c: New file.
8099         * posix/tst-posix_fadvise64.c: Likewise.
8100         * posix/tst-posix_fadvise-common.c: Likewise.
8101         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8102         (__ASSUME_FADVISE64_64_6ARG): Define.
8103         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8104         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
8105         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8106         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
8107         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
8108         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
8109         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
8110         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
8111         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
8112         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
8113         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
8114         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
8115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
8116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
8117         Likewise.
8118         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
8119         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
8120         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
8121         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
8122         Alias to __posix_fadvise64_l32.
8123         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
8124         Add compat definition to posix_fadvise64.
8125         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
8126         Add versioned definition to posix_fadvise64.
8127         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
8128         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
8129         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
8130         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
8131         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
8133         * io/Makefile (tests): Add tst-posix_fallocate and
8134         tst-posix_fallocate64.
8135         * io/tst-posix_fallocate-common.c: New file.
8136         * io/tst-posix_fallocate.c: Likewise.
8137         * io/tst-posix_fallocate64.c: Likewise.
8138         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
8139         file.
8140         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
8141         Likewise.
8142         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
8143         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
8144         Likewise.
8145         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
8146         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
8147         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
8148         SYSCALL_LL to pass both offset and len arguments.
8149         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
8150         Likewise.
8151         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
8152         __libc_pwrite64 alias used by posix_fallocate64.
8154         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
8155         tst-fallocate64.
8156         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
8157         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
8158         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
8159         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
8160         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
8161         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
8162         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
8163         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
8164         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
8165         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
8166         macro on offset argument.
8167         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
8168         SYSCALL_LL64 on offset argument.
8170         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
8171         tst-fallocate64.
8172         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
8173         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
8174         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
8175         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
8176         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
8177         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
8178         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
8179         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
8180         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
8181         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
8182         macro on offset argument.
8183         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
8184         SYSCALL_LL64 on offset argument.
8185         * test-skeleton.c (FAIL_RET): Add macro.
8186         (FAIL_EXIT): Likewise.
8187         (FAIL_EXIT1): Likewise.
8188         (_FAIL): Likewise.
8190 2016-10-07  Florian Weimer  <fweimer@redhat.com>
8192         [BZ #20629]
8193         resolv: Remove RES_USEBSTRING and its implementation.
8194         * resolv/resolv.h (RES_USEBSTRING): Remove.
8195         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
8196         (digitvalue, encode_bitstring, decode_bitstring): Remove.
8197         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
8198         (labellen): Remove extended label types support.
8199         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
8200         * resolv/res_init.c (res_setoptions): Likewise.
8201         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
8203 2016-10-07  Florian Weimer  <fweimer@redhat.com>
8205         resolv: Remove RES_NOIP6DOTINT and its implementation.
8206         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
8207         (RES_NOIP6DOTINT): Remove.
8208         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
8209         handling.
8210         * resolv/res_debug.c (p_option): Likewise.
8211         * resolv/res_init.c (res_setoptions): Likewise.
8212         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
8214 2016-10-07  Florian Weimer  <fweimer@redhat.com>
8216         resolv: Deprecate unimplemented flags.
8217         * misc/sys/cdefs.h (__glibc_macro_warning1)
8218         (__glibc_macro_warning): Define.
8219         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
8220         (RES_KEEPTSIG): Mark as deprecated.
8221         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
8222         RES_NOCHECKNAME, RES_KEEPTSIG.
8223         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
8225 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8227         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
8228         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
8229         Use strong_alias to create symbols for glibc verison 2.19.
8231 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8233         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
8235 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8237         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
8239 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8241         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
8243 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8245         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8246         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
8247         in header for using it as type for ifunc function because __GI_* symbols
8248         for ppc32 do not target the ifunc symbols.
8249         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8251 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8253         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
8254         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
8255         libc_ifunc_hidden_def.
8256         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
8257         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
8258         Redirect ifunced function in header for using it as type of ifunc'ed
8259         function. Redefine libc_hidden_def to use fallback non ifunc'ed
8260         function for __GI_* symbol.
8261         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
8262         * include/libc-symbols.h
8263         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
8265 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8267         [BZ #20478]
8268         * sysdeps/s390/multiarch/ifunc-resolve.h
8269         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
8270         to create ifunc symbols.
8271         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
8272         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
8273         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
8274         for using it as type for ifunc function.
8275         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
8276         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
8277         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
8278         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
8279         * sysdeps/s390/multiarch/strcat.c: Likewise.
8280         * sysdeps/s390/multiarch/strchr.c: Likewise.
8281         * sysdeps/s390/multiarch/strcmp.c: Likewise.
8282         * sysdeps/s390/multiarch/strcpy.c: Likewise.
8283         * sysdeps/s390/multiarch/strcspn.c: Likewise.
8284         * sysdeps/s390/multiarch/strlen.c: Likewise.
8285         * sysdeps/s390/multiarch/strncmp.c: Likewise.
8286         * sysdeps/s390/multiarch/strncpy.c: Likewise.
8287         * sysdeps/s390/multiarch/strnlen.c: Likewise.
8288         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
8289         * sysdeps/s390/multiarch/strrchr.c: Likewise.
8290         * sysdeps/s390/multiarch/strspn.c: Likewise.
8291         * sysdeps/s390/multiarch/wcschr.c: Likewise.
8292         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
8293         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
8294         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
8295         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
8296         * sysdeps/s390/multiarch/wmemset.c: Likewise.
8297         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
8298         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
8299         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
8300         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
8301         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
8302         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
8304 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8306         * include/libc-symbols.h (__ifunc_resolver):
8307         New macro is used by __ifunc* macros.
8308         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
8309         depending on HAVE_GCC_IFUNC.
8310         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
8311         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
8312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
8313         Redirect ifunced function in header for using as type for ifunc function.
8314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
8315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
8316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
8317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
8318         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
8319         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
8320         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
8321         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
8322         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
8323         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
8324         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
8325         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
8326         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
8327         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
8328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
8329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
8330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
8331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
8332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
8333         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
8334         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
8335         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
8336         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
8337         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
8338         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
8339         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
8340         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
8341         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
8342         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
8343         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
8344         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
8345         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
8346         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
8347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
8348         Add libc_hidden_def() and use libc_ifunc_hidden() macro
8349         instead of libc_ifunc() macro.
8350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
8351         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
8353 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8355         * config.h.in (HAVE_GCC_IFUNC): New undef.
8356         * configure.ac: Add check if gcc supports attribute ifunc feature.
8357         * configure: Regenerated.
8358         * manual/install.texi: Add recommendation for gcc with
8359         indirect-function support.
8360         * INSTALL: Regenerated.
8362 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
8364         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
8365         macro.
8366         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8367         (__iseqsig): New declaration.
8368         * math/s_iseqsig_template.c: New file.
8369         * math/Versions (__iseqsigf): New libm symbol at version
8370         GLIBC_2.25.
8371         (__iseqsig): Likewise.
8372         (__iseqsigl): Likewise.
8373         * math/libm-test.inc (iseqsig_test_data): New array.
8374         (iseqsig_test): New function.
8375         (main): Call iseqsig_test.
8376         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
8377         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
8378         * manual/libm-err-tab.pl: Update comment on interfaces without
8379         ulps tabulated.
8380         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
8381         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
8382         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
8383         * sysdeps/nacl/libm.abilist: Update.
8384         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8385         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8386         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8387         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8388         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8389         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8390         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8391         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8392         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8393         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8394         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8395         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8397         Likewise.
8398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8399         Likewise.
8400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8401         Likewise.
8402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8403         Likewise.
8404         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8405         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8406         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8407         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8408         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8409         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8410         Likewise.
8411         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8412         Likewise.
8413         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8414         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8415         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8417 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8419         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
8420         do_sincos_2, sloww, sloww1): Update comments.
8422         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
8423         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
8425         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
8426         K boolean and rename it.
8427         (__sin): Adjust.
8428         (__cos): Adjust.
8430 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
8431             Siddhesh Poyarekar  <siddhesh@sourceware.org>
8433         * manual/nss.texi: Fix typos in the manual.
8435 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
8437         * manual/contrib.texi: Fix typos in the manual.
8439         * manual/maint.texi: Fix typos in the manual.
8441         * manual/install.texi: Fix typos in the manual.
8442         * INSTALL: Regenerated.
8444         * manual/lang.texi: Fix typos in the manual.
8446         * manual/probes.texi: Fix typos in the manual.
8448         * manual/threads.texi: Fix typos in the manual.
8450         * manual/debug.texi: Fix typos in the manual.
8452         * manual/crypt.texi: Fix typos in the manual.
8454         * manual/conf.texi: Fix typos in the manual.
8456         * manual/sysinfo.texi: Fix typos in the manual.
8458         * manual/users.texi: Fix typos in the manual.
8460         * manual/job.texi: Fix typos in the manual.
8462         * manual/process.texi: Fix typos in the manual.
8464         * manual/argp.texi: Fix typos in the manual.
8465         * manual/getopt.texi: Likewise.
8466         * manual/startup.texi: Likewise.
8468         * manual/signal.texi: Fix typos in the manual.
8470         * manual/setjmp.texi: Fix typos in the manual.
8472         * manual/resource.texi: Fix typos in the manual.
8474         * manual/time.texi: Fix typos in the manual.
8476         * manual/arith.texi: Fix typos in the manual.
8478         * manual/math.texi: Fix typos in the manual.
8480         * manual/syslog.texi: Fix typos in the manual.
8482         * manual/terminal.texi: Fix typos in the manual.
8484         * manual/socket.texi: Fix typos in the manual.
8486         * manual/filesys.texi: Fix typos in the manual.
8488         * manual/llio.texi: Fix typos in the manual.
8490         * manual/stdio.text: Fix typos in the manual.
8492 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8494         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
8495         instead of K1.
8497         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
8498         SHIFT_QUADRANT and make it bool.
8499         (do_sincos_2): Likewise.
8500         (sloww): Likewise.
8501         (sloww1): Likewise.
8502         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
8503         (__cos): Likewise.
8505 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8507         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8509 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
8511         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
8512         Define to __WORDSIZE, not conditional on [LONG_MAX ==
8513         0x7fffffffL].
8514         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
8516 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8518         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
8519         inline by __inline__.
8520         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
8521         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
8522         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
8523         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
8524         sigset_t from signal.h.
8525         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
8526         which is already required.
8528 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
8530         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8532 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
8534         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
8535         (struct tcp_repair_window): New type.
8537 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8539         * libio/tst-memstream3.c: Include string.h.
8541 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8543         [BZ #18241]
8544         [BZ #20181]
8545         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
8546         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
8547         write position is at the end the buffer.
8548         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
8549         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
8550         (_IO_str_seekoff): Set correct offset from negative displacement and
8551         set EINVAL for invalid ones.
8552         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
8553         buffer length.
8554         (_IO_wstr_switch_to_get_mode): New function.
8555         (_IO_wstr_seekoff): Set correct offset from negative displacement and
8556         set EINVAL for invalid ones.
8557         * libio/tst-memstream3.c: New file.
8558         * libio/tst-wmemstream3.c: Likewise.
8559         * manual/examples/memstrm.c: Remove warning when priting size_t.
8561 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
8563         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
8564         macro to use __builtin_fma.
8565         * sysdeps/x86_64/fpu/dla.h: Remove file.
8567         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
8568         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
8569         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
8571 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
8573         [BZ #20292]
8574         * elf/Makefile (routines): Add dl-addr-obj.
8575         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
8576         tst-_dl_addr_inside_object.
8577         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
8578         [ifeq (yesyes,$(have-fpie)$(build-shared))]
8579         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
8580         [ifeq (yesyes,$(have-fpie)$(build-shared))]
8581         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
8582         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
8583         * elf/dl-open.c: Likewise.
8584         * elf/dl-addr-obj.c: New file.
8585         * elf/tst-_dl_addr_inside_object.c: New file.
8587 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
8589         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
8590         <bits/iscanonical.h>.
8591         * bits/iscanonical.h: New file.
8592         * math/s_iscanonicall.c: Likewise.
8593         * math/Versions (__iscanonicall): New libm symbol at version
8594         GLIBC_2.25.
8595         * math/libm-test.inc (iscanonical_test_data): New array.
8596         (iscanonical_test): New function.
8597         (main): Call iscanonical_test.
8598         * math/Makefile (headers): Add bits/iscanonical.h.
8599         (type-ldouble-routines): Add s_iscanonicall.
8600         * manual/arith.texi (Floating Point Classes): Document
8601         iscanonical.
8602         * manual/libm-err-tab.pl: Update comment on interfaces without
8603         ulps tabulated.
8604         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
8605         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
8606         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
8607         Likewise.
8608         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
8609         test-iscanonical-ldbl-128ibm.
8610         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
8611         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
8612         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
8613         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
8614         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8615         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8616         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8618         Likewise.
8619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8620         Likewise.
8621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8622         Likewise.
8623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8624         Likewise.
8625         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8626         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8628 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8630         * string/bits/string3.h: Remove C++ style comments.
8632 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8634         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
8635         instead of ternary condition.
8636         (do_sincos_2): Likewise.
8637         (__sin): Likewise.
8638         (__cos): Likewise.
8639         (slow): Likewise.
8640         (sloww): Likewise.
8641         (sloww1): Likewise.
8642         (bsloww): Likewise.
8643         (bsloww1): Likewise.
8645         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
8646         instead of ternary condition.
8647         (do_sin_slow): Likewise.
8648         (do_sincos_1): Likewise.
8649         (do_sincos_2): Likewise.
8650         (__cos): Likewise.
8651         (sloww): Likewise.
8652         (sloww1): Likewise.
8653         (sloww2): Likewise.
8654         (bsloww): Likewise.
8655         (bsloww1): Likewise.
8656         (bsloww2): Likewise.
8658         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
8659         check from here...
8660         (slow2): ... and here...
8661         (__sin): ... to here.
8663 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
8665         * math/math.h
8666         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
8667         Cast argument to its own type.
8668         * math/test-iszero-excess-precision.c: New file.
8669         * math/Makefile (tests): Add test-iszero-excess-precision.
8670         (CFLAGS-test-iszero-excess-precision.c): New variable.
8672 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
8674         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
8675         field, add err field.
8676         (__spawni_child): Report error through err member instead of pipe.
8677         (__spawnix): Likewise.
8679 2016-09-28  Zack Weinberg  <zackw@panix.com>
8681         * scripts/check-installed-headers.sh: Generalize treatment of
8682         sys/elf.h to all target architectures.
8684         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
8685         deleted typedef ucontext_t.
8687 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8689         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
8690         (__INTERNAL_SYSCALL1): Likewise.
8691         (__INTERNAL_SYSCALL2): Likewise.
8692         (__INTERNAL_SYSCALL3): Likewise.
8693         (__INTERNAL_SYSCALL4): Likewise.
8694         (__INTERNAL_SYSCALL5): Likewise.
8695         (__INTERNAL_SYSCALL6): Likewise.
8696         (__INTERNAL_SYSCALL7): Likewise.
8697         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
8698         (__INTERNAL_SYSCALL_NARGS): Likewise.
8699         (__INTERNAL_SYSCALL_DISP): Likewise.
8700         (INTERNAL_SYSCALL_CALL): Likewise.
8701         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
8702         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
8703         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
8704         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
8705         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
8706         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
8707         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
8708         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
8709         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
8710         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
8711         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
8712         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
8713         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
8715 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
8717         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
8718         macro.
8719         * math/libm-test.inc (iszero_test_data): New array.
8720         (iszero_test): New function.
8721         (main): Call iszero_test.
8722         * manual/arith.texi (Floating Point Classes): Document iszero.
8723         * manual/libm-err-tab.pl: Update comment on interfaces without
8724         ulps tabulated.
8726 2016-09-23  Zack Weinberg  <zackw@panix.com>
8728         * scripts/check-installed-headers.sh: New script.
8729         * Rules: In each directory that defines header files to be installed,
8730         run check-installed-headers.sh on them as a special test.
8731         * Makefile: Likewise for the headers installed at top level.
8733         * include/aliases.h, include/alloca.h, include/argz.h
8734         * include/arpa/nameser.h, include/arpa/nameser_compat.h
8735         * include/elf.h, include/envz.h, include/err.h
8736         * include/execinfo.h, include/fpu_control.h, include/getopt.h
8737         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
8738         * include/link.h, include/malloc.h, include/mcheck.h
8739         * include/mntent.h, include/netinet/ether.h
8740         * include/nss.h, include/obstack.h, include/printf.h
8741         * include/pty.h, include/resolv.h, include/rpc/auth.h
8742         * include/rpc/auth_des.h, include/rpc/auth_unix.h
8743         * include/rpc/clnt.h, include/rpc/des_crypt.h
8744         * include/rpc/key_prot.h, include/rpc/netdb.h
8745         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
8746         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
8747         * include/rpc/rpc_msg.h, include/rpc/svc.h
8748         * include/rpc/svc_auth.h, include/rpc/xdr.h
8749         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
8750         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
8751         * include/rpcsvc/ypupd.h, include/shadow.h
8752         * include/stdio_ext.h, include/sys/epoll.h
8753         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
8754         * include/sys/prctl.h, include/sys/profil.h
8755         * include/sys/statfs.h, include/sys/sysctl.h
8756         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
8757         * sysdeps/arm/nacl/include/bits/setjmp.h
8758         * sysdeps/mips/include/sys/asm.h
8759         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
8760         * sysdeps/unix/sysv/linux/include/sys/timex.h
8761         * sysdeps/x86/fpu/include/bits/fenv.h:
8762         Add #ifndef _ISOMAC guard around internal declarations.
8763         Add multiple-inclusion guard if not already present.
8765 2016-09-23  Zack Weinberg  <zackw@panix.com>
8767         * sysdeps/generic/sys/ucontext.h
8768         * sysdeps/arm/sys/ucontext.h
8769         * sysdeps/i386/sys/ucontext.h
8770         * sysdeps/m68k/sys/ucontext.h
8771         * sysdeps/mips/sys/ucontext.h
8772         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
8773         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
8774         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
8775         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
8776         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
8777         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
8778         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
8779         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
8780         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
8781         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
8782         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
8783         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
8784         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
8785         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
8786         Include both bits/sigcontext.h and bits/sigstack.h.
8787         Fix grammar error in comment, if present.
8789         * bits/sigstack.h
8790         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
8791         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
8792         * sysdeps/unix/sysv/linux/bits/sigstack.h
8793         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
8794         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
8795         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
8796         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
8797         * bits/sigcontext.h
8798         * sysdeps/mach/hurd/i386/bits/sigcontext.h
8799         * sysdeps/unix/sysv/linux/bits/sigcontext.h
8800         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
8801         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
8802         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
8803         as well as signal.h, if this was not already allowed.  Request
8804         definition of size_t if necessary.  Minimize semantically-null
8805         differences across files.
8807 2016-09-23  Zack Weinberg  <zackw@panix.com>
8809         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
8810         Remove all logic conditional on __need macros.  Move all the
8811         conditionally defined types to their own headers...
8812         * time/bits/types/clock_t.h: Define clock_t here.
8813         * time/bits/types/clockid_t.h: Define clockid_t here.
8814         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
8815         * time/bits/types/struct_timespec.h: Define struct timespec here.
8816         * time/bits/types/struct_timeval.h: Define struct timeval here.
8817         * time/bits/types/struct_tm.h: Define struct tm here.
8818         * time/bits/types/time_t.h: Define time_t here.
8819         * time/bits/types/timer_t.h: Define timer_t here.
8820         * time/Makefile: Install the new headers.
8822         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
8823         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
8824         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
8825         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
8826         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
8827         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
8828         * sysdeps/unix/sysv/linux/bits/resource.h
8829         * sysdeps/unix/sysv/linux/bits/timex.h
8830         * sysdeps/unix/sysv/linux/mips/bits/resource.h
8831         * sysdeps/unix/sysv/linux/net/ppp_defs.h
8832         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
8833         * sysdeps/unix/sysv/linux/sys/acct.h
8834         * sysdeps/unix/sysv/linux/sys/timerfd.h
8835         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
8836         * time/sys/time.h, time/sys/timeb.h
8837         Use the new bits/types headers.
8839         * include/time.h: Remove __need logic.
8840         * include/bits/time.h
8841         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
8842         * include/bits/types/time_t.h, include/bits/types/timer_t.h
8843         * include/bits/types/struct_itimerspec.h
8844         * include/bits/types/struct_timespec.h
8845         * include/bits/types/struct_timeval.h
8846         * include/bits/types/struct_tm.h:
8847         New wrapper headers.
8849 2016-09-23  Zack Weinberg  <zackw@panix.com>
8851         * sysdeps/mach/hurd/net/if_ppp.h
8852         * sysdeps/unix/sysv/linux/net/if_ppp.h:
8853         Only define struct ifpppstatsreq and struct ifpppcstatsreq
8854         if __USE_MISC is defined, to ensure struct ifreq is declared.
8856         * inet/netinet/ether.h: Condition all function prototypes
8857         on __USE_MISC, to ensure struct ether_addr is declared.
8859         * socket/bits/types/struct_osockaddr.h: New header.
8860         * include/bits/types/struct_osockaddr.h: New wrapper.
8861         * socket/Makefile: Install the new header.
8862         * socket/sys/socket.h, inet/protocols/talkd.h:
8863         Refer to bits/types/struct_osockaddr.h for the definition of
8864         struct osockaddr.
8866 2016-09-23  Zack Weinberg  <zackw@panix.com>
8868         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
8869         * inet/protocols/routed.h, inet/protocols/talkd.h
8870         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
8871         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
8872         * sysdeps/generic/netinet/if_ether.h
8873         * sysdeps/generic/netinet/in_systm.h
8874         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
8875         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
8876         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
8877         * sysdeps/mach/hurd/net/if_arp.h
8878         * sysdeps/mach/hurd/net/if_ppp.h
8879         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
8880         * sysdeps/unix/sysv/linux/bits/in.h
8881         * sysdeps/unix/sysv/linux/net/ethernet.h
8882         * sysdeps/unix/sysv/linux/net/if_arp.h
8883         * sysdeps/unix/sysv/linux/net/if_ppp.h
8884         * sysdeps/unix/sysv/linux/net/if_shaper.h
8885         * sysdeps/unix/sysv/linux/net/route.h
8886         * sysdeps/unix/sysv/linux/netinet/if_ether.h
8887         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
8888         * sysdeps/unix/sysv/linux/netinet/if_tr.h
8889         * sysdeps/unix/sysv/linux/netipx/ipx.h
8890         * sysdeps/unix/sysv/linux/sys/acct.h
8891         * include/arpa/nameser.h, include/resolv.h:
8892         Change all uses of u_char to unsigned char,
8893         u_short and ushort to unsigned short, u_int and uint to unsigned int,
8894         u_long and ulong to unsigned long, u_int8_t to uint8_t,
8895         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
8896         and u_int64_t and u_quad_t to uint64_t.
8898         * mach/sys/reboot.h: Remove two casts of integer literals
8899         to the types they already have.
8901         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
8902         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
8903         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
8904         from referring to 'unsigned char' to 'uint8_t' for consistency with
8905         the macro definition below.
8907         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
8908         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
8909         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
8910         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
8911         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
8912         * sysdeps/unix/sysv/linux/sys/acct.h
8913         * include/arpa/nameser.h, include/resolv.h:
8914         Fix indentation disrupted by mechanical edits.
8916         * inet/protocols/talkd.h, resolv/arpa/nameser.h
8917         * sysdeps/generic/netinet/in_systm.h
8918         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
8919         * sysdeps/gnu/netinet/udp.h
8920         * sysdeps/unix/sysv/linux/net/ethernet.h
8921         * sysdeps/unix/sysv/linux/net/if_arp.h
8922         * sysdeps/unix/sysv/linux/net/if_ppp.h
8923         * sysdeps/unix/sysv/linux/net/if_shaper.h
8924         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
8925         * sysdeps/unix/sysv/linux/netinet/if_tr.h
8926         * sysdeps/unix/sysv/linux/netipx/ipx.h
8927         * sysdeps/unix/sysv/linux/sys/acct.h
8928         Include stdint.h for uintNN_t definitions.
8929         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
8931 2016-09-23  Zack Weinberg  <zackw@panix.com>
8933         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
8934         * sysdeps/unix/sysv/linux/netrose/rose.h:
8935         Include sys/socket.h and netax25/ax25.h.
8937         * inet/netinet/icmp6.h, inet/netinet/ip6.h
8938         * resolv/arpa/nameser_compat.h:
8939         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
8941         * sysdeps/unix/sysv/linux/sys/quota.h:
8942         Use __caddr_t instead of caddr_t.
8943         * sysdeps/unix/sysv/linux/sys/timerfd.h:
8944         Use __clockid_t instead of clockid_t.
8946         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
8948         * argp/argp.h: Check whether _LIBC is defined before expanding it.
8949         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
8950         expanding it.
8952         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
8953         Define __glibc_c99_flexarr_available to 1 when the compiler
8954         supports C99-compatible flexible array members, 0 otherwise.
8955         * sysdeps/unix/sysv/linux/bits/socket.h
8956         * sysdeps/mach/hurd/bits/socket.h
8957         * bits/socket.h: Use __glibc_c99_flexarr_available in
8958         definitions of struct cmsghdr and CMSG_DATA.
8960 2016-09-23  Florian Weimer  <fweimer@redhat.com>
8962         * manual/nss.texi (NSS Modules Interface): Adjust function return
8963         type to enum nss_status.  Document errnop argument.  Clarify
8964         h_errnop semantics.  Fix cross-reference formatting.
8965         (NSS Module Function Internals): Mention that *errnop needs to be
8966         set on failure, but not to zero.
8968 2016-09-23  Florian Weimer  <fweimer@redhat.com>
8970         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
8971         (get_random_name): New functions.
8972         (check_wrapper_flags_mode): Use linkat to give the new file a name
8973         determined by get_random_name.
8974         (do_test): Add calls to test open64 and openat64.
8976 2016-09-23  Florian Weimer  <fweimer@redhat.com>
8978         * test-skeleton.c: Remove #include <stdarg.h>.
8980 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
8982         [BZ #19826]
8983         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
8984         initialization of static TLS entries.
8985         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
8986         * nptl/allocatestack.c (init_one_static_tls): Likewise.
8988 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8990         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
8991         _hurd_malloc_fork_prepare.
8992         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
8993         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
8994         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
8995         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
8996         (_hurd_fork_child_hook): Drop malloc_fork_child.
8997         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
8998         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
8999         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
9000         after locking locks (notably hurd_dtable_lock). Call
9001         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
9002         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
9003         __malloc_fork_unlock_child.
9004         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
9006 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
9008         * soft-fp/extendhftf2.c: New.
9009         * soft-fp/fixhfti.c: Likewise.
9010         * soft-fp/fixunshfti.c: Likewise.
9011         * soft-fp/floattihf.c: Likewise.
9012         * soft-fp/floatuntihf.c: Likewise.
9013         * soft-fp/half.h: Likewise.
9014         * soft-fp/trunctfhf2.c: Likewise.
9016 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
9018         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
9019         macro.
9020         * math/libm-test.inc (issubnormal_test_data): New array.
9021         (issubnormal_test): New function.
9022         * manual/arith.texi (Floating Point Classes): Document
9023         issubnormal.
9024         * manual/libm-err-tab.pl: Update comment on interfaces without
9025         ulps tabulated.
9027         * sysdeps/generic/stdint.h: Define
9028         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9029         <bits/libc-header-start.h> instead of including <features.h>.
9030         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
9031         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
9032         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
9033         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
9034         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
9035         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
9036         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
9037         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
9038         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
9039         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
9040         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
9041         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
9042         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
9043         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
9044         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
9045         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
9046         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
9047         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
9048         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
9049         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
9050         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
9051         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
9052         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
9053         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
9054         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
9055         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
9056         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
9057         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
9058         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
9059         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
9060         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
9061         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
9062         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
9063         * manual/arith.texi (Integers): Document these macros for types
9064         specified by width properties.
9065         * manual/lang.texi (Width of Type): Document these macros for
9066         other standard typedefs.
9067         * stdlib/tst-width-stdint.c: New file.
9068         * stdlib/Makefile (tests): Add tst-width-stdint.
9070 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9072         [BZ #20016]
9073         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
9074         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
9075         Move ...
9076         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
9077         ... here, as compatibility symbols in a new file.
9078         * resolv/Makefile (libresolv-routines): Add compat-hooks.
9079         * resolv/res_init.c (__res_vinit): Adjust member names.
9080         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
9081         * resolv/resolv.h (res_sendhookact, res_send_qhook)
9082         (res_send_rhook): Remove.
9083         (struct __res_state): Rename qhook, rhook members.
9085 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9087         malloc: Use __libc_lock wrappers.
9088         * malloc/arena.c (list_lock, free_list_lock): Define using
9089         __libc_lock_define_initialized.
9090         (arena_lock): Adjust formatting.
9091         * malloc/malloc.c (struct malloc_state): Define mutex using
9092         __libc_lock_define.
9093         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
9094         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
9095         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
9096         (mutex_unlock, mutex_trylock): Remove.
9097         (__pthread_initialize): Remove unused macro.
9098         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
9099         (mutex_unlock, mutex_trylock): Remove.
9101 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9103         [BZ #20592]
9104         Remove RR type classification macros.
9105         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
9106         (ns_t_udp_p, ns_t_xfr_p): Remove.
9108 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9110         Remove misleading version information.
9111         * resolv/arpa/nameser.h (__NAMESER): Remove.
9112         * resolv/arpa/nameser_compat.h (__BIND): Remove.
9114 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9116         Remove the always-defined BIND_4_COMPAT macro.
9117         * resolv/arpa/nameser.h: Unconditionally include
9118         <arpa/nameser_compat.h>.
9119         (BIND_4_COMPAT): Remove.
9120         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
9122 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9124         [BZ #20591]
9125         Remove obsolete DNSSEC support.
9126         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
9127         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
9128         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
9129         (ns_verify_tcp, ns_verify_tcp_init): Remove.
9130         (ns_cert_types): Add comment.
9131         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
9132         separately.
9133         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
9134         (dst_s_dns_key_id): Remove.
9135         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
9136         variables.
9138 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9140         [BZ #20524]
9141         * manual/string.texi (String/Array Comparison): Clarify the
9142         strverscmp behavior.
9144 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9146         * test-skeleton.c (xasprintf): Add function.
9147         * io/tst-open-tmpfile.c: New test.
9148         * io/Makefile (tests): Add it.
9150 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9152         Avoid running $(CXX) during build to obtain header file paths.
9153         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
9154         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
9155         * Makerules (cstdlib, cmath): Remove variables.  Use
9156         $(c++-cstdlib-header), $(c++-cmath-header) instead.
9157         * configure: Regenerate.
9159 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9161         * Makeconfig (all-object-suffixes): Include .op only if
9162         $(build-profile).
9164 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9166         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
9167         conditionals.  Do not define PATH_MAX.
9169 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9171         * posix/Makefile (tests): Add tst-spawn3.
9172         * posix/tst-spawn3.c: New file.
9173         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
9174         if it is already opened for open action.
9176         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
9177         all signals when executing the clone vfork child.
9178         (SIGALL_SET): Remove macro.
9180         * nptl/Makefile (tests): Add tst-exec5.
9181         * nptl/tst-exec5.c: New file.
9182         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
9183         asynchronous cancellation.
9185 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9187         * hurd/exc2signal.c: #include <hurd/signal.h>
9188         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
9189         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
9190         accordingly.
9191         * mach/mach_error.c (mach_error): Fix old-style function definition.
9192         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
9194 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9196         * math/Makefile (libm-calls): Remove s_nanF.
9197         (gen-libm-calls): Add s_nanF.
9199         * math/s_nan.c: Refactor into ...
9200         * math/s_nan_template.c: New file.
9202         * math/s_nanf.c: Removed.
9203         * math/s_nanl.c: Removed.
9204         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
9205         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
9207         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
9208         (LDOUBLE_nanl_libm_version): New macro.
9210         * sysdeps/generic/math-type-macros-double.h:
9211         (M_STRTO_NAN): New macro.
9212         * sysdeps/generic/math-type-macros-float.h: Likewise.
9213         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
9215         * sysdeps/generic/math-type-macros.h: Document
9216         M_STRTO_NAN.
9218 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9220         * math/s_nanf.c: Remove __nanf undef.
9221         * math/s_nan.c: Remove __nan undef.
9222         * math/s_nanl.c: Remove __nanl undef.
9224         * sysdeps/generic/math_private.h (__nan): Remove macro
9225         override.
9226         (__nanf): Likewise.
9227         (__nanl): Likewise.
9229 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9231         * math/Makefile (gen-all-calls): New variable.
9232         (generated): Replace gen-libm-calls with gen-all-calls.
9233         (gen-libm-templates.stmp): Likewise.  Also, ensure
9234         the output directory exists or is created and add
9235         dependency on the Makefile.
9236         (calls): Move s_ldexpF into gen-calls.
9237         (gen-calls): New variable.
9239         * math/s_ldexpf.c: Removed.
9240         * math/s_ldexpl.c: Removed.
9241         * math/s_ldexp.c: Refactored into ...
9242         * math/s_ldexp_template.c: New file.
9244         * sysdeps/generic/math-type-macros-double.h: Remove
9245         redundant fall-through definition of declare_mgen_alias.
9246         (declare_mgen_alias_2): New macro.
9248         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
9249         New macro for function aliased to two exported symbols.
9251         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
9252         new template file.
9253         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
9255 2016-09-20  Florian Weimer  <fweimer@redhat.com>
9257         * Makeconfig (all-object-suffixes): Remove .og.
9258         * Makerules (elide-routines.og): Remove.
9259         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
9260         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
9261         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
9263 2016-09-20  Florian Weimer  <fweimer@redhat.com>
9265         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
9266         .os objects.
9268 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9270         [BZ #20615]
9271         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
9272         fpu directory by non-fpu.
9273         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
9274         on non-fpu directory from a fpu directory.
9276 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
9278         * include/limits.h: Define
9279         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9280         <bits/libc-header-start.h> instead of including <features.h>.
9281         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
9282         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
9283         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
9284         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
9285         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
9286         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
9287         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
9288         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
9289         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
9290         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
9291         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
9292         * manual/lang.texi (Width of Type): Document these macros.
9293         * stdlib/tst-width.c: New file.
9294         * stdlib/Makefile (tests): Add tst-width.
9296 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9298         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
9299         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
9301 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9303         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
9304         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
9305         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
9307 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9309         [BZ #18243]
9310         * rt/Makefile (test): Add tst-shm-cancel.
9311         * rt/tst-shm-cancel.c: New file.
9312         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
9314         [BZ #18243]
9315         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
9316         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
9317         definition.
9318         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
9319         uncontended case.
9320         * nptl/sem_wait.c (__new_sem_wait): Likewise.
9321         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
9322         (tf): Fix check for uncontended case.
9323         (do_test): Likewise.
9324         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
9325         (tf): Fix check for uncontended case.
9326         (do_test): Likewise.
9327         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
9328         (tf): Fix check for uncontended case.
9329         (do_test): Likewise.
9330         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
9331         (tf): Fix check for uncontended case.
9332         (do_test): Likewise.
9334         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
9335         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
9337         [BZ #15765]
9338         * nptl/Makefile (tests): Add tst-sem16.
9339         * nptl/tst-sem16.c: New file.
9340         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
9342         * nptl/sem_open.c (sem_open): Init pad value to 0.
9343         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
9344         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
9346 2016-09-15  Florian Weimer  <fweimer@redhat.com>
9348         [BZ #20611]
9349         * inet/Makefile (routines): Add inet6_scopeid_pton.
9350         (tests): Add tst-inet6_scopeid_pton.
9351         * inet/inet6_scopeid_pton.c: New file.
9352         * inet/net-internal.h: Likewise.
9353         * inet/tst-inet6_scopeid_pton.c: New test.
9354         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
9355         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
9356         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9358 2016-09-14  Florian Weimer  <fweimer@redhat.com>
9360         Remove support for compiling wrappers with PTW.
9361         * sysdeps/nptl/Makeconfig: Drop ptw- support.
9362         * nptl/Makefile (pthread-compat-wrappers): Define.
9363         (libpthread-routines): Use pthread-compat-wrappers.
9364         * sysdeps/unix/sysv/linux/alpha/Makefile
9365         (libpthread-routines, libpthread-shared-only-routines): Remove
9366         ptw- prefix.
9367         * sysdeps/s390/nptl/Makefile
9368         (libpthread-routines, libpthread-shared-only-routines): Likewise.
9369         * sysdeps/ia64/nptl/Makefile
9370         (libpthread-routines, libpthread-shared-only-routines): Likewise.
9371         * sysdeps/nacl/Makefile (libpthread-routines): Use
9372         pthread-compat-wrappers to filter the routines list instead of the
9373         ptw- prefix.
9375 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9377         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
9378         with L() and remove explicit suffix, convert real literals
9379         which can be equivalentally substituted with integers, and
9380         transform -L(x) to L(-x).
9382         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9383         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9384         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9385         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9386         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9387         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9388         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9389         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9390         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9391         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9392         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9393         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9394         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9395         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9396         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9397         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9398         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9399         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9400         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9401         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9402         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9403         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9404         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9405         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9406         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
9407         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9408         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9409         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9410         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9411         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9412         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9413         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9414         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9415         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9416         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9417         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9418         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9419         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9420         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9421         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9422         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9423         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9424         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9425         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9426         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9427         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9428         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9429         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
9430         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
9431         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9433 2016-09-13  Florian Weimer  <fweimer@redhat.com>
9435         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
9437 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9439         * malloc/Makefile (tests): Remove individual static test names
9440         and just add all of tests-static.
9442         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
9444 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
9446         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
9447         file.
9449         * sysdeps/sparc/fpu/fegetmode.c: New file.
9450         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
9452         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
9453         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
9455         * sysdeps/s390/fpu/fegetmode.c: New file.
9456         * sysdeps/s390/fpu/fesetmode.c: Likewise.
9458         * sysdeps/powerpc/fpu/fegetmode.c: New file.
9459         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
9460         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
9461         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
9462         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
9463         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
9465         * sysdeps/mips/fpu/fegetmode.c: New file.
9466         * sysdeps/mips/fpu/fesetmode.c: Likewise.
9468         * sysdeps/m68k/fpu/fegetmode.c: New file.
9469         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
9471         * sysdeps/ia64/fpu/fegetmode.c: New file.
9472         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
9474         * sysdeps/hppa/fpu/fegetmode.c: New file.
9475         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
9477         * sysdeps/arm/fegetmode.c: New file.
9478         * sysdeps/arm/fesetmode.c: Likewise.
9480         * sysdeps/alpha/fpu/fegetmode.c: New file.
9481         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
9483         * sysdeps/aarch64/fpu/fegetmode.c: New file.
9484         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
9486         * math/fegetmode.c: New file.
9487         * math/fesetmode.c: Likewise.
9488         * sysdeps/i386/fpu/fegetmode.c: Likewise.
9489         * sysdeps/i386/fpu/fesetmode.c: Likewise.
9490         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
9491         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
9492         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
9493         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
9494         declaration.
9495         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
9496         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
9497         typedef.
9498         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9499         * sysdeps/aarch64/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/alpha/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/arm/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/hppa/fpu/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/ia64/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/m68k/fpu/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 macro.
9517         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9518         (femode_t): New typedef.
9519         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9520         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9521         (femode_t): New typedef.
9522         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9523         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9524         (femode_t): New typedef.
9525         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9526         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9527         (femode_t): New typedef.
9528         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
9529         declaration.
9530         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9531         * sysdeps/s390/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         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9535         (femode_t): New typedef.
9536         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9537         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9538         (femode_t): New typedef.
9539         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9540         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9541         (femode_t): New typedef.
9542         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9543         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9544         (femode_t): New typedef.
9545         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9546         * manual/arith.texi (FE_DFL_MODE): Document macro.
9547         (fegetmode): Document function.
9548         (fesetmode): Likewise.
9549         * math/Versions (fegetmode): New libm symbol at version
9550         GLIBC_2.25.
9551         (fesetmode): Likewise.
9552         * math/Makefile (libm-support): Add fegetmode and fesetmode.
9553         (tests): Add test-femode and test-femode-traps.
9554         * math/test-femode-traps.c: New file.
9555         * math/test-femode.c: Likewise.
9556         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
9557         alias for __fe_dfl_env.
9558         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
9559         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
9560         (__fe_dfl_mode): Likewise.
9561         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
9562         version GLIBC_2.25.
9563         * sysdeps/nacl/libm.abilist: Update.
9564         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9565         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9566         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9567         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9568         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9569         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9570         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9571         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9572         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9573         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9574         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9575         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9577         Likewise.
9578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9579         Likewise.
9580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9581         Likewise.
9582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9583         Likewise.
9584         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9585         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9586         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9587         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9588         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9589         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9590         Likewise.
9591         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9592         Likewise.
9593         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9594         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9595         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9597 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
9599         [BZ #20495]
9600         [BZ #20508]
9601         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
9602         processors, set Use_dl_runtime_resolve_slow and set
9603         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
9604         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
9605         New.
9606         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
9607         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
9608         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
9609         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
9610         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
9611         if Use_dl_runtime_resolve_opt is set.  Use
9612         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
9613         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
9614         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
9615         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
9616         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
9617         New.
9618         (_dl_runtime_resolve_opt): Likewise.
9619         (_dl_runtime_profile): Define only if _dl_runtime_profile is
9620         defined.
9622 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
9624         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
9625         __libc_memalign with "+ RELA R_390_GLOB_DAT".
9627 2016-09-06  Florian Weimer  <fweimer@redhat.com>
9629         Convert malloc to __libc_lock.  Automated part, using this Perl
9630         s/// command:
9631           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
9632             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
9633         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
9634         conversion.
9636 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
9638         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
9639         (linknamespace-symlists-tests): Likewise.
9640         (linknamespace-header-tests): Likewise.
9642 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
9644         [BZ #19810]
9645         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
9646         * elf/tst-noload.c: New test case.
9647         * elf/Makefile (tests): Add tst-noload.
9649 2016-09-02  Roland McGrath  <roland@hack.frob.com>
9651         * sysdeps/nacl/dup.c: Add libc_hidden_def.
9653         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
9654         not any more.
9656         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
9658 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9660         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
9661         (do_cos_slow): Likewise.
9662         (do_sin): Likewise.
9663         (do_sin_slow): Likewise.
9664         (slow): Likewise.
9665         (slow1): Likewise.
9666         (slow2): Likewise.
9667         (sloww): Likewise.
9668         (sloww1): Likewise.
9669         (sloww2): Likewise.
9670         (bsloww): Likewise.
9671         (bsloww1): Likewise.
9672         (bsloww2): Likewise.
9673         (cslow2): Likewise.
9675         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
9677         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
9678         arguments.  Consolidate input partitioning from callers here.
9679         (do_cos_slow): Likewise.
9680         (do_sin): Likewise.
9681         (do_sin_slow): Likewise.
9682         (do_sincos_1): Remove the no longer necessary input partitioning.
9683         (do_sincos_2): Likewise.
9684         (__sin): Likewise.
9685         (__cos): Likewise.
9686         (slow1): Likewise.
9687         (slow2): Likewise.
9688         (sloww1): Likewise.
9689         (sloww2): Likewise.
9690         (bsloww1): Likewise.
9691         (bsloww2): Likewise.
9692         (cslow2): Likewise.
9694 2016-09-02  Florian Weimer  <fweimer@redhat.com>
9696         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
9697         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
9698         outside of allocated array.
9700 2016-09-02  Florian Weimer  <fweimer@redhat.com>
9702         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
9703         instead of MB_CUR_MAX to avoid variable-length array.
9705 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9707         * math/Makefile (libm-calls): Remove k_rem_pio2F.
9708         (type-double-routines): Add k_rem_pio2.
9709         (type-float-routines): Add k_rem_pio2f.
9711         * sysdeps/generic/math_private.h:
9712         (__kernel_rem_pio2l): Removed.
9714         * math/k_rem_pio2l.c: Removed.
9715         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
9716         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
9717         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
9718         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
9720 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9722         * math/Makefile (gen-libm-calls): Add s_fmin
9723         (libm-calls): Remove above.
9725         * math/s_fmin.c: Refactor into ...
9726         * math/s_fmin_template.c: New file.
9728         * math/s_fminf.c: Removed.
9729         * math/s_fminl.c: Removed.
9730         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
9731         (LDOUBLE_fmin_libm_version): New macro.
9733         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
9734         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
9736 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9738         * math/Makefile: (gen-libm-calls): Add s_fmax.
9739         (libm-calls): Remove above.
9741         * math/s_fmax.c: Refactor into ...
9742         * math/s_fmax_template.c: New file.
9743         * math/s_fmaxf.c: Removed.
9744         * math/s_fmaxl.c: Removed.
9746         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
9747         (LDOUBLE_fmaxl_libm_version): New macro.
9749         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
9750         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
9752         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
9753         s_fmin.c to pick the aarch64 version of the file.
9754         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
9755         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
9757 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9759         * math/Makefile: (gen-libm-calls): Add s_nextdown.
9760         (libm-calls): Remove above.
9762         * math/s_nextdown.c: Refactor into ...
9763         * math/s_nextdown_template.c: New file.
9764         * math/s_nextdownf.c: Removed.
9765         * math/s_nextdownl.c: Removed.
9767         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
9769 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9771         * math/Makefile (gen-libm-calls): Add s_fdim.
9772         (libm-calls): Move to above.
9774         * math/s_fdim.c: Renamed and refactored into to ...
9775         * math/s_fdim_template.c: New file.
9776         * math/s_fdiml.c: Removed.
9777         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
9778         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
9780         * sysdeps/generic/math-type-macros-double.h:
9781         (declare_mgen_alias): Don't declare if already declared.
9782         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
9783         Likewise.
9785         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
9786         (declare_mgen_alias): Don't declare if already declared.
9787         (M_LIBM_NEED_COMPAT): Likewise.
9788         (declare_mgen_libm_compat): Likewise.
9789         (LDOUBLE_fdiml_libm_version): New macro.
9791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
9792         Include math/s_fdim.c now that ldbl-opt version is not needed.
9793         (declare_mgen_alias): New macro to disable aliasing.
9795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
9796         (declare_mgen_alias): Likewise.
9797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
9798         (declare_mgen_alias): Likewise.
9799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
9800         (declare_mgen_alias): Likewise.
9801         (M_LIBM_NEED_COMPAT): Likewise.
9803 2016-09-01  Florian Weimer  <fweimer@redhat.com>
9805         [BZ #20525]
9806         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
9807         Include <linux/quota.h>.
9808         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
9809         and btodb.
9810         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
9811         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
9812         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
9813         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
9814         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
9815         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
9816         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
9817         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
9818         types.
9819         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
9820         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
9822 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9824         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
9825         (gammal_positive): Fix spacing.
9826         (__ieee754_gammal_r): Likewise.
9828 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9830         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
9831         (_Float128): Define as long double, always.
9832         (L): Apply long double type suffix, always.
9834         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
9835         _Float128, excepting comments.
9837         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9838         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9839         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9840         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9841         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9842         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9843         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9844         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9845         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9846         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
9847         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9848         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9849         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9850         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9851         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9852         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9853         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9854         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9855         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9856         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9857         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9858         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9859         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9860         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9861         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9862         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9863         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
9864         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
9865         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9866         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9867         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9868         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9869         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9870         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9871         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9872         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9873         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9874         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9875         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9876         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9877         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9878         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9879         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9880         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9881         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
9882         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9883         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9884         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9885         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9886         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9887         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9888         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9889         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9890         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9891         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
9892         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9893         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9894         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9895         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9896         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9897         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9898         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9899         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9900         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9901         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9902         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
9903         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9904         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9906         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
9907         _Float128, and include math_private.h.
9908         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
9910         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
9911         long double semantics.
9912         (_Float128): Likewise.
9913         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
9914         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
9915         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
9916         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
9918 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
9920         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
9921         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
9922         * sysdeps/s390/configure: Regenerated.
9923         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
9924         instruction for raising over-/underflow if z196 zarch is supported
9925         by default.
9926         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
9928 2016-08-30  Svante Signell  <svante.signell@gmail.com>
9930         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
9931         it point to a dumb buffer for RPC to fill it.
9933 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9935         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
9936         instead of if/else.
9937         (do_sin_slow): Likewise.
9938         (do_sincos_1): Use fabs instead of if/else.
9939         (do_sincos_2): Likewise.
9940         (__sin): Likewise.
9941         (__cos): Likewise.
9942         (slow2): Likewise.
9943         (sloww): Likewise.
9944         (sloww1): Likewise.  Drop argument M.
9945         (sloww2): Use fabs instead of if/else.
9946         (bsloww): Likewise.
9947         (bsloww1): Likewise.
9948         (bsloww2): Likewise.
9950         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
9951         fall through comment.
9952         (do_sincos_1): Likewise.
9954         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
9955         Consolidate switch cases 0 and 2.
9957 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9959         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
9960         (libm-calls): Remove the above.
9962         * math/s_cexp_template.c: Update using type-generic macros.
9963         * math/s_clog10_template.c: Likewise.
9964         * math/s_cpow_template.c: Likewise.
9965         * math/s_clog_template.c: Likewise.
9966         * math/s_cproj_template.c: Likewise.
9967         * math/s_csqrt_template.c: Likewise.
9969         * math/s_cexp.c: Removed.
9970         * math/s_cexpf.c: Removed.
9971         * math/s_cexpl.c: Removed.
9972         * math/s_clog10.c: Removed.
9973         * math/s_clog10f.c: Removed.
9974         * math/s_clog10l.c: Removed.
9975         * math/s_cpow.c: Removed.
9976         * math/s_cpowf.c: Removed.
9977         * math/s_cpowl.c: Removed.
9978         * math/s_clog.c: Removed.
9979         * math/s_clogf.c: Removed.
9980         * math/s_clogl.c: Removed.
9981         * math/s_cproj.c: Removed.
9982         * math/s_cprojf.c: Removed.
9983         * math/s_cprojl.c: Removed.
9984         * math/s_csqrt.c: Removed.
9985         * math/s_csqrtf.c: Removed.
9986         * math/s_csqrtl.c: Removed.
9988         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
9989         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
9990         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
9991         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
9992         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
9993         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
9995         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
9996         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
9997         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
9998         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
9999         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
10000         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
10001         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
10002         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
10003         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
10004         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
10005         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
10007         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
10008         version.
10010         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
10011         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
10012         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
10013         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
10015 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10017         * s_cexp_template.c: Copy of s_cexp.c.
10018         * s_clog_template.c: Copy of s_clog.c.
10019         * s_clog10_template.c: Copy of s_clog10.c.
10020         * s_cpow_template.c: Copy of s_cpow.c.
10021         * s_cproj_template.c: Copy of s_cproj.c.
10022         * s_csqrt_template.c: Copy of s_csqrt.c.
10024 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10026         [BZ #20517]
10027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
10028         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
10029         exported.
10031 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
10033         * math/fetestexceptflag.c: New file.
10034         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
10035         Stefan Liebler.
10036         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10037         (fetestexceptflag): New function declaration.
10038         * manual/arith.texi (fetestexceptflag): Document function.
10039         * math/Versions (fetestexceptflag): New libm symbol at version
10040         GLIBC_2.25.
10041         * math/Makefile (libm-support): Add fetestexceptflag.
10042         (tests): Add test-fetestexceptflag.
10043         * math/test-fetestexceptflag.c: New file.
10044         * sysdeps/nacl/libm.abilist: Update.
10045         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10046         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10047         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10048         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10049         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10050         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10051         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10052         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10053         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10054         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10055         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10056         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10058         Likewise.
10059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10060         Likewise.
10061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10062         Likewise.
10063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10064         Likewise.
10065         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10066         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10067         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10068         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10069         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10070         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10071         Likewise.
10072         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10073         Likewise.
10074         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10075         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10076         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10078 2016-08-26  Florian Weimer  <fweimer@redhat.com>
10080         [BZ #20432]
10081         Avoid strong references to malloc-internal symbols when linking
10082         statically, to support statically interposed mallocs.
10083         * include/libc-symbols.h (call_function_static_weak): New macro.
10084         * malloc/Makefile (tests): Add tst-interpose-nothread,
10085         tst-interpose-thread, tst-interpose-static-nothread,
10086         tst-interpose-static-thread.
10087         (tests-static): Add tst-interpose-static-nothread,
10088         tst-interpose-static-thread.
10089         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
10090         tst-interpose-aux-thread.o.
10091         (test-extras): Add tst-interpose-aux-nothread,
10092         tst-interpose-aux-thread.
10093         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
10094         tst-interpose-aux-nothread.o.
10095         (tst-interpose-thread, tst-interpose-static-thread): Link with
10096         tst-interpose-aux-thread.o and libthread.
10097         * malloc/tst-interpose-aux-nothread.c: New file.
10098         * malloc/tst-interpose-aux-thread.c: Likewise.
10099         * malloc/tst-interpose-aux.c: Likewise.
10100         * malloc/tst-interpose-aux.h: Likewise.
10101         * malloc/tst-interpose-nothread.c: Likewise.
10102         * malloc/tst-interpose-skeleton.c: Likewise.
10103         * malloc/tst-interpose-static-nothread.c: Likewise.
10104         * malloc/tst-interpose-static-thread.c: Likewise.
10105         * malloc/tst-interpose-thread.c: Likewise.
10106         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
10107         * sysdeps/mach/hurd/fork.c (__fork): Only call
10108         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
10109         __malloc_fork_unlock_child if defined.
10110         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
10112 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10114         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
10115         timespec C99 designated initialization.
10117 2016-08-26  Florian Weimer  <fweimer@redhat.com>
10119         [BZ #19946]
10120         Avoid expected SIGALRM signals.
10121         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
10122         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
10123         (xpthread_create, xpthread_detach, xpthread_join)
10124         (delayed_exit_thread, delayed_exit): New functions.
10125         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
10126         (tf): Use xpthread_cond_wait.
10127         (do_test): Likewise.  Replace alarm with delayed_exit.
10128         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10129         (do_test): Call delayed_exit.  Report failure.
10130         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10131         (do_test): Call delayed_exit.
10132         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10133         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
10134         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10135         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
10136         error.
10137         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10138         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
10139         error.
10140         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
10141         (do_test): Call delayed_exit.
10142         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
10143         (do_test): Call delayed_exit.
10144         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
10145         (do_test): Call delayed_exit instead of alarm.  Use
10146         xpthread_mutex_lock.
10147         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
10148         (do_test): Call delayed_exit instead of alarm.  Use
10149         xpthread_mutex_lock.
10150         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
10151         (do_test): Call delayed_exit instead of alarm.
10152         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
10153         (do_test): Call delayed_exit instead of alarm.  Use
10154         xpthread_spin_lock.
10155         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
10156         (do_test): Call delayed_exit instead of alarm.  Use
10157         xpthread_join.
10159 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
10161         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
10162         adjust CFA when allocating register save area on re-aligned
10163         stack.
10165 2016-08-26  Florian Weimer  <fweimer@redhat.com>
10167         * string/tst-cmp.c: New test.
10168         * string/Makefile (tests): Add it.
10170 2016-08-25  Mark Wielaard  <mark@klomp.org>
10172         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
10173         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
10174         (check_tree_recurse): Use newly defined accessors.
10175         (check_tree): Likewise.
10176         (maybe_split_for_insert): Likewise.
10177         (__tfind): Likewise.
10178         (__tdelete): Likewise.
10179         (trecurse): Likewise.
10180         (tdestroy_recurse): Likewise.
10181         (__tsearch): Likewise. And add asserts for malloc alignment.
10182         (__twalk): Cast root to node in case CHECK_TREE is defined.
10184 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10186         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
10188 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10190         * math/Makefile (libm-gen-calls): Add
10191         catan, catanh, ctan, ctanh.
10192         (libm-calls): Remove the above.
10194         * math/s_catan_template.c: Update using type-generic macros.
10195         * math/s_catanh_template.c: Likewise.
10196         * math/s_ctan_template.c: Likewise.
10197         * math/s_ctanh_template.c: Likewise.
10199         * math/s_catanf.c: Removed.
10200         * math/s_catan.c: Removed.
10201         * math/s_catanl.c: Removed.
10202         * math/s_catanhf.c: Removed.
10203         * math/s_catanh.c: Removed.
10204         * math/s_catanhl.c: Removed.
10205         * math/s_ctanf.c: Removed.
10206         * math/s_ctan.c: Removed.
10207         * math/s_ctanl.c: Removed.
10208         * math/s_ctanhf.c: Removed.
10209         * math/s_ctanh.c: Removed.
10210         * math/s_ctanhl.c: Removed.
10212         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
10213         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
10214         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
10215         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
10216         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
10217         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
10219         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
10220         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
10221         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
10222         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
10224 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10226         * s_catan_template.c: Copy of s_catan.c.
10227         * s_catanh_template.c: Copy of s_catanh.c.
10228         * s_ctan_template.c: Copy of s_ctan.c.
10229         * s_ctanh_template.c: Copy of s_ctanh.c.
10231 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10233         * math/Makefile (gen-libm-calls): Move
10234         casin, casinh, csin, csinh here.
10235         (libm-calls): Remove the above.
10237         * math/s_casin_template.c: Update using type-generic macros.
10238         * math/s_casinh_template.c: Likewise.
10239         * math/s_csin_template.c: Likewise.
10240         * math/s_csinh_template.c: Likewise.
10241         * math/k_casinh_template.c: Likewise.
10243         * math/s_casinf.c: Removed.
10244         * math/s_casin.c: Removed.
10245         * math/s_casinl.c: Removed.
10246         * math/s_casinh.c: Removed.
10247         * math/s_casinhf.c: Removed.
10248         * math/s_casinhl.c: Removed.
10249         * math/s_csin.c: Removed.
10250         * math/s_csinf.c: Removed.
10251         * math/s_csinl.c: Removed.
10252         * math/s_csinh.c: Removed.
10253         * math/s_csinhf.c: Removed.
10254         * math/s_csinhl.c: Removed.
10255         * math/k_casinh.c: Removed.
10256         * math/k_casinhf.c: Removed.
10257         * math/k_casinhl.c: Removed.
10259         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
10260         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
10261         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
10262         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
10264         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
10265         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
10266         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
10267         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
10268         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
10269         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
10270         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
10271         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
10273         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
10274         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
10275         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
10276         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
10278         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
10279         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
10280         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
10281         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
10283 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10285         * s_casin_template.c: Copy of s_casin.c.
10286         * s_casinh_template.c: Copy of s_casinh.c.
10287         * s_csin_template.c: Copy of s_csin.c.
10288         * s_csinh_template.c: Copy of s_csinh.c.
10289         * k_casinh_template.c: Copy of k_casinh.c.
10291 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
10293         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
10295 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10297         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
10298         (mul_split) Remove, rename as mul_splitl, remove
10299         redundant float.h include, and include via mul_splitl.h
10301         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
10302         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10303         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10304         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
10305         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
10307         * math/mul_splitl.h: New file.
10309         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
10310         Move into mul_split.h, and remove redundant float.h include.
10312         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
10313         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
10314         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10315         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
10317         * math/mul_split.h: New file.
10319 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10321         * math/Makefile (libm-gen-calls): Move
10322         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
10323         (libm-calls): Remove above.
10325         * math/s_cacos_template.c: Update using type-generic macros.
10326         * math/s_cacosh_template.c: Likewise.
10327         * math/s_ccos_template.c: Likewise.
10328         * math/s_ccosh_template.c: Likewise.
10330         * math/s_cacosf.c: Removed.
10331         * math/s_cacos.c: Removed.
10332         * math/s_cacosl.c: Removed.
10333         * math/s_cacoshf.c: Removed.
10334         * math/s_cacosh.c: Removed.
10335         * math/s_cacoshl.c: Removed.
10336         * math/s_ccosf.c: Removed.
10337         * math/s_ccos.c: Removed.
10338         * math/s_ccosl.c: Removed.
10339         * math/s_ccoshf.c: Removed.
10340         * math/s_ccosh.c: Removed.
10341         * math/s_ccoshl.c: Removed.
10343         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
10344         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
10345         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
10346         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
10347         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
10348         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
10350         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
10351         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
10352         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
10353         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
10355         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
10356         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
10357         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
10358         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
10360 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10362         * s_cacos_template.c: Copy of s_cacos.c.
10363         * s_cacosh_template.c: Copy of s_cacosh.c.
10364         * s_ccos_template.c: Copy of s_ccos.c.
10365         * s_ccosh_template.c: Copy of s_ccosh.c.
10367 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10369         * stdlib/tst-strtod-round-skeleton.c:
10370         Refactored from tst-strtod-round.c.
10372         (L_): New macro to apply literal modifier.
10373         (FNPFX): New macro to select str or wcs prefix.
10374         (CHAR): New macro to choose wchar_t or char.
10375         (STRM): New macro to choose printf for tested character type.
10377         (STRTO): New macro to choose appropriate string -> real function.
10378         (FNPFXS): Stringitized version of FNPFX.
10379         (STR): Support for above macro.
10380         (STRX): Likewise.
10382         (TEST): Update with above macros.
10383         (test): Likewise.
10384         (GEN_ONE_TEST): Likewise.
10385         (test_in_one_mode): Likewise.
10387         * stdlib/tst-strtod-round.c: New file.
10388         * wcsmbs/tst-wcstod-round.c: New file.
10390         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
10391         (tst-wcstod-round): Add libm depencency for fesetround.
10393 2016-08-19  Zack Weinberg  <zackw@panix.com>
10395         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
10397 2016-08-18  Torvald Riegel  <triegel@redhat.com>
10399         [BZ #20477]
10400         * resolv/res_hconf.c (do_init): Use atomic access.
10401         * resolv/res_hconf.h: Add comments.
10402         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
10403         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
10404         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10406 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
10408         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
10409         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
10410         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10411         Likewise.
10413 2016-08-18  Florian Weimer  <fweimer@redhat.com>
10415         [BZ #16907]
10416         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
10417         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
10418         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
10419         (__attribute__): Remove definition.
10421 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10423         * sysdeps/ieee754/ldbl-128/e_asinl.c:
10424         Remove unused sqrtl declaration.
10426 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10428         * math/Makefile: (gen-libm-templates.stmp): New rule.
10429         (libm-calls): Move carg conj cimag and cabs into ...
10430         (gen-libm-calls): New variable.
10431         (generated): Inform Make objects from gen-libm-calls
10432         may be generated.
10434         * sysdeps/generic/math-type-macros.h: New file.
10435         * sysdeps/generic/math-type-macros-float.h: Likewise.
10436         * sysdeps/generic/math-type-macros-double.h: Likewise.
10437         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
10438         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
10439         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
10441         * math/cabs.c: Refactor into
10442         * math/cabs_template.c: new file.
10443         * math/cabsf.c: Removed.
10444         * math/cabsl.c: Removed.
10445         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
10446         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
10448         * math/carg.c: Refactor into
10449         * math/carg_template.c: new file.
10450         * math/cargf.c: Removed.
10451         * math/cargl.c: Removed.
10452         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
10453         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
10455         * math/conj.c: Refactor into
10456         * math/conj_template.c: new file.
10457         * math/conjf.c: Removed.
10458         * math/conjl.c: Removed.
10459         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
10460         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
10462         * math/cimag.c: Refactor into
10463         * math/cimag_template.c: new file.
10464         * math/cimagf.c: Removed.
10465         * math/cimagl.c: Removed.
10466         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
10467         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
10469         * math/cimag.c: Refactor into
10470         * math/cimag_template.c: new file.
10471         * math/cimagf.c: Removed.
10472         * math/cimagl.c: Removed.
10473         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
10474         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
10476 2016-08-17  Florian Weimer  <fweimer@redhat.com>
10478         Reduce time to expected nptl/tst-once5 failure.
10479         * nptl/tst-once5.cc (TIMEOUT): Define.
10481 2016-08-17  Florian Weimer  <fweimer@redhat.com>
10483         [BZ #20452]
10484         Avoid additional copies of objects in libc.a in static libraries.
10485         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
10486         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
10487         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
10488         rt-sysdep.
10489         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
10490         Add nptl-sysdep.
10491         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
10492         Add ptw-sysdep.
10493         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
10494         rt-sysdep.
10495         * sysdeps/unix/sysv/linux/alpha/Makefile
10496         (libpthread-shared-only-routines): Add ptw-sysdep,
10497         ptw-sigprocmask, ptw-rt_sigaction.
10498         * sysdeps/unix/sysv/linux/ia64/Makefile
10499         (librt-shared-only-routines): Add rt-sysdep.
10500         * sysdeps/unix/sysv/linux/i386/Makefile
10501         (libpthread-shared-only-routines): Add libc-do-syscall.
10502         * sysdeps/unix/sysv/linux/microblaze/Makefile
10503         (libpthread-shared-only-routines): Add sysdep.
10504         * sysdeps/unix/sysv/linux/powerpc/Makefile
10505         (librt-shared-only-routines): Add rt-sysdep.
10506         (libpthread-shared-only-routines): Add sysdep.
10507         * sysdeps/unix/sysv/linux/s390/Makefile
10508         (librt-shared-only-routines): Add rt-sysdep.
10509         * sysdeps/unix/sysv/linux/sparc/Makefile
10510         (librt-shared-only-routines): Add rt-sysdep.
10511         (libpthread-shared-only-routines): Add sysdep.
10512         * sysdeps/unix/sysv/linux/tile/Makefile
10513         (libpthread-shared-only-routines): Likewise.
10515 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
10517         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
10518         Mask implicit bit out of unpacked value.
10519         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
10520         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
10521         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
10523         * sysdeps/sparc/fpu/fesetexcept.c: New file.
10525         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
10527         * sysdeps/s390/fpu/fesetexcept.c: New file.
10529         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
10530         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
10531         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
10533         * sysdeps/mips/fpu/fesetexcept.c: New file.
10535         * sysdeps/m68k/fpu/fesetexcept.c: New file.
10537         * sysdeps/ia64/fpu/fesetexcept.c: New file.
10539         * sysdeps/hppa/fpu/fesetexcept.c: New file.
10541         * sysdeps/arm/fesetexcept.c: New file.
10543         * sysdeps/alpha/fpu/fesetexcept.c: New file.
10545         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
10547         * math/fesetexcept.c: New file.
10548         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
10549         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
10550         * math/fenv.h: Define
10551         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10552         <bits/libc-header-start.h> instead of including <features.h>.
10553         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
10554         declaration.
10555         * manual/arith.texi (fesetexcept): Document function.
10556         * math/Versions (fesetexcept): New libm symbol at version
10557         GLIBC_2.25.
10558         * math/Makefile (libm-support): Add fesetexcept.
10559         (tests): Add test-fesetexcept and test-fesetexcept-traps.
10560         * math/test-fesetexcept.c: New file.
10561         * math/test-fesetexcept-traps.c: Likewise.
10562         * sysdeps/nacl/libm.abilist: Update.
10563         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10564         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10565         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10566         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10567         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10568         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10569         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10570         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10571         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10572         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10573         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10574         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10576         Likewise.
10577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10578         Likewise.
10579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10580         Likewise.
10581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10582         Likewise.
10583         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10584         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10585         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10586         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10587         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10588         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10589         Likewise.
10590         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10591         Likewise.
10592         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10593         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10594         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10596 2016-08-16  Florian Weimer  <fweimer@redhat.com>
10598         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
10599         New.
10600         (do_test): Apply default_stack_size_in_mb if not set.
10601         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
10603 2016-08-15  Andreas Schwab  <schwab@suse.de>
10605         [BZ #20435]
10606         CVE-2016-6323
10607         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
10608         as .cantunwind.
10610 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
10612         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
10613         comment from fraiseexcpt.c.
10615         * math/test-fexcept.c (feraiseexcept_exact): New function.
10616         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
10617         (test_except): Likewise.
10619 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
10621         [BZ #20455]
10622         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
10623         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
10624         to be restored.
10626         * math/test-fexcept-traps.c: New file.
10627         * math/test-fexcept.c: Likewise.
10628         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
10629         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
10630         macro.
10631         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
10632         (EXCEPTION_SET_FORCES_TRAP): Likewise.
10634 2016-08-09  Torvald Riegel  <triegel@redhat.com>
10636         * include/atomic.h (atomic_fetch_and_relaxed,
10637         atomic_fetch_and_release, atomic_fetch_or_release,
10638         atomic_fetch_xor_release): New.
10640 2016-08-06  Christian Seiler  <christian@iwakd.de>
10642         [BZ #20444]
10643         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
10644         MACH_PORT_NULL.
10646 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
10648         * math/s_fdim.c: Avoid alias renamed.
10649         * math/s_fdimf.c: Likewise.
10650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
10651         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
10652         Add s_fdimf-vis3, s_fdim-vis3.
10653         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
10654         (CFLAGS-s_fdim-vis3.c): Likewise.
10655         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
10656         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
10658 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
10660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
10661         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
10662         Remove s_fdimf-vis3, s_fdim-vis3.
10663         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
10664         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
10665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
10666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
10667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
10668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
10669         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
10670         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
10671         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
10672         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
10674 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
10676         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
10677         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
10678         -Wa,-Av9a -mvis.
10680 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10682         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
10683         LIT() to individual constants in simple expressions
10684         after splitting on spaces.
10685         (_apply_lit): Rename replaced version, and use it to
10686         apply to what appears to be a token.
10688         * math/libm-test.inc: Fix many, many issues with
10689         spacing.
10691 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
10693         * math/math.h: Move comment about <bits/mathdef.h> definitions
10694         above inclusion of <bits/mathdef.h>.  Do not mention
10695         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
10697 2016-08-05  Torvald Riegel  <triegel@redhat.com>
10699         * include/atomic.h (atomic_exchange_relaxed): New.
10701 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
10703         * math/e_scalb.c: Do not include <fenv.h>.
10704         (invalid_fn): Do calculation resulting in NaN instead of raising
10705         FE_INVALID and returning a NaN explicitly.
10706         * math/e_scalbf.c: Do not include <fenv.h>.
10707         (invalid_fn): Do calculation resulting in NaN instead of raising
10708         FE_INVALID and returning a NaN explicitly.
10709         * math/e_scalbl.c: Do not include <fenv.h>.
10710         (invalid_fn): Do calculation resulting in NaN instead of raising
10711         FE_INVALID and returning a NaN explicitly.
10713 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
10715         * po/de.po: Updated from Translation Project.
10716         * po/fi.po: Likewise.
10717         * po/sv.po: Likewise.
10719 2016-08-04  Florian Weimer  <fweimer@redhat.com>
10721         [BZ #20452]
10722         Use sysdep.o from libc.a in static libraries.
10723         * sysdeps/unix/sysv/linux/i386/Makefile
10724         (libpthread-shared-only-routines): Add sysdep.
10725         (librt-shared-only-routines): Likewise.
10727 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
10729         * math/tgmath.h (nextdown): Define if
10730         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
10731         (nextup): Likewise.
10733         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
10734         macro.
10735         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
10736         Document.
10737         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
10738         Document macro.
10739         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
10740         (exp10f): Likewise.
10741         (exp10l): Likewise.
10742         * math/bits/mathcalls.h (exp10): Declare if
10743         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
10745         * manual/arith.texi (nextup): Fix typo in last change.
10747 2016-08-03  Zack Weinberg  <zackw@panix.com>
10749         [BZ #19239]
10750         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
10751         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
10752         define major, minor, and makedev to issue deprecation warnings on use.
10753         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
10754         previously-activated deprecation warnings for these macros and prevent
10755         subsequent inclusions of this header from having any effect.
10756         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
10757         including <sys/sysmacros.h>, and undefine it again afterward.
10759 2016-08-03  Zack Weinberg  <zackw@panix.com>
10761         * sysdeps/generic/sys/sysmacros.h: Delete file.
10762         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
10763         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
10764         * bits/sysmacros.h: ... here; this encoding is now the generic
10765         encoding.  Now defines only the following macros:
10766         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
10767         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
10768         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
10770         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
10771         bits/sysmacros.h and the above new macros to generate the
10772         public implementations of major, minor, and makedev.
10773         * misc/tst-makedev.c: New test.
10774         * include/sys/sysmacros.h: New wrapper.
10776         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
10777         (routines): Add makedev.
10778         (tests): Add tst-makedev.
10779         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
10780         gnu_dev_makedev.
10781         * posix/Makefile (headers): Remove sys/sysmacros.h.
10782         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
10784         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
10785         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
10786         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
10787         * sysdeps/unix/sysv/linux/alpha/libc.abilist
10788         * sysdeps/unix/sysv/linux/arm/libc.abilist
10789         * sysdeps/unix/sysv/linux/hppa/libc.abilist
10790         * sysdeps/unix/sysv/linux/i386/libc.abilist
10791         * sysdeps/unix/sysv/linux/ia64/libc.abilist
10792         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
10793         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
10794         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
10795         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
10796         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
10797         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
10798         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
10799         * sysdeps/unix/sysv/linux/nios2/libc.abilist
10800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
10802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
10803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
10804         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
10805         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
10806         * sysdeps/unix/sysv/linux/sh/libc.abilist
10807         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
10808         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
10809         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
10810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
10811         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
10812         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
10813         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
10814         Add GLIBC_2.25.
10816         * include/features.h (__glibc_clang_prereq): New macro.
10817         * misc/sys/cdefs.h (__glibc_clang_has_extension)
10818         (__attribute_deprecated_msg__): New macros.
10820 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
10822         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
10823         macro.
10824         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
10825         * manual/arith.texi (issignaling): Document as ISO from TS
10826         18661-1:2014.
10827         (nextup): Likewise.
10828         (nextupf): Likewise.
10829         (nextupl): Likewise.
10830         (nextdown): Likewise.
10831         (nextdownf): Likewise.
10832         (nextdownl): Likewise.
10833         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
10834         macro.
10835         * math/math.h: Define
10836         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10837         <bits/libc-header-start.h> instead of including <features.h>.
10838         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
10839         [__USE_GNU].
10840         * math/bits/mathcalls.h (nextdown): Declare if
10841         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
10842         (nextup): Likewise.
10843         (__issignaling): Likewise.
10845 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10847         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
10848         check, and remove __glibc_likely hint
10849         from FP_INFINITE check.
10850         * s_csinhf.c (__csinhf): Likewise.
10852         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
10853         hint from FP_INFINITE check.
10854         * s_csinhl.c (__csinhl): Likewise.
10856 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10858         * math/Makefile (libm-calls): Insert F placeholder into
10859         object names.  Move w_lgamma_compat* routines into
10860         (libm-compat-calls): New variable.
10861         (libm-compat-calls-ldouble-yes): New variable.
10862         (calls): Insert F placeholder.
10863         (generated): Redefine using new type-foreach macro call.
10864         (routines): Likewise.
10866         (types): New variable to hold a list of symbolic names
10867         for each type supported by the target machine.
10868         (libm-routines): Redefine using new types variable.
10869         (type-foreach): macro to replace fooF with the
10870         appropriately suffixed foo for each types.
10872         (type-ldouble-suffix): New variable.
10873         (type-ldouble-routines): Likewise.
10874         (type-ldouble-yes): Likewise.
10875         (type-double-suffix): Likewise.
10876         (type-double-routines): Likewise.
10877         (type-float-suffix): Likewise.
10878         (type-float-routines): Likewise.
10880         (dbl-only-routines): Remove.
10881         (long-c-yes): Likewise.
10882         (long-m-routines): Likewise.
10883         (long-m-support): Likewise.
10884         (long-m-yes): Likewise.
10885         (test-longdouble-yes): Likewise.
10887         (test-float.o): Simplify by increasing the scope of the
10888         recipe which adds libm-test.stmp to the vector types.
10889         (test-ifloat.o): Likewise.
10890         (test-float-finite.o): Likewise.
10891         (test-double.o): Likewise
10892         (test-idouble.o): Likewise.
10893         (test-double-finite.o): Likewise.
10894         (test-ldouble.o): Likewise
10895         (test-ildoubl.o): Likewise.
10896         (test-ldouble-finite.o): Likewise.
10898         (libm-tests): Redefine type tests using foreach and the
10899         list of types in types.
10901         (CPPFLAGS-test-ildoubl.c): Rename to
10902         (CPPFLAGS-test-ildouble.c): New variable
10904         * math/test-ildoubl.c: Rename to
10905         * math/test-ildouble.c: New file.
10907 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10909         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
10910         Use fabsl instead of fabs.
10911         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
10912         Likewise.
10913         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
10914         Add long double suffix to constant to ensure proper
10915         promotion to long double.
10917 2016-08-03  Tom Tromey  <tom@tromey.com>
10919         [BZ #20311]
10920         * nptl_db/Makefile (headers): Add proc_service.h.
10921         * nptl_db/proc_service.h: Add include guard.  Use
10922         __BEGIN/__END_DECLS.
10923         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
10924         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
10925         arguments.
10928 2016-08-03  Florian Weimer  <fweimer@redhat.com>
10930         [BZ #17730]
10931         Avoid using memalign for TCB allocations.
10932         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
10933         (_dl_allocate_tls_storage): Use malloc and manual alignment.
10934         Avoid alignment gap in the TLS_DTV_AT_TP case.
10935         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
10936         determine the pointer to free.
10937         * nptl/tst-tls3-malloc.c: New test.
10938         * nptl/Makefile (tests): Add it.
10939         (tst-tls3-malloc): Link with libdl, libpthread.
10940         (LDFLAGS-tst-tls3-malloc): Set.
10941         (tst-tls3-malloc.out): Depend on DSO used in test.
10943 2016-08-03  Florian Weimer  <fweimer@redhat.com>
10945         [BZ #17730]
10946         Avoid using memalign for TLS allocations.
10947         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
10948         is_static member with to_free member.
10949         (union dtv): Use struct dtv_pointer.
10950         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
10951         dtv_pointer instead of is_static.
10952         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
10953         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
10954         instead of val.
10955         (allocate_dtv_entry): New function.
10956         (allocate_and_init): Return struct dtv_pointer.  Call
10957         allocate_dtv_entry instead of __libc_memalign.
10958         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
10959         instead of val.
10960         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
10961         instead of is_static.  Adjust call to allocate_and_init.
10962         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
10963         struct dtv_pointer instead of val.
10965 2016-08-03  Florian Weimer  <fweimer@redhat.com>
10967         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
10968         (MALLOC_ALIGN_MASK): Move ...
10969         * malloc/malloc-internal.h: ... to here.
10970         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
10972 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
10974         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
10975         (UDP_ENCAP_GTP1U): Likewise.
10977         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
10978         (PF_MAX): Update value.
10979         (AF_QIPCRTR): New macro.
10981 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
10983         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
10984         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10985         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10986         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
10987         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
10988         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
10989         s_truncf-vis3, s_trunc-vis3.
10990         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
10991         (CFLAGS-s_ceil-vis3.c): Likewise.
10992         (CFLAGS-s_floorf-vis3.c): Likewise.
10993         (CFLAGS-s_floor-vis3.c): Likewise.
10994         (CFLAGS-s_truncf-vis3.c): Likewise.
10995         (CFLAGS-s_trunc-vis3.c): Likewise.
10996         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
10997         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
10998         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
10999         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
11000         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
11001         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
11002         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
11003         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
11004         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
11005         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
11006         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
11007         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
11009 2016-08-02  David S. Miller  <davem@davemloft.net>
11011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
11012         (__nearbyint_vis3): Don't check for sNaN before float register is
11013         loaded with the incoming argument.
11014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
11015         (__nearbyintf_vis3): Likewise.
11016         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
11017         Likewise.
11018         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
11019         Likewise.
11021         * string/test-strncmp.c (do_test_limit): Make sure the test data
11022         stream is aligned as required for the type "CHAR".
11023         (do_test): Likewise.
11025 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
11027         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
11028         by beq instructions jumping to the end of the function.
11029         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
11030         clobber list. Use "i" constraint instead of "X".
11031         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
11032         of "X".
11034 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
11036         * bits/libc-header-start.h: New file.
11037         * Makefile (headers): Add bits/libc-header-start.h.
11038         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
11039         (__GLIBC_USE): New macro.
11040         * libio/stdio.h: Define
11041         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11042         <bits/libc-header-start.h> instead of including <features.h>.
11043         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
11044         (open_memstream): Likewise.
11045         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
11046         (__asprintf): Likewise.
11047         (asprintf): Likewise.
11048         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
11049         (getdelim): Likewise.
11050         (getline): Likewise.
11051         * string/string.h: Define
11052         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11053         <bits/libc-header-start.h> instead of including <features.h>.
11054         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
11055         (strndup): Likewise.
11056         * wcsmbs/wchar.h: Define
11057         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11058         <bits/libc-header-start.h> instead of including <features.h>.
11059         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
11060         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
11062 2016-08-02  Florian Weimer  <fweimer@redhat.com>
11064         Support linking against compatibility symbols, for use in tests.
11065         * include/libc-symbols.h (symbol_version_reference): New macro.
11066         (symbol_version): Use it.
11067         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
11068         (compat_symbol): Use compat_symbol_reference.
11069         (compat_symbol_1, compat_symbol_2): Remove.
11070         (compat_symbol_reference, compat_symbol_reference_1)
11071         (compat_symbol_reference_2): New macro.  Use
11072         symbol_version_reference.
11074 2016-08-02  Florian Weimer  <fweimer@redhat.com>
11076         [BZ #19469]
11077         * malloc/Makefile (CPPFLAGS): Compile tests with
11078         -DTEST_NO_MALLOPT.
11079         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
11081 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
11083         [BZ #20033]
11084         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
11085         finite version.
11086         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
11087         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
11088         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
11089         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
11090         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
11091         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
11092         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
11093         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
11094         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
11095         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
11096         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
11097         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
11098         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
11099         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
11100         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
11101         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
11102         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
11103         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
11104         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
11105         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
11106         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
11107         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
11108         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
11109         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
11110         in zero power.
11112 2016-08-02  Florian Weimer  <fweimer@redhat.com>
11114         [BZ #20370]
11115         * malloc/arena.c (get_free_list): Update comment.  Assert that
11116         arenas on the free list have no attached threads.
11117         (remove_from_free_list): New function.
11118         (reused_arena): Call it.
11120 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
11122         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
11123         when it is a NaN.
11124         [_IEEE_FP_INEXACT] Remove.
11125         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
11126         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
11127         when it is a NaN.
11128         [_IEEE_FP_INEXACT] Remove.
11129         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
11130         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
11131         when it is a NaN.
11132         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
11133         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
11134         when its absolute value is greater than 0x1.0p52.
11135         [_IEEE_FP_INEXACT] Remove.
11136         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
11137         when its absolute value is greater than 0x1.0p23.
11138         [_IEEE_FP_INEXACT] Remove.
11140 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
11142         * version.h (RELEASE): Set to "development"
11143         (VERSION): Set to 2.24.90.
11144         * NEWS: Add 2.25 section.
11146         * version.h (RELEASE): Set to "stable"
11147         (VERSION): Set to 2.24.
11148         * include/features.h (__GLIBC_MINOR__): Set to 24.
11150         * NEWS: Add 2.24 fixed bugs.
11151         * po/libc.pot: Regenerate.
11153 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
11155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
11156         [$(subdir) = math] (libm-sysdep_routines): Remove.
11157         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
11158         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
11159         s_truncf-vis3, s_trunc-vis3.
11160         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
11162         file.
11163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
11164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
11165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
11166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
11169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
11170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
11172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
11173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
11174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
11175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
11176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
11177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
11178         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11179         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11180         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11181         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
11182         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
11183         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
11184         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
11185         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
11186         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11187         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
11188         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11189         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11190         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
11191         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
11192         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11193         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
11194         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
11195         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11196         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
11197         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
11198         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
11199         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
11200         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11201         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11202         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
11203         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
11204         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
11205         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
11207 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
11209         [BZ #20384]
11210         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
11211         test-double-libmvec-sincos-avx-main.o,
11212         test-double-libmvec-sincos-avx2-main.o,
11213         test-double-libmvec-sincos-main.o,
11214         test-float-libmvec-sincosf-avx-main.o,
11215         test-float-libmvec-sincosf-avx2-main.o and
11216         test-float-libmvec-sincosf-main.o.
11217         test-float-libmvec-sincosf-avx512-main.o.
11218         ($(objpfx)test-double-libmvec-sincos): Also link with
11219         $(objpfx)test-double-libmvec-sincos-main.o.
11220         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
11221         $(objpfx)test-double-libmvec-sincos-avx-main.o.
11222         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
11223         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
11224         ($(objpfx)test-float-libmvec-sincosf): Also link with
11225         $(objpfx)test-float-libmvec-sincosf-main.o.
11226         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
11227         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
11228         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
11229         test-double-libmvec-sincos-avx512-main.o and
11230         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
11231         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
11232         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
11233         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
11234         (CFLAGS-test-double-libmvec-sincos.c): Removed.
11235         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
11236         (CFLAGS-test-double-libmvec-sincos-main.c): New.
11237         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
11238         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
11239         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
11240         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
11241         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
11242         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
11243         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
11244         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
11245         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
11246         -DREQUIRE_AVX2.
11247         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
11248         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
11249         -DREQUIRE_AVX512F.
11250         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
11251         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
11252         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
11253         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
11254         file.
11255         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
11256         Likewise.
11257         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
11258         Likewise.
11259         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
11260         Likewise.
11261         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
11262         Likewise.
11263         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
11264         Likewise.
11265         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
11266         Likewise.
11267         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
11268         Likewise.
11270 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
11272         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
11274 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
11276         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
11277         and typo in a comment about AT_HWCAP entry.
11279 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11281         * sysdeps/aarch64/libm-test-ulps: Updated.
11283 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11285         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
11286         of r13 as it is not restored in mvcle case.
11288 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
11290         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
11291         Rename "ret" to "__ret".
11292         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
11293         inline_syscall5, inline_syscall6): Likewise.
11295 2016-07-19   Will Newton  <will.newton@gmail.com>
11297         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
11298         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
11299         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
11300         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
11301         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
11303 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
11305         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
11306         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
11307         -mfpmath=387 with $(rtld-CFLAGS).
11308         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
11309         $(rtld-CFLAGS).
11311 2016-07-18   Ross Burton  <ross.burton@intel.com>
11312              Khem Raj  <raj.khem@gmail.com>
11314         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
11315         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
11316         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
11317         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
11318         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
11319         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
11320         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
11321         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
11322         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
11323         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
11324         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
11325         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
11326         R_METAG_TLS_DTPOFF): New.
11328 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11329             Matt Clay  <mclay@lycos.com>
11331         [BZ #20357]
11332         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
11333         to call __mpsin/__mpcos and to negate values.
11334         * math/auto-libm-test-in: Add test.
11335         * math/auto-libm-test-out: Regenerate.
11337 2016-07-18  Zack Weinberg  <zackw@panix.com>
11339         * grp/Makefile: Don't install the internal header grp-merge.h.
11341 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11343         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11345 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11347         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
11349 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11351         [BZ #15368]
11352         * sysdeps/unix/sysv/linux/nptl-signals.h
11353         (__nptl_clear_internal_signals): New function.
11354         (__libc_signal_block_all): Likewise.
11355         (__libc_signal_block_app): Likewise.
11356         (__libc_signal_restore_set): Likewise.
11357         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
11358         implementation.
11359         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
11360         the cached pid/tid value in pthread structure.
11362 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
11364         [BZ #20347]
11365         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
11367 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
11369         [BZ #20348]
11370         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
11371         preadv64, pwrite64 and pwritev64.
11373 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
11375         [BZ #20350]
11376         * posix/tst-preadwrite.c: Renamed to ...
11377         * posix/tst-preadwrite-common.c: This.
11378         (PREAD): Removed.
11379         (PWRITE): Likewise.
11380         (STRINGIFY): Likewise.
11381         (STRINGIFY2): Likewise.
11382         (do_prepare): Make it static and remove function arguments.
11383         (do_test): Likewise.
11384         (PREPARE): Updated.
11385         (TEST_FUNCTION): New.
11386         (name): Make it static.
11387         (fd): Likewise.
11388         (do_prepare): Use create_temp_file.
11389         (do_test): Renamed to ...
11390         (do_test_with_offset): This.  Make it static and accept offset.
11391         Properly check return value of PWRITE and PREAD.  Return bytes
11392         read.  Don't close fd nor unlink name.
11393         * posix/tst-preadwrite.c: Rewrite.
11394         * posix/tst-preadwrite64.c: Likewise.
11396 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
11398         [BZ #20309]
11399         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
11400         -mtls-dialect=gnu2 works.
11401         * configure: Regenerated.
11402         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
11403         (tests): Add tst-gnu2-tls1.
11404         (modules-names): Add tst-gnu2-tls1mod.
11405         ($(objpfx)tst-gnu2-tls1): New.
11406         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
11407         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
11408         * elf/tst-gnu2-tls1.c: New file.
11409         * elf/tst-gnu2-tls1mod.c: Likewise.
11410         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
11411         bytes for push in the PLT entry to align the stack.
11413 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
11415         [BZ #20349]
11416         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
11418 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11420         [BZ #18707]
11421         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
11422         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
11424 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11426         * sysdeps/unix/sysv/linux/sysdep.h
11427         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
11428         guards.
11429         * misc/tst-preadvwritev-common.c: New file.
11430         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
11431         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
11432         a check for files larger than 2GB.
11434         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11435         (__ASSUME_OFF_DIFF_OFF64): Remove define.
11436         * sysdeps/unix/sysv/linux/pread.c
11437         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
11438         __OFF_T_MATCHES_OFF64_T.
11439         * sysdeps/unix/sysv/linux/pread64.c
11440         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
11441         * sysdeps/unix/sysv/linux/preadv.c
11442         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
11443         * sysdeps/unix/sysv/linux/preadv64.c
11444         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
11445         * sysdeps/unix/sysv/linux/pwrite.c
11446         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
11447         * sysdeps/unix/sysv/linux/pwrite64.c
11448         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
11449         * sysdeps/unix/sysv/linux/pwritev.c
11450         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
11451         * sysdeps/unix/sysv/linux/pwritev64.c
11452         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
11454 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
11456         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11457         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
11459 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
11461         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
11463 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
11465         [BZ #20240]
11466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
11467         (CFLAGS-s_modf-ppc32.c): New variable.
11468         (CFLAGS-s_modff-ppc32.c): Likewise.
11469         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
11470         (CFLAGS-s_modf-ppc64.c): Likewise.
11471         (CFLAGS-s_modff-ppc64.c): Likewise.
11473 2016-07-07  Andreas Schwab  <schwab@suse.de>
11475         [BZ #20263]
11476         * nptl/tst-robust10.c: New test.
11477         * nptl/Makefile (tests): Add tst-robust10.
11479 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
11481         [BZ #20263]
11482         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
11484 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
11486         * sysdeps/s390/linkmap.h (struct link_map_machine):
11487         Remove member gotplt and add member jmprel.
11488         * sysdeps/s390/s390-32/dl-machine.h
11489         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
11490         instead of gotplt with &got[3].
11491         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
11492         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11494 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
11496         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
11498 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11500         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
11501         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
11502         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
11503         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
11504         * libio/vtables.c (_IO_vtable_check)
11505         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
11506         * libio/libioP.h (IO_set_accept_foreign_vtables)
11507         [!PTR_MANGLE]: Do not call PTR_MANGLE.
11509 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
11511         [BZ #20314]
11512         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
11513         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
11514         $(common-objpfx)cmath.
11515         ($(common-objpfx)cstdlib): New target.
11516         ($(common-objpfx)cmath): Likewise.
11518 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
11520         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
11522 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11524         [BZ #20327]
11525         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
11526         are not part of the string.
11528 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11530         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
11531         * nptl/tst-cancel4-common.h (fifoname): New variable.
11532         (fifofd): Likewise.
11533         (cl_fifo): New function.
11534         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
11535         SIGINT.
11536         (tf_open): Add early cancel test.
11538 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
11540         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
11542 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
11544         * sysdeps/generic/ldsodefs.h
11545         (dl_symbol_visibility_binds_local_p): New inline function.
11546         * elf/dl-addr.c (determine_info): Treat hidden and internal
11547         symbols as local.
11548         * elf/dl-lookup.c (do_lookup_x): Likewise.
11549         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
11551 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
11553         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
11554         invalid exception for a sNaN input.
11555         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11556         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
11557         (__nearbyint_vis3): Likewise
11558         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
11559         (__nearbyintf_vis3): Likewise
11560         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
11561         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11562         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
11563         Likewise.
11564         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
11565         Likewise.
11567 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
11569         [BZ #20139]
11570         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
11571         (HAVE_AVX512DQ_ASM_SUPPORT): This.
11572         * sysdeps/x86_64/configure.ac: Require assembler from binutils
11573         2.24 or above.
11574         (HAVE_AVX512_ASM_SUPPORT): Removed.
11575         (HAVE_AVX512DQ_ASM_SUPPORT): New.
11576         * sysdeps/x86_64/configure: Regenerated.
11577         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
11578         check unconditional.
11579         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
11580         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11581         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11582         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
11583         Likewise.
11584         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
11585         Likewise.
11586         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
11587         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
11588         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11589         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11590         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
11591         Likewise.
11592         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
11593         Likewise.
11594         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11595         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11596         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
11597         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
11598         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
11599         Likewise.
11600         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
11601         Likewise.
11602         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
11603         Likewise.
11604         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
11605         Likewise.
11606         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
11607         Likewise.
11608         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
11609         Likewise.
11610         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
11611         Likewise.
11612         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
11613         Likewise.
11614         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
11615         Likewise.
11616         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
11617         Likewise.
11618         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
11619         Likewise.
11621 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
11623         [BZ #20024]
11624         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
11625         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
11626         of this implementation of vector function.
11627         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
11628         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
11629         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
11630         Likewise.
11631         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
11632         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
11633         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
11634         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
11635         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
11636         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
11637         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
11638         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
11639         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
11640         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
11641         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
11642         for testing vector sincos with fixed ABI.
11643         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11644         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11645         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11646         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
11647         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11648         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11649         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11650         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
11651         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
11652         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
11653         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
11654         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
11655         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
11656         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
11657         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
11658         * sysdeps/x86_64/fpu/Makefile: Added new tests.
11660 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
11662         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
11664 2016-06-30  Anton Blanchard  <anton@samba.org>
11666         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
11667         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
11668         s_sinf-ppc64.
11669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
11670         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
11671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
11672         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
11674 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11676         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11677         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
11678         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
11679         e_expf-ppc64.
11680         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
11681         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
11682         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
11683         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
11685 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
11687         [BZ #20277]
11688         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
11689         when SHARED is defined.
11691 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
11693         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
11694         (index_arch_Prefer_ERMS): Likewise.
11695         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
11696         __memcpy_erms for Prefer_ERMS.
11697         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11698         (__memmove_erms): Enabled for libc.a.
11699         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
11700         __memmove_erms or Prefer_ERMS.
11701         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
11702         __mempcpy_erms for Prefer_ERMS.
11703         * sysdeps/x86_64/multiarch/memset.S (memset): Return
11704         __memset_erms for Prefer_ERMS.
11706 2016-06-30  Andreas Schwab  <schwab@suse.de>
11708         [BZ #20262]
11709         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
11710         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
11711         of memory.
11713 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
11715         [BZ #18645]
11716         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
11717         (test-extras): Add tst-cleanupx4aux.
11718         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
11719         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
11720         tst-cleanupx4aux.o.
11721         * nptl/tst-cleanupx4aux.c: New file.
11723 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
11725         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
11727 2016-06-29  Andreas Schwab  <schwab@suse.de>
11729         [BZ #20260]
11730         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
11731         address before the beginning of the string as an integer to avoid
11732         array-bounds warning.
11734 2016-06-28  Richard Henderson  <rth@redhat.com>
11736         * elf/elf.h (EM_BPF): New.
11737         (EM_NUM): Update.
11738         (R_BPF_NONE, R_BPF_MAP_FD): New.
11740         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
11741         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
11742         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
11743         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
11744         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
11745         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
11746         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
11747         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
11748         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
11749         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
11750         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
11751         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
11752         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
11753         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
11754         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
11755         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
11756         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
11757         (EM_NUM): Update.
11759 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
11761         [BZ #18960]
11762         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
11763         Set _nl_current_LC_CATEGORY_used to two instead of one.
11765 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
11767         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
11768         (do_test): ... this.
11769         (TEST_FUNCTION): New macro.
11770          Include test-skeleton.c.
11771         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
11772         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
11774 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
11776         [BZ #15479]
11777         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
11778         floating-point environment rather than just control word.
11779         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
11780         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
11781         floating-point environment, with "invalid" exceptions merged in,
11782         rather than just control word.
11783         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
11784         * math/libm-test.inc (trunc_test_data): Do not allow spurious
11785         "inexact" exceptions.
11787         [BZ #15479]
11788         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
11789         floating-point environment rather than just control word.
11790         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
11791         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
11792         floating-point environment, with "invalid" exceptions merged in,
11793         rather than just control word.
11794         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
11795         * math/libm-test.inc (floor_test_data): Do not allow spurious
11796         "inexact" exceptions.
11798         [BZ #15479]
11799         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
11800         floating-point environment rather than just control word.
11801         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
11802         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
11803         floating-point environment, with "invalid" exceptions merged in,
11804         rather than just control word.
11805         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
11806         * math/libm-test.inc (ceil_test_data): Do not allow spurious
11807         "inexact" exceptions.
11809 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
11811         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
11812         __libc_vfork.
11813         (__vfork) [IS_IN (libc)]: Remove alias.
11814         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
11815         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
11816         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
11818 2016-06-24  Torvald Riegel  <triegel@redhat.com>
11820         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
11821         of atomic_compare_and_exchange_bool_rel.
11822         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11823         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
11824         catomic_compare_and_exchange_bool_rel): Remove.
11825         * sysdeps/aarch64/atomic-machine.h
11826         (atomic_compare_and_exchange_bool_rel): Likewise.
11827         * sysdeps/alpha/atomic-machine.h
11828         (atomic_compare_and_exchange_bool_rel): Likewise.
11829         * sysdeps/arm/atomic-machine.h
11830         (atomic_compare_and_exchange_bool_rel): Likewise.
11831         * sysdeps/mips/atomic-machine.h
11832         (atomic_compare_and_exchange_bool_rel): Likewise.
11833         * sysdeps/microblaze/atomic-machine.h
11834         ( __arch_compare_and_exchange_bool_8_rel,
11835         __arch_compare_and_exchange_bool_16_rel): Likewise.
11836         * sysdeps/powerpc/atomic-machine.h
11837         ( __arch_compare_and_exchange_bool_8_rel,
11838         __arch_compare_and_exchange_bool_16_rel): Likewise.
11839         * sysdeps/powerpc/powerpc32/atomic-machine.h
11840         ( __arch_compare_and_exchange_bool_32_rel,
11841         __arch_compare_and_exchange_bool_64_rel): Likewise.
11842         * sysdeps/powerpc/powerpc64/atomic-machine.h
11843         ( __arch_compare_and_exchange_bool_32_rel,
11844         __arch_compare_and_exchange_bool_64_rel): Likewise.
11845         * sysdeps/tile/atomic-machine.h
11846         (atomic_compare_and_exchange_bool_rel): Likewise.
11848 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
11850         [BZ #20296]
11851         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
11852         when either argument is a NaN.
11853         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
11854         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
11856         * math/libm-test.inc (snan_value_ld): New macro.
11857         (isgreater_test_data): Add sNaN tests.
11858         (isgreaterequal_test_data): Likewise.
11859         (isless_test_data): Likewise.
11860         (islessequal_test_data): Likewise.
11861         (islessgreater_test_data): Likewise.
11862         (isunordered_test_data): Likewise.
11863         (nextafter_test_data): Likewise.
11864         (nexttoward_test_data): Likewise.
11865         (remainder_test_data): Likewise.
11866         (remquo_test_data): Likewise.
11867         (significand_test_data): Likewise.
11868         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
11870 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11872         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
11873         environment macros are defined.
11874         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
11876 2016-06-23  Florian Weimer  <fweimer@redhat.com>
11878         [BZ #20191]
11879         Implement vtable verification in libio.
11880         * Makerules (shlib.lds): Place __libc_IO_vtables section.
11881         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
11882         * debug/vdprintf_chk.c (__vdprintf_chk): Call
11883         _IO_new_file_init_internal instead of _IO_file_init.
11884         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
11885         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
11886         * libio/Makefile (routines): Add vtables.
11887         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
11888         (_IO_init): Remove, not for internal use.
11889         (_IO_init_internal): Declare, internal replacement for _IO_init.
11890         (_IO_file_init): Remove, not for internal use.
11891         (_IO_new_file_init): Remove, not for internal use.
11892         (_IO_new_file_init_internal): Declare, internal replacement for
11893         _IO_new_file_init.
11894         (_IO_old_file_init): Remove, not for internal use.
11895         (_IO_old_file_init_internal): Declare, internal replacement for
11896         _IO_old_file_init.
11897         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
11898         internal use.
11899         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
11900         Declare.
11901         (libio_vtable): New macro.
11902         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
11903         functions.
11904         * libio/fileops.c (_IO_new_file_init_internal): Rename from
11905         _IO_new_file_init.
11906         (_IO_new_file_init): New externally visible wrapper which disables
11907         vtable verification.
11908         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
11909         Define as vtables.
11910         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
11911         (_IO_init): New externally visible wrapper which disables
11912         vtable verification.
11913         * libio/iofdopen.c (_IO_new_fdopen): Call
11914         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
11915         comment.
11916         * libio/iofopen.c (__fopen_internal): Call
11917         _IO_new_file_init_internal instead of _IO_file_init.
11918         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
11919         Define as vtables.
11920         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
11921         _IO_new_file_init_internal instead of _IO_file_init.
11922         * libio/iopopen.c (_IO_new_popen): Likewise.
11923         (_IO_proc_jumps): Define as vtable.
11924         * libio/iovdprintf.c (_IO_vdprintf): Call
11925         _IO_new_file_init_internal instead of _IO_file_init.
11926         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
11927         (__open_memstream): Call _IO_init_internal instead of _IO_init.
11928         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
11929         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
11930         _IO_old_file_init.
11931         (_IO_old_file_init): New externally visible wrapper which disables
11932         vtable verification.
11933         (_IO_old_file_jumps): Define as vtable.
11934         * libio/oldiofdopen.c (_IO_old_fdopen): Call
11935         _IO_old_file_init_internal instead of _IO_old_file_init.
11936         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
11937         * libio/oldiopopen.c (_IO_old_popen): Likewise.
11938         (_IO_old_proc_jumps): Define as vtable.
11939         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
11940         Define as vtables.
11941         * libio/vtables.c: New file.
11942         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
11943         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
11944         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
11945         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
11946         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
11947         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
11948         instead of _IO_init.
11950 2016-06-23  Florian Weimer  <fweimer@redhat.com>
11952         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
11954 2016-06-23  Florian Weimer  <fweimer@redhat.com>
11956         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
11957         potentially unused.
11959 2016-06-22  Florian Weimer  <fweimer@redhat.com>
11961         * test-skeleton.c (write_message): New function.
11962         * malloc/tst-mallocfork2.c (write_message): Remove.
11963         * debug/tst-longjmp_chk2.c (write_indented): New function.
11964         (write_message): Remove.
11965         (stackoverflow_handler): Call write_indented.
11967 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
11969         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
11970         "inexact" exceptions after fnstenv.
11971         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11972         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
11973         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
11975 2015-06-22  Zack Weinberg  <zackw@panix.com>
11977         * sysdeps/generic/bits/hwcap.h: Moved to ...
11978         * bits/hwcap.h: Here.
11980 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
11982         * sysdeps/aarch64/memcpy.S (memcpy):
11983         Further tuning for performance.
11985 2016-06-21  Florian Weimer  <fweimer@redhat.com>
11987         [BZ #20284]
11988         * malloc/arena.c (reused_arena): Do not return NULL if we start
11989         out with a non-corrupted arena.
11991 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11993         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
11994         * misc/tst-preadvwritev.c: New file.
11995         * misc/tst-preadvwritev64.c: Likewise.
11996         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
11997         usage.
11998         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
11999         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
12000         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
12001         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
12003 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
12005         [BZ #19654]
12006         * sysdeps/x86_64/fpu/Makefile: Added new tests.
12007         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
12008         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
12009         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
12010         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
12011         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
12012         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
12013         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
12014         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
12015         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
12016         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
12017         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
12018         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
12019         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
12020         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
12021         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
12022         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
12023         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
12024         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
12025         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
12026         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
12027         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
12028         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
12029         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
12030         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
12031         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
12033 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
12035         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
12036         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
12038 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
12040         * sysdeps/aarch64/memcpy.S (memcpy):
12041         Rewrite of optimized memcpy and memmove.
12042         * sysdeps/aarch64/memmove.S (memmove): Remove
12043         memmove code (merged into memcpy.S).
12045 2016-06-20  Florian Weimer  <fweimer@redhat.com>
12047         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
12048         * sysdeps/generic/dl-dtv.h: New file.
12049         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12050         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
12051         (dtv_t): Remove.
12052         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12053         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
12054         (dtv_t): Remove.
12055         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12056         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
12057         (dtv_t): Remove.
12058         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12059         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
12060         (dtv_t): Remove.
12061         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12062         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
12063         (dtv_t): Remove.
12064         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12065         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
12066         (dtv_t): Remove.
12067         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12068         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
12069         (dtv_t): Remove.
12070         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
12071         (dtv_t): Remove.
12072         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12073         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
12074         (dtv_t): Remove.
12075         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12076         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
12077         (dtv_t): Remove.
12078         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12079         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
12080         (dtv_t): Remove.
12081         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12082         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
12083         (dtv_t): Remove.
12084         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12085         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
12086         (dtv_t): Remove.
12087         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12088         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
12089         (dtv_t): Remove.
12090         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12091         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
12092         (dtv_t): Remove.
12093         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12094         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
12095         (dtv_t): Remove.
12097 2016-06-20  Florian Weimer  <fweimer@redhat.com>
12099         Revert symbol poisoning of  __malloc_initialize_hook.
12100         * include/stdc-predef.h (__malloc_initialize_hook): Remove
12101         poisoning.
12102         * malloc/Makefile: Remove un-poisoning.
12103         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
12104         instead of old__malloc_initialize_hook.
12105         * malloc/malloc-hooks.h: Likewise.
12106         * malloc/malloc.c: Likewise.
12107         * malloc/mcheck-init.c: Likewise.
12109 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
12111         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
12113 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
12115         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
12116         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
12117         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
12118         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
12120 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12122         * NEWS: Mention addition of nextup and nextdown.
12123         * manual/arith.texi: Document nextup and nextdown.
12124         * manual/libm-err-tab.pl: Add nextup and nextdown.
12125         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
12126         * math/Versions (libm): Add GLIBC_2.24.
12127         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
12128         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
12129         Add new test.
12130         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
12131         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
12132         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
12133         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
12134         (nextup_test_data): Likewise.
12135         (nextdown_test_data): Likewise.
12136         * math/s_nextdown.c: New file.
12137         * math/s_nextdownf.c: Likewise.
12138         * math/s_nextdownl.c: Likewise.
12139         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
12140         F(nextup): New function.
12141         F(nextdown): Likewise.
12142         * math/tgmath.h: Add nextup and nextdown.
12143         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
12144         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
12145         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
12146         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
12147         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
12148         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
12149         Add nextup and nextdown.
12150         (CFLAGS-nldbl-nextup.c): New variable.
12151         (CFLAGS-nldbl-nextdown.c): Likewise.
12152         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
12153         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
12154         * sysdeps/nacl/libm.abilist: Update.
12155         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12156         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12157         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12158         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12159         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12160         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12161         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12162         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12163         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12164         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12165         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12166         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12169         Likewise.
12170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12172         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12173         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12174         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12175         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12176         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12177         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
12178         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
12179         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12180         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12181         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
12182         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12184 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12186         * manual/pattern.texi: Fix typos & grammar errors.
12188 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12190         * manual/search.texi: Fix typos & grammar errors.
12192 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12194         * manual/message.texi: Fix typos & grammar errors.
12196 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
12198         * manual/contrib.texi: Fix spelling typos.
12199         * manual/crypt.texi: Likewise.
12200         * manual/filesys.texi: Likewise.
12201         * manual/locale.texi: Likewise.
12202         * manual/message.texi: Likewise.
12203         * manual/nss.texi: Likewise.
12204         * manual/string.texi: Likewise.
12206 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12208         * manual/locale.texi: Fix typos & grammar errors.
12210 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12212         * manual/charset.texi: Fix typos & grammar errors.
12214 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12216         * manual/string.texi: Fix typos.
12218 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12220         * manual/ctype.texi: Fix typos.
12222 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12224         * manual/memory.texi: Fix various typos & grammar errors.
12226 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
12228         [BZ #20255]
12229         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
12230         * math/libm-test.inc (fdim_test_data): Add another test.
12232         [BZ #6796]
12233         [BZ #20255]
12234         [BZ #20256]
12235         * math/s_fdim.c: Include <math_private.h>.
12236         (__fdim): Use math_narrow_eval on result.
12237         * math/s_fdimf.c: Include <math_private.h>.
12238         (__fdimf): Use math_narrow_eval on result.
12239         * sysdeps/i386/fpu/s_fdim.S: Remove file.
12240         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
12241         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
12242         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
12243         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
12244         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
12245         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
12246         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
12247         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
12248         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
12249         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
12250         * math/libm-test.inc (fdim_test_data): Expect errno setting on
12251         overflow.  Add sNaN tests.
12253         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
12254         fpclassify.
12255         * math/s_fdimf.c (__fdimf): Likewise.
12256         * math/s_fdiml.c (__fdiml): Likewise.
12258 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12260         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12261         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
12262         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12263         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
12264         ifunc'ed strcasecmp/strncasecmp.
12265         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
12266         [EALIGN]: Removed.
12267         [END]: Likewise.
12268         [__strcasecmp]: Define instead of the above to control symbol name.
12269         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
12270         for __strcasecmp_power8.
12271         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
12272         for __strncasecmp_power8.
12273         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
12274         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
12275         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
12276         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
12277         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
12278         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
12280 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
12282         [BZ #20252]
12283         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
12284         arguments when second argument is a NaN.
12285         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
12286         qNaN tests.
12288         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
12289         (conj_test_data): Likewise.
12290         (copysign_test_data): Likewise.
12291         (creal_test_data): Likewise.
12292         (fma_test_data): Likewise.
12293         (fmod_test_data): Likewise.
12295         [BZ #20250]
12296         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
12297         itself.
12298         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
12299         zero input to itself.
12300         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
12301         Likewise.
12302         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
12303         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
12304         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
12305         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
12306         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
12308 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12310         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
12311         * nptl/tst-cancel4-common.c: New file.
12312         * nptl/tst-cancel4-common.h: Likewise.
12313         * nptl/tst-cancel4.c: Move common definitions to
12314         tst-cancel4-common.{c,h} file.
12315         * nptl/tst-cancel4_1.c: New test.
12316         * nptl/tst-cancel4_2.c: New test.
12318 2016-06-13  Florian Weimer  <fweimer@redhat.com>
12320         [BZ #20248]
12321         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
12322         (write_message): New function.
12323         (stackoverflow_handler): Call it instead of printf, to avoid
12324         excessive stack usage by printf.
12325         (do_test): Restore SIGSEGV, SIGBUS default handlers.
12327 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12329         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
12330         (prio_inherit_missing): Remove define.
12331         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12332         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12333         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
12334         Likewise.
12335         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12336         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12337         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12338         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12339         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12340         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12342 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
12344         [BZ #19670]
12345         [BZ #19672]
12347         * io/test-lfs.c (do_prepare): Use xmalloc.
12348         * io/tst-fcntl.c (do_prepare): Likewise.
12349         * libio/tst-fopenloc.c (do_bz17916): Likewise.
12350         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
12351         * login/tst-utmp.c (do_prepare): Likewise.
12352         * posix/tst-exec.c (do_prepare): Likewise.
12353         * posix/tst-pathconf.c (prepare): Likewise.
12354         * posix/tst-spawn.c (do_prepare): Likewise.
12355         * posix/tst-truncate.c (do_prepare): Likewise.
12356         * rt/tst-aio.c (do_prepare): Likewise.
12357         * rt/tst-aio64.c (do_prepare): Likewise.
12359 2016-06-11  Florian Weimer  <fweimer@redhat.com>
12361         [BZ #20237]
12362         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
12363         (get*ent): Set entidx to NULL during initialization.  If entidx is
12364         NULL, start iteration from the beginning.
12366 2016-06-11  Florian Weimer  <fweimer@redhat.com>
12368         * malloc/malloc.c (musable): Return correct size for dumped fake
12369         mmapped chunk.
12371 2016-06-11  Florian Weimer  <fweimer@redhat.com>
12373         [BZ #20222]
12374         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
12375         (_IO_cookie_write): Likewise.
12376         (_IO_cookie_seek): Likewise.
12377         (_IO_cookie_close): Likewise.
12378         (_IO_old_cookie_seek): Likewise.
12379         (set_callbacks): New function.
12380         (_IO_cookie_init): Call set_callbacks to copy callbacks.
12382 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
12384         * locale/programs/localedef.c (oldstyle_tables): Remove.
12385         * locale/programs/localedef.h (oldstyle_tables): Likewise.
12387 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
12389         [BZ #20240]
12390         * math/Makefile (CFLAGS-s_modf.c): New variable.
12391         (CFLAGS-s_modff.c): Likewise.
12392         (CFLAGS-s_modfl.c): Likewise.
12393         * math/libm-test.inc (modf_test_data): Add sNaN tests.
12395 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
12397         [BZ #20215]
12398         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
12399         [!__GNUC_PREREQ (3,2)]: Likewise.
12401 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
12403         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
12404         (msghdr.msg_controllen): Likewise.
12405         (cmsghdr.cmsg_len): Likewise.
12406         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
12407         ptw-oldsendmsg.
12408         (CFLAGS-oldrecvmsg.c): Remove rule.
12409         (CFLAGS-oldsendmsg.c): Likewise.
12410         (CFLAGS-recvmsg.c): Add rule.
12411         (CFLAGS-sendmsg.c): Likewise.
12412         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
12413         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
12414         (CFLAGS-recvmsg.c): Remove rule.
12415         (CFLAGS-sendmsg.c): Likewise.
12416         (CFLAGS-oldrecvmsg.c): Likewise.
12417         (CFLAGS-oldsendmsg.c): Likewise.
12418         (CFLAGS-recvmmsg.c): Likewise.
12419         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
12420         to kernel defined interfaces.
12421         (msghdr.msg_controllen): Likewise.
12422         (cmsghdr.cmsg_len): Likewise.
12423         (msghdr.__glibc_reserved1): Remove member.
12424         (msghdr.__glibc_reserved2): Likewise.
12425         (cmsghdr.__glibc_reserved1): Likewise.
12426         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
12427         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
12428         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
12429         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
12430         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
12431         version.
12432         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
12433         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
12434         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
12435         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
12436         Remove recvmsg and sendmsg.
12437         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
12438         Likewise.
12439         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
12440         Likewise.
12441         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
12442         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
12443         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
12444         Likewise.
12445         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
12446         Likewise.
12447         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
12448         [libc] (GLIBC_2.24): Likewise.
12449         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
12450         Likewise.
12451         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
12452         Likewise.
12453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12454         [libc] (GLIBC_2.24): Likewise.
12455         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
12456         Likewise.
12457         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
12458         Likewise.
12459         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
12460         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
12461         Likewise.
12462         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
12463         Likewise.
12464         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
12465         Likewise.
12466         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
12467         Likewise.
12468         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
12469         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
12470         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
12471         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
12472         version for {recv,send,recm,sendm}msg.
12473         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12474         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12475         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12476         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12477         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12478         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12479         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12480         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12481         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12482         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12483         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12484         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12486         Likewise.
12487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12488         Likewise.
12489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12491         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12492         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12493         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12494         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12495         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12496         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
12498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
12499         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12500         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12501         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12503 2016-06-10  Florian Weimer  <fweimer@redhat.com>
12505         [BZ #19564]
12506         Remove __malloc_initialize_hook from the API.
12507         * malloc/malloc.h (__malloc_initialize_hook): Remove.
12508         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
12509         #pragma GCC poison.
12510         * malloc/malloc-hooks.h: New file.
12511         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
12512         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
12513         (old__malloc_initialize_hook): Rename from
12514         __malloc_initialize_hook to evade poisoning.  Turn into compat
12515         symbol.
12516         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
12517         __malloc_initialize_hook.
12518         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
12519         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
12520         * manual/memory.texi (Hooks for Malloc): Remove
12521         __malloc_initialize_hook.  Adjust hook example.
12523 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
12525         [BZ #20235]
12526         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
12527         itself.
12528         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12529         * math/libm-test.inc (log2_test_data): Add sNaN tests.
12531         [BZ #20234]
12532         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
12533         infinity or NaN input to itself.
12535         [BZ #20233]
12536         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
12537         to itself.
12539         [BZ #20232]
12540         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
12541         itself.
12543 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
12545         * sysdeps/x86_64/start.S (_start): Always indirect branch to
12546         __libc_start_main via GOT.
12548 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
12550         * sysdeps/x86_64/memcopy.h: New file.
12551         * sysdeps/x86_64/wordcopy.c: Likewise.
12553 2016-06-09  Florian Weimer  <fweimer@redhat.com>
12555         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
12556         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
12557         <cstdlib>.
12558         (optimization_barrier): New.
12559         (do_test): Use it.  Call quick_exit in the global namespace.
12560         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
12561         instead of <cstdlib>, <thread>.
12562         (optimization_barrier): New.
12563         (non_main_thread): Adjust declaration.  Call optimization_barrier.
12564         Call quick_exit in the global namespace.
12565         (do_test): Call optimization_barrier.  Use pthread_create,
12566         pthread_join instead of std::thread.
12568 2016-06-09  Andreas Schwab  <schwab@suse.de>
12570         [BZ #19755]
12571         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
12572         new entries in auto-propagate mode.
12573         * nscd/grpcache.c (cache_addgr): Likewise.
12575 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
12577         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
12578         New functions.
12579         (add_temp_file): Use them.
12581 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
12583         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
12585 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
12587         [BZ #20229]
12588         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
12589         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
12590         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
12592         [BZ #20228]
12593         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
12594         itself.
12595         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
12596         * math/libm-test.inc (log10_test_data): Add sNaN tests.
12598         [BZ #20227]
12599         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
12600         itself.
12601         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12602         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
12603         * math/libm-test.inc (log_test_data): Add sNaN tests.
12605         [BZ #20226]
12606         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
12607         itself.
12608         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12609         * math/libm-test.inc (exp_test_data): Add sNaN tests.
12610         (exp10_test_data): Likewise.
12611         (expm1_test_data): Likewise.
12613         [BZ #20225]
12614         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
12615         itself.
12616         * math/s_ldexpf.c (__ldexpf): Likewise.
12617         * math/s_ldexpl.c (__ldexpl): Likewise.
12618         * math/w_scalbln.c (__w_scalbln): Likewise.
12619         * math/w_scalblnf.c (__w_scalblnf): Likewise.
12620         * math/w_scalblnl.c (__w_scalblnl): Likewise.
12621         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
12622         (scalbln_test_data): Likewise.
12624         [BZ #20224]
12625         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
12626         argument to itself.
12627         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
12629 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
12631         [BZ #19776]
12632         * sysdeps/x86_64/memcpy.S: Make it dummy.
12633         * sysdeps/x86_64/mempcpy.S: Likewise.
12634         * sysdeps/x86_64/memmove.S: New file.
12635         * sysdeps/x86_64/memmove_chk.S: Likewise.
12636         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
12637         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
12638         * sysdeps/x86_64/memmove.c: Removed.
12639         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
12640         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12641         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
12642         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
12643         Likewise.
12644         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12645         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12646         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12647         memcpy-sse2-unaligned, memmove-avx-unaligned,
12648         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
12649         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12650         (__libc_ifunc_impl_list): Replace
12651         __memmove_chk_avx512_unaligned_2 with
12652         __memmove_chk_avx512_unaligned.  Remove
12653         __memmove_chk_avx_unaligned_2.  Replace
12654         __memmove_chk_sse2_unaligned_2 with
12655         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
12656         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
12657         with __memmove_avx512_unaligned.  Replace
12658         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
12659         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
12660         with __memcpy_chk_avx512_unaligned.  Remove
12661         __memcpy_chk_avx_unaligned_2.  Replace
12662         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
12663         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
12664         Replace __memcpy_avx512_unaligned_2 with
12665         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
12666         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
12667         with __mempcpy_chk_avx512_unaligned.  Remove
12668         __mempcpy_chk_avx_unaligned_2.  Replace
12669         __mempcpy_chk_sse2_unaligned_2 with
12670         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
12671         Replace __mempcpy_avx512_unaligned_2 with
12672         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
12673         Replace __mempcpy_sse2_unaligned_2 with
12674         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
12675         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
12676         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
12677         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
12678         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
12679         (ENTRY): Removed.
12680         (END): Likewise.
12681         (ENTRY_CHK): Likewise.
12682         (libc_hidden_builtin_def): Likewise.
12683         Don't include ../memcpy.S.
12684         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
12685         __memcpy_chk_avx512_unaligned_erms and
12686         __memcpy_chk_avx512_unaligned.  Use
12687         __memcpy_chk_avx_unaligned_erms and
12688         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
12689         Default to __memcpy_chk_sse2_unaligned.
12690         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12691         Change function suffix from unaligned_2 to unaligned.
12692         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
12693         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
12694         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
12695         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
12696         (ENTRY): Removed.
12697         (END): Likewise.
12698         (ENTRY_CHK): Likewise.
12699         (libc_hidden_builtin_def): Likewise.
12700         Don't include ../mempcpy.S.
12701         (mempcpy): New.  Add a weak alias.
12702         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
12703         __mempcpy_chk_avx512_unaligned_erms and
12704         __mempcpy_chk_avx512_unaligned.  Use
12705         __mempcpy_chk_avx_unaligned_erms and
12706         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
12707         Default to __mempcpy_chk_sse2_unaligned.
12709 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
12711         [BZ #19881]
12712         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
12713         into ...
12714         * sysdeps/x86_64/memset.S: This.
12715         (__bzero): Removed.
12716         (__memset_tail): Likewise.
12717         (__memset_chk): Likewise.
12718         (memset): Likewise.
12719         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
12720         defined.
12721         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
12722         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
12723         (__memset_zero_constant_len_parameter): Check SHARED instead of
12724         PIC.
12725         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12726         memset-avx2 and memset-sse2-unaligned-erms.
12727         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12728         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
12729         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
12730         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12731         (__bzero): Enabled.
12732         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
12733         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
12734         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
12735         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
12736         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
12737         (memset): Removed.
12738         (__memset_chk): Likewise.
12739         (MEMSET_SYMBOL): New.
12740         (libc_hidden_builtin_def): Replace __memset_sse2 with
12741         __memset_sse2_unaligned.
12742         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
12743         __memset_chk_sse2 and __memset_chk_avx2 with
12744         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
12745         Use __memset_chk_sse2_unaligned_erms or
12746         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
12747         __memset_chk_avx512_unaligned_erms and
12748         __memset_chk_avx512_unaligned.
12750 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12752         * math/gen-auto-libm-test.c (fp_format_desc): remove
12753         suffix member.
12754         (output_generic_value): Remove usage of suffix member,
12755         and the resulting unuse of the fp_format argument.
12756         (output_for_one_input_case): Remove unused fp_format
12757         parameter.
12759         * math/auto-libm-test-out: Regenerate.
12761         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
12762         usage with TEST_COND_ibm128.
12763         (TEST_COND_flt_32): Remove.
12764         (TEST_COND_dbl_64): Remove.
12765         (TEST_COND_ldbl_96_intel): Remove.
12766         (TEST_COND_ldbl_96_m68k): Remove.
12767         (TEST_COND_ldbl_128): Remove.
12769 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12771         * auto-libm-test-in:
12772         Replace flt-32 usage with binary32.
12773         Replace dbl-64 usage with binary64.
12774         Replace ldbl-intel-96 usage with intel96.
12775         Replace ldbl-m68k-96 usage with m68k96.
12776         Replace ldbl-128ibm usage with ibm128.
12777         Replace ldbl-128 usage with binary128.
12779         * auto-libm-test-out: Regenerate.
12781 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12783         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
12784         (parse_ulps): Dynamically generate type name matching
12785         string from all_floats.
12786         (get_ulps): Generate the ulps as an array instead.
12787         (output_ulps): Dynamically compose the type based
12788         on the number of supported formats, and print
12789         the indices as type specific helper macros.
12791         * math/libm-test.inc: Remove comment about CHOOSE.
12792         (ulp_data): Generate the type in libm-test-ulps.h.
12793         (ULP_IDX): New macro.
12794         (find_ulps): Update usage of max_ulp.
12796         * math/test-double-vlen2.h (CHOOSE): Remove.
12797         * math/test-double-vlen4.h (CHOOSE): Likewise.
12798         * math/test-double-vlen8.h (CHOOSE): Likewise.
12799         * math/test-float.c (CHOOSE): Likewise.
12800         * math/test-float-finite.c (CHOOSE): Likewise.
12801         * math/test-double.c (CHOOSE): Likewise.
12802         * math/test-double-finite.c (CHOOSE): Likewise.
12803         * math/test-idouble.c (CHOOSE): Likewise.
12804         * math/test-ifloat.c (CHOOSE): Likewise.
12805         * math/test-ildoubl.c (CHOOSE): Likewise.
12806         * math/test-ldouble-finite.c (CHOOSE): Likewise.
12807         * math/test-ldouble.c (CHOOSE): Likewise.
12809         * math/test-float.h (TEST_FLOAT): Remove.
12810         * math/test-double.h (TEST_DOUBLE): Likewise.
12811         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
12813 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12815         * math/gen-libm-test.pl: (apply_lit): New subroutine.
12816         (parse_args): Strip C suffix from floating point literals
12817         typed with 'f' and wrap them with LIT().
12819         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
12820         (test_ff_f_data_nexttoward): Rename to
12821         (test_fj_f_data): New struct.
12822         (nexttoward_test_data): Relabel tests as
12823         TEST_fj_f instead of TEST_ff_f.
12825 2016-06-08  Florian Weimer  <fweimer@redhat.com>
12827         Emacs bug 23726.
12828         * malloc/malloc.c (dumped_main_arena_start): Update comment.
12829         (__libc_realloc): Correct size computation for dumped fake mmapped
12830         chunks.
12832 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
12834         [BZ #20219]
12835         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
12836         to itself.
12837         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
12839         [BZ #20218]
12840         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
12841         to itself.
12842         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
12844 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
12846         [BZ #20195]
12847         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
12848         check to ...
12849         (init_cpu_features): Here.
12851 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
12853         [BZ #20214]
12854         * sysdeps/unix/sysv/linux/bits/in.h
12855         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
12856          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
12857         Define to 1.
12858         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
12859          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
12860         Define to 0.
12861         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
12862         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
12864 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
12866         [BZ #20198]
12867         * stdlib/Makefile (tests): Add tst-quick_exit, and
12868         tst-thread-quick_exit.
12869         [ifeq ($(have-cxx-thread_local),yes)]
12870         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
12871         (CFLAGS-tst-thread-quick_exit.o): Likewise.
12872         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
12873         (LDLIBS-tst-thread-quick_exit): Likewise.
12874         [ifneq ($(have-cxx-thread_local),yes)]
12875         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
12876         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
12877         If run_dtors is true call __call_tls_dtors.
12878         (exit): Call __run_exit_handlers with run_dtors set to true.
12879         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
12880         definition.
12881         * stdlib/quick_exit.c (quick_exit): Remove function.
12882         (__new_quick_exit): New function.
12883         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
12884         function.
12885         * stdlib/tst-quick_exit.cc: New file.
12886         * stdlib/tst-thread-quick_exit.cc: New file.
12887         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
12888         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
12889         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
12890         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
12891         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
12892         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
12893         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
12894         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
12895         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
12896         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
12897         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
12898         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
12899         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
12900         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
12901         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
12902         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
12903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
12904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
12905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
12906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
12907         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
12908         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
12909         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
12910         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
12911         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
12912         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
12913         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
12914         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
12915         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
12916         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
12918 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
12920         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
12921         a typo in comments.
12923 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
12925         [BZ #20213]
12926         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
12927         argument to itself.
12928         * math/libm-test.inc (asin_test_data): Add sNaN tests.
12930 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12932         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
12933         required flags.
12934         (CFLAGS-pwritev64.c): Likewise.
12935         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
12936         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
12937         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
12938         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12939         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
12940         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
12941         syscall from auto-generation.
12942         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
12943         [WORDSIZE == 64] (pwritev64): Remove macro.
12944         [!PWRITEV] (PWRITEV): Likewise.
12945         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
12946         [!PWRITEV] (PWRITE): Likewise.
12947         [!PWRITEV] (OFF_T): Likewise.
12948         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
12949         (LO_HI_LONG): Remove macro.
12950         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
12951         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
12952         (PWRITEV): Remove macro.
12953         (PWRITEV_REPLACEMENTE): Likewise.
12954         (PWRITE): Likewise.
12955         (OFF_T): Likewise.
12956         (pwritev64): New function.
12957         * nptl/tst-cancel4.c (tf_writev): Add test.
12959         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
12960         required flags.
12961         (CFLAGS-preadv64.c): Likewise.
12962         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
12963         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
12964         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
12965         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
12966         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
12967         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
12968         syscall from auto-generation.
12969         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
12970         [WORDSIZE == 64] (preadv64): Remove macro.
12971         [!PREADV] (PREADV): Likewise.
12972         [!PREADV] (PREADV_REPLACEMENT): Likewise.
12973         [!PREADV] (PREAD): Likewise.
12974         [!PREADV] (OFF_T): Likewise.
12975         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
12976         (LO_HI_LONG): Remove macro.
12977         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
12978         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
12979         (PREADV): Remove macro.
12980         (PREADV_REPLACEMENTE): Likewise.
12981         (PREAD): Likewise.
12982         (OFF_T): Likewise.
12983         (preadv64): New function.
12984         * nptl/tst-cancel4.c (tf_preadv): Add test.
12986 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
12988         [BZ #20212]
12989         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
12990         argument to itself.
12991         * math/libm-test.inc (acos_test_data): Add sNaN tests.
12993 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12995         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
12996         New symbol defined as libc_hidden_def.
12997         (strcasestr): Became a weak alias to __strcasestr.
12998         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
12999         according to multi-arch support.  Move __stpncpy hidden
13000         definition from here to...
13001         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
13002         symbol stpncpy.
13003         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
13004         libc_hidden_builtin_def.
13005         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
13006         memset symbol to use when multi-arch support is available.
13008 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
13010         * dlfcn/tst-rec-dlopen.c: Include string.h.
13012 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
13014         * manual/install.texi: Remove mention of --without-tls
13015         * INSTALL: Regenerate.
13017 2016-06-05  Florian Weimer  <fweimer@redhat.com>
13019         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
13020         Remove.
13021         (call_function, interposed_malloc_called): New variables.
13022         (malloc): New function.
13023         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
13024         and clear call_function as needed.
13026 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
13028         * include/wchar.h (__wmemset): Use __typeof.
13030 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
13032         * include/wchar.h (__wmemset): Declare function without typeof.
13034 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
13036         [BZ #20205]
13037         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
13038         exponent when incrementing negative subnormal with low mantissa
13039         word zero.
13040         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
13041         Add another test.
13043 2016-06-03  Florian Weimer  <fweimer@redhat.com>
13045         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
13046         __wmemset instead of wmemset.
13048 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
13050         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
13051         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
13052         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
13053         __USE_KERNEL_IPV6_DEFS to 0.
13054         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
13055         Update comment.
13057 2016-06-01  Florian Weimer  <fweimer@redhat.com>
13059         [BZ #19861]
13060         Do not use IFUNC resolver with potentially unrelocated symbol.
13061         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
13062         (DEFINE_FORK): Remove macro and inline definition.
13063         (fork_alias): Renamed from fork_ifunc.
13064         (__fork_alias): Renamed from __fork_ifunc.
13066 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
13068         [BZ 19653]
13069         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
13070         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
13072 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13074         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
13075         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
13076         i386-linux-gnu).
13077         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
13078         Set to no.
13079         * sysdeps/mach/hurd/configure: Refresh.
13081 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13083         [BZ #20178]
13084         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
13085         on failure instead of exit.
13087 2016-05-30  Roland McGrath  <roland@hack.frob.com>
13089         [BZ #3629]
13090         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
13091         of POSIX.1-2008.
13093 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13095         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
13096           Use PLT entry for calling _hurd_self_sigstate.
13098 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
13100         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
13101         available logical processors with SMT level type sharing L2
13102         cache for Intel processors.
13104 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
13106         [BZ #20160]
13107         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
13108         argument to itself before returning the result.
13109         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
13110         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
13111         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
13112         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
13113         Likewise.
13114         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
13115         Likewise.
13116         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
13117         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
13118         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
13119         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
13120         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
13121         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
13123         [BZ #20160]
13124         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
13125         argument to itself before returning the result.
13126         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
13127         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
13128         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
13129         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
13130         Likewise.
13131         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13132         Likewise.
13133         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
13134         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
13135         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
13136         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
13137         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
13138         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
13140 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13142         * libm-test.inc: Replace usage of M_El with
13143         (lit_e): New macro.
13145 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13147         * libm-test.inc: Replace usage of M_PI_4l with
13148         (lit_pi_4_d): New macro.
13150 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13152         * libm-test.inc: Replace usage of M_PIl with
13153         (lit_pi): New macro.
13155 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13157         * libm-test.inc: Replace usage of M_PI2l with
13158         (lit_pi_2_d): New macro.
13160         * math/test-double.h (LITM): New macro.
13161         * math/test-float.h (LITM): Likewise.
13162         * math/test-ldouble.h (LITM): Likewise.
13164 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13166         * libm-test.inc (M_PI_34l): Rename to
13167         (lit_pi_3_m_4_d): New Macro.
13168         (M_PI_34_LOG10El): Rename to
13169         (lit_pi_3_m_4_ln10_m_d): New Macro.
13170         (M_PI2_LOG10El): Rename to
13171         (lit_pi_2_ln10_m_d):  New Macro.
13172         (M_PI4_LOG10El): Rename to
13173         (lit_pi_4_ln10_m_d):  New Macro.
13174         (M_PI_LOG10El): Rename to
13175         (lit_pi_ln10_d):  New Macro.
13177 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
13179         [BZ #20157]
13180         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
13181         determine whether to negate low half if [_ARCH_PPCGR], and integer
13182         comparison otherwise.
13183         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
13184         determine whether to negate low half.
13186         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
13187         (NO_TEST_INLINE_DOUBLE): Likewise.
13188         (TEST_COND_x86_64): Likewise.
13189         (TEST_COND_x86): Likewise.
13190         (M_PI_6l): Likewise.
13192 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13194         * math/libm-test.inc:
13195         (TEST_FLOAT): Change usage to TEST_COND_binary32.
13196         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
13197         (TEST_LDOUBLE): Update usage to evaluate as true if
13198         the guarded tests match the property being tested.
13199         (LDBL_MAX_EXP): Change to MAX_EXP.
13200         (LDBL_MIN_EXP): Change to MIN_EXP.
13201         (LDBL_MANT_DIG): Change to MANT_DIG, except for
13202         nexttoward tests.
13204 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13206         * math/libm-test.inc:
13207         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
13208         (TYPE_MIN): Likewise.
13209         (TYPE_TRUE_MIN): Likewise.
13210         (TYPE_MAX): Likewise.
13211         (MIN_EXP): Likewise.
13212         (MAX_EXP): Likewise.
13213         (MANT_DIG): Likewise.
13215         (FSTR_MAX): New macro.
13216         (__CONCATX): Likewise.
13217         (QTYPE_STR): Likewise.
13218         (TEST_COND_binary32): Likewise.
13219         (TEST_COND_binary64): Likewise.
13220         (TEST_COND_binary128): Likewise.
13221         (TEST_COND_ibm128): Likewise.
13222         (TEST_COND_intel96): Likewise.
13223         (TEST_COND_m68k96): Likewise.
13225         (TEST_COND_flt_32): Redefine as equivalent format test macro.
13226         (TEST_COND_dbl_64): Likewise.
13227         (TEST_COND_ldbl_96_intel): Likewise.
13228         (TEST_COND_ldbl_96_m68k): Likewise.
13229         (TEST_COND_ldbl_128): Likewise.
13230         (TEST_COND_ldbl_128ibm): Likewise.
13232         (plus_zero): Redefine using LIT macro.
13233         (minus_zero): Likewise.
13234         (plus_infty): Redefine as (INF).
13235         (minux_infty): Redefine as (-INF).
13236         (max_value): Redefine as TYPE_MAX.
13237         (min_value): Redefine as TYPE_MIN.
13238         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
13240         (print_float): Refactor to use snprintf to convert FLOAT values
13241         to string. This brings it closer to dropin replacement of strtof
13242         for the TS 18661 defined types.
13243         (update_stats): Likewise.
13244         (print_complex_function_ulps): Likewise.
13245         (print_max_error): Likewise.
13246         (print_complex_max_error): Likewise.
13247         (check_float_internal): Likewise.
13249         * math/test-float.h (PREFIX): New macro.
13250         (LIT): Likewise.
13251         (TYPE_STR): Likewise.
13252         (FTOSTR): Likewise.
13254         * math/test-double.h (PREFIX): New macro.
13255         (LIT): Likewise.
13256         (TYPE_STR): Likewise.
13257         (FTOSTR): Likewise.
13259         * math/test-ldouble.h (PREFIX): New macro.
13260         (LIT): Likewise.
13261         (TYPE_STR): Likewise.
13262         (FTOSTR): Likewise.
13264 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
13266         [BZ #20156]
13267         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
13268         to itself when zero or not finite.
13269         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
13270         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13271         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
13272         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
13274 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
13276         [BZ #20153]
13277         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
13278         x * x + x for infinities and NaNs.
13280         [BZ #20151]
13281         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
13282         argument to itself before returning result.
13283         (__ieee754_y0l): Likewise.
13284         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13285         (__ieee754_y1l).
13287         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
13288         (atan_test_data): Likewise.
13289         (ceil_test_data): Likewise.
13290         (cos_test_data): Likewise.
13291         (cosh_test_data): Likewise.
13292         (erf_test_data): Likewise.
13293         (exp2_test_data): Likewise.
13294         (fabs_test_data): Likewise.
13295         (floor_test_data): Likewise.
13296         (ilogb_test_data): Likewise.
13297         (j0_test_data): Likewise.
13298         (j1_test_data): Likewise.
13299         (jn_test_data): Likewise.
13300         (lgamma_test_data): Likewise.
13301         (lrint_test_data): Likewise.
13302         (llrint_test_data): Likewise.
13303         (logb_test_data): Likewise.
13304         (lround_test_data): Likewise.
13305         (llround_test_data): Likewise.
13306         (nearbyint_test_data): Likewise.
13307         (rint_test_data): Likewise.
13308         (round_test_data): Likewise.
13309         (sin_test_data): Likewise.
13310         (sincos_test_data): Likewise.
13311         (sinh_test_data): Likewise.
13312         (sqrt_test_data): Likewise.
13313         (tan_test_data): Likewise.
13314         (tanh_test_data): Likewise.
13315         (tgamma_test_data): Likewise.
13316         (trunc_test_data): Likewise.
13317         (y0_test_data): Likewise.
13318         (y1_test_data): Likewise.
13319         (yn_test_data): Likewise.
13321         * math/libm-test.inc: Update comment about NaN testing.
13322         (TEST_SNAN): New macro.
13323         (snan_value): Likewise.
13324         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
13325         (fpclassify_test_data): Add sNaN tests.
13326         (isfinite_test_data): Likewise.
13327         (isinf_test_data): Likewise.
13328         (isnan_test_data): Likewise.
13329         (isnormal_test_data): Likewise.
13330         (issignaling_test_data): Likewise.
13331         (signbit_test_data): Likewise.
13332         * math/gen-libm-test.pl (%beautify): Add snan_value.
13333         (show_exceptions): Add argument $test_snan.
13334         (parse_args): Handle snan_value as non-finite.  Update call to
13335         show_exceptions.
13336         * math/Makefile (libm-test-no-inline-cflags): Add
13337         -fsignaling-nans.
13339 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13341         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
13342         (CFLAGS-oldsendmsg.c): Add rule.
13343         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
13344         Correct recvmsg symbol name.
13345         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
13346         Likewise.
13348 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13350         * sysdeps/unix/sysv/linux/Makefile
13351         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
13352         oldsendmmsg.
13353         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
13354         sendmmsg.
13355         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13356         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13357         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13358         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13360         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13361         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13362         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
13363         Likewise.
13364         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13365         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
13366         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
13367         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
13368         iovlen and controllen fields to adjust to POSIX specification.
13369         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13371         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
13372         and change to correct expected type.
13373         (msghdr.msg_controllen): Likewise.
13374         (cmsghdr.cmsg_len): Likewise.
13375         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
13376         expected POSIX assumption about the size.
13377         (msghdr.msg_controllen): Likewise.
13378         (msghdr.__glibc_reserved1): Likewise.
13379         (msghdr.__glibc_reserved2): Likewise.
13380         (cmsghdr.cmsg_len): Likewise.
13381         (cmsghdr.__glibc_reserved1): Likewise.
13382         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
13383         Add ptw-oldrecvmsg and ptw-oldsendmsg.
13384         (CFLAGS-sendmsg.c): Remove rule.
13385         (CFLAGS-recvmsg.c): Likewise.
13386         (CFLAGS-oldsendmsg.c): Add rule.
13387         (CFLAGS-oldrecvmsg.c): Likewise.
13388         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
13389         recvmsg and sendmsg.
13390         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
13391         Likewise.
13392         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
13393         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
13394         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
13395         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
13396         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
13397         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
13398         Likewise.
13399         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
13400         Likewise.
13401         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
13402         Likewise.
13403         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
13404         Likewise.
13405         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
13406         Likewise.
13407         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
13408         Likewise.
13409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
13410         (GLIBC_2.24): Likewise.
13411         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
13412         Likewise.
13413         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
13414         Likewise.
13415         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
13416         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
13417         Likewise.
13418         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
13419         Likewise.
13420         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
13421         Likewise.
13422         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
13423         (GLIBC_2.24): Likewise.
13424         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
13425         Likewise.
13426         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
13427         Likewise.
13428         * sysdeps/unix/sysv/linux/Makefile
13429         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
13430         (CFLAGS-sendmsg.c): Add rule.
13431         (CFLAGS-recvmsg.c): Likewise.
13432         (CFLAGS-oldsendmsg.c): Likewise.
13433         (CFLAGS-oldrecvmsg.c): Likewise.
13434         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
13435         initialization.
13436         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
13437         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
13438         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
13439         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
13440         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
13441         iovlen and controllen fields to adjust to POSIX specification.
13442         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
13443         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
13444         added recvmsg and sendmsg.
13445         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13446         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13447         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13448         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13449         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13450         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13451         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13452         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13453         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13454         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13455         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13456         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
13457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13458         Likewise.
13459         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
13460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13461         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13462         Likewise.
13463         Likewise.
13464         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13465         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13466         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13467         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13468         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13469         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13470         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13471         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13472         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13473         Likewise.
13474         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13475         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13477         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
13478         from auto-generation.
13479         (sendmsg): Likewise.
13480         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
13481         (sendmsg): Likewise.
13482         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
13483         (sendmsg): Likewise.
13484         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
13485         (sendmsg): Likewise.
13486         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
13487         (sendmsg): Likewise.
13488         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
13489         (sendmsg): Likewise.
13490         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
13491         Likewise.
13492         (sendmsg): Likewise.
13493         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
13494         (sendmsg): Likewise.
13495         * sysdeps/unix/sysv/linux/i386/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/kernel-features.h
13505         (__ASSUME_SENDMSG_SYSCALL): Define.
13506         (__ASSUME_RECVMSG_SYSCALL): Likewise.
13507         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13508         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13509         Remove.
13510         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13511         Likewise.
13512         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13513         Undefine.
13514         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13515         Likewise.
13516         * sysdeps/unix/sysv/linux/s390/kernel-features.h
13517         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13518         Remove.
13519         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13520         Likewise.
13521         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13522         Undefine.
13523         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13524         Likewise.
13525         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13526         (__ASSUME_SENDMSG_SYSCALL): Undefine.
13527         (__ASSUME_RECVMSG_SYSCALL): Likewise.
13528         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13529         (__ASSUME_SENDMSG_SYSCALL): Likewise.
13530         (__ASSUME_RECVMSG_SYSCALL): Likewise.
13531         * sysdeps/unix/sysv/linux/sh/kernel-features.h
13532         (__ASSUME_SENDMSG_SYSCALL): Likewise.
13533         (__ASSUME_RECVMSG_SYSCALL): Likewise.
13535 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13537         * stdlib/gen-tst-strtod-round.c: Add backslash to
13538         compile command in comment.
13539         (printfp): Remove the literal suffix, and define an infinite
13540         value as INF to avoid expansion clash with INFINITY.
13541         (round_str): Remove the literal suffix.
13542         (round_for_all): Likewise, remove the now duplicate ldbl-64
13543         entry, and remove some magic constants.
13545         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
13546         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
13547         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
13548         (_CONCAT): New macro.
13549         (CONCAT): Likewise.
13550         (CHOOSE_ld): Likewise.
13551         (CHOOSE_f): Likewise.
13552         (CHOOSE_d): Likewise.
13553         (FTYPE_MEMBER): Likewise.
13554         (BOOL_MEMBER): Likewise.
13555         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
13556         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
13557         (_XNTRY): Likewise.
13558         (XNTRY): Likewise.
13559         (_ENTRY): Likewise.
13560         (ENTRY): Likewise.
13561         (test_exactness): Generate members via macro.
13562         (test_results): Likewise.
13563         (test): Update members.
13564         (TEST): Redefine using new macros.
13565         (INF): New macro.
13566         (fetestmodes): New structure.
13567         (do_test): Refactor to be type generic.
13568         (test_in_one_mode): Refactor duplicate code into
13569         (GEN_ONE_TEST): New macro.
13571         * stdlib/tst-strtod-round-data.h: Regenerate.
13573         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
13574         Extend to pass additional arbitrary parameters to
13575         generators.
13577 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
13579         [BZ #15479]
13580         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
13581         floating-point state after first floating-point operation on
13582         input.  Restore full floating-point state instead of just rounding
13583         mode.
13584         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
13585         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
13586         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
13587         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
13588         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
13590         [BZ #15479]
13591         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
13592         floating-point state after first floating-point operation on
13593         input.  Restore full floating-point state instead of just rounding
13594         mode.
13595         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
13596         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
13597         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
13598         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
13599         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
13601 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13603         [BZ #19727]
13604         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
13605         valid high surrogate.
13606         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
13607         of an utf16 surrogate.
13608         * iconv/gconv_simple.c (BODY): Likewise.
13609         * iconvdata/bug-iconv12.c: New file.
13610         * iconvdata/Makefile (tests): Add bug-iconv12.
13612 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13614         [BZ #19726]
13615         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
13616         outptrp in case of an illegal input.
13617         * iconv/tst-iconv6.c: New file.
13618         * iconv/Makefile (tests): Add tst-iconv6.
13620 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13622         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
13623         an error in case of a value in range of an utf16 low surrogate.
13625 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13627         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
13628         an error in case of a value in range of an utf16 low surrogate.
13630 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13632         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
13633         Move to ...
13634         * sysdeps/s390/Makefile: ... here.
13635         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
13636         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
13637         (BRANCH_ON_COUNT): New define.
13638         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
13639         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
13640         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
13641         run on s390-32, too.
13642         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
13643         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
13644         run on s390-32, too.
13645         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
13646         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
13647         run on s390-32, too.
13649 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13651         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
13652         etf3eh or new vector loop-variant.
13654 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13656         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
13657         etf3eh or new vector loop-variant.
13659 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13661         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
13662         or new vector loop-variant.
13664 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13666         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
13667         Rename to TR_LOOP and usage of tr instead of troo instruction.
13669 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13671         * sysdeps/s390/multiarch/gconv_simple.c: New File.
13672         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
13674 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13676         * sysdeps/s390/multiarch/8bit-generic.c: New File.
13677         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
13678         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
13679         New override define.
13680         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
13682 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13684         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
13685         * sysdeps/s390/configure.ac: Add test for S390 vector register
13686         support in gcc.
13687         * sysdeps/s390/configure: Regenerated.
13689 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13691         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
13692         Install file from $(objpfx)gconv-modules.
13693         ($(objpfx)gconv-modules): Concatenate architecture specific file
13694         in variable sysdeps-gconv-modules and gconv-modules in src dir.
13695         * sysdeps/s390/gconv-modules: New file.
13696         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
13697         Deleted.
13698         ($(objpfx)gconv-modules-s390): Deleted.
13699         (sysdeps-gconv-modules): New variable.
13701 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
13703         [BZ #15479]
13704         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
13705         of immediate operand to rounding instruction.
13706         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
13707         Likewise.
13708         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
13709         Likewise.
13710         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
13711         Likewise.
13713 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13715         * math/libm-test.inc (MIN_EXP): Directly define as
13716         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
13718 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13720         * math/libm-test.inc (MANT_DIG): Directly define as
13721         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
13723 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13725         * stdlib/gen-tst-strtod-round.c (main):
13726           Change usage to more closely match the generated
13727           output.  Add usage and compilation instructions.
13728           (string_to_fp): Add and use FILE* parameter as
13729           output target.
13730           (print_fp): Likewise.
13731           (round_str): Likewise.
13732           (round_for_all): Likewise.
13733         * stdlib/tst-strtod-round.c (tests): Move into
13734         * stdlib/tst-strtod-round-data.h: New file.
13736 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
13738         [BZ #15479]
13739         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
13740         (__round): Do not force "inexact" exception.
13741         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
13742         variable.
13743         (__round): Do not force "inexact" exception.
13744         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
13745         (__roundf): Do not force "inexact" exception.
13746         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
13747         (__roundl): Do not force "inexact" exception.
13748         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
13749         (__roundl): Do not force "inexact" exception.
13750         * math/libm-test.inc (round_test_data): Do not allow spurious
13751         "inexact" exceptions.
13753         [BZ #15479]
13754         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
13755         exception in comment.
13756         (huge): Remove variable.
13757         (__floor): Do not force "inexact" exception.
13758         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
13759         "inexact" exception in comment.
13760         (huge): Remove variable.
13761         (__floor): Do not force "inexact" exception.
13762         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
13763         exception in comment.
13764         (huge): Remove variable.
13765         (__floorf): Do not force "inexact" exception.
13766         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
13767         exception in comment.
13768         (huge): Remove variable.
13769         (__floorl): Do not force "inexact" exception.
13771         [BZ #15479]
13772         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
13773         exception in comment.
13774         (huge): Remove variable.
13775         (__ceil): Do not force "inexact" exception.
13776         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
13777         "inexact" exception in comment.
13778         (huge): Remove variable.
13779         (__ceil): Do not force "inexact" exception.
13780         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
13781         (__ceilf): Do not force "inexact" exception.
13782         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
13783         exception in comment.
13784         (huge): Remove variable.
13785         (__ceill): Do not force "inexact" exception.
13787 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
13789         * config.h.in (BIND_NOW): New.
13790         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
13791         * configure: Regenerated.
13792         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
13793         indirect branch via the GOT slot.
13795 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13797         [BZ #19765]
13798         * sysdeps/s390/mempcpy.S: New File.
13799         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
13800         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
13801         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13802         Add mempcpy variants.
13803         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
13804         (memcpy): Adjust to be usable from mempcpy entry point.
13805         (__memcpy_mvcle): Likewise.
13806         * sysdeps/s390/s390-64/memcpy.S: Likewise.
13807         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
13808         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
13809         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
13810         (__memcpy_z10): Likewise.
13811         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
13813 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13815         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
13816         Remove __GI_ symbol.
13817         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
13818         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
13819         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
13820         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
13821         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
13822         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
13824 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13826         * sysdeps/s390/s390-64/memcpy.S (memcpy):
13827         Use cghi instead of chi to compare 64bit value.
13829 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13831         * sysdeps/s390/s390-32/memcpy.S (memcpy):
13832         Jump to 1MB check before executing mvc-loop.
13834 2016-05-24  Florian Weimer  <fweimer@redhat.com>
13836         [BZ #6527]
13837         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
13838         unconditionally.
13839         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
13841 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13843         * stdlib/tst-strtod6.c (do_test): Use new type generic
13844         invocation of the test function.
13845         (test): Refactor into ...
13846         (TEST_STRTOD): New macro base function.
13848 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13850         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
13851         (TEST_STRTOD): New macro.
13852         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
13854 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13856         * stdlib/tst-strtod6.c (do_test): Use new type generic
13857         invocation of the test function.
13858         (test): Refactor into ...
13859         (TEST_STRTOD): New macro base function.
13861 2016-05-23  Florian Weimer  <fweimer@redhat.com>
13863         CVE-2016-4429
13864         [BZ #20112]
13865         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
13866         payload.
13868 2016-05-23  Florian Weimer  <fweimer@redhat.com>
13870         [BZ #20111]
13871         * bits/sockaddr.h (_SS_SIZE): Define.
13872         * bits/socket.h (_SS_SIZE): Remove.
13873         (_SS_PADSIZE): Adjust to account for all padding.
13874         (struct sockaddr_storage): Update comment.  Avoid implicit
13875         padding.
13876         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
13877         (_SS_PADSIZE): Adjust to account for all padding.
13878         (struct sockaddr_storage): Update comment.  Avoid implicit
13879         padding.
13880         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
13881         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
13882         (_SS_PADSIZE): Adjust to account for all padding.
13883         (struct sockaddr_storage): Update comment.  Avoid implicit
13884         padding.
13885         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
13886         __SS_SIZE is 126 in this version.
13887         * inet/tst-sockaddr.c: New file.
13888         * inet/Makefile (tests): Add tst-sockaddr.c
13889         (tst-sockaddr.c): Compile with non-strict aliasing.
13891 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
13893         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
13894         [XPG3 || XPG4].
13895         (NL_ARGMAX): Also expect for [XPG3].
13896         (NL_LANGMAX): Likewise.
13897         (NL_MSGMAX): Likewise.
13898         (NL_NMAX): Likewise.
13899         (NL_SETMAX): Likewise.
13900         (NL_TEXTMAX): Likewise.
13901         (NZERO): Likewise.
13902         (TMP_MAX): Likewise.
13903         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
13904         variable.
13906         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
13907         (PF_MAX): Update value.
13908         (AF_KCM): New macro.
13909         (SOL_NETBEUI): Likewise.
13910         (SOL_LLC): Likewise.
13911         (SOL_DCCP): Likewise.
13912         (SOL_NETLINK): Likewise.
13913         (SOL_TIPC): Likewise.
13914         (SOL_RXRPC): Likewise.
13915         (SOL_PPPOL2TP): Likewise.
13916         (SOL_BLUETOOTH): Likewise.
13917         (SOL_PNPIPE): Likewise.
13918         (SOL_RDS): Likewise.
13919         (SOL_IUCV): Likewise.
13920         (SOL_CAIF): Likewise.
13921         (SOL_ALG): Likewise.
13922         (SOL_NFC): Likewise.
13923         (SOL_KCM): Likewise.
13924         (MSG_BATCH): New enum value and macro.
13926 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
13928         [BZ #18185]
13929         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
13930         sharing L2 cache to 2 for Knights Landing.
13932 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
13934         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
13935         (FTW_DP): Do not expect for [XPG3 || XPG4].
13936         (FTW_SL): Do not expect for [XPG3].
13937         (FTW_SLN): Likewise.
13938         (FTW_PHYS): Likewise.
13939         (FTW_MOUNT): Likewise.
13940         (FTW_DEPTH): Likewise.
13941         (FTW_CHDIR): Likewise.
13942         (nftw): Likewise.
13943         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
13944         variable.
13946 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
13948         * manual/errno.texi: Fix various typos & grammar errors.
13950 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
13952         * manual/intro.texi: Fix duplicated typo.
13954 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
13956         [BZ #13304]
13957         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
13958         <float.h>, <math_private.h> and <stdlib.h>.
13959         (add_split): New function.
13960         (mul_split): Likewise.
13961         (ext_val): New typedef.
13962         (store_ext_val): New function.
13963         (mul_ext_val): New function.
13964         (compare): New function.
13965         (add_split_ext): New function.
13966         (__fmal): After checking for Inf, NaN and zero, compute result as
13967         an exact sum of scaled double values in round-to-nearest before
13968         adding those up and adjusting for other rounding modes.
13969         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
13970         tests of fma.
13971         * math/auto-libm-test-out: Regenerated.
13973 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
13975         [BZ #20119]
13976         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
13977         processor level type mask for CPUID with EAX == 11.
13979 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
13981         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
13982         logical threads if the HTT bit is 0.
13983         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
13984         (index_cpu_HTT): Likewise.
13985         (reg_HTT): Likewise.
13987 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
13989         [BZ #20115]
13990         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
13991         Remove alignments on jump targets.
13993 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
13995         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
13996         (getpwent): Likewise.
13997         (setpwent): Likewise.
13998         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
13999         variable.
14001         * conform/data/search.h-data (insque): Do not expect for [XPG3].
14002         (remque): Likewise.
14003         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
14004         variable.
14006 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
14008         * math/libm-test.inc: Update comment not to refer to signs of NaNs
14009         not being tested.
14011 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
14013         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
14014         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
14015         call.
14016         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
14017         (__condvar_cleanup1): Likewise.
14019 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
14021         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
14022         New
14023         (__pthread_unwind): Renamed to ...
14024         (PTHREAD_UNWIND): This.
14025         (__pthread_enable_asynccancel): Replace
14026         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
14028 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
14030         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
14031         (CLONE_NEWCGROUP): New macro.
14033         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
14034         (Q_GETNEXTQUOTA): New macro.
14036 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
14038         [BZ #19907]
14039         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
14040         buffer updated by the previous run.
14041         * string/test-memcpy.c (do_one_test): Likewise.
14042         * benchtests/bench-memmove.c (do_one_test): Add a comment.
14043         * string/test-memmove.c (do_one_test): Likewise.
14045 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
14047         [BZ #20094]
14048         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
14049         not [__USE_XOPEN].
14050         (unlockpt): Likewise.
14051         (ptsname): Likewise.
14052         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
14053         variable.
14055         [BZ #20076]
14056         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
14057         instead of [__USE_UNIX98].
14058         (S_ISSOCK): Likewise.
14059         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
14060         variable.
14062         [BZ #20074]
14063         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
14064         [__USE_POSIX].
14065         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
14066         variable.
14068         [BZ #20051]
14069         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
14070         (ttyslot): Do not declare.
14071         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
14072         (ttyslot): New prototype.
14073         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
14074         variable.
14075         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
14077 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
14079         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
14081 2016-05-13  Florian Weimer  <fweimer@redhat.com>
14083         Fix race condition in tst-mallocfork2, use fewer resources.
14084         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
14085         to current process group.
14086         (signal_sender): Yield in the non-sleeping case.
14088 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
14090         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
14091         (ecvt): Likewise.
14092         (fcvt): Likewise.
14093         (gcvt): Likewise.
14094         (getsubopt): Likewise.
14095         (grantpt): Likewise.
14096         (initstate): Likewise.
14097         (l64a): Likewise.
14098         (mktemp): Likewise.
14099         (mkstemp): Likewise.
14100         (ptsname): Likewise.
14101         (random): Likewise.
14102         (realpath): Likewise.
14103         (setstate): Likewise.
14104         (srandom): Likewise.
14105         (ttyslot): Likewise.
14106         (unlockpt): Likewise.
14107         (valloc): Likewise.
14109         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
14110         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
14111         variable.
14113 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
14115         [BZ #20072]
14116         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
14117         init_cpu_features only if SHARED is defined.
14118         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
14120 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
14122         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
14123         non-inclusive caches on Intel processors.
14125 2016-05-13  Florian Weimer  <fweimer@redhat.com>
14127         * malloc/malloc.c (dumped_main_arena_start)
14128         (dumped_main_arena_end): New variables.
14129         (DUMPED_MAIN_ARENA_CHUNK): New macro.
14130         (do_check_chunk): Skip dumped fake mmapped chunks.
14131         (munmap_chunk): Likewise.
14132         (__libc_free): Do not adjust statistics for fake mmapped chunks.
14133         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
14134         mmapped chunks.
14135         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
14136         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
14137         and dumped_main_arena_end to cover the dumped heap.
14139 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
14141         * conform/data/time.h-data (getdate_err): Do not expect for
14142         [XPG3].
14143         (getdate): Likewise.
14144         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
14145         variable.
14147         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
14148         (F_ULOCK): Likewise.
14149         (F_TEST): Likewise.
14150         (F_TLOCK): Likewise.
14151         (useconds_t): Likewise.
14152         (intptr_t): Do not expect for [XPG3] or [XPG4].
14153         (brk): Do not expect for [XPG3]
14154         (fchown): Likewise.
14155         (fchdir): Likewise.
14156         (ftruncate): Likewise.
14157         (getdtablesize): Likewise.
14158         (gethostid): Likewise.
14159         (getpagesize): Likewise.
14160         (getpgid): Likewise.
14161         (getsid): Likewise.
14162         (getwd): Likewise.
14163         (lchown): Likewise.
14164         (lockf): Likewise.
14165         (readlink): Likewise.
14166         (sbrk): Likewise.
14167         (setpgrp): Likewise.
14168         (setregid): Likewise.
14169         (setreuid): Likewise.
14170         (symlink): Likewise.
14171         (sync): Likewise.
14172         (truncate): Likewise.
14173         (ualarm): Likewise.
14174         (usleep): Likewise.
14175         (vfork): Likewise.
14176         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
14177         variable.
14179         [BZ #20054]
14180         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
14181         not [__USE_UNIX98].
14182         * conform/data/unistd.h-data (gethostname): Do not expect for
14183         [XPG3].
14185         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
14186         [!POSIX] (S_IFBLK): Likewise.
14187         [!POSIX] (S_IFCHR): Likewise.
14188         [!POSIX] (S_IFIFO): Likewise.
14189         [!POSIX] (S_IFREG): Likewise.
14190         [!POSIX] (S_IFDIR): Likewise.
14191         [!POSIX] (S_IFLNK): Likewise.
14192         [!POSIX] (S_IFSOCK): Likewise.
14193         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
14194         variable.
14195         (test-xfail-XPG4/fcntl.h/conform): Likewise.
14197 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
14199         * sysdeps/aarch64/memset.S (__memset):
14200         Rewrite of optimized memset.
14202 2016-05-12  Florian Weimer  <fweimer@redhat.com>
14204         [BZ #19703]
14205         Partially async-signal-safe fork for single-threaded processes.
14206         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
14207         variable.  Do not acquire and reset/release malloc and libio locks
14208         in single-threaded processes.
14209         * malloc/tst-mallocfork2.c: New file.
14210         * malloc/Makefile (tests): Add it.
14212 2016-05-12  Florian Weimer  <fweimer@redhat.com>
14214         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
14215         argument.  Use scratch buffer instead of extend_alloca.
14216         (gethosts): Use scratch buffer instead of extend_alloca.
14217         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
14218         extend_alloca.
14219         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
14221 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
14223         [BZ #20055]
14224         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
14225         instead of [__USE_UNIX98].
14226         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
14227         [__USE_UNIX98].
14228         * conform/data/termios.h-data (tcgetsid): Do not expect for
14229         [XPG3].
14230         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
14231         variable.
14232         (test-xfail-XPG4/termios.h/conform): Likewise.
14234 2016-05-11  Florian Weimer  <fweimer@redhat.com>
14236         Do not use mcheck in localedef.
14237         * locale/programs/localedef.c (turn_on_mcheck)
14238         (__malloc_initialize_hook): Remove.
14240 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
14242         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
14243         * sysdeps/s390/s390-64/Makefile: Likewise.
14245 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
14247         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
14248         Remove ifunc-defines.sym.
14249         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
14250         Likewise.
14251         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
14252         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
14253         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
14254         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
14255         rtld-global-offsets.sym.
14256         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
14257         * sysdeps/x86/cpu-features-offsets.sym: This.
14258         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
14259         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
14261 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
14263         [BZ #20073]
14264         * io/sys/stat.h (fchmod): Declare for
14265         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
14266         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
14267         variable.
14269         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
14270         [XPG3] (S_IFSOCK): Likewise.
14271         [XPG3] (S_ISVTX): Likewise.
14272         [XPG3] (S_ISLNK): Likewise.
14273         [XPG3] (S_ISSOCK): Likewise.
14274         [XPG3] (fchmod): Likewise.
14275         [XPG3] (lstat): Likewise.
14276         [XPG3] (mknod): Likewise.
14278         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
14279         [XPG3].  Expect type long and XFAIL for [XPG4].
14280         (st_blocks): Likewise.
14282         [BZ #20044]
14283         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
14284         (pthread_atfork): New prototype.
14285         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
14286         variable.
14288         [BZ #20043]
14289         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
14290         prototype.
14292 2016-05-10  Florian Weimer  <fweimer@redhat.com>
14294         [BZ #20017]
14295         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
14296         gmtime.
14298 2016-05-10  Florian Weimer  <fweimer@redhat.com>
14300         [BZ #19994]
14301         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
14302         flag in _res.options.
14304 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
14306         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
14307         [XPG3 || XPG4].
14308         (blksize_t): Likewise.
14309         (clockid_t): Likewise.
14310         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
14311         variable.
14312         (test-xfail-XPG4/sys/types.h/conform): Likewise.
14314 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
14316         * sysdeps/unix/sysv/linux/s390/init-first.c:
14317         Add VDSO_SYMBOL(getcpu).
14318         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
14319         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
14320         Add VDSO_SYMBOL(getcpu).
14321         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
14322         New define HAVE_GETCPU_VSYSCALL.
14323         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14325 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
14327         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
14328         instead of <sysdeps/x86_64/cacheinfo.c>.
14329         * sysdeps/x86_64/cacheinfo.c: Moved to ...
14330         * sysdeps/x86/cacheinfo.c: Here.
14332 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14334         * malloc/malloc-internal.h: Adjust header file guard.
14336 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14338         [BZ #19787]
14339         * inet/getnameinfo.c (check_sprintf_result): New function.
14340         (CHECKED_SNPRINTF): New macro.
14341         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
14342         to the host buffer.
14343         (gni_host_local): Use checked_copy to copy the host name.
14344         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
14345         (gni_serv_local): Use checked_copy to copy the service name.
14346         (getnameinfo): Remove unnecessary truncation of result buffers.
14348 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14350         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
14351         in case of inet_ntop failure.
14353 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14355         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
14356         avoid long lines.
14357         (gni_host_inet_numeric): Likewise.  Reduce scope of local
14358         variables.
14359         (gni_host_inet, gni_host_local): Add comment.
14360         (gni_host): Add comment.  Use temporary to avoid long lines.
14362 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14364         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
14365         registers specifiers where general purpose registers specifiers should
14366         have been used.
14368 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14370         [BZ #19779]
14371         CVE-2016-1234
14372         Avoid copying names of directory entries.
14373         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
14374         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
14375         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
14376         (struct readdir_result): New type.
14377         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
14378         (GL_READDIR): New macros.
14379         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
14380         (convert_dirent, convert_dirent64): New functions.
14381         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
14382         convert_dirent64.  Adjust references to the readdir result.
14383         * sysdeps/unix/sysv/linux/i386/glob64.c:
14384         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
14385         * posix/bug-glob2.c (LONG_NAME): Define.
14386         (filesystem): Add LONG_NAME.
14387         (my_DIR): Increase the size of room_for_dirent.
14389 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
14391         [BZ #20041]
14392         * misc/sys/select.h (__need_timespec): Only define if
14393         [__USE_XOPEN2K].
14394         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
14395         variable.
14396         (test-xfail-XPG4/utmpx.h/conform): Likewise.
14397         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
14398         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
14400 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14401             Segher Boessenkool  <segher@gcc.gnu.org>
14403         [BZ #20004]
14404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
14405         (__novec_swapcontext): Add missing load.
14407 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
14409         [BZ #20023]
14410         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
14411         <time.h>.
14412         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
14413         variable.
14414         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
14416 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
14419         flags CLONE_VM compare.
14421 2016-05-02  Florian Weimer  <fweimer@redhat.com>
14423         [BZ #20031]
14424         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
14425         completely empty.
14427 2016-05-02  Florian Weimer  <fweimer@redhat.com>
14429         [BZ #19573]
14430         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
14431         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
14432         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
14433         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
14434         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
14435         (hesiod_free_list): Mark as hidden.
14436         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
14437         res_set, res_get.
14438         * hesiod/hesiod.c: Remove unnecessary forward declarations.
14439         (init, __hesiod_res_get, __hesiod_res_set): Remove.
14440         (hesiod_init): Remove obsolete res_ninit call.
14441         (hesiod_end): Do not free resolver state.  Do not invoke callback.
14442         (hesiod_bind): Do not call init.
14443         (get_txt_records): Use res_mkquery, res_send instead of
14444         res_nmkquery, res_nsend.
14445         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
14446         instead of _nss_hesiod_init.
14447         (_nss_hesiod_initgroups_dyn): Likewise.
14448         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
14449         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
14450         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
14452 2016-05-02  Florian Weimer  <fweimer@redhat.com>
14454         * hesiod/hesiod_p.h (DEF_RHS): Remove.
14455         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
14457 2016-05-02  Florian Weimer  <fweimer@redhat.com>
14459         * hesiod/hesiod.h: Remove RCS keyword.
14460         * hesiod/hesiod_p.h: Likewise.
14462         * hesiod/hesiod.c: Likewise.
14464 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
14466         [BZ #12450]
14467         * locale/iso-639.def: Add Samogitian/sgs.
14469 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
14471         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
14473         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
14475 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
14476             Carlos O'Donell  <carlos@redhat.com>
14478         [BZ #19072]
14479         * grp/Makefile (headers): Add grp-merge.h
14480         (routines): Add grp-merge.
14481         * grp/getgrgid_r.c: Include grp-merge.h.
14482         (DEEPCOPY_FN): Define.
14483         (MERGE_FN): Define.
14484         * grp/getgrname_r.c: Include grp-merge.h.
14485         (DEEPCOPY_FN): Define.
14486         (MERGE_FN): Define.
14487         * grp/grp-merge.c: New file.
14488         * grp/grp-merge.h: New file.
14489         * include/grp-merge.h: New file.
14490         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
14491         __copy_grp@GLIBC_PRIVATE.
14492         * manual/nss.texi (Actions in the NSS configuration): Describe
14493         return, continue, and merge.
14494         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
14495         (DEEPCOPY_FN): Define.
14496         (MERGE_FN): Define.
14497         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
14498         (DEEPCOPY_FN): Define.
14499         (MERGE_FN): Define.
14500         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
14501         [!MERGE_FN]: Define __merge_einval.
14502         (CHECK_MERGE): Define.
14503         (REENTRANT_NAME): Process merge if do_merge is true.
14504         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
14505         (__nss_getent_r): Likewise.
14506         * nss/nsswitch.c (nss_parse_service_list): Likewise.
14507         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
14509 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14511         [BZ #20012]
14512         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
14513         length to calculate the buffer to read.
14514         (fmemopen_write): Set the buffer position based on bytes written.
14515         (fmemopen_seek): Return EINVAL for invalid whence modes.
14517         [BZ #19957]
14518         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
14519         tst-getpid2.
14520         (test): Add tst-clone2.
14521         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
14522         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
14523         pid/tid fields for CLONE_VM.
14524         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
14525         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
14526         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
14527         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
14528         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
14529         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
14530         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
14531         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
14532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
14533         Likewise.
14534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14535         Likewise.
14536         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
14537         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
14538         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
14539         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
14540         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
14541         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
14542         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
14543         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
14545 2016-04-29  Florian Weimer  <fweimer@redhat.com>
14547         [BZ #19642]
14548         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
14549         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
14550         (gni_serv_local, gni_serv): New functions extracted from
14551         getnameinfo.
14552         (getnameinfo): Call gni_host and gni_serv to perform the
14553         processing.  Always free scratch buffer.
14555 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14557         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
14558         remaining bytes in the dest string, with zeros.
14560 2016-04-29  Florian Weimer  <fweimer@redhat.com>
14562         [BZ #20010]
14563         CVE-2016-3706
14564         * sysdeps/posix/getaddrinfo.c
14565         (convert_hostent_to_gaih_addrtuple): New function.
14566         (gethosts): Call convert_hostent_to_gaih_addrtuple.
14567         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
14568         AF_INET data.
14570 2016-04-29  Florian Weimer  <fweimer@redhat.com>
14572         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
14573         callback function gl_readdir.
14574         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
14575         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
14576         (glob_in_dir): Remove len.  Use strdup instead of malloc and
14577         memcpy to copy the name.
14578         * manual/pattern.texi (Calling Glob): Document requirements for
14579         implementations of the gl_readdir callback function.
14580         * manual/examples/mkdirent.c: New example.
14581         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
14582         per the manual guidance.
14583         * posix/tst-gnuglob.c (my_readdir): Likewise.
14585 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
14587         [BZ #20014]
14588         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
14589         not [__USE_POSIX].
14590         (getchar_unlocked): Likewise.
14591         (putc_unlocked): Likewise.
14592         (putchar_unlocked): Likewise.
14593         (flockfile): Likewise.
14594         (ftrylockfile): Likewise.
14595         (funlockfile): Likewise.
14596         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
14597         variable.
14598         (test-xfail-XPG4/stdio.h/conform): Likewise.
14600         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
14601         Expect constant.
14602         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
14603         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
14604         variable.
14605         (test-xfail-XPG4/langinfo.h/conform): Likewise.
14606         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
14608         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
14609         [__USE_LARGEFILE64] (off64_t): Likewise.
14610         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
14611         variable.
14613 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14615         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
14617 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14619         * resolv/inet_addr.c: Reindent preprocessor conditionals.
14620         * resolv/res_init.c: Likewise.
14621         * resolv/res_mkquery.c: Likewise.
14623 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14625         * resolv/res_init.c (isascii): Do not define.  Use definition in
14626         <ctype.h>.
14627         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
14628         (LOG_AUTH): Remove.
14629         (SPRINTF): Remove, adjust caller.
14630         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
14632 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14634         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
14635         SUNSECURITY conditional.
14636         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
14638 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14640         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
14641         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
14642         Remove BSD-related preprocessor conditionals.
14643         * conf/portability.h: Remove.
14645 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14647         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
14648         * resolv/res_data.c: Likewise.
14650 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14652         * resolv/res_comp.c: Remove code conditional on __ultrix__.
14653         * resolv/res_data.c: Remove code conditional on ultrix.
14655 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14657         * resolv/res_init.c (RFC1535): Do not define.  Remove
14658         RFC1535 preprocessor conditionals.
14659         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
14660         because there configuration options which make the resolver
14661         behavior different.
14663 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14665         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
14666         RESOLVSORT preprocessor conditionals.
14667         * resolv/nss_dns/dns-host.c: Likewise.
14668         * resolv/res_init.c: Likewise.
14670 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14672         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
14673         is never defined.
14675 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14677         * inet/inet_lnaof.c: Remove SCSS keyword.
14678         * inet/inet_mkadr.c: Likewise.
14679         * inet/inet_net.c: Likewise.
14680         * inet/inet_netof.c: Likewise.
14681         * inet/rcmd.c: Likewise.
14682         * inet/rexec.c: Likewise.
14683         * inet/ruserpass.c: Likewise.
14685 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14687         * resolv/inet_addr.c: Remove _LIBC conditionals.
14688         * resolv/res_data.c: Likewise.
14689         * resolv/res_init.c: Likewise.
14690         * resolv/res_mkquery.c: Likewise.
14691         * resolv/res_libc.c: Update comment.
14692         * resolv/README: Update.
14694 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14696         * resolv/gethnamaddr.c: Remove SCSS keyword.
14697         * resolv/herror.c: Likewise.
14698         * resolv/inet_addr.c: Likewise.
14699         * resolv/inet_net_ntop.c: Likewise.
14700         * resolv/inet_net_pton.c: Likewise.
14701         * resolv/inet_neta.c: Likewise.
14702         * resolv/inet_ntop.c: Likewise.
14703         * resolv/inet_pton.c: Likewise.
14704         * resolv/ns_date.c: Remove RCS keyword.
14705         * resolv/ns_name.c: Likewise.
14706         * resolv/ns_netint.c: Likewise.
14707         * resolv/ns_parse.c: Likewise.
14708         * resolv/ns_print.c: Likewise.
14709         * resolv/ns_samedomain.c: Likewise.
14710         * resolv/ns_ttl.c: Likewise.
14711         * resolv/nsap_addr.c: Likewise.
14712         * resolv/res_comp.c: Remove SCSS and RCS keyword.
14713         * resolv/res_data.c: Remove RCS keyword.
14714         * resolv/res_debug.c: Remove SCSS and RCS keyword.
14715         * resolv/res_init.c: Likewise.
14716         * resolv/res_mkquery.c: Likewise.
14717         * resolv/res_query.c: Likewise.
14718         * resolv/res_send.c: Likewise.
14720 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
14722         * conform/data/stdio.h-data (fdopen): Expect also for
14723         [XPG3 || XPG4].
14725         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
14726         (fseeko): Likewise.
14727         (ftello): Likewise.
14728         (ftrylockfile): Likewise.
14729         (funlockfile): Likewise.
14730         (getc_unlocked): Likewise.
14731         (getchar_unlocked): Likewise.
14732         (putc_unlocked): Likewise.
14733         (putchar_unlocked): Likewise.
14735 2016-04-27  Florian Weimer  <fweimer@redhat.com>
14737         [BZ #19868]
14738         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
14739         DNS packet syntax checks (which were not needed before).  Skip
14740         over non-PTR records.
14742 2016-04-27  Florian Weimer  <fweimer@redhat.com>
14744         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
14745         definition.  Include <stddef.h> instead.
14747 2016-04-27  Florian Weimer  <fweimer@redhat.com>
14749         [BZ #19831]
14750         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
14751         function.
14752         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
14753         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
14755 2016-04-27  Florian Weimer  <fweimer@redhat.com>
14757         [BZ #19862]
14758         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
14759         (getanswer_r): Do not call syslog.
14760         (gaih_getanswer_slice): Likewise.
14761         * resolv/gethnamaddr.c (AskedForGot): Remove.
14762         (getanswer): Do not call syslog.
14763         (gethostbyaddr): Likewise.
14765 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
14767         * conform/data/signal.h-data (union sigval): Expect also if
14768         [XOPEN2K].
14769         (struct sigevent): Likewise.
14770         (SIGEV_NONE): Likewise.
14771         (SIGEV_SIGNAL): Likewise.
14772         (SIGEV_THREAD): Likewise.
14773         (SIGRTMIN): Likewise.
14774         (SIGRTMAX): Likewise.
14775         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
14776         variable.
14777         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
14779 2016-04-27  Florian Weimer  <fweimer@redhat.com>
14781         [BZ #19830]
14782         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
14783         (gaih_getanswer_slice): Likewise.
14784         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
14785         Also check for availability of RR metadata.
14787 2016-04-27  Florian Weimer  <fweimer@redhat.com>
14789         [BZ #19825]
14790         * resolv/res_send.c (send_vc): Remove early *resplen2
14791         initialization.  Set *resplen2 on socket error.  Call
14792         close_and_return_error for other errors.
14794 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
14796         * sysdeps/unix/sysv/linux/netiucv/iucv.h
14797         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
14798         (SCM_IUCV_TRGCLS): New define.
14800 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14802         [BZ #20005]
14803         * libio/fmemopen.c (fmemopen_write): Update internal position after
14804         write.
14805         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
14806         * stdio-common/tst-fmemopen4.c: New file..
14808 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
14810         [BZ #19996]
14811         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
14812         not [__USE_XOPEN2K].
14813         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
14814         variable.
14816         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
14817         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
14818         variable.
14820         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
14821         [__USE_XOPEN2K8].
14822         [__USE_LARGEFILE64] (off64_t): Likewise.
14823         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
14824         variable.
14826 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
14828         [BZ #19989]
14829         * libio/stdio.h (cuserid): Do not declare if
14830         [__USE_XOPEN2K && !__USE_GNU].
14831         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
14832         variable.
14834 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14836         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
14837         (sysdep_routines): Add P8 and PPC64 strcspn targets.
14838         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14839         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
14840         ifunc'ed strcspn.
14841         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
14842         [EALIGN]: Removed.
14843         [END]: Likewise
14844         [STRSPN]: Define instead of the above to control symbol name.
14845         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
14846         New file.
14847         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
14848         Likewise.
14849         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
14850         Likewise.
14851         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
14852         Likewise.
14853         * sysdeps/powerpc/powerpc64/power8/strspn.S:
14854         [INITIAL_MASK]: New macro.
14855         [STRCSPN]: Likewise.
14856         [UPDATE_MASK]: Likewise.
14857         [USE_AS_STRCSPN]: Likewise.
14859 2016-04-25  Florian Weimer  <fweimer@redhat.com>
14861         [BZ #19931]
14862         * stdio-common/tst-vfprintf-width-prec.c: New file.
14863         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
14864         (tests-special): Add tst-vfprintf-width-prec-mem.out.
14865         (generated): Add mtrace-related files.
14866         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
14867         (tst-%-mem.out): New pattern rule, replaces
14868         tst-printf-bz18872-mem.out.
14869         * stdio-common/vfprintf.c (vfprintf): When handling a precision
14870         specifier, deallocate any previously allocated work buffer.
14872 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
14874         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
14875         Add nop before __startcontext, add explaining comments.
14877 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
14879         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
14880         any more. Notably since IPV6_PKTINFO has been reintroduced with a
14881         completely different API.
14883         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
14884         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
14885         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
14886         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
14887         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
14888         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
14889         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
14890         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
14891         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
14892         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
14894 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
14896         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
14898 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
14900         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
14901         when it is the default of 0.
14903 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14905         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
14906         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
14907         (sysdep_routines): Add new strcasestr targets.
14908         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14909         (__libc_ifunc_impl_list): Likewise.
14910         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
14911         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
14912         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
14913         * sysdeps/powerpc/powerpc64/power8/Makefile:
14914         New file to add strcasestr-ppc64 to sysdep_routines.
14915         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
14916         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
14918 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
14920         * benchtests/Makefile (wcsmbs-benchset): Include only for
14921         native builds and runs.
14922         (LOCALES): Likewise.
14923         (bench-build): Build timing-type here instead of the bench
14924         target.  Generate locale only for native builds.
14925         * benchtests/README: Add note for cross-building.
14927         * benchtests/Makefile (bench-clean): Clean up extra-objs.
14929         * benchtests/README: Update README to include instructions on
14930         using bench-build.
14932         * Makefile.in (bench-build): New target.
14933         * Rules (PHONY): Add bench-build target.
14934         * benchtests/Makefile (bench): Depend on bench-build.
14935         (bench-build): New target.
14937 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14939         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
14940         profil_reply_port.
14941         (profile_waiter): Do not initialize profil_reply_port.
14942         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
14943         frequency instead of tick length in us.
14945 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
14947         [BZ #18712]
14948         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
14949         (__old_mempcpy_small): Likewise.
14950         (__old_strcpy_small): Likewise.
14951         (__old_stpcpy_small): Likewise.
14952         (__old_strpbrk_c2): Fix compat symbol name.
14953         (__old_strpbrk_c3): Likewise.
14954         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
14955         (__mempcpy_small): Remove.
14956         (__strcpy_small): Remove.
14957         (__stpcpy_small): Remove.
14959 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
14961         [BZ #19400]
14962         * locale/iso-639.def: Add the Talossan/tzl language.
14964 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
14966         [BZ #16983]
14967         * locale/programs/ld-address.c (address_finish): Update postal_fmt
14968         comment.  Add "ln" to strchr check on postal_fmt.
14970 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
14972         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
14973         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
14974         tel_dom_fmt.
14976 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14978         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
14979         (sysdep_routines): Added __strlen_power8.
14980         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
14981         __strlen_power8 entry.
14982         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
14983         Implementation for POWER8.
14984         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
14985         for __strlen_power8.
14986         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
14987         Implementation for POWER8.
14989 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
14991         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
14993 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
14995         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
14996         Goldmont and Airmont processors.
14998 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
15000         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
15001         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
15002         (__STRING2_SMALL_GET32): Remove.
15003         (memset): Remove.
15004         (__memset_1): Remove.
15005         (__memset_gc): Remove.
15006         (__mempcpy): Remove.
15007         (mempcpy): Remove.
15008         (__mempcpy_args): Remove.
15009         (strchr): Remove.
15010         (strcpy): Remove.
15011         (strcpy_args): Remove.
15012         (__stpcpy_args): Remove.
15013         (__strcmp_cc): Remove.
15014         (__strcmp_gc): Remove.
15015         (strstr): Remove.
15017 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
15019         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
15020         * nis/nis_call.c (nis_server_cache_add): Likewise.
15022 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15024         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
15026 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15028         * malloc/arena.c (__malloc_fork_lock_parent)
15029         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
15030         internal_function attribute.
15032 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
15034         * stdio-common/printf_fp.c (__printf_fp_l):
15035         Rename ___printf_fp_l to __printf_fp_l and
15036         remove strong alias. Use libc_hidden_def instead
15037         of ldbl_hidden_def macro.
15039 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15041         Remove malloc hooks from fork handler.  They are no longer needed
15042         because malloc runs right before fork, and no malloc calls from
15043         other fork handlers are not possible anymore.
15044         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
15045         declarations.
15046         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
15047         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
15048         (atfork_recursive_cntr): Remove.
15049         (__malloc_fork_lock_parent): Do not override malloc hooks and
15050         thread_arena.
15051         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
15052         thread_arena.
15053         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
15054         thread_arena instead of save_arena.
15056 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15058         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
15059         (thread_atfork, thread_atfork_static): Remove.
15060         * sysdeps/mach/hurd/malloc-machine.h:
15061         (thread_atfork, thread_atfork_static): Remove.
15063 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15065         [BZ #19431]
15066         Run the malloc fork handler as late as possible to avoid deadlocks.
15067         * malloc/malloc-internal.h: New file.
15068         * malloc/malloc.c: Include it.
15069         * malloc/arena.c (ATFORK_MEM): Remove.
15070         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
15071         Update comment.
15072         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
15073         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
15074         Remove outdated comment.
15075         (ptmalloc_init): Do not call thread_atfork.  Remove
15076         thread_atfork_static.
15077         * malloc/tst-malloc-fork-deadlock.c: New file.
15078         * Makefile (tests): Add tst-malloc-fork-deadlock.
15079         (tst-malloc-fork-deadlock): Link against libpthread.
15080         * manual/memory.texi (Aligned Memory Blocks): Update safety
15081         annotation comments.
15082         * sysdeps/nptl/fork.c (__libc_fork): Call
15083         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
15084         __malloc_fork_unlock_child.
15085         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
15087 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15089         [BZ #19613]
15090         Remove union wait.
15091         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
15092         (w_stopsig, w_stopval): Remove.
15093         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
15094         stat_loc argument.
15095         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
15096         (__WAIT_STATUS_DEFN): Remove.
15097         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
15098         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
15099         (wait, wait3, wait4): Use int * for the stat_loc argument.
15100         * posix/wait.c (__wait): Likewise.
15101         * posix/wait3.c (__wait3): Likewise.
15102         * posix/wait4.c (__wait4): Likewise.
15103         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
15104         (__WAIT_STATUS_DEFN): Remove.
15105         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
15106         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
15107         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
15108         argument.
15109         * sysdeps/posix/wait.c (__libc_wait): Likewise.
15110         * sysdeps/posix/wait3.c (__wait3): Likewise.
15111         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
15112         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
15113         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
15114         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
15115         stat_loc argument.
15116         * manual/process.texi (BSD Wait Functions): Remove union wait.
15118 2016-04-13  Andreas Schwab  <schwab@suse.de>
15120         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
15121         (test-extras): Add tst-tlsalign-vars.
15122         * math/Makefile: Wrap long lines.
15123         (libm-vec-test-wrappers): Define.
15124         (test-extras): Add $(libm-vec-test-wrappers).
15125         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
15126         * nss/Makefile (extra-test-objs): Add nss_test1.os.
15127         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
15128         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
15129         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
15130         (extra-test-objs): Add corresponding objects.
15132 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
15134         [BZ #19928]
15135         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
15136         New.
15137         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
15138         times of shared cache size.
15139         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
15140         (VMOVNT): New.
15141         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
15142         (VMOVNT): Likewise.
15143         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
15144         (VMOVNT): Likewise.
15145         (VMOVU): Changed to movups for smaller code sizes.
15146         (VMOVA): Changed to movaps for smaller code sizes.
15147         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
15148         comments.
15149         (PREFETCH): New.
15150         (PREFETCH_SIZE): Likewise.
15151         (PREFETCHED_LOAD_SIZE): Likewise.
15152         (PREFETCH_ONE_SET): Likewise.
15153         Rewrite to use forward and backward loops, which move 4 vector
15154         registers at a time, to support overlapping addresses and use
15155         non temporal store if size is above the threshold and there is
15156         no overlap between destination and source.
15158 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
15160         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
15161         Include dl-vdso.
15162         * sysdeps/unix/sysv/linux/mips/Versions: Add
15163         __vdso_clock_gettime.
15164         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
15165         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
15166         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
15167         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
15168         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
15169         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
15170         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
15171         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
15172         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
15174 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15176         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
15177         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
15178         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
15179         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
15180         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
15181         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
15182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
15183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
15184         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
15185         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
15186         syscalls generation.
15187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15188         [__NR_pwrite64] (__NR_write): Remove define.
15189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15190         [__NR_pwrite64] (__NR_write): Remove define.
15191         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
15192         Remove define.
15193         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
15194         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
15195         Remove define.
15196         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
15197         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
15198         Linux implementation as base.
15199         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15201         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
15202         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
15203         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
15204         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
15205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
15206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
15207         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
15208         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
15209         syscall generation.
15210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15211         [__NR_pread64] (__NR_pread): Remove define.
15212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15213         [__NR_pread64] (__NR_pread): Likewise.
15214         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
15215         define.
15216         (__libc_pread): Use SYSCALL_LL macro on offset argument.
15217         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
15218         Remove define.
15219         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
15220         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
15221         Linux implementation as base.
15222         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15223         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
15224         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
15226         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
15227         definition.
15228         (__ALIGNMENT_COUNT): Likewise.
15229         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
15230         (__ALIGNMENT_COUNT): Likewise.
15231         (SYSCALL_LL): New define.
15232         (SYSCALL_LL64): Likewise.
15233         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
15234         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
15235         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
15236         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
15238         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15239         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
15240         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15241         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
15242         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15243         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
15245 2016-04-11  Florian Weimer  <fweimer@redhat.com>
15247         [BZ #19865]
15248         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
15249         original buffer before retry.
15251 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15253         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
15254         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
15255         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
15256         GLRO(dl_auxv) list.
15257         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
15258         including <ldsodefs.h>.
15259         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
15261 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
15263         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
15264         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
15265         $(CPPFLAGS).
15267 2016-04-09  Khem Raj  <raj.khem@gmail.com>
15269         [BZ #17950]
15270         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
15271         Add -mfpmath=387.
15273 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
15275         * sysdeps/i386/configure.ac: Change == to = when calling test.
15276         * sysdeps/x86_64/configure.ac: Likewise.
15277         * sysdeps/i386/configure: Regenerated.
15278         * sysdeps/x86_64/configure: Likewise.
15280 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
15282         [BZ #16137]
15283         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
15284         * benchtests/bench-strcoll.c (input_files): Likewise.
15285         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
15286         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
15287         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
15289 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
15291         [BZ #19929]
15292         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
15293         [__USE_XOPEN2K8 && !__USE_GNU].
15294         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
15295         variable.
15297         [BZ #19925]
15298         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
15299         define if [!__USE_MISC && __USE_XOPEN2K].
15300         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
15301         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
15302         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
15303         Likewise.
15304         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
15305         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
15306         variable.
15307         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15309 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15311         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15312         (sysdep_routines): Add new strspn targets.
15313         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15314         (__libc_ifunc_impl_list): Add strspn.
15315         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
15316         New file.
15317         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
15318         Likewise.
15319         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
15320         Likewise.
15321         * sysdeps/powerpc/powerpc64/power8/strspn.S:
15322         Likewise.
15324 2016-04-07  Florian Weimer  <fweimer@redhat.com>
15326         * misc/hsearch_r.c: Include <limits.h>.
15328 2016-04-07  Florian Weimer  <fweimer@redhat.com>
15330         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
15332 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
15334         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
15335         (MEMCPY_SYMBOL): New.
15336         (MEMPCPY_SYMBOL): Likewise.
15337         (MEMMOVE_CHK_SYMBOL): Likewise.
15338         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
15339         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
15340         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
15341         Provide alias for memcpy in libc.a and ld.so.
15343 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
15345         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
15346         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
15347         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
15348         Disabled fro now.
15349         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
15350         symbols.  Properly check USE_MULTIARCH on __memset symbols.
15352 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
15354         * benchtests/Makefile (string-benchset): Add memcpy-large,
15355         memmove-large and memset-large.
15356         * benchtests/bench-memcpy-large.c: New file.
15357         * benchtests/bench-memmove-large.c: Likewise.
15358         * benchtests/bench-memmove-large.c: Likewise.
15359         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
15361 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
15363         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
15364         32-bit displacement to avoid long nop between instructions.
15366 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
15368         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
15369         a comment on VMOVU and VMOVA.
15371 2016-04-04  Florian Weimer  <fweimer@redhat.com>
15373         [BZ #19633]
15374         Use specified locale for number formatting in strfmon_l.
15375         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
15376         (__nl_lookup_word): New inline functions.
15377         * include/printf.h (__print_fp_l): Declare.
15378         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
15379         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
15380         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
15381         (___printf_fp): New function.
15382         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
15383         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
15384         * stdlib/tst-strfmon_l.c (do_test): New test.
15385         * stdlib/Makefile (tests): Add kt.
15386         (LOCALES): Build additional locales.
15387         (tst-strfmon_l.out): Require locales.
15389 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
15391         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
15392         if not in libc.
15393         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
15394         Likewise.
15395         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
15396         Likewise.
15397         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
15398         Likewise.
15400 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
15402         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
15403         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
15404         with unaligned_erms.
15405         (__memmove_erms): Skip if source == destination.
15406         (__memmove_unaligned_erms): Don't check source == destination
15407         first.
15409 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
15411         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
15412         bit_arch_Fast_Copy_Backward for Intel Core proessors.
15414 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15416         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
15417         * string/strspn.c (strspn): Likewise.
15419 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
15421         * benchtests/bench-memset.c (do_test): Support 64-byte
15422         alignment.
15423         (test_main): Test 64-byte alignment.
15425 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
15427         * benchtests/bench-memmove.c (test_main): Test 64-byte
15428         alignment.
15430 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
15432         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
15434 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15436         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
15437         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
15438         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
15440         * string/strpbrk.c (strpbrk): Rewrite function.
15441         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
15442         (__strpbrk_c2): Likewise.
15443         (__strpbrk_c3): Likewise.
15444         * string/string-inlines.c
15445         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
15446         Likewise.
15447         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
15448         Likewise.
15450         * string/strspn.c (strcspn): Rewrite function.
15451         * string/bits/string2.h (strspn): Use __builtin_strcspn.
15452         (__strspn_c1): Remove inline function.
15453         (__strspn_c2): Likewise.
15454         (__strspn_c3): Likewise.
15455         * string/string-inlines.c
15456         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
15457         compatibility symbol.
15458         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
15459         Likewise.
15460         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
15461         Likewise.
15462         * string/string-inlines.c: Include generic version.
15464 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
15465             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15467         * string/Version (libc): Add GLIBC_2.24.
15468         * string/strcspn.c (strcspn): Rewrite function.
15469         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
15470         (__strcspn_c1): Remove inline function.
15471         (__strcspn_c2): Likewise.
15472         (__strcspn_c3): Likewise.
15473         * string/string-inline.c
15474         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
15475         compatibility symbol.
15476         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
15477         Likewise.
15478         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
15479         Likewise.
15480         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
15482 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
15484         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
15485         Use ahi instead of aghi to adjust stack pointer.
15487 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15489         [BZ #19853]
15490         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
15491         TEST to take significant digits as second parameter.
15492         [TEST]: Redefine in terms of TEST_N taking 30
15493         significant digits.
15494         (do_test): Add test case to demonstrate precision
15495         failure in the ldbl-128ibm printf.
15496         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
15497         (__mpn_extract_long_double): Carry 7 extra intermediate
15498         bits of precision to aide computing difference when
15499         signs differ.
15501 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
15503         [BZ #19881]
15504         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15505         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
15506         memset-avx512-unaligned-erms.
15507         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15508         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
15509         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
15510         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
15511         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
15512         __memset_sse2_unaligned_erms, __memset_erms,
15513         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
15514         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
15515         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
15516         file.
15517         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
15518         Likewise.
15519         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
15520         Likewise.
15521         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
15522         Likewise.
15524 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
15526         [BZ #19776]
15527         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15528         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
15529         memmove-avx512-unaligned-erms.
15530         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15531         (__libc_ifunc_impl_list): Test
15532         __memmove_chk_avx512_unaligned_2,
15533         __memmove_chk_avx512_unaligned_erms,
15534         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
15535         __memmove_chk_sse2_unaligned_2,
15536         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
15537         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
15538         __memmove_avx512_unaligned_erms, __memmove_erms,
15539         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
15540         __memcpy_chk_avx512_unaligned_2,
15541         __memcpy_chk_avx512_unaligned_erms,
15542         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
15543         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
15544         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
15545         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
15546         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
15547         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
15548         __mempcpy_chk_avx512_unaligned_erms,
15549         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
15550         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
15551         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
15552         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
15553         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
15554         __mempcpy_erms.
15555         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
15556         file.
15557         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
15558         Likewise.
15559         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
15560         Likewise.
15561         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
15562         Likewise.
15564 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
15566         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
15567         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
15568         (La_s390_64_regs): Likewise.
15569         (La_s390_32_retval): Append vector register lrv_v24.
15570         (La_s390_64_retval): Likeweise.
15571         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
15572         Handle extended structs La_s390_32_regs and La_s390_32_retval.
15573         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
15574         Handle extended structs La_s390_64_regs and La_s390_64_retval.
15576 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
15578         [BZ #19916]
15579         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
15580         to create a non-vector/vector version for _dl_runtime_resolve and
15581         _dl_runtime_profile. Move implementation to ...
15582         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
15583         (_dl_runtime_resolve) Save and restore fpr/vrs.
15584         (_dl_runtime_profile) Save and restore vrs and fix some issues
15585         if _dl_call_pltexit is called.
15586         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
15587         Choose the correct resolver function if running on a machine with vx.
15588         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
15589         to create a non-vector/vector version for _dl_runtime_resolve and
15590         _dl_runtime_profile. Move implementation to ...
15591         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
15592         (_dl_runtime_resolve) Save and restore fpr/vrs.
15593         (_dl_runtime_profile) Save and restore vrs and fix some issues
15594         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
15595         Choose the correct resolver function if running on a machine with vx.
15597 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15599         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
15601 2016-03-31  Florian Weimer  <fweimer@redhat.com>
15603         [BZ #19509]
15604         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
15605         skip_map != NULL.
15606         * elf/tst-dlsym-error.c: New file.
15607         * elf/Makefile (tests): Add tst-dlsym-error.
15608         (tst-dlsym-error): Link against libdl.
15610 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
15612         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15613         (__ASSUME_FUTIMESAT): Remove macro.
15614         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
15616 2016-03-29  Florian Weimer  <fweimer@redhat.com>
15618         [BZ #19879]
15619         CVE-2016-3075
15620         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
15621         copy name.
15623 2016-03-29  Florian Weimer  <fweimer@redhat.com>
15625         [BZ #19837]
15626         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
15627         error if parse_line fails.
15629 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
15631         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
15632         (index_cpu_ERMS): Likewise.
15633         (reg_ERMS): Likewise.
15635 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
15637         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
15638         PER_LINUX_FDPIC): Add.
15640 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
15642         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15643         memcpy-avx512-no-vzeroupper.
15644         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
15645         to ...
15646         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
15647         (MEMCPY): Don't define.
15648         (MEMCPY_CHK): Likewise.
15649         (MEMPCPY): Likewise.
15650         (MEMPCPY_CHK): Likewise.
15651         (MEMPCPY_CHK): Renamed to ...
15652         (__mempcpy_chk_avx512_no_vzeroupper): This.
15653         (MEMPCPY_CHK): Renamed to ...
15654         (__mempcpy_chk_avx512_no_vzeroupper): This.
15655         (MEMCPY_CHK): Renamed to ...
15656         (__memmove_chk_avx512_no_vzeroupper): This.
15657         (MEMCPY): Renamed to ...
15658         (__memmove_avx512_no_vzeroupper): This.
15659         (__memcpy_avx512_no_vzeroupper): New alias.
15660         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
15662 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
15664         [BZ #18858]
15665         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15666         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
15667         and mempcpy-avx512-no-vzeroupper.
15668         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
15669         New.
15670         (MEMPCPY): Likewise.
15671         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
15672         (MEMPCPY_CHK): New.
15673         (MEMPCPY): Likewise.
15674         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
15675         (MEMPCPY): Likewise.
15676         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
15677         (MEMPCPY): Likewise.
15678         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
15679         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
15680         Likewise.
15681         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
15682         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
15684 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
15685              Amit Pawar  <Amit.Pawar@amd.com>
15687         [BZ #19583]
15688         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
15689         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
15690         processors.  Set Fast_Copy_Backward for AMD Excavator
15691         processors.
15692         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
15693         New.
15694         (index_arch_Fast_Unaligned_Copy): Likewise.
15695         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
15696         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
15698 2016-03-25  Florian Weimer  <fweimer@redhat.com>
15700         [BZ #19791]
15701         * resolv/res_send.c (close_and_return_error): New function.
15702         (send_dg): Initialize *resplen2 after reopen failure.  Call
15703         close_and_return_error for error returns.  On error paths without
15704         __res_iclose, initialze *resplen2 explicitly.  Update comment for
15705         successful return.
15707 2016-03-25  Florian Weimer  <fweimer@redhat.com>
15709         [BZ# 19860]
15710         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
15711         zero if the compiler does not provide the AVX512F bit.
15713 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
15715         [BZ #19848]
15716         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
15717         from 8 to 4.
15718         (__ieee754_powl): Compare integer exponent against 4 not 8.
15719         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
15720         from 8 to 4.
15721         (__ieee754_powl): Compare integer exponent against 4 not 8.
15722         * math/auto-libm-test-in: Add more tests of pow.
15723         * math/auto-libm-test-out: Regenerated.
15724         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
15725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15727 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
15729         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
15730         Make code unconditional.
15731         [!__NR_utimensat]: Remove conditional code.
15732         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
15733         Make code unconditional.
15734         [!__NR_utimensat]: Remove conditional code.
15735         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
15736         Make code unconditional.
15737         [!__NR_utimensat]: Remove conditional code.
15739 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
15741         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
15742         Make code unconditional.
15744 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
15746         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
15747         call-clobbered %eax on retry path.
15748         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
15750 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
15752         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
15753         Don't set %rcx twice before "rep movsb".
15755 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
15757         [BZ #19583]
15758         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
15759         inline.  Check family before setting family, model and
15760         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
15761         bits here.
15762         (init_cpu_features): Replace HAS_CPU_FEATURE and
15763         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
15764         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
15765         for Intel processors with usable AVX2.  Call get_common_indeces
15766         for other processors with family == NULL.
15767         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
15768         (CPU_FEATURES_ARCH_P): Likewise.
15769         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
15770         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
15772 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15774         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
15775         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
15776         $(shared-thread-library) instead of hardcoding the path to libpthread.
15778 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
15780         * sysdeps/unix/sysv/linux/kernel-features.h
15781         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
15782         * sysdeps/unix/sysv/linux/getdents.c
15783         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
15784         [!have_no_getdents64_defined]: Likewise.
15785         (__GETDENTS): Remove __have_no_getdents64 conditional.
15787 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
15789         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
15790         Remove macro.
15791         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
15792         <kernel-features.h>.
15793         (signalfd) [__NR_signalfd4]: Make code unconditional.
15794         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
15796 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15798         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
15799         style.
15801 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
15803         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
15804         (__pthread_enable_asynccancel): Use JUMPTARGET to call
15805         __pthread_unwind.
15806         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
15807         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
15808         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
15809         (__condvar_cleanup1): Likewise.
15811 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
15813         [BZ #19822]
15814         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
15815         move it to the final $@ location.
15817 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15819         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
15820         access where posix_spawn success and pid argument is null.
15821         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
15822         success case.
15824 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
15826         * sysdeps/mach/hurd/i386/c++-types.data: New file.
15828         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
15830         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
15831         and __fcntl.
15832         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
15833         __fcntl only.
15834         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
15835         adding attribute_hidden to __open and __fcntl.
15837         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
15838         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
15839         depend on libc-modules.h,
15840         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
15842 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
15844         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
15845         Remove macro.
15846         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
15847         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
15848         entry.
15850         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
15851         Remove macro.
15852         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
15853         include <kernel-features.h>.
15854         [!__ASSUME_FALLOCATE]: Remove conditional code.
15855         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
15857 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
15859         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
15860         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
15861         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
15862         (_ZGVdN4v_cos_avx2): Likewise.
15863         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
15864         (_ZGVdN4v_cos): Likewise.
15865         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
15866         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
15867         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
15868         (_ZGVdN4v_exp_avx2): Likewise.
15869         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
15870         (_ZGVdN4v_exp): Likewise.
15871         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
15872         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
15873         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
15874         (_ZGVdN4v_log_avx2): Likewise.
15875         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
15876         (_ZGVdN4v_log): Likewise.
15877         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
15878         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
15879         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
15880         (_ZGVdN4vv_pow_avx2): Likewise.
15881         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
15882         (_ZGVdN4vv_pow): Likewise.
15883         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
15884         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
15885         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
15886         (_ZGVdN4v_sin_avx2): Likewise.
15887         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
15888         (_ZGVdN4v_sin): Likewise.
15889         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
15890         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
15891         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
15892         (_ZGVdN4vvv_sincos_avx2): Likewise.
15893         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
15894         (_ZGVdN4vvv_sincos): Likewise.
15895         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
15896         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
15897         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
15898         (_ZGVbN4v_cosf_sse4): Likewise.
15899         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
15900         (_ZGVdN8v_cosf_avx2): Likewise.
15901         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
15902         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
15903         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
15904         (_ZGVbN4v_expf_sse4): Likewise.
15905         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
15906         (_ZGVdN8v_expf_avx2): Likewise.
15907         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
15908         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
15909         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
15910         (_ZGVbN4v_logf_sse4): Likewise.
15911         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
15912         (_ZGVdN8v_logf_avx2): Likewise.
15913         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
15914         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
15915         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
15916         (_ZGVbN4vv_powf_sse4): Likewise.
15917         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
15918         (_ZGVdN8vv_powf_avx2): Likewise.
15919         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
15920         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
15921         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
15922         (_ZGVbN4vvv_sincosf_sse4): Likewise.
15923         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
15924         (_ZGVdN8vvv_sincosf_avx2): Likewise.
15925         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
15926         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
15927         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
15928         (_ZGVbN4v_sinf_sse4): Likewise.
15929         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
15930         (_ZGVdN8v_sinf_avx2): Likewise.
15931         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
15932         Use JUMPTARGET to call callee.
15933         (WRAPPER_IMPL_SSE2_ff): Likewise.
15934         (WRAPPER_IMPL_SSE2_fFF): Likewise.
15935         (WRAPPER_IMPL_AVX): Likewise.
15936         (WRAPPER_IMPL_AVX_ff): Likewise.
15937         (WRAPPER_IMPL_AVX_fFF): Likewise.
15938         (WRAPPER_IMPL_AVX512): Likewise.
15939         (WRAPPER_IMPL_AVX512_ff): Likewise.
15940         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
15941         Likewise.
15942         (WRAPPER_IMPL_SSE2_ff): Likewise.
15943         (WRAPPER_IMPL_SSE2_fFF): Likewise.
15944         (WRAPPER_IMPL_AVX): Likewise.
15945         (WRAPPER_IMPL_AVX_ff): Likewise.
15946         (WRAPPER_IMPL_AVX_fFF): Likewise.
15947         (WRAPPER_IMPL_AVX512): Likewise.
15948         (WRAPPER_IMPL_AVX512_ff): Likewise.
15949         (WRAPPER_IMPL_AVX512_fFF): Likewise.
15951 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15953         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
15954         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
15955         qualifier.
15956         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
15957         internal_function qualifiers.
15959 2016-03-15  Carlos O'Donell <carlos@redhat.com>
15961         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
15962         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
15963         * math/atest-exp.c (exp_mpn): Mark chk unused.
15964         * math/atest-exp2.c (exp_mpn): Likewise.
15965         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
15966         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
15968 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
15970         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
15971         Remove macro.
15972         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
15973         <kernel-features.h>.
15974         [__NR_ppoll]: Make code unconditional.
15975         [!__ASSUME_PPOLL]: Remove conditional code.
15977         * sysdeps/unix/sysv/linux/kernel-features.h
15978         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
15979         (__ASSUME_ACCEPT4): Likewise.
15980         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15981         Define.
15982         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
15983         Likewise.
15984         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15985         Likewise.
15986         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
15987         Likewise.
15988         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
15989         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
15990         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15991         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
15992         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15993         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15994         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15995         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15996         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15997         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15998         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15999         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16000         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16001         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16002         * sysdeps/unix/sysv/linux/i386/kernel-features.h
16003         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16004         Likewise.
16005         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16006         Likewise.
16007         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16008         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
16009         0x040300].
16010         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16011         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
16012         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16013         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16014         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
16015         0x030300].
16016         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
16017         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16018         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16019         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
16020         0x040300].
16021         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16022         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16023         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16024         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16025         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16026         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16027         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
16028         0x030300].
16029         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16030         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16031         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16032         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16033         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16034         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16035         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16036         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16037         * sysdeps/unix/sysv/linux/s390/kernel-features.h
16038         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16039         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
16040         0x040300].
16041         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16042         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16043         * sysdeps/unix/sysv/linux/sh/kernel-features.h
16044         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16045         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16046         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16047         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16048         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16049         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16050         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16051         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16052         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16053         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16054         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16055         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
16056         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16057         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16058         Likewise.
16059         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16060         Likewise.
16062 2016-03-15  Andreas Schwab  <schwab@suse.de>
16064         [BZ #19257]
16065         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
16066         statp->_u._ext.nscount as loop count.
16068 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
16070         * math/test-signgam-finite-c99.c: Also #undef
16071         __LIBC_INTERNAL_MATH_INLINES.
16072         * math/test-signgam-main.c: Likewise.
16074 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
16076         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
16077         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16078         (MADV_FREE): Likewise.
16079         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
16080         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
16081         EPOLLEXCLUSIVE.
16083 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
16085         * timezone/README: Remove mention of checktab.awk. Mention wiki
16086         SharedSourceFiles.
16088 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
16090         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
16091         WUNTRACED.
16093 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16095         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
16096         order to match the type of p when calling atomic_exchange_acq().
16098 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16100         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
16101         cfi_offset calls.
16102         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
16103         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
16104         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
16105         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
16106         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
16108 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
16110         * timezone/checktab.awk: Removed.
16112 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
16114         * manual/math.texi (Errors in Math Functions): Document relaxed
16115         accuracy goals for IBM long double.
16116         * math/libm-test.inc (test_exceptions): Always allow spurious
16117         "underflow" and "inexact" exceptions for IBM long double.
16119 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
16121         [BZ #19762]
16122         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
16123         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
16124         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
16125         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
16126         (bit_arch_*): This for feature array.
16127         (bit_*): Renamed to ...
16128         (bit_cpu_*): This for cpu array.
16129         (index_*): Renamed to ...
16130         (index_arch_*): This for feature array.
16131         (index_*): Renamed to ...
16132         (index_cpu_*): This for cpu array.
16133         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
16134         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
16135         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
16136         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
16137         bit_##name with index_cpu_##name and bit_cpu_##name.
16138         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
16139         bit_##name with index_arch_##name and bit_arch_##name.
16141 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
16143         [BZ #19792]
16144         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
16145         Terminate FDE before return label.
16147 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
16149         [BZ #19790]
16150         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
16151         (rintl): Define as macro.
16152         [USE_AS_NEARBYINTL] (__rintl): Likewise.
16153         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
16154         of fesetround.  Ensure results are evaluated before end of scope.
16155         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
16156         USE_AS_NEARBYINTL and include s_rintl.c.
16157         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
16158         Disable exception traps in new environment.
16159         (libc_feholdsetround_ppc_ctx): Likewise.
16161 2016-03-08  Roland McGrath  <roland@hack.frob.com>
16163         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
16164         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
16165         (tst_audit10_aux) [__AVX512F__]: ... here.
16167 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
16169         * include/sys/auxv.h: New file.
16171 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
16173         [BZ #19759]
16174         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
16176 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16178         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
16179         operand modifier.
16180         (feclearexcept): Likewise.
16182 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16184         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
16185         to reflect the entire 32-bit HWCAP.
16186         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
16187         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
16189 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
16191         [BZ #19783]
16192         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
16193         $(test-via-rtld-prefix).
16194         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
16196 2016-03-08  Florian Weimer  <fweimer@redhat.com>
16198         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
16199         union wait.  Report any non-zero exit status as error.
16201 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16203         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
16204         configured with --enable-hardcoded-path-in-tests.
16206 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
16208         [BZ #19677]
16209         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
16210         (__ieee754_remainderl): Put zero low parts in canonical form.
16211         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
16212         file.  Based on
16213         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
16214         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
16215         with wrapper round test-fmodrem-ldbl-128ibm.c.
16216         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
16217         file.
16218         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
16219         Likewise.
16220         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
16221         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
16223 2016-03-07  Florian Weimer  <fweimer@redhat.com>
16225         [BZ #19610]
16226         * elf/ldconfig.c (opt_link): Update comment.
16227         (options): Update help string for option -X.
16228         (search_dir): Unlink stale symbolic link only if updating symbolic
16229         links.
16230         * elf/tst-ldconfig-X.sh: New file.
16231         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
16232         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
16234 2016-03-07  Andreas Schwab  <schwab@suse.de>
16236         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
16237         needed arguments.
16239 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
16241         [BZ #15333]
16242         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
16243         to lstat64.
16245 2016-03-07  Florian Weimer  <fweimer@redhat.com>
16247         * libio/filedoalloc.c (isatty): Remove.
16248         (local_isatty): Add comment.  Call __isatty directly.
16249         (_IO_file_doallocate): Update comment.  Assume _LIBC.
16250         * libio/wfiledoalloc.c (isatty): Remove.
16251         (_IO_wfile_doallocate): Update comment.
16253 2016-03-07  Florian Weimer  <fweimer@redhat.com>
16255         [BZ #19269]
16256         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
16257         tst-audit4-aux.o.
16258         (tst-audit10): Depend on tst-audit10-aux.o.
16259         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
16260         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
16261         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
16262         instead of inline AVX code.
16263         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
16264         instead of inline AVX512 code.
16265         * sysdeps/x86_64/tst-audit4-aux.c: New file
16266         * sysdeps/x86_64/tst-audit10-aux.c: New file
16268         [BZ #19648]
16269         * test-skeleton.c (main): Do not set RLIMIT_DATA.
16271 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16273         [BZ #14750]
16274         [BZ #10354]
16275         [BZ #18433]
16276         * include/sched.h (__clone): Add hidden prototype.
16277         (__clone2): Likewise.
16278         * include/unistd.h (__dup): Likewise.
16279         * posix/Makefile (tests): Add tst-spawn2.
16280         * posix/tst-spawn2.c: New file.
16281         * sysdeps/posix/dup.c (__dup): Add hidden definition.
16282         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
16283         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
16284         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
16285         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
16286         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
16287         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
16288         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
16289         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
16290         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
16291         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
16292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
16293         Likewise.
16294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16295         Likewise.
16296         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
16297         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
16298         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
16299         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
16300         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
16301         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
16302         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
16303         * sysdeps/unix/sysv/linux/nptl-signals.h
16304         (____nptl_is_internal_signal): New function.
16305         * sysdeps/unix/sysv/linux/spawni.c: New file.
16307         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
16308         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
16309         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
16310         * posix/tst-execvp2.c (do_test): Likewise.
16311         * posix/tst-execvp3.c (do_test): Likewise.
16312         * posix/tst-execvp4.c (do_test): Likewise.
16313         * posix/tst-execvpe1.c: New file.
16314         * posix/tst-execvpe2.c: Likewise.
16315         * posix/tst-execvpe3.c: Likewise.
16316         * posix/tst-execvpe4.c: Likewise.
16317         * posix/tst-execvpe5.c: Likewise.
16318         * posix/tst-execvpe6.c: Likewise.
16320         [BZ #19534]
16321         * posix/execl.c (execl): Remove dynamic memory allocation.
16322         * posix/execle.c (execle): Likewise.
16323         * posix/execlp.c (execlp): Likewise.
16325 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
16327         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
16328         Replace .text with .text.avx512.
16329         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
16330         Likewise.
16332 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
16334         * sysdeps/generic/libnsl.abilist: New file.
16335         * sysdeps/generic/libutil.abilist: New file.
16337 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
16339         [BZ #19762]
16340         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
16341         HAS_ARCH_FEATURE with Fast_Rep_String.
16342         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
16343         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
16344         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
16345         Likewise.
16346         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
16347         Likewise.
16348         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
16349         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
16350         Likewise.
16351         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
16352         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
16353         Likewise.
16355 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
16357         [BZ #19745]
16358         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
16359         with *%rax in call.
16361 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
16363         [BZ #19745]
16364         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
16365         with *__libc_start_main@GOTPCREL(%rip) in call.
16367 2016-03-04  Roland McGrath  <roland@hack.frob.com>
16369         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
16370         inside conditional for nonempty $(CXX).
16372         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
16373         nonempty.
16375         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
16376         to test for empty $(CXX) rather than $(CXX) of "no".
16378 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
16380         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
16382 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
16383             H.J. Lu  <hongjiu.lu@intel.com>
16385         [BZ #18880]
16386         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
16387         instead of Slow_BSF, and also check for Fast_Copy_Backward to
16388         enable __memcpy_ssse3_back.
16390 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
16392         [BZ #19758]
16393         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
16394         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
16396 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
16398         [BZ #19490]
16399         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
16400         (__fentry__): Likewise.
16402 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
16404         * gmon/Makefile (noprof): Add $(sysdep_noprof).
16405         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
16407 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
16409         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
16410         __mcount_internal directly.
16411         (C_LABEL(__fentry__)): Likewise.
16412         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
16413         directly.
16415 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
16417         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16418         (__start_context): Call __setcontext directly.
16420 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
16422         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16423         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16424         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
16425         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
16426         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16427         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16428         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
16429         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16430         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16431         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
16432         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
16433         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
16434         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16435         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16436         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16437         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16438         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
16439         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16440         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16441         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
16442         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
16443         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16444         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16445         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
16446         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
16447         Remove conditional code.
16448         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16449         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
16450         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16451         * sysdeps/unix/sysv/linux/sh/kernel-features.h
16452         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
16453         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16454         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
16455         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16456         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16457         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16458         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16459         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16461 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
16463         * NEWS (2.23): Fix typo in bug 19048 text.
16465 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
16467         [BZ #14259]
16468         * Makeconfig: Rename msgcatdir to localedir.
16469         Rename inst_msgcatdir to inst_localedir.
16470         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
16471         * config.make.in: Add localedir.
16472         * elf/Makefile ($(objpfx)sotruss): Use localedir.
16473         (ldd-rewrite): Likewise.
16474         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
16475         (install-others): Use inst_localedir.
16476         (CPPFLAGS): Use localedir.
16477         * locale/Makefile (locale-CPPFLAGS): Likewise.
16478         * po/Makefile (mo-installed): Use inst_localedir.
16480         [BZ #19575]
16481         * localedata/charmaps/GB18030: Update comments regarding PAU to
16482         non-PUA mappings.
16484 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
16486         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
16487         test for header.
16488         * sysdeps/unix/sysv/linux/configure: Regenerated.
16489         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
16490         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
16491         Remove conditional code.
16492         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
16494         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
16495         Define to 3.2.0.
16496         (arch_minimum_kernel): Likewise.
16497         * sysdeps/unix/sysv/linux/configure: Regenerated.
16498         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
16499         Define to 2.6.32.
16500         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
16501         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
16502         (arch_minimum_kernel): Define to 2.6.32.
16503         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
16504         * README: Document Linux 3.2 requirement.
16505         * manual/install.texi (Linux): Document Linux 3.2 headers
16506         requirement.
16507         * INSTALL: Regenerated.
16509 2016-02-24  Andreas Schwab  <schwab@suse.de>
16511         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
16512         if !NO_LONG_DOUBLE.
16514 2016-02-22  Roland McGrath  <roland@hack.frob.com>
16516         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
16517         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
16519 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
16521         [BZ #19512]
16522         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
16524 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
16526         * posix/tst-dir.c: Include libc-internal.h.
16528 2016-02-20  Florian Weimer  <fweimer@redhat.com>
16530         [BZ #19056]
16531         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
16532         * manual/filesys.texi (Reading/Closing Directory): Mention
16533         deprecaion.
16534         * posix/tst-dir.c (main): Disable deprecation warning in test.
16536 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
16538         [BZ #19679]
16539         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
16540         Renamed to ...
16541         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
16542         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
16543         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
16544         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
16545         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
16546         * sysdeps/x86_64/dl-trampoline.h
16547         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
16548         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
16550 2016-02-19  Mark Wielaard  <mjw@redhat.com>
16552         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
16554 2016-02-19  Mark Wielaard  <mjw@redhat.com>
16556         * elf/elf.h (R_386_GOT32X): New.
16557         (R_386_NUM): Update.
16558         (R_X86_64_GOTPCRELX: New.
16559         (R_X86_64_REX_GOTPCRELX): New.
16560         (R_X86_64_NUM): Update.
16562 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
16564         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
16566 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
16568         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
16569         assign attr->stackaddr to it, and adjust it down when
16570         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
16571         [_STACK_GROWS_UP]: Delete assert.
16572         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
16573         Implement stack grows up logic.
16574         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
16575         stack grows up logic.
16577 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16579         * NEWS: Update with 2.24 template.
16581 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
16583         [BZ #19678]
16584         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
16585         Ensure +0.0 is returned when taking the next value below the least
16586         positive value.
16588 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16590         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
16591         available.  Do not define NO_THREADS.
16592         * malloc/malloc.c: Do not check NO_THREADS.
16593         * malloc/arena.c: Likewise.
16595 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16597         * malloc/malloc.c (__libc_mallinfo): Update comment.
16598         (struct malloc_par): Remove max_total_mem member, it was always 0.
16599         (int_mallinfo): Store 0 into usmblks (no functional change).
16600         * malloc/hooks.c (struct malloc_state): Document that
16601         max_total_mem is always 0.
16602         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
16603         always 0.
16604         * manual/memory.texi (Statistics of Malloc): Likewise.
16606 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16608         * malloc/malloc.c (sysmalloc): Do not update arena_max.
16609         * malloc/arena.c (arena_max): Remove.
16610         (heap_trim, _int_new_arena): Do not update arena_max.
16612 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16614         * resolv/res_init.c (res_ninit): Update comment.
16616 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16618         [BZ #19505]
16619         * posix/spawn_int.h: Add headers and include guard.
16620         (__spawn_valid_fd): New function.
16621         * posix/spawn_faction_addopen.c
16622         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
16623         * posix/spawn_faction_addclose.c
16624         (posix_spawn_file_actions_addclose): Likewise.
16625         * posix/spawn_faction_adddup2.c
16626         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
16627         second file descriptor.
16628         * posix/spawn_valid_fd.c: New file.
16629         * posix/tst-posix_spawn-fd.c: New file.
16630         * posix/Makefile (routines): Add spawn_valid_fd.
16631         (tests): Add tst-posix_spawn-fd.
16633 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16635         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
16636         (do_test): Limit the number of arenas, so that we can use fewer
16637         outer threads.  Limit timeout to 3 seconds, in preparation for a
16638         larger TIMEOUT value.
16640 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
16642         [BZ #19674]
16643         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
16644         sign in overflowing and underflowing results when overflow or
16645         underflow is detected early.  Include sign in result before rather
16646         than after scaling.
16648         [BZ #19603]
16649         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
16650         (__ieee754_remainderl): Adjust sign of integer version of low part
16651         when taking absolute value of high part.
16652         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16653         * math/libm-test.inc (remainder_test_data): Add another test.
16654         (remquo_test_data): Likewise.
16656 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
16658         [BZ #19602]
16659         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
16660         equal high parts and both low parts zero specially.
16661         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
16662         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
16663         Add test-fmodl-ldbl-128ibm.
16665         [BZ #19595]
16666         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
16667         common logic for all cases of shifting subnormal results.  Do not
16668         insert sign bit in shifted mantissa.  Always pass -1023 as biased
16669         exponent to ldbl_insert_mantissa in subnormal case.
16671         [BZ #19594]
16672         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
16673         on high and low parts then adjust result and use
16674         ldbl_canonicalize_int if needed.
16676         [BZ #19593]
16677         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
16678         on high part and __floor or __ceil on low part then use
16679         ldbl_canonicalize_int if needed.
16681         [BZ #19592]
16682         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
16683         high and low parts then use ldbl_canonicalize_int if needed.
16685         [BZ #17899]
16686         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
16687         New function.
16688         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
16689         on high and low parts then use ldbl_canonicalize_int if needed.
16691 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16693         * configure: Regenerated.
16695         * po/libc.pot: Regenerated.
16697         * po/be.po: Updated translation.
16698         * po/bg.po: Likewise.
16699         * po/ca.po: Likewise.
16700         * po/cs.po: Likewise.
16701         * po/da.po: Likewise.
16702         * po/el.po: Likewise.
16703         * po/eo.po: Likewise.
16704         * po/es.po: Likewise.
16705         * po/fi.po: Likewise.
16706         * po/fr.po: Likewise.
16707         * po/gl.po: Likewise.
16708         * po/hr.po: Likewise.
16709         * po/hu.po: Likewise.
16710         * po/ia.po: Likewise.
16711         * po/id.po: Likewise.
16712         * po/it.po: Likewise.
16713         * po/ja.po: Likewise.
16714         * po/lt.po: Likewise.
16715         * po/nb.po: Likewise.
16716         * po/nl.po: Likewise.
16717         * po/pt_BR.po: Likewise.
16718         * po/rw.po: Likewise.
16719         * po/sk.po: Likewise.
16720         * po/sl.po: Likewise.
16721         * po/sv.po: Likewise.
16722         * po/tr.po: Likewise.
16723         * po/zh_CN.po: Likewise.
16724         * po/zh_TW.po: Likewise.
16726         * version.h (RELEAES): Set to "development".
16727         (VERSION): Set to 2.23.90.
16729         * version.h (RELEASE): Set to "stable".
16730         (VERSION): Set to 2.23.
16731         * include/feature.h (__GLIBC_MINOR__): Set to 23.
16733         * NEWS: Updated fixed bugs.
16735 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
16736             Wilco Dijkstra  <wdijkstr@arm.com>
16738         [BZ #19462]
16739         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
16740         (_STRING_INLINE_unaligned): This.
16741         * include/string.h: Include <string_private.h>.
16742         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
16743         _STRING_INLINE_unaligned.
16744         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
16745         (_STRING_INLINE_unaligned): New.
16746         * sysdeps/aarch64/string_private.h: New file.
16747         * sysdeps/generic/string_private.h: Likewise.
16748         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
16749         * sysdeps/s390/string_private.h: Likewise.
16750         * sysdeps/x86/string_private.h: Likewise.
16751         * sysdeps/m68k/m680x0/m68020/bits/string.h
16752         (_STRING_ARCH_unaligned): Renamed to ...
16753         (_STRING_INLINE_unaligned): This.
16754         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
16755         to ...
16756         (_STRING_INLINE_unaligned): This.
16757         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
16758         to ...
16759         (_STRING_INLINE_unaligned): This.
16760         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
16761         to ...
16762         (_STRING_INLINE_unaligned): This.
16764 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
16765             H.J. Lu  <hongjiu.lu@intel.com>
16767         [BZ #19590]
16768         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
16769         relocation.
16771 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
16773         [BZ #18665]
16774         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
16775         *herrno_p.
16776         (gaih_getanswer): Document functional behviour. Return tryagain
16777         if any result is tryagain.
16778         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
16779         when freed.
16780         * resolv/res_send.c: Add copyright text.
16781         (__libc_res_nsend): Document that MAXPACKET is expected.
16782         (send_vc): Document. Remove buffer reuse.
16783         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
16784         size of the buffer. Add Dprint for truncated UDP buffer.
16786 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
16788         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
16789         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
16790         * INSTALL: Regenerate.
16792 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
16793             Jonathan Wakely  <jwakely@redhat.com>
16794             Carlos O'Donell  <carlos@redhat.com>
16796         [BZ 19439]
16797         * math/Makefile (tests): Add test-math-isinff.
16798         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
16799         * math/bits/mathcalls.h [__USE_MISC]: Use
16800         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
16801         functions not in C++11 and which don't conflict e.g. isinff,
16802         isinfl etc.
16803         * math/test-math-isinff.cc: New file.
16805 2016-02-12  Florian Weimer  <fweimer@redhat.com>
16807         * misc/bug18240.c (do_test): Set RLIMIT_AS.
16809 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16811         [BZ #19529]
16812         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
16814 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16816         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
16818 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
16820         [BZ #19550]
16821         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
16822         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
16823         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
16824         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
16825         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
16826         New syscall entry.
16827         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
16828         New syscall entry.
16829         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
16830         syscall entry.
16832 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
16834         [BZ #18240]
16835         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
16836         unsigned int wraparound.
16838 2016-01-27  Florian Weimer  <fweimer@redhat.com>
16840         [BZ #18240]
16841         * misc/bug18240.c: New test.
16842         * misc/Makefile (tests): Add it.
16844 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
16845             Joseph Myers  <joseph@codesourcery.com>
16847         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
16848         load in branch delay slot when less than a word of input left.
16850 2016-01-27  Andreas Schwab  <schwab@suse.de>
16852         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
16853         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
16854         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
16855         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
16857 2016-01-26  David S. Miller  <davem@davemloft.net>
16859         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
16861 2016-01-25  David S. Miller  <davem@davemloft.net>
16863         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
16864         __sqrtl_finite.
16865         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
16866         instead using versioned_symbol.
16867         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
16868         of entries.
16870         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
16871         __sqrtl_finite to GLIBC_2.23
16873 2016-01-25  Ricchard Henderson  <rth@redhat.com>
16875         * sysdeps/alpha/fpu/libm-test-ulps: Update.
16877 2016-01-25  Andreas Schwab  <schwab@suse.de>
16879         [BZ #17514]
16880         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
16881         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
16882         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
16883         * nptl/tst-mutex-errorcheck.c: New file.
16885 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16887         [BZ #18560]
16888         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
16889         (IPCOP_semop): Likewise.
16890         (IPCOP_semget): Likewise.
16891         (IPCOP_semctl): Likewise.
16892         (IPCOP_msgsnd): Likewise.
16893         (IPCOP_msgrcv): Likewise.
16894         (IPCOP_msgget): Likewise.
16895         (IPCOP_msgctl): Likewise.
16896         (IPCOP_shmat): Likewise.
16897         (IPCOP_shmdt): Likewise.
16898         (IPCOP_shmget): Likewise.
16899         (IPCOP_shmctl): Likewise.
16901 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
16903         * string/tst-endian.c: Include <libc-internal.h>.
16904         (do_test): Ignore tautological-compare warnings around
16905         "htobeXX (beXXtoh (i)) != i" and
16906         "htoleXX (leXXtoh (i)) != i" if-statements.
16908 2016-01-24  David S. Miller  <davem@davemloft.net>
16910         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
16911         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
16912         alias.
16913         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
16914         __sqrtl_finite.
16916         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16918 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
16920         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
16921         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
16922         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
16924 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16926         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
16927         (thread_func): Use new function to simplify barrier check.
16928         (do_test): Use new function to simplify checking barrier exit
16929         code, and actually join the child thread.
16931 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16933         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
16934         semicolon.
16935         (__libc_tend): Likewise.
16936         (__libc_tabort): Likewise.
16938 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
16940         * sysdeps/nios2/libm-test-ulps: Update.
16941         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
16942         (__gtsf2): Likewise.
16943         (__unorddf2): Likewise.
16944         (__unordsf2): Likewise.
16945         (__ledf2): Likewise.
16947 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
16949         * nis/nis_table.c (__follow_path): Disable diagnostic for
16950         uninitialized variable that is a false positive for gcc 4.7.
16951         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
16953 2016-01-20  Roland McGrath  <roland@hack.frob.com>
16955         * sysdeps/nacl/lowlevellock-futex.h
16956         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
16957         Always evaluate PRIVATE argument.
16959 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
16961         [BZ #19490]
16962         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
16963         (pthread_cond_broadcast): Use ENTRY/END
16964         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
16965         (pthread_cond_signal): Likewise.
16966         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
16967         Likewise.
16968         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
16969         Likewise.
16970         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
16971         Likewise.
16973 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
16975         * sysdeps/ieee754/dbl-64/s_finite.c
16976         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
16977         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
16978         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
16979         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
16980         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
16982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
16983         (__gtsf2): Add as optional for libc.so.
16984         (__unordsf2): Likewise.
16985         (__signbit): Remove for libc.so.
16986         (__signbitl): Likewise.
16988 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16990         * iconvdata/bug-iconv11.c (test_ibm93x):
16991         Use %zu printf format specifier for size_t argument.
16993 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
16995         * math/gen-libm-test.pl (parse_ulps): Do not reduce
16996         already-recorded ulps.
16997         * sysdeps/arm/libm-test-ulps: Regenerated.
16998         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16999         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17000         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17002 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
17003             Paul Pluzhnikov  <ppluzhnikov@google.com>
17005         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
17006         assembler not supporting AVX-512.
17008 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
17010         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17012 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
17014         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
17015         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17017         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17019         * sysdeps/arm/libm-test-ulps: Regenerated.
17021 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
17023         [BZ #19451]
17024         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
17026 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17028         [BZ #19486]
17029         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
17030         * sysdeps/generic/fix-fp-int-convert-overflow.h
17031         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
17032         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
17033         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
17034         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
17035         Likewise.
17036         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
17037         Avoid conversions to long int where inexact exceptions
17038         could be raised.
17039         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
17040         Likewise.
17041         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
17042         Avoid conversions to long long int where inexact exceptions
17043         could be raised.
17044         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
17045         Likewise.
17047 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
17049         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
17050         * configure: Regenerated.
17052 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
17054         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
17056 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
17058         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
17059         outside of comment.
17061 2016-01-15  Torvald Riegel  <triegel@redhat.com>
17063         * nptl/tst-barrier1.c: Add description on first line.
17064         * nptl/tst-barrier2.c: Likewise.
17065         * nptl/tst-barrier3.c: Likewise.
17066         * nptl/tst-barrier4.c: Likewise.
17067         * nptl/tst-barrier5.c: Likewise.
17069 2016-01-15  Torvald Riegel  <triegel@redhat.com>
17071         [BZ #18868]
17072         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
17074 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
17076         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
17077         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
17078         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
17079         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
17080         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
17081         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
17082         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17083         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17084         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17085         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17086         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17088 2016-01-15  Torvald Riegel  <triegel@redhat.com>
17090         [BZ #13065]
17091         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
17092         new implementation.
17093         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
17094         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
17095         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
17096         (BARRIER_IN_THRESHOLD): New macro.
17097         * nptl/pthread_barrierattr_setpshared.c
17098         (pthread_barrierattr_setpshared): Clean up.
17099         * nptl/tst-barrier4.c: Correct comment.
17100         * nptl/tst-barrier5.c: New file.
17101         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
17102         (gen-as-const-headers): Remove lowlevelbarrier.sym.
17103         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
17104         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
17105         * nptl/lowlevelbarrier.sym: Remove.
17106         * nptl/DESIGN-barrier.txt: Remove.
17107         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
17108         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
17109         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
17110         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
17111         error.
17112         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
17113         implementation.
17115 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17117         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
17118         (do_child): Mask SIGRTMIN while thr is running.
17120 2016-01-15  Martin Sebor  <msebor@redhat.com>
17122         [BZ #19432]
17123         * iconvdata/Makefile: Add bug-iconv11.
17124         * iconvdata/bug-iconv11.c: New test.
17125         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
17126         * iconvdata/ibm933.c: Same.
17127         * iconvdata/ibm935.c: Same.
17128         * iconvdata/ibm937.c: Same.
17129         * iconvdata/ibm939.c: Same.
17131 2016-01-15  Martin Sebor  <msebor@redhat.com>
17133         [BZ #19443]
17134         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
17135         [DEBUG] (_ufc_set_bits): Declare used.
17136         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
17137         [DEBUG] (print_all): Declare used.
17138         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
17139         operands of the ternary ?: expression to target type.
17140         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
17141         calling the undeclared abort.
17142         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
17144 2016-01-15  Martin Sebor  <msebor@redhat.com>
17146         [BZ #18755]
17147         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
17148         warnings.
17149         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
17150         (__gai_create_helper_thread): Same.
17151         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
17152         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
17153         to suppress -Wmaybe-uninitialized warnings.
17155 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
17157         [BZ #19465]
17158         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
17159         inside if.
17160         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17161         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17162         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17164 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
17166         [BZ #19466]
17167         * time/tst-mktime2.c (time_t_max): Removed.
17168         (time_t_min): Likewise.
17169         (TYPE_SIGNED): New.
17170         (TYPE_MINIMUM): Likewise.
17171         (TYPE_MAXIMUM): Likewise.
17172         (TIME_T_MIN): Likewise.
17173         (TIME_T_MAX): Likewise.
17174         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
17175         and TIME_T_MIN.
17176         (do_test): Likewise.
17178 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
17180         [BZ #19467]
17181         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
17182         index_Fast_Unaligned_Load flag for Excavator family CPUs.
17184 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
17186         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
17188 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
17190         * benchtests/Makefile (PYTHON): Define.
17191         (bench-func): Use $(PYTHON) to run python scripts.
17192         ($(objpfx)bench-%.c): Likewise.
17194 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
17196         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
17197         leading slash when `file_name' is "/".
17199 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
17201         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
17202         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
17203         Likewise.
17204         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
17205         Likewise.
17206         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
17207         Likewise.
17208         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
17209         enum constant and macro.
17210         (PTRACE_SETSIGMASK): Likewise.
17211         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17212         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
17213         (PTRACE_GETSIGMASK): Likewise.
17214         (PTRACE_SETSIGMASK): Likewise.
17215         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17216         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
17217         Likewise.
17218         (PTRACE_SETSIGMASK): Likewise.
17219         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17220         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
17221         (PTRACE_GETSIGMASK): Likewise.
17222         (PTRACE_SETSIGMASK): Likewise.
17223         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17224         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
17225         Likewise.
17226         (PTRACE_SETSIGMASK): Likewise.
17227         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17228         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
17229         Likewise.
17230         (PTRACE_SETSIGMASK): Likewise.
17231         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17232         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
17233         Likewise.
17234         (PTRACE_SETSIGMASK): Likewise.
17235         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17237 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
17238             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17240         [BZ #19439]
17241         * math/bits/mathcalls.h
17242         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
17243         prototype.
17244         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
17246 2016-01-11  Andreas Schwab  <schwab@suse.de>
17248         [BZ #19253]
17249         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
17250         cache when TZDEFRULES was used.
17251         * time/tst-tzname.c: New file.
17252         * time/Makefile (test): Add tst-tzname.
17253         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
17254         * timezone/Makefile (test-zones): Add $(posixrules-file).
17255         ($(testdata)/$(posixrules-file)): New rule.
17257 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
17259         Fix doc quoting problems with Texinfo 5
17260         Without this change, in the info file output, Texinfo 5 quotes code
17261         in text with undirected single quotes 'like this' and generates
17262         code examples that with many PDF readers cannot be cut out of PDFs
17263         and pasted into code.
17264         * manual/libc.texinfo: Configure the libc manual like the GNU
17265         Emacs manual, by using @documentencoding and setting
17266         txicodequoteundirected and txicodequotebacktick.  This way,
17267         Texinfo 5 quotes code in text with directed single quotes ‘like
17268         this’ and produces examples that can be cut out of PDFs.  This
17269         change causes Texinfo 5 to generate info files that contain UTF-8
17270         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
17271         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
17273 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17275         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
17276         __libc_tabort, __libc_tend): New wrappers that enforce compiler
17277         barriers to their respective compiler built-ins.
17278         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
17279         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
17280         * sysdeps/powerpc/sysdep.h: Likewise.
17281         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
17282         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
17283         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
17285 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
17287         * scripts/config.guess: Revert previous shebang change.
17288         * scripts/config.sub: Likewise.
17289         * scripts/mkinstalldirs: Likewise.
17291 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17293         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
17294         PPC_FEATURE2_HAS_IEEE128.
17295         * sysdeps/powerpc/dl-procinfo.c:
17296         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
17298 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
17300         [BZ #19415]
17301         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
17302         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
17303         (_dl_lookup_address): Rewrite using function resolver trampoline.
17304         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
17305         two bits in address.
17307 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
17309         * longlong.h: Change !__SHMEDIA__ to
17310         (!defined (__SHMEDIA__) || !__SHMEDIA__).
17311         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
17313 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
17314             Joseph Myers  <joseph@codesourcery.com>
17315             Mark Shinwell  <shinwell@codesourcery.com>
17316             Andrew Stubbs  <ams@codesourcery.com>
17317             Rich Felker <dalias@libc.org>
17319         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
17321 2016-01-07  Richard Henderson  <rth@redhat.com>
17323         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
17325 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
17327         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
17328         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
17329         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17330         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
17331         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
17333 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
17334             Joseph Myers  <joseph@codesourcery.com>
17336         * timezone/private.h: Update from tzcode 2015g.
17337         * timezone/tzfile.h: Likewise.
17338         * timezone/tzselect.ksh: Likewise.
17339         * timezone/zdump.c: Likewise.
17340         * timezone/zic.c: Likewise.
17341         * timezone/ialloc.c: Remove file.
17342         * timezone/scheck.c: Likewise.
17343         * timezone/Makefile (extra-objs): Remove variable.
17344         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
17345         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
17346         -Wno-maybe-uninitialized.
17347         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
17348         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
17349         (CFLAGS-ialloc.c): Remove variable.
17350         (CFLAGS-scheck.c): Likewise.
17351         * timezone/README: Update list of files from tzcode.
17353 2016-01-07  Khem Raj  <raj.khem@gmail.com>
17355         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
17356         instead of __fxprintf when _LIBC is undefined.
17358 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
17360         * catgets/test-gencat.sh: Remove space after shebang.
17361         * conform/GlibcConform.pm: Likewise.
17362         * conform/check-header-lists.sh: Likewise.
17363         * conform/conformtest.pl: Likewise.
17364         * conform/linknamespace.pl: Likewise.
17365         * conform/list-header-symbols.pl: Likewise.
17366         * debug/catchsegv.sh: Likewise.
17367         * elf/genrtldtbl.awk: Likewise.
17368         * elf/tst-pathopt.sh: Likewise.
17369         * elf/tst-rtld-load-self.sh: Likewise.
17370         * grp/tst_fgetgrent.sh: Likewise.
17371         * iconvdata/gen-8bit-gap-1.sh: Likewise.
17372         * iconvdata/gen-8bit-gap.sh: Likewise.
17373         * iconvdata/gen-8bit.sh: Likewise.
17374         * iconvdata/run-iconv-test.sh: Likewise.
17375         * intl/tst-gettext.sh: Likewise.
17376         * intl/tst-gettext2.sh: Likewise.
17377         * intl/tst-gettext4.sh: Likewise.
17378         * intl/tst-gettext6.sh: Likewise.
17379         * intl/tst-translit.sh: Likewise.
17380         * io/ftwtest-sh: Likewise.
17381         * libio/test-freopen.sh: Likewise.
17382         * locale/gen-translit.pl: Likewise.
17383         * malloc/tst-mtrace.sh: Likewise.
17384         * manual/check-safety.sh: Likewise.
17385         * manual/libc-texinfo.sh: Likewise.
17386         * manual/tsort.awk: Likewise.
17387         * manual/xtract-typefun.awk: Likewise.
17388         * nptl/tst-cancel-wrappers.sh: Likewise.
17389         * nptl/tst-tls6.sh: Likewise.
17390         * posix/globtest.sh: Likewise.
17391         * posix/tst-getconf.sh: Likewise.
17392         * posix/wordexp-tst.sh: Likewise.
17393         * scripts/check-c++-types.sh: Likewise.
17394         * scripts/check-local-headers.sh: Likewise.
17395         * scripts/config.guess: Likewise.
17396         * scripts/config.sub: Likewise.
17397         * scripts/cpp: Likewise.
17398         * scripts/cross-test-ssh.sh: Likewise.
17399         * scripts/documented.sh: Likewise.
17400         * scripts/evaluate-test.sh: Likewise.
17401         * scripts/gen-libc-abis: Likewise.
17402         * scripts/gen-sorted.awk: Likewise.
17403         * scripts/list-fixed-bugs.py: Likewise.
17404         * scripts/merge-test-results.sh: Likewise.
17405         * scripts/mkinstalldirs: Likewise.
17406         * scripts/rellns-sh: Likewise.
17407         * scripts/test-installation.pl: Likewise.
17408         * scripts/update-copyrights: Likewise.
17409         * stdio-common/tst-printf.sh: Likewise.
17410         * stdio-common/tst-unbputc.sh: Likewise.
17411         * stdlib/tst-fmtmsg.sh: Likewise.
17412         * stdlib/tst-setcontext3.sh: Likewise.
17413         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
17414         * sysdeps/unix/make-syscalls.sh: Likewise.
17416 2016-01-06  John David Anglin  <dave.anglin@bell.net>
17418         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
17419         asm stw with atomic_exchange_rel.  Add explanatory comment.
17420         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
17421         Likewise.
17423 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
17425         [BZ #19122]
17426         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
17427         * sysdeps/generic/dl-unistd.h: New file.
17428         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
17430 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
17432          [BZ #19122]
17433          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
17434          * sysdeps/generic/dl-mman.h: New file.
17435          * sysdeps/mach/hurd/dl-mman.h: Likewise.
17437 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
17439         * manual/texinfo.tex: Update to version 2016-01-04.21 with
17440         trailing whitespace removed.
17441         * scripts/config.guess: Update to version 2016-01-01.
17442         * scripts/config.sub: Update to version 2016-01-01.
17443         * scripts/move-if-change: Update from gnulib.
17445 2016-01-04  Anton Blanchard  <anton@samba.org>
17447         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
17448         for array indices.
17449         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
17451 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
17453         * NEWS: Update copyright dates.
17454         * catgets/gencat.c (print_version): Likewise.
17455         * csu/version.c (banner): Likewise.
17456         * debug/catchsegv.sh: Likewise.
17457         * debug/pcprofiledump.c (print_version): Likewise.
17458         * debug/xtrace.sh (do_version): Likewise.
17459         * elf/ldconfig.c (print_version): Likewise.
17460         * elf/ldd.bash.in: Likewise.
17461         * elf/pldd.c (print_version): Likewise.
17462         * elf/sotruss.sh: Likewise.
17463         * elf/sprof.c (print_version): Likewise.
17464         * iconv/iconv_prog.c (print_version): Likewise.
17465         * iconv/iconvconfig.c (print_version): Likewise.
17466         * locale/programs/locale.c (print_version): Likewise.
17467         * locale/programs/localedef.c (print_version): Likewise.
17468         * login/programs/pt_chown.c (print_version): Likewise.
17469         * malloc/memusage.sh (do_version): Likewise.
17470         * malloc/memusagestat.c (print_version): Likewise.
17471         * malloc/mtrace.pl: Likewise.
17472         * manual/libc.texinfo: Likewise.
17473         * nptl/version.c (banner): Likewise.
17474         * nscd/nscd.c (print_version): Likewise.
17475         * nss/getent.c (print_version): Likewise.
17476         * nss/makedb.c (print_version): Likewise.
17477         * posix/getconf.c (main): Likewise.
17478         * scripts/test-installation.pl: Likewise.
17479         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
17481         * All files with FSF copyright notices: Update copyright dates
17482         using scripts/update-copyrights.
17483         * intl/plural.c: Regenerated.
17484         * locale/programs/charmap-kw.h: Likewise.
17485         * locale/programs/locfile-kw.h: Likewise.
17487 2016-01-02  Helge Deller  <deller@gmx.de>
17489         [BZ #19285]
17490         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
17491         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
17492         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
17493         (MADV_xxK_PAGES): Remove.
17495 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
17497         [BZ #15421]
17498         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
17499         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
17500         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
17501         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
17503 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
17505         [BZ #19408]
17506         * sysdeps/unix/sysv/linux/personality.c: New file.
17507         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
17508         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
17509         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
17510         (sysdep_routines): Add personality.
17511         (tests): Add tst-personality.
17512         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
17513         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
17514         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
17515         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
17516         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
17517         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
17518         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
17519         Likewise.
17520         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
17521         Likewise.
17522         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
17523         Likewise.
17524         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
17525         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
17526         Likewise.
17528 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
17530         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
17531         (PATH_ARM_SYSTYPE): Remove.
17532         (PATH_CPUINFO): Likewise.
17533         (IO_BASE_FOOTBRIDGE): Likewise.
17534         (IO_SHIFT_FOOTBRIDGE): Likewise.
17535         (struct platform): Likewise.
17536         (init_iosys): Remove compatibility code for 2.4 kernels.
17537         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
17539 2015-12-29  Florian Weimer  <fweimer@redhat.com>
17541         * malloc/tst-malloc-thread-fail.c: New file.
17542         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
17543         (tst-malloc-thread-fail): Link against libpthread.
17545 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
17547         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
17548         (get_parser): New function.
17549         (main): New function.
17551 2015-12-29  Rob Wu  <rob@robwu.nl>
17553         [BZ #19369]
17554         * resolv/res_init.c (__res_vinit): Reset defdname before use.
17556 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
17558         [BZ #19270]
17559         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
17561 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
17563         [BZ #15421]
17564         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
17566 2015-12-23  Torvald Riegel  <triegel@redhat.com>
17568         [BZ #13690]
17569         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
17570         after releasing it.
17571         (__lll_robust_unlock): Likewise.
17572         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
17573         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
17574         (lll_robust_unlock): Likewise.
17575         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
17576         Prevent warnings in callers.
17578 2015-12-23  Florian Weimer  <fweimer@redhat.com>
17580         * malloc/arena.c (list_lock): Update comment.
17582 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17584         * sysdeps/powerpc/hwcapinfo.c: Export symbol
17585         __parse_hwcap_and_convert_at_platform to libc.a.
17587 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17589         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
17590         platform and feature support for POWER9.
17591         * sysdeps/powerpc/dl-procinfo.h: Likewise.
17592         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
17593         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
17594         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
17595         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
17596         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
17597         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
17598         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
17600 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17602         Harmonize generic stdio-lock support with nptl
17604         This fixes build when _IO_funlockfile is a macro, fixes build where
17605         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
17606         stack unwind.
17608         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
17609         _IO_release_lock ): Use cleanup attribute on new
17610         _IO_acquire_lock_file variable instead of assuming that
17611         _IO_release_lock will be called.
17612         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
17613         _IO_acquire_lock_needs_exceptions_enabled.
17614         (_IO_acquire_lock_clear_flags2): New macro.
17616 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17618         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
17620 2015-12-21  Florian Weimer  <fweimer@redhat.com>
17622         [BZ #19182]
17623         * malloc/arena.c (list_lock): Document lock ordering requirements.
17624         (free_list_lock): New lock.
17625         (ptmalloc_lock_all): Comment on free_list_lock.
17626         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
17627         (detach_arena): Update comment.  free_list_lock is now needed.
17628         (_int_new_arena): Use free_list_lock around detach_arena call.
17629         Acquire arena lock after list_lock.  Add comment, including FIXME
17630         about incorrect synchronization.
17631         (get_free_list): Switch to free_list_lock.
17632         (reused_arena): Acquire free_list_lock around detach_arena call
17633         and attached threads counter update.  Add two FIXMEs about
17634         incorrect synchronization.
17635         (arena_thread_freeres): Switch to free_list_lock.
17636         * malloc/malloc.c (struct malloc_state): Update comments to
17637         mention free_list_lock.
17639 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
17641         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
17642         Remove functions.
17643         (sloww, sloww1): Accept argument to offset quadrant.
17644         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
17645         quadrant.
17646         (__sin, __cos): Consolidate common code into new functions.
17647         (reduce_sincos_1, do_sincos_1): New functions.
17648         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
17650         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
17651         code to new functions.
17652         (reduce_sincos_2, do_sincos_2): New functions.
17653         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
17655         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
17656         common code for sincos.
17657         (__cos) [!IN_SINCOS]: Likewise.
17658         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
17659         New function.
17660         (__sincos): Use it.
17662 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
17664         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
17665         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
17666         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
17668 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
17670         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
17671         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
17672         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
17673         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
17674         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17675         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
17676         index_Prefer_No_VZEROUPPER): New feature.
17677         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
17678         Prefer_No_VZEROUPPER for Knights Landing.
17680 015-12-18  Torvald Riegel  <triegel@redhat.com>
17682         * math/atest-exp2.c (mp_exp_m1): Remove.
17684 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17686         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
17687         syscalls.
17688         (__SYSCALL0): New macro.
17689         (__SYSCALL1): Likewise.
17690         (__SYSCALL2): Likewise.
17691         (__SYSCALL3): Likewise.
17692         (__SYSCALL4): Likewise.
17693         (__SYSCALL5): Likewise.
17694         (__SYSCALL6): Likewise.
17695         (__SYSCALL_CONCAT_X): Likewise.
17696         (__SYSCALL_CONCAT): Likewise.
17697         (__SYSCALL_DIST): Likewise.
17698         (__SYSCALL_CALL): Likewise.
17700 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
17702         [BZ #19363]
17703         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
17705 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17707         [BZ #19375]
17708         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
17709         negative subnormals.
17711 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
17713         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
17714         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
17715         (INTERNAL_SYSCALL_NCS): Use it.
17716         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17718 2015-12-16  Florian Weimer  <fweimer@redhat.com>
17720         [BZ #19243]
17721         * malloc/arena.c (get_free_list): Remove assert and adjust
17722         reference count handling.  Add comment about reused_arena
17723         interaction.
17724         (reused_arena): Add comments abount get_free_list interaction.
17725         * malloc/tst-malloc-thread-exit.c: New file.
17726         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
17727         (tst-malloc-thread-exit): Link against libpthread.
17729 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
17731         [BZ #19367]
17732         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
17733         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
17734         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
17735         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
17736         (index_Prefer_MAP_32BIT_EXEC): Likewise.
17738 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
17740         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
17741         Silvermont optimizations for Knights Landing.
17743 2015-12-15  Andreas Schwab  <schwab@suse.de>
17745         [BZ #17197]
17746         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
17747         immediately after emitting SI.
17748         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
17749         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
17750         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
17751         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
17752         * iconvdata/bug-iconv10.c: New file.
17753         * iconvdata/Makefile (tests): Add bug-iconv10.
17754         ($(objpfx)bug-iconv10.out): New rule.
17756 2015-12-15  Florian Weimer  <fweimer@redhat.com>
17758         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
17759         aliasing violation.
17761 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
17763         [BZ #18472]
17764         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
17765         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
17766         conditionals for them.
17767         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
17768         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
17769         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
17770         sys/kdaemon.h.
17771         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
17772         compat-only syscall, obsoleted in glibc 2.23.
17773         (create_module): Likewise.
17774         (get_kernel_syms): Likewise.
17775         (query_module): Likewise.
17776         (uselib): Likewise.
17777         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
17779 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
17781         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
17782         <linux/version.h>.
17783         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
17784         conditional code.
17785         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
17786         and ioshift_name initialization.
17788 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
17790         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
17791         Fix indentation.
17793 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
17795         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
17797 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
17799         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
17801 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
17802             Jakub Wilk  <jwilk@debian.org>
17804         [BZ #19347]
17805         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
17806         to change the group of the device to the tty group.
17808 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
17810         Split large string section; add truncation advice
17811         * manual/examples/strncat.c: Remove.
17812         This example was misleading, as the code would have undefined
17813         behavior if "hello" was longer than SIZE.  Anyway, the manual
17814         shouldn't encourage strncpy+strncat for this sort of thing.
17815         * manual/string.texi (Copying Strings and Arrays): Split into
17816         three sections Copying Strings and Arrays, Concatenating Strings,
17817         and Truncating Strings, as this section was way too long.  All
17818         cross-referenced changed.  Add advice about string-truncation
17819         functions.  Remove misleading strncat example.
17821 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
17823         * manual/nss.texi (NSS Modules Interface): Document
17824         NSS_STATUS_NOTFOUND and SUCCESS.
17826 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
17828         [BZ 18568]
17829         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
17830         201505L, for Unicode 8.
17832 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
17834         * locale/C-translit.h: Regenerate.
17836 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
17838         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
17839         and U+0153.
17841 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
17843         [BZ #19351]
17844         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
17845         expanding log(1+z), compare z rather than its square with epsilon
17846         to determine when to avoid evaluating the expansion.
17848         [BZ #19350]
17849         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
17850         Increase overflow threshold.
17852         [BZ #19349]
17853         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
17854         when small.
17856         * sysdeps/unix/sysv/linux/i386/kernel-features.h
17857         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
17858         New macro.
17859         [__LINUX_KERNEL_VERSION >= 0x040300]
17860         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
17861         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
17862         Likewise.
17863         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
17864         Likewise.
17865         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
17866         Likewise.
17867         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
17868         Likewise.
17869         [__LINUX_KERNEL_VERSION >= 0x040300]
17870         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
17871         [__LINUX_KERNEL_VERSION >= 0x040300]
17872         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
17873         [__LINUX_KERNEL_VERSION >= 0x040300]
17874         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
17875         [__LINUX_KERNEL_VERSION >= 0x040300]
17876         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
17877         [__LINUX_KERNEL_VERSION >= 0x040300]
17878         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
17879         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
17880         Likewise.
17881         [__LINUX_KERNEL_VERSION >= 0x040300]
17882         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
17883         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17884         Likewise.
17885         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
17886         Likewise.
17887         [__LINUX_KERNEL_VERSION >= 0x040300]
17888         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
17889         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17890         Likewise.
17891         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
17892         Likewise.
17893         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17894         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
17895         Likewise.
17896         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
17897         Likewise.
17898         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
17899         Likewise.
17900         [__LINUX_KERNEL_VERSION >= 0x040300]
17901         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
17902         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
17903         Likewise.
17904         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
17905         Likewise.
17906         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
17907         Likewise.
17908         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
17909         Likewise.
17910         [__LINUX_KERNEL_VERSION >= 0x040300]
17911         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
17912         [__LINUX_KERNEL_VERSION >= 0x040300]
17913         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
17914         [__LINUX_KERNEL_VERSION >= 0x040300]
17915         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
17916         [__LINUX_KERNEL_VERSION >= 0x040300]
17917         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
17918         [__LINUX_KERNEL_VERSION >= 0x040300]
17919         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
17920         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
17921         Likewise.
17922         [__LINUX_KERNEL_VERSION >= 0x040300]
17923         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
17924         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17925         Likewise.
17926         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
17927         Likewise.
17928         [__LINUX_KERNEL_VERSION >= 0x040300]
17929         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
17930         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17931         Likewise.
17932         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
17933         Likewise.
17934         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17935         (__ASSUME_SOCKET_SYSCALL): Likewise.
17936         (__ASSUME_BIND_SYSCALL): Likewise.
17937         (__ASSUME_CONNECT_SYSCALL): Likewise.
17938         (__ASSUME_LISTEN_SYSCALL): Likewise.
17939         (__ASSUME_ACCEPT_SYSCALL): Likewise.
17940         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
17941         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
17942         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
17943         (__ASSUME_SEND_SYSCALL): Likewise.
17944         (__ASSUME_SENDTO_SYSCALL): Likewise.
17945         (__ASSUME_RECV_SYSCALL): Likewise.
17946         (__ASSUME_RECVFROM_SYSCALL): Likewise.
17947         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
17948         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
17949         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
17950         (__ASSUME_SENDMSG_SYSCALL): Likewise.
17951         (__ASSUME_RECVMSG_SYSCALL): Likewise.
17952         * sysdeps/unix/sysv/linux/sh/kernel-features.h
17953         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
17954         Likewise.
17955         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
17956         Likewise.
17957         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
17958         Likewise.
17959         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
17960         Likewise.
17961         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
17962         Likewise.
17963         [__LINUX_KERNEL_VERSION >= 0x020625]
17964         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
17965         [__LINUX_KERNEL_VERSION >= 0x020625]
17966         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
17967         [__LINUX_KERNEL_VERSION >= 0x020625]
17968         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
17969         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
17970         Likewise.
17971         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
17972         Likewise.
17973         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
17974         Likewise.
17975         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
17976         Likewise.
17977         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
17978         Likewise.
17979         [__LINUX_KERNEL_VERSION >= 0x020625]
17980         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
17981         [__LINUX_KERNEL_VERSION >= 0x020625]
17982         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
17983         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
17984         Likewise.
17985         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
17986         Likewise.
17988 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
17990         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
17991         record the current if the current ABI and CPU support the FP64
17992         extension.
17993         (has-modd-spreg): Define to record the current if the current ABI and
17994         CPU support 32-bit floating point values in odd FPU registers.
17995         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17996         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
17997         $(has-modd-spreg) equals yes.
17998         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
17999         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
18000         $(has-modd-spreg) equal yes.
18002 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
18004         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
18005         basename.
18007 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
18009         * benchtests/Makefile (bench-math): Move ffs and ffsll...
18010         (bench-string): ... here.
18011         (bench): Add bench-string.
18012         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
18013         to *-benchset to reflect what they are.
18014         (benchset): Adjust.
18016         * benchtests/sincos-inputs: Add inputs from sin-inputs and
18017         cos-inputs.
18019 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
18021         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
18022         __attribute__ ((__simd__)) for vector math function declarations.
18024 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
18026         Fix typo in strncat, wcsncat manual entries
18027         * manual/string.texi (Copying and Concatenation): Fix typos in
18028         sample implementations of strncat and wcsncat, by having them use
18029         the old value of the destination length, not the new one.
18031 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
18033         [BZ #16961]
18034         [BZ #16962]
18035         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
18036         string on the stack for strtod.
18037         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
18038         a string on the stack for strtof.
18039         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
18040         constructing a string on the stack for strtold.
18041         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
18042         __strtold_nan to GLIBC_PRIVATE.
18043         * math/test-nan-overflow.c: New file.
18044         * math/test-nan-payload.c: Likewise.
18045         * math/Makefile (tests): Add test-nan-overflow and
18046         test-nan-payload.
18048 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
18050         Consistency about byte vs character in string.texi
18051         * manual/string.texi (String and Array Utilities):
18052         Distinguish more carefully among bytes, multibyte characters,
18053         and wide characters.  Use "byte" when talking about C 'char',
18054         to distinguish it more clearly from multibyte characters.
18055         Say "wide character" or "multibyte character" instead of
18056         "character", when a wide or multibyte character is intended.
18057         Similarly for "multibyte string" versus "string".
18058         Define these terms more carefully.
18060 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
18062         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
18063         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
18064         Likewise.
18065         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
18066         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
18067         * sysdeps/sh/math_private.h: New file.
18068         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
18069         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
18070         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
18071         long double function name.
18072         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18073         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18074         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18075         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18076         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18077         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
18078         Remove __finitel, __isinfl, and __isnanl.
18079         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18080         Likewise.
18081         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18082         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18083         Remove __finitel.
18084         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18085         Likewise.
18086         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18088 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
18090         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
18091         installed libmvec_nonshared.a.
18093 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18095         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
18096         (sysdep_routines): Likewise.
18097         (sysdep-rtld-routines): Likewise.
18098         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
18099         [$(subdir) = nptl](tests-static): test-get_hwcap-static
18100         * sysdeps/powerpc/Versions: Added new
18101         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
18102         * sysdeps/powerpc/hwcapinfo.c: New file.
18103         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
18104         and parse hwcap, hwcap2 and platform number information.
18105         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
18106         to store HWCAP+HWCAP2 and platform number.
18107         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
18108         for HWCAP+HWCAP2 and platform number in the TCB.
18109         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
18110         the HWCAP, HWCAP2 and platform number in the TCB.
18111         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
18112         (TLS_INIT_TP): Included calls to add the hwcap and
18113         at_platform values in the TCB in TP initialization.
18114         (TLS_DEFINE_INIT_TP): Likewise.
18115         (THREAD_GET_HWCAP): New macro.
18116         (THREAD_SET_HWCAP): Likewise.
18117         (THREAD_GET_AT_PLATFORM): Likewise.
18118         (THREAD_SET_AT_PLATFORM): Likewise.
18119         * sysdeps/powerpc/powerpc32/dl-machine.h:
18120         (dl_platform_init): New function that calls
18121         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
18122         powerpc32.
18123         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
18124         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
18125         this functionality, static linking case.
18126         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
18127         linking case.
18128         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
18129         __parse_hwcap_and_convert_at_platform for the static linking case.
18130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
18131         Included the new __parse_hwcap_and_convert_at_platform symbol in the
18132         ABI list for GLIBC 2.23.
18133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
18134         Likewise.
18135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
18136         Likewise.
18138 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
18140         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
18141         * configure: Regenerate.
18142         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
18143         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
18145 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
18147         * iconvdata/ibm930.c: Add comment explaining encoding uses.
18148         * iconvdata/ibm933.c: Likewise.
18149         * iconvdata/ibm935.c: Likewise.
18150         * iconvdata/ibm937.c: Likewise.
18151         * iconvdata/ibm939.c: Likewise.
18153 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18155         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
18156         pthread_join.
18157         * nptl/tst-cancel21.c (tf): Likewise.
18159 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
18161         [BZ #19313]
18162         * bits/typesizes.h (__CPU_MASK_TYPE): New.
18163         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
18164         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
18165         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
18166         Likewise.
18167         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
18168         Likewise.
18169         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
18170         Likewise.
18171         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
18172         Likewise.
18173         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
18174         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
18175         unsigned long int with __CPU_MASK_TYPE.
18177 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18179         * sysdeps/aarch64/libm-test-ulps: Regenerated.
18181 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
18183         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
18184         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
18185         t512.x.
18186         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
18188 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
18190         [BZ #19214]
18191         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
18192         argument to return extended model.  Update family and model
18193         with extended family and model when family == 0x0f.
18194         (init_cpu_features): Updated.
18196 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18198         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
18199         signed off_t, so 32bit bigger than 2GiB values are fine actually.
18201         * sysdeps/mach/hurd/mmap64.c: New file.
18203 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
18205         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
18206         rights for its main user thread in NEWTASK.
18208 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
18210         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
18211         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
18213 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
18215         [BZ #14259]
18216         * Makeconfig: Rename localedir to complocaledir.
18217         Rename inst_localedir to inst_complocaledir.
18218         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
18219         * config.make.in: Use complocaledir and libc_cv_complocaledir.
18220         * configure.ac: Use libc_cv_complocaledir.
18221         * configure: Regenerate.
18222         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
18223         -DCOMPLOCALEDIR.
18224         * locale/findlocale.c: Use COMPLOCALEDIR.
18225         * locale/loadarchive.c: Likewise.
18226         * locale/programs/locale.c: Likewise.
18227         * locale/programs/localedef.c: Likewise.
18228         * locale/programs/locarchive.c: Likewise.
18229         * localedata/Makefile: Use inst_complocaledir.
18230         * sysdeps/gnu/configure: Regenerate.
18231         * sysdeps/hppa/configure: Regenerate.
18232         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
18233         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18235         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
18236         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
18237         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
18238         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
18240 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
18242         [BZ #19058]
18243         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
18244         AS_NEEDED.
18245         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
18246         workaround.
18247         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
18248         libmvec-static-only-routines): Added new file.
18249         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
18251 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18253         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
18254         of interrupted RPC instead of restoring it.
18256         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
18257         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
18258         libc_hidden_def.
18259         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
18260         into initialized data instead of common. Define rtld_hidden_data_def.
18261         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
18262         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
18263         libc_hidden_def.
18264         (if_freenameindex): Add libc_hidden_weak.
18265         (if_nameindex): Add libc_hidden_weak.
18266         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
18267         __open64.
18268         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
18269         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
18270         * sysdeps/mach/nanosleep.c: Include <time.h>
18271         (__nanosleep): Rename to __libc_nanosleep.
18272         (__nanosleep): Add weak_alias.
18273         (nanosleep): Update alias.
18275 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
18277         * stdlib/strtod_nan.c: New file.
18278         * stdlib/strtod_nan_double.h: Likewise.
18279         * stdlib/strtod_nan_float.h: Likewise.
18280         * stdlib/strtod_nan_main.c: Likewise.
18281         * stdlib/strtod_nan_narrow.h: Likewise.
18282         * stdlib/strtod_nan_wide.h: Likewise.
18283         * stdlib/strtof_nan.c: Likewise.
18284         * stdlib/strtold_nan.c: Likewise.
18285         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
18286         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
18287         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
18288         * wcsmbs/wcstod_nan.c: Likewise.
18289         * wcsmbs/wcstof_nan.c: Likewise.
18290         * wcsmbs/wcstold_nan.c: Likewise.
18291         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
18292         strtold_nan.
18293         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
18294         wcstof_nan.
18295         * include/stdlib.h (__strtof_nan): Declare and use
18296         libc_hidden_proto.
18297         (__strtod_nan): Likewise.
18298         (__strtold_nan): Likewise.
18299         (__wcstof_nan): Likewise.
18300         (__wcstod_nan): Likewise.
18301         (__wcstold_nan): Likewise.
18302         * include/wchar.h (____wcstoull_l_internal): Declare.
18303         * stdlib/strtod_l.c: Do not include <ieee754.h>.
18304         (____strtoull_l_internal): Remove declaration.
18305         (STRTOF_NAN): Define macro.
18306         (SET_MANTISSA): Remove macro.
18307         (STRTOULL): Likewise.
18308         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
18309         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
18310         (STRTOF_NAN): Define macro.
18311         (SET_MANTISSA): Remove macro.
18312         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
18313         (SET_MANTISSA): Remove macro.
18314         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
18315         macro.
18316         (SET_MANTISSA): Remove macro.
18317         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
18318         macro.
18319         (SET_MANTISSA): Remove macro.
18320         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
18321         (SET_MANTISSA): Remove macro.
18322         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
18323         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
18324         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
18326         [BZ #19266]
18327         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
18328         upper case and lower case letters inside NAN(), not using TOLOWER.
18329         * stdlib/tst-strtod-nan-locale-main.c: New file.
18330         * stdlib/tst-strtod-nan-locale.c: Likewise.
18331         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
18332         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
18333         Depend on $(gen-locales).
18334         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
18335         * wcsmbs/tst-wcstod-nan-locale.c: New file.
18336         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
18337         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
18338         Depend on $(gen-locales).
18339         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
18341 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
18343         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
18345         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
18346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
18347         __finitel, __isinfl, and __isnanl.
18348         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18349         Likewise.
18350         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18351         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
18352         __finitel.
18353         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18354         Likewise.
18355         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18357 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
18359         * malloc/memusage.c (me): Remove redundant getenv call.
18361 2015-10-24  Florian Weimer  <fweimer@redhat.com>
18363         [BZ #19143]
18364         [BZ #19164]
18365         * nptl/check-cpuset.h: Remove.
18366         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
18367         Remove CPU set size check.
18368         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
18369         Likewise.
18370         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
18371         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
18372         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
18373         (__pthread_setaffinity_new): Remove CPU set size check.
18374         * sysdeps/unix/sysv/linux/sched_setaffinity.c
18375         (__kernel_cpumask_size): Remove.
18376         (__sched_setaffinity_new): Remove CPU set size check.
18377         * manual/threads.texi (Default Thread Attributes): Remove stale
18378         reference to check_cpuset_attr, determine_cpumask_size in comment.
18379         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
18380         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
18381         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
18382         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
18383         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
18384         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
18385         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
18386         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
18387         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
18388         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
18389         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
18390         skeleton test file.
18391         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
18392         tst-affinity-pid.
18394 2015-11-24  Florian Weimer  <fweimer@redhat.com>
18396         * scripts/update-abilist.sh: New file.
18397         * Makefile (+subdir_targets): Add subdir_update-all-abi.
18398         * Makerules (update-all-abi-%, update-all-abi)
18399         (subdir_update-all-abi): New targets.
18400         * elf/Makefile (update-all-abi): New target.
18402 2015-11-24  Florian Weimer  <fweimer@redhat.com>
18404         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
18405         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
18406         (__libc_lock_define_initialized): Use it.
18407         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
18408         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
18409         * malloc/malloc.c (main_arena): Likewise.
18410         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
18411         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
18413 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
18415         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
18416         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
18417         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
18418         (PTRACE_O_MASK): Update value.
18419         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
18420         New value in enum __ptrace_setoptions.
18421         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
18422         (PTRACE_O_MASK): Update value.
18423         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
18424         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
18425         (PTRACE_O_MASK): Update value.
18426         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
18427         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
18428         (PTRACE_O_MASK): Update value.
18429         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
18430         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
18431         (PTRACE_O_MASK): Update value.
18432         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
18433         New value in enum __ptrace_setoptions.
18434         (PTRACE_O_MASK): Update value.
18435         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
18436         New value in enum __ptrace_setoptions.
18437         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
18438         (PTRACE_O_MASK): Update value.
18440         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
18441         New macro.
18442         (PACKET_AUXDATA): Likewise.
18443         (PACKET_ORIGDEV): Likewise.
18444         (PACKET_VERSION): Likewise.
18445         (PACKET_HDRLEN): Likewise.
18446         (PACKET_RESERVE): Likewise.
18447         (PACKET_TX_RING): Likewise.
18448         (PACKET_LOSS): Likewise.
18449         (PACKET_VNET_HDR): Likewise.
18450         (PACKET_TX_TIMESTAMP): Likewise.
18451         (PACKET_TIMESTAMP): Likewise.
18452         (PACKET_FANOUT): Likewise.
18453         (PACKET_TX_HAS_OFF): Likewise.
18454         (PACKET_QDISC_BYPASS): Likewise.
18455         (PACKET_ROLLOVER_STATS): Likewise.
18456         (PACKET_FANOUT_DATA): Likewise.
18457         (PACKET_MR_UNICAST): Likewise.
18459         [BZ #19242]
18460         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
18461         (TOUPPER): Likewise.
18462         * stdlib/tst-strtol-locale-main.c: New file.
18463         * stdlib/tst-strtol-locale.c: Likewise.
18464         * stdlib/Makefile (tests): Add tst-strtol-locale.
18465         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
18466         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
18467         Depend on $(gen-locales).
18468         * wcsmbs/tst-wcstol-locale.c: New file.
18469         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
18470         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
18471         tr_TR.ISO-8859-9.
18472         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
18473         Depend on $(gen-locales).
18475 2015-11-20  Roland McGrath  <roland@hack.frob.com>
18477         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
18478         __glibc_likely instead of __builtin_expect.  After falling back to
18479         dyncode_create in a non-ET_DYN case, use the allocate_code_data
18480         system interface to register the code pages as occupied.
18482 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
18484         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18485         [!ARM_MATH_PRIVATE_H].
18486         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
18487         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18488         [!HPPA_MATH_PRIVATE_H].
18489         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
18490         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
18491         to [!I386_MATH_PRIVATE_H].
18492         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
18493         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
18494         Change guard to [!M68K_MATH_PRIVATE_H].
18495         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
18496         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
18497         guard to [!MICROBLAZE_MATH_PRIVATE_H].
18498         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
18499         macro.
18500         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18501         [!MIPS_MATH_PRIVATE_H].
18502         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
18503         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18504         [!NIO2_MATH_PRIVATE_H].
18505         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
18506         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18507         [!TILE_MATH_PRIVATE_H].
18508         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
18510         [BZ #15421]
18511         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
18512         initialize with 0 and define as weak alias of __signgam.
18513         * include/math.h [!_ISOMAC] (__signgam): Declare.
18514         * math/Makefile (libm-calls): Add w_lgamma_compat.
18515         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
18516         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
18517         test-signgam-ullong-init.
18518         (tests-static): Add test-signgam-uchar-static,
18519         test-signgam-uchar-init-static, test-signgam-uint-static,
18520         test-signgam-uint-init-static, test-signgam-ullong-static and
18521         test-signgam-ullong-init-static.
18522         (CFLAGS-test-signgam-uchar.c): New variable.
18523         (CFLAGS-test-signgam-uchar-init.c): Likewise.
18524         (CFLAGS-test-signgam-uchar-static.c): Likewise.
18525         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
18526         (CFLAGS-test-signgam-uint.c): Likewise.
18527         (CFLAGS-test-signgam-uint-init.c): Likewise.
18528         (CFLAGS-test-signgam-uint-static.c): Likewise.
18529         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
18530         (CFLAGS-test-signgam-ullong.c): Likewise.
18531         (CFLAGS-test-signgam-ullong-init.c): Likewise.
18532         (CFLAGS-test-signgam-ullong-static.c): Likewise.
18533         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
18534         * math/Versions (libm): Add GLIBC_2.23.
18535         * math/lgamma-compat.h: New file.
18536         * math/test-signgam-main.c: Likewise.
18537         * math/test-signgam-uchar-init-static.c: Likewise.
18538         * math/test-signgam-uchar-init.c: Likewise.
18539         * math/test-signgam-uchar-static.c: Likewise.
18540         * math/test-signgam-uchar.c: Likewise.
18541         * math/test-signgam-uint-init-static.c: Likewise.
18542         * math/test-signgam-uint-init.c: Likewise.
18543         * math/test-signgam-uint-static.c: Likewise.
18544         * math/test-signgam-uint.c: Likewise.
18545         * math/test-signgam-ullong-init-static.c: Likewise.
18546         * math/test-signgam-ullong-init.c: Likewise.
18547         * math/test-signgam-ullong-static.c: Likewise.
18548         * math/test-signgam-ullong.c: Likewise.
18549         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
18550         wrapper of w_lgamma_main.c.
18551         * math/w_lgamma_compat.c: New file.
18552         * math/w_lgamma_compatf.c: Likewise.
18553         * math/w_lgamma_compatl.c: Likewise.
18554         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
18555         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
18556         defining compatibility symbols.
18557         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
18558         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
18559         wrapper of w_lgammaf_main.c.
18560         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
18561         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
18562         defining compatibility symbols.
18563         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
18564         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
18565         wrapper of w_lgammal_main.c.
18566         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
18567         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
18568         defining compatibility symbols.
18569         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
18570         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
18571         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
18572         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
18573         <lgamma-compat.h>.
18574         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
18575         (__ieee754_gamma): Define as alias.
18576         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
18577         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
18578         <lgamma-compat.h>.
18579         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
18580         (__ieee754_gammaf): Define as alias.
18581         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
18582         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
18583         <lgamma-compat.h>.
18584         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
18585         (__ieee754_gammal): Define as alias.
18586         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
18587         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
18588         <math/w_lgamma_compat.c>.
18589         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
18590         Define as alias of __lgamma_compat and use in defining lgammal.
18591         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
18592         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
18593         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
18594         (USE_AS_COMPAT): New macro.
18595         (LGAMMA_OLD_VER): Undefine and redefine.
18596         (lgammal): Do not define here.
18597         (gammal): Only define here if [GAMMA_ALIAS].
18598         * conform/linknamespace.pl (@whitelist): Remove signgam.
18599         * sysdeps/nacl/libm.abilist: Update.
18600         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18601         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18602         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18603         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18604         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18605         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18606         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18607         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18608         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18609         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18610         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18611         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18613         Likewise.
18614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18615         Likewise.
18616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18617         Likewise.
18618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18619         Likewise.
18620         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18621         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18622         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18623         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18624         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18625         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18626         Likewise.
18627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18628         Likewise.
18629         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18630         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18631         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18633 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18635         [BZ #16364]
18636         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
18637         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
18639 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
18641         * sysdeps/s390/fpu/bits/mathinline.h:
18642         Use __asm__ [__volatile__] instead of asm [volatile].
18643         * sysdeps/s390/abort-instr.h: Likewise.
18644         * sysdeps/s390/atomic-machine.h: Likewise.
18645         * sysdeps/s390/bits/string.h: Likewise.
18646         * sysdeps/s390/dl-tls.h: Likewise.
18647         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18648         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18649         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18650         * sysdeps/s390/fpu/fesetround.c: Likewise.
18651         * sysdeps/s390/fpu/fpu_control.h: Likewise.
18652         * sysdeps/s390/fpu/s_fma.c: Likewise.
18653         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
18654         * sysdeps/s390/memusage.h: Likewise.
18655         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
18656         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
18657         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
18658         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
18659         * sysdeps/s390/nptl/tls.h: Likewise.
18660         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
18661         * sysdeps/s390/s390-32/backtrace.c: Likewise.
18662         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18663         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
18664         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18665         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
18666         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
18667         * sysdeps/s390/s390-64/backtrace.c: Likewise.
18668         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18669         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
18670         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
18671         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18672         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
18673         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
18674         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
18675         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
18676         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
18677         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
18678         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
18679         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18680         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
18681         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18682         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
18684 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18685             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18687         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
18688         Add lwarx hint, and use macro for acquire instruction.
18689         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
18690         Likewise.
18691         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
18692         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
18693         update to use new atomic macros.
18695 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18697         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
18698         (__lll_trylock_elision): Fix setting of adapt_count.
18699         * sysdeps/unix/sysv/linux/powerpc/htm.h
18700         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
18701         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
18702         (_ABORT_SYSCALL): Renumber, and clarify definition.
18703         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
18705 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18707         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
18708         after system headers to prevent MIN/MAX redefinition.  Define
18709         HAVE_ALLOCA to preserve builtin alloca usage.
18711 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
18713         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
18714         static and don't set or restore rounding.
18715         (__cos)[IN_SINCOS]: Likewise.
18716         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
18717         (__sincos): Set and restore rounding mode.  Remove check for infinite
18718         or NaN input.
18720         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
18722         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
18723         as used.
18725 2015-11-16  Florian Weimer  <fweimer@redhat.com>
18727         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
18729 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
18731         * config.make.in (have-glob-dat-reloc): New.
18732         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
18733         target supports GLOB_DAT relocaton. AC_SUBST.
18734         * configure: Regenerated.
18735         * elf/Makefile (tests): Add tst-prelink.
18736         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
18737         (tst-prelink-ENV): New.
18738         ($(objpfx)tst-prelink-conflict.out): Likewise.
18739         ($(objpfx)tst-prelink-cmp.out): Likewise.
18740         * sysdeps/x86/tst-prelink.c: Moved to ...
18741         * elf/tst-prelink.c: Here.
18742         * sysdeps/x86/tst-prelink.exp: Moved to ...
18743         * elf/tst-prelink.exp: Here.
18744         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
18745         (tst-prelink-ENV): Removed.
18746         ($(objpfx)tst-prelink-conflict.out): Likewise.
18747         ($(objpfx)tst-prelink-cmp.out): Likewise.
18748         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
18750 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
18752         [BZ #14551]
18753         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
18754         (__mpn_construct_long_double): If high part overflows to infinity,
18755         set errno and recompute overflowed result of the correct sign.
18756         * sysdeps/ieee754/ldbl-128ibm/Makefile
18757         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
18758         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
18759         $(libm).
18760         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
18762 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
18764         [BZ #15479]
18765         [BZ #19238]
18766         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
18767         floating-point state after first operation on input.  Restore full
18768         state rather than just rounding mode.
18769         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
18770         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
18771         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
18773         [BZ #19235]
18774         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
18775         add 0.5 to integer arguments.
18776         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
18777         Likewise.
18778         (.LC2): New object.
18780 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
18782         * scripts/pylintrc (reports): Set to no.
18784 2015-11-10  Roland McGrath  <roland@hack.frob.com>
18786         * elf/dl-load.c (open_verify): Take new argument FD.
18787         Skip __open call if passed FD is not -1.
18788         (_dl_map_object, open_path): Update callers.
18789         * elf/dl-sysdep-open.h: New file.
18790         * elf/dl-load.c: Include it.
18791         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
18792         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
18793         * sysdeps/nacl/dl-sysdep-open.h: New file.
18794         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
18795         from libc to rtld.
18797 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
18799         [BZ #19228]
18800         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
18801         and restore full floating-point state.
18802         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
18803         Likewise.
18804         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
18805         Likewise.
18806         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
18807         Likewise.
18808         * math/test-nearbyint-except-2.c: New file.
18809         * math/Makefile (tests): Add test-nearbyint-except-2.
18811 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
18813         [BZ #19178]
18814         * sysdeps/x86/Makefile (tests): Add tst-prelink.
18815         (tst-prelink-ENV): New.
18816         ($(objpfx)tst-prelink-conflict.out): Likewise.
18817         ($(objpfx)tst-prelink-cmp.out): Likewise.
18818         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
18819         * sysdeps/x86/tst-prelink.c: New file.
18820         * sysdeps/x86/tst-prelink.exp: Likewise.
18822 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
18824         * math/auto-libm-test-in: Add another test of pow.
18825         * math/auto-libm-test-out: Regenerated.
18826         * math/libm-test.inc (pow_test_data): Add another test.
18828 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18830         [BZ #19219]
18831         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
18832         weak_alias to nearbyintl.
18834 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
18836         * sysdeps/aarch64/bits/string.h: New file.
18837         (_STRING_ARCH_unaligned): Define.
18839 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
18841         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
18842         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
18843         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
18844         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
18845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
18847 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
18849         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
18850         for original name of the DSO.  Add it to the name list of the DSO
18851         if it is actually given.
18852         (_dl_map_object): Keep track of whether an audit module rewrote
18853         the file name.  If yes, pass the original name to
18854         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
18855         debugging is enabled, log the change of the file name.
18856         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
18857         _dl_map_object_from_fd.
18858         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
18859         * elf/tst-audit11.c: New file
18860         * elf/tst-auditmod11.c: New file.
18861         * elf/tst-audit11mod1.c: New file.
18862         * elf/tst-audit11mod2.c: New file.
18863         * elf/tst-audit11mod2.map: New file.
18864         * elf/tst-audit12.c: New file
18865         * elf/tst-auditmod12.c: New file.
18866         * elf/tst-audit12mod1.c: New file.
18867         * elf/tst-audit12mod2.c: New file.
18868         * elf/tst-audit12mod2.map: New file.
18869         * elf/tst-audit12mod3.c: New file.
18871 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
18873         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
18874         Don't create weak aliases,
18875         because versioned symbols are created later.
18876         * sysdeps/s390/s390-32/setjmp.S
18877         (setjmp, _setjmp): Remove weak and rename to an unique name
18878         in SHARED case due to existing versioned symbols.
18879         * sysdeps/s390/s390-64/setjmp.S: Likewise.
18880         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
18881         (getcontext): Create weak alias only in non SHARED case.
18882         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18884 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
18886         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
18887         (__ASSUME_*_SYSCALL) Define new macros.
18888         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
18889         Remove socketcall syscalls.
18890         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
18891         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
18892         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
18893         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
18894         * sysdeps/unix/sysv/linux/send.c (__libc_send):
18895         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
18897 2015-11-09  Florian Weimer  <fweimer@redhat.com>
18899         [BZ #12926]
18900         Terminate process on invalid netlink response.
18901         * sysdeps/unix/sysv/linux/netlinkaccess.h
18902         (__netlink_assert_response): Declare.
18903         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
18904         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
18905         (sysdep_routines): Add netlink_assert_response.
18906         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
18907         __netlink_assert_response.
18908         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
18909         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
18910         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
18911         __netlink_assert_response.
18913 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
18915         [BZ #19178]
18916         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
18917         (RTYPE_CLASS_PLT): Likewise.
18918         (RTYPE_CLASS_COPY): Likewise.
18919         (RTYPE_CLASS_TLS): Likewise.
18920         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
18921         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
18922         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
18923         DL_DEBUG_PRELINK.
18925 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
18927         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
18928         calls with argument -0.5.
18929         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
18931         * configure.ac (libc_cv_z_nodelete): Remove configure test.
18932         (libc_cv_z_nodlopen): Likewise.
18933         (libc_cv_z_initfirst): Likewise.
18934         * configure: Regenerated.
18936 2015-11-06  Florian Weimer  <fweimer@redhat.com>
18938         Simplify abilist format to be line-based.
18939         * scripts/abilist.awk: Collect descriptors in the descs variable.
18940         (emit): Write descs variable and sort it
18941         externally, with sort.
18942         * sysdeps/**/*.abilist: Convert to new format.
18944 2015-11-06  Mark Wielaard  <mjw@redhat.com>
18946         [BZ #11460]
18947         * io/Makefile (routines): Add fts64.
18948         (tests): Add tst-fts and tst-fts-lfs.
18949         (CFLAGS-fts64.c): New.
18950         * io/Versions (GLIBC_2.23): New.
18951         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
18952         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
18953         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
18954         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
18955         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
18956         (FTSENT64): Likewise.
18957         (fts64_children): Likewise.
18958         (fts64_close): Likewise.
18959         (fts64_open): Likewise.
18960         (fts64_read): Likewise.
18961         (fts64_set): Likewise.
18962         * io/fts64.c: New file.
18963         * io/tst-fts.c: New test.
18964         * io/tst-fts-lfs.c: Likewise.
18965         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
18966         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
18967         fts64_set.
18968         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18969         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18970         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18971         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18972         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18973         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18974         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18975         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18976         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18977         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
18978         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18979         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18980         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18982         Likewise.
18983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18984         Likewise.
18985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18987         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18988         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18989         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18990         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18991         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18992         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
18993         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
18994         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18995         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18996         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18997         * sysdeps/wordsize-64/fts.c: New file.
18998         * sysdeps/wordsize-64/fts64.c: Likewise.
18999         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
19000         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
19001         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
19002         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
19004 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
19006         * math/libm-test.inc (NON_FINITE): New macro.
19007         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
19008         * math/gen-libm-test.pl (show_exceptions): Add argument
19009         $non_finite.
19010         (parse_args): Update call to show_exceptions.
19011         * math/test-math-finite.h: New file.
19012         * math/test-math-no-finite.h: Likewise.
19013         * math/test-double-finite.c: Likewise.
19014         * math/test-float-finite.c: Likewise.
19015         * math/test-ldouble-finite.c: Likewise.
19016         * math/test-double.c: Include "test-math-no-finite.h".
19017         * math/test-float.c: Include "test-math-no-finite.h".
19018         * math/test-ldouble.c: Include "test-math-no-finite.h".
19019         * math/test-math-inline.h (TEST_FINITE): New macro.
19020         * math/test-math-vector.h (TEST_FINITE): Likewise.
19021         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
19022         (libm-tests): Add test-float-finite and test-double-finite.
19023         ($(objpfx)test-float-finite.o): New dependency on
19024         $(objpfx)libm-test.stmp.
19025         ($(objpfx)test-double-finite.o): Likewise.
19026         ($(objpfx)test-ldouble-finite.o): Likewise.
19027         (libm-test-no-inline-cflags): New variable.
19028         (libm-test-finite-cflags): Likewise.
19029         (CFLAGS-test-float-finite.c): Likewise.
19030         (CFLAGS-test-double-finite.c): Likewise.
19031         (CFLAGS-test-ldouble-finite.c): Likewise.
19032         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
19033         (CFLAGS-test-double.c): Likewise.
19034         (CFLAGS-test-ldouble.c): Likewise.
19036 2015-11-05  Roland McGrath  <roland@hack.frob.com>
19038         * io/fcntl.c (__fcntl): Add ... to prototype.
19039         * misc/ioctl.c (__ioctl): Likewise.
19040         * misc/syscall.c (syscall): Likewise.
19042 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
19044         * scripts/list-fixed-bugs.py: New file.
19046         [BZ #19213]
19047         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
19048         returned for argument 1.
19049         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
19050         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
19051         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
19052         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
19053         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
19054         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
19056         [BZ #19211]
19057         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
19058         __USE_XOPEN], not if [!__USE_ISOC99].
19059         (lgammaf): Likewise.
19060         (lgammal): Likewise.
19061         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
19062         (gammaf): Likewise.
19063         (gammal): Likewise.
19064         * math/test-signgam-finite-c11.c: New file.
19065         * math/test-signgam-finite-c99.c: Likewise.
19066         * math/test-signgam-finite.c: Likewise.
19067         * math/Makefile (tests): Add test-signgam-finite,
19068         test-signgam-finite-c99 and test-signgam-finite-c11.
19069         (CFLAGS-test-signgam-finite.c): New variable.
19070         (CFLAGS-test-signgam-finite-c99.c): Likewise.
19071         (CFLAGS-test-signgam-finite-c11.c): Likewise.
19073         [BZ #19212]
19074         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
19075         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
19076         500].
19077         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
19078         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
19079         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
19080         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
19081         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
19082         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
19083         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
19084         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
19085         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
19086         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
19088         [BZ #19209]
19089         * math/bits/math-finite.h (ldexp): Remove declaration.
19090         (ldexpf): Likewise.
19091         (ldexpl): Likewise.
19093         [BZ #19205]
19094         * math/bits/math-finite.h (acosf): Condition declaration on
19095         [__USE_ISOC99].
19096         (acosl): Likewise.
19097         (acoshf): Likewise.
19098         (acoshl): Likewise.
19099         (asinf): Likewise.
19100         (asinl): Likewise.
19101         (atan2f): Likewise.
19102         (atan2l): Likewise.
19103         (atanhf): Likewise.
19104         (atanhl): Likewise.
19105         (coshf): Likewise.
19106         (coshl): Likewise.
19107         (expf): Likewise.
19108         (expl): Likewise.
19109         (fmodf): Likewise.
19110         (fmodl): Likewise.
19111         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
19112         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
19113         (j0l): Likewise.
19114         (y0f): Likewise.
19115         (y0l): Likewise.
19116         (j1f): Likewise.
19117         (j1l): Likewise.
19118         (y1f): Likewise.
19119         (y1l): Likewise.
19120         (jnf): Likewise.
19121         (jnl): Likewise.
19122         (ynf): Likewise.
19123         (ynl): Likewise.
19124         (lgammaf_r): Condition declaration on [__USE_ISOC99].
19125         (lgammal_r): Likewise.
19126         (__lgamma_r_finite): New declaration.
19127         (__lgammaf_r_finite): Likewise.
19128         (__lgammal_r_finite): Likewise.
19129         (lgamma): Use __lgamma_r_finite.
19130         (lgammaf): Condition definition on [__USE_ISOC99].  Use
19131         __lgammaf_r_finite.
19132         (lgammal): Condition definition on [__USE_ISOC99].  Use
19133         __lgammal_r_finite.
19134         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
19135         __lgamma_r_finite.
19136         (gammaf): Condition definition on [__USE_ISOC99].  Use
19137         __lgammaf_r_finite.
19138         (gammal): Condition definition on [__USE_ISOC99].  Use
19139         __lgammal_r_finite.
19140         (logf): Condition declaration on [__USE_ISOC99].
19141         (logl): Likewise.
19142         (log10f): Likewise.
19143         (log10l): Likewise.
19144         (ldexpf): Likewise.
19145         (ldexpl): Likewise.
19146         (powf): Likewise.
19147         (powl): Likewise.
19148         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
19149         __USE_ISOC99].
19150         (remainderf): Condition declaration on [__USE_ISOC99].
19151         (remainderl): Likewise.
19152         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
19153         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
19154         (scalbl): Likewise.
19155         (sinhf): Condition declaration on [__USE_ISOC99].
19156         (sinhl): Likewise.
19157         (sqrtf): Likewise.
19158         (sqrtl): Likewise.
19160 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
19162         * sysdeps/arm/atomic-machine.h
19163         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
19164         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
19165         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
19166         Remove conditional code.
19167         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
19168         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
19169         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
19170         Change conditional to [__ASSEMBLER__].
19171         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
19172         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
19173         [!__ASSEMBLER__].
19174         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
19175         code.
19176         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
19177         conditional macro definitions.
19178         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
19179         (__arch_compare_and_exchange_val_16_acq): Likewise.
19180         (__arch_compare_and_exchange_val_32_acq): Likewise.
19181         (atomic_exchange_and_add): Likewise.
19182         (atomic_add): Likewise.
19183         (atomic_add_negative): Likewise.
19184         (atomic_add_zero): Likewise.
19185         (atomic_bit_set): Likewise.
19186         (atomic_bit_test_set): Likewise.
19187         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
19188         code unconditional.
19189         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19191         * math/test-math-errno.h: New file.
19192         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
19193         empty.
19194         (TEST_ERRNO): New macro.
19195         (TEST_EXCEPTIONS): Likewise.
19196         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
19197         (TEST_EXCEPTIONS): Likewise.
19198         * math/test-math-vector.h (TEST_ERRNO): Likewise.
19199         * math/test-double.c: Include "test-math-errno.h".
19200         * math/test-float.c: Likewise.
19201         * math/test-ldouble.c: Likewise.
19202         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
19203         code unconditional.
19204         (test_exceptions): Only run code if TEST_EXCEPTIONS.
19205         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
19206         unconditional.
19207         (test_errno): Only run code if TEST_ERRNO.
19208         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
19210 2015-11-04  Florian Weimer  <fweimer@redhat.com>
19212         * nptl/tst-once5.cc: Remove attribution.
19214 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
19216         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
19217         sqrt, tan, tanh, y0, y1 and yn.
19218         * math/auto-libm-test-out: Regenerated.
19219         * math/libm-test.inc (scalb_test_data): Add more tests.
19220         (scalbn_test_data): Likewise.
19221         (scalbln_test_data): Likewise.
19222         (signbit_test_data): Likewise.
19223         (sin_test_data): Likewise.
19224         (sincos_test_data): Likewise.
19225         (sinh_test_data): Likewise.
19226         (sqrt_test_data): Likewise.
19227         (tan_test_data): Likewise.
19228         (tanh_test_data): Likewise.
19229         (tgamma_test_data): Likewise.
19230         (y0_test_data): Likewise.
19231         (y1_test_data): Likewise.
19232         (yn_test_data): Likewise.
19233         (significand_test_data): Likewise.
19234         * sysdeps/i386/fpu/libm-test-ulps: Update.
19236 2015-11-03  David Kastrup  <dak@gnu.org>
19238         [BZ #18604]
19239         * assert/assert.h (assert): Don't macro-expand failed assertion
19240         expression in error message.
19241         * malloc/malloc.c (assert): Likewise.
19243 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
19245         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
19246         test.
19247         * configure: Regenerated.
19249 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
19251         * math/libm-test.inc (modf_test_data): Add more tests.
19252         (nearbyint_test_data): Likewise.
19253         (nextafter_test_data): Likewise.
19254         (nexttoward_test_data): Likewise.
19255         (pow_test_data): Likewise.
19256         (remainder_test_data): Likewise.
19257         (remquo_test_data): Likewise.
19258         (rint_test_data): Likewise.
19260         [BZ #19201]
19261         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19262         Check for zero remainder in case of large exponents and ensure
19263         correct sign of result in that case.
19264         * math/libm-test.inc (remainder_test_data): Add more tests.
19266         [BZ #6799]
19267         * math/s_nextafter.c: Include <errno.h>.
19268         (__nextafter): Set errno on overflow and underflow.
19269         * math/s_nexttowardf.c: Include <errno.h>.
19270         (__nexttowardf): Set errno on overflow and underflow.
19271         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
19272         (__nextafterl): Set errno on overflow and underflow.
19273         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
19274         (__nexttoward): Set errno on overflow and underflow.
19275         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
19276         (__nexttowardf): Set errno on overflow and underflow.
19277         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
19278         (__nextafterf): Set errno on overflow and underflow.
19279         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
19280         (__nextafterl): Set errno on overflow and underflow.
19281         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
19282         (__nexttoward): Set errno on overflow and underflow.
19283         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
19284         (__nexttowardf): Set errno on overflow and underflow.
19285         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
19286         (__nextafterl): Set errno on overflow and underflow.
19287         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
19288         (__nexttoward): Set errno on overflow and underflow.
19289         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
19290         (__nexttowardf): Set errno on overflow and underflow.
19291         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
19292         (__nexttoward): Set errno on overflow and underflow.
19293         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
19294         (__nexttowardf): Set errno on overflow and underflow.
19295         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
19296         (__nldbl_nexttowardf): Set errno on overflow and underflow.
19297         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
19298         (__nextafterl): Set errno on overflow and underflow.
19299         * math/libm-test.inc (nextafter_test_data): Do not allow errno
19300         setting to be missing on overflow.  Add more tests.
19301         (nexttoward_test_data): Likewise.
19303         * configure.ac (libc_cv_initfini_array): Remove configure test.
19304         * configure: Regenerated.
19306 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
19308         [BZ #19189]
19309         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
19310         non-finite argument handle arguments with negative sign.
19312         * math/libm-test.inc (j0_test_data): Do not test sign of zero
19313         result from infinite argument.
19314         (j1_test_data): Likewise.
19315         (jn_test_data): Likewise.
19316         (y0_test_data): Likewise.
19317         (y1_test_data): Likewise.
19318         (yn_test_data): Likewise.
19320         [BZ #16171]
19321         * math/w_remainder.c (drem): Define as weak alias of __remainder.
19322         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
19323         * math/w_remainderf.c (dremf): Define as weak alias of
19324         __remainderf.
19325         * math/w_remainderl.c (dreml): Define as weak alias of
19326         __remainderl.
19327         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
19328         __remainder.
19329         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
19330         __remainderf.
19331         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
19332         __remainderl.
19333         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
19334         weak alias of remainderl.
19335         * sysdeps/ieee754/ldbl-opt/w_remainder.c
19336         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
19337         alias of __remainder.
19338         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
19339         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
19340         strong alias of __remainderl.
19341         (dreml): Use long_double_symbol.
19342         * math/Makefile (libm-calls): Remove w_drem.
19343         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
19344         (CFLAGS-nldbl-drem.c): Remove variable.
19345         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
19346         * math/w_drem.c: Remove file.
19347         * math/w_dremf.c: Likewise.
19348         * math/w_dreml.c: Likewise.
19349         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
19350         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
19351         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
19353         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
19354         * sysdeps/i386/configure: Regenerated.
19355         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
19356         * sysdeps/x86_64/configure: Regenerated.
19358         * configure.ac (libc_cv_asm_protected_directive): Remove configure
19359         test.
19360         (libc_cv_visibility_attribute): Likewise.
19361         (libc_cv_protected_data): Test unconditionally.
19362         (libc_cv_broken_visibility_attribute): Remove configure test.
19363         (libc_cv_have_sdata_section): Test unconditionally.
19364         * configure: Regenerated.
19366         * include/libc-internal.h (libc_max_align_t): Remove typedef.
19367         * include/scratch_buffer.h: Include <stddef.h> instead of
19368         <libc-internal.h>.
19369         (struct scratch_buffer): Use max_align_t instead of
19370         libc_max_align_t.
19372 2015-10-29  Florian Weimer  <fweimer@redhat.com>
19374         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
19375         instead of extend_alloca.  Change control flow to avoid a goto.
19376         Remove assert which is trivially always true.
19378 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
19380         [BZ #16068]
19381         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
19382         (FE_ALL_EXCEPT_X86): New macro.
19383         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
19384         FE_ALL_EXCEPT.  Ensure precision control is included in
19385         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
19386         handle "denormal operand exception" and clear FZ and DAZ bits.
19387         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
19388         (FE_ALL_EXCEPT_X86): New macro.
19389         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
19390         FE_ALL_EXCEPT.  Ensure precision control is included in
19391         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
19392         handle "denormal operand exception" and clear FZ and DAZ bits.
19393         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
19394         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
19395         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
19396         test-fenv-x87 and test-fenv-sse-2.
19397         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
19399         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
19400         * math/test-double.h (BUILD_COMPLEX): New macro.
19401         * math/test-float.h (BUILD_COMPLEX): Likewise.
19402         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
19404         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
19405         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
19406         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
19407         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
19408         instead of DBL_DENORM_MIN in comment.
19409         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
19410         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
19411         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
19412         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
19413         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
19414         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
19416 2015-10-28  Florian Weimer  <fweimer@redhat.com>
19418         [BZ# 19048]
19419         * malloc/malloc.c (struct malloc_state): Update comment.  Add
19420         attached_threads member.
19421         (main_arena): Initialize attached_threads.
19422         * malloc/arena.c (list_lock): Update comment.
19423         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
19424         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
19425         (deattach_arena): New function.
19426         (_int_new_arena): Initialize arena reference count and deattach
19427         replaced arena.
19428         (get_free_list, reused_arena): Update reference count and deattach
19429         replaced arena.
19430         (arena_thread_freeres): Update arena reference count and only put
19431         unreferenced arenas on the free list.
19433 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
19435         [BZ #19181]
19436         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
19437         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
19438         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
19439         * math/test-fenv-clear-main.c: New file.
19440         * math/test-fenv-clear.c: Likewise.
19441         * math/Makefile (tests): Add test-fenv-clear.
19442         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
19443         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
19444         test-fenv-clear-sse.
19445         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
19447         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
19448         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
19449         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
19451 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19453         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
19454         static libc.
19456 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
19458         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
19459         test.
19460         * sysdeps/i386/configure: Regenerated.
19461         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
19462         test.
19463         * sysdeps/x86_64/configure: Regenerated.
19464         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
19465         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19466         memset-avx2 unconditionally instead of conditionally on
19467         [$(config-cflags-avx2) = yes].
19468         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19469         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
19470         unconditional.
19471         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
19472         * sysdeps/x86_64/multiarch/memset_chk.S
19473         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
19474         to [IS_IN (libc) && SHARED].
19476 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
19478         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
19479         configure test.
19480         * sysdeps/arm/configure: Regenerated.
19481         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
19482         Define variable if not already defined.
19484         [BZ #17404]
19485         * sysdeps/mips/atomic-machine.h
19486         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
19487         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
19488         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
19490         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
19491         unconditional.
19492         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
19493         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19494         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
19495         unconditional.
19496         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19497         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
19498         unconditional.
19499         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19500         * stdlib/setenv.c
19501         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
19502         code unconditional.
19503         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
19504         Remove conditional code.
19505         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
19506         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
19507         unconditional.
19508         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
19509         code.
19510         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
19511         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
19512         unconditional.
19513         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
19514         code.
19515         * sysdeps/ieee754/ldbl-128/k_tanl.c
19516         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
19517         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19518         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
19519         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
19520         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19521         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
19522         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
19523         unconditional.
19524         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
19525         code.
19526         * sysdeps/ieee754/ldbl-96/k_tanl.c
19527         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
19528         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19530         * nptl/tst-initializers1-c11.c: New file.
19531         * nptl/tst-initializers1-gnu11.c: Likewise.
19532         * nptl/Makefile (tests): Add these new tests.
19533         (CFLAGS-tst-initializers1-c11.c): New variable.
19534         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
19536         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
19537         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
19538         instead of -std=gnu99.
19539         * configure.ac (systemtap): Test with -std=gnu11 instead of
19540         -std=gnu99.
19541         * configure: Regenerated.
19542         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
19543         in compilation command in comment.
19545         * sysdeps/nptl/configure.ac: Remove file.
19546         * sysdeps/nptl/configure: Remove generated file.
19547         * configure.ac (libc_cv_forced_unwind): Do not substitute.
19548         * configure: Regenerated.
19549         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
19550         * config.make.in (have-forced-unwind): Remove variable.
19551         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
19552         unconditional.
19553         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
19554         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
19555         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
19556         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
19557         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
19558         unconditional.
19560 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19562         [BZ #19174]
19563         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
19564         .skip_lock_out_of_tbegin_retries.
19565         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
19566         (__lll_lock_elision): Likewise, and respect a value of
19567         try_tbegin <= 0.
19569 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19571         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
19572         statement.
19574 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
19576         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
19577         variable.
19578         (test-xfail-ISO11/stdalign.h/conform): Likewise.
19579         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
19581         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
19582         of -std=c1x -D_ISOC11_SOURCE.
19584         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
19585         * configure: Regenerated.
19586         * manual/install.texi (Tools for Compilation): Document
19587         requirement for GCC 4.7 or later.
19588         * INSTALL: Regenerated.
19590 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
19592         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
19593         on CNT to a conditional jump to 'puntdata'.
19595 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
19597         * configure.ac (libc_cv_gcc___thread): Remove configure test.
19598         (libc_cv_gcc_tls_model_attr): Likewise.
19599         * configure: Regenerated.
19601         * configure.ac (libc_cv_need_minus_P): Remove configure test.
19602         * configure: Regenerated.
19603         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
19605 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
19607         * configure.ac (old_glibc_headers): Remove configure test.
19608         * configure: Regenerated.
19609         * config.make.in (old-glibc-headers): Remove variable.
19610         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
19611         (install): Remove dependency on remove-old-headers.
19612         (headers2_0): Remove variable.
19613         (remove-old-headers): Remove rule.
19615         * configure.ac (libc_cv_dot_text): Remove configure test.
19616         (libc_cv_asm_set_directive): Use .text instead of
19617         ${libc_cv_dot_text} in configure test.
19618         * configure: Regenerated.
19620 2015-10-26  Florian Weimer  <fweimer@redhat.com>
19622         [BZ #19168]
19623         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19625 2015-10-26  Florian Weimer  <fweimer@redhat.com>
19627         * configure.ac (CXX): Clear the variable if the C++ toolchain does
19628         not support static linking.
19629         * configure: Regenerate.
19631 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
19633         * math/libm-test.inc (check_float_internal): Do not special-case
19634         errors up to 0.5 ulp.
19636         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19637         log2.
19638         * math/auto-libm-test-out: Regenerated.
19639         * math/libm-test.inc (MAX_EXP): New macro.
19640         (ilogb_test_data): Add more tests.
19641         (isfinite_test_data): Likewise.
19642         (isgreater_test_data): Likewise.
19643         (isgreaterequal_test_data): Likewise.
19644         (isinf_test_data): Likewise.
19645         (isless_test_data): Likewise.
19646         (islessequal_test_data): Likewise.
19647         (islessgreater_test_data): Likewise.
19648         (isnan_test_data): Likewise.
19649         (isnormal_test_data): Likewise.
19650         (issignaling_test_data): Likewise.
19651         (isunordered_test_data): Likewise.
19652         (j0_test_data): Likewise.
19653         (j1_test_data): Likewise.
19654         (jn_test_data): Likewise.
19655         (lgamma_test_data): Likewise.
19656         (log_test_data): Likewise.
19657         (log10_test_data): Likewise.
19658         (log1p_test_data): Likewise.
19659         (log2_test_data): Likewise.
19660         (logb_test_data): Likewise.
19661         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19663         [BZ #18611]
19664         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
19665         avoid excess range and precision on underflow.
19666         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19667         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
19668         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19669         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
19670         underflow.
19671         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19672         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19673         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
19674         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19675         * math/auto-libm-test-in: Do not allow missing errno setting for
19676         tests of j1 and jn.
19677         * math/auto-libm-test-out: Regenerated.
19679 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
19681         [BZ #15491]
19682         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
19683         floating-point environment instead of clearing all exceptions.
19684         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19685         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
19686         merging in "invalid" exceptions from frndint.
19687         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19688         * math/test-nearbyint-except.c: New file.
19689         * math/Makefile (tests): Add test-nearbyint-except.
19691 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
19693         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
19695         * sysdeps/tile/libm-test-ulps: Regenerated.
19697 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
19700         (__NR_sync_file_range2): Assume it is always defined.
19701         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
19702         (__NR_sync_file_range): Assume it is always defined.
19704 2015-10-22  Andreas Schwab  <schwab@suse.de>
19706         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
19707         INTERNAL_SYSCALL_ERRNO.
19708         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19709         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
19710         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19711         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
19712         Likewise.
19713         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19715 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
19717         * io/tst-fcntl.c (fd): New static variable.
19718         (do_prepare): Open temporary file here....
19719         (do_test): ...not here.
19721         * io/ftwtest-sh: Also trap on exit to remove temporary files.
19723 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
19725         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
19726         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
19727         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
19728         Moved before "#ifdef __ASSEMBLER__".
19730 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
19732         [BZ #19156]
19733         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
19734         arguments very close to 0.
19736 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
19738         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
19739         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
19741 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
19743         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
19744         New.  Defined for GCC 5 and above when not compiling for
19745         profiling.
19746         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
19748         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
19749         Renamed to ...
19750         (CFLAGS-epoll_pwait.o): This.
19751         (CFLAGS-mmap.c): Renamed to ...
19752         (CFLAGS-mmap.o): This.
19753         (CFLAGS-mmap64.c): Renamed to ...
19754         (CFLAGS-mmap64.o): This.
19755         (CFLAGS-epoll_pwait.os): New.
19756         (CFLAGS-mmap.os): Likewise.
19757         (CFLAGS-mmap64.os): Likewise.
19758         (CFLAGS-semtimedop.os): Likewise.
19759         (CFLAGS-semtimedop.c): Renamed to ...
19760         (CFLAGS-semtimedop.o): This.
19762 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19764         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
19765         warning message.
19767 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
19769         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
19770         * Makefile ($(objpfx)c++-types-check.out): Filter out
19771         $(+gccwarn-c) instead of -Wstrict-prototypes.
19773         * io/fts.c (fts_open): Convert to prototype-style function
19774         definition.
19775         * malloc/mcheck.c (mcheck): Likewise.
19776         (mcheck_pedantic): Likewise.
19777         * posix/regexec.c (re_search_2_stub): Likewise.  Use
19778         internal_function.
19779         (re_search_internal): Likewise.
19780         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
19781         prototype-style function definition.
19782         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
19783         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
19784         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
19785         (xdr_utmpptr): Likewise.
19786         (xdr_utmparr): Likewise.
19787         (xdr_utmpidle): Likewise.
19788         (xdr_utmpidleptr): Likewise.
19789         (xdr_utmpidlearr): Likewise.
19791         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
19792         log, log10 and log2.
19793         * math/auto-libm-test-out: Regenerated.
19794         * math/libm-test.inc (fmod_test_data): Add more tests.
19795         (fpclassify_test_data): Likewise.
19796         (frexp_test_data): Likewise.
19797         (hypot_test_data): Likewise.
19798         (ilogb_test_data): Likewise.
19800 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
19802         * debug/fortify_fail.c (__fortify_fail): Convert to
19803         prototype-style function definition.  Use internal_function.
19804         * libio/genops.c (save_for_backup): Convert to prototype-style
19805         function definition.
19806         * libio/wgenops.c (save_for_wbackup): Likewise.
19807         * login/grantpt.c (grantpt): Likewise.
19808         * login/ptsname.c (ptsname): Likewise.
19809         (__ptsname_r): Likewise.
19810         * login/unlockpt.c (unlockpt): Likewise.
19811         * mach/msgserver.c (__mach_msg_server): Likewise.
19812         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
19813         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
19814         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
19815         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
19816         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
19817         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
19818         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
19819         Likewise.
19820         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
19821         internal_function.
19822         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
19823         prototype-style function definition.
19824         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
19825         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
19826         (__pthread_create_2_0): Likewise.
19827         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
19828         * nptl/register-atfork.c (__register_atfork): Likewise.
19829         * posix/glob.c (glob): Likewise.
19830         * posix/regcomp.c (re_comp): Likewise.
19831         * posix/regexec.c (re_exec): Likewise.
19832         * stdlib/add_n.c [__STDC__]: Make code unconditional.
19833         [!__STDC__]: Remove conditional code.
19834         * stdlib/cmp.c [__STDC__]: Make code unconditional.
19835         [!__STDC__]: Remove conditional code.
19836         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
19837         [!__STDC__]: Remove conditional code.
19838         * stdlib/divrem.c [__STDC__]: Make code unconditional.
19839         [!__STDC__]: Remove conditional code.
19840         * stdlib/lshift.c [__STDC__]: Make code unconditional.
19841         [!__STDC__]: Remove conditional code.
19842         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
19843         [!__STDC__]: Remove conditional code.
19844         * stdlib/mul.c [__STDC__]: Make code unconditional.
19845         [!__STDC__]: Remove conditional code.
19846         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
19847         [!__STDC__]: Remove conditional code.
19848         * stdlib/rshift.c [__STDC__]: Make code unconditional.
19849         [!__STDC__]: Remove conditional code.
19850         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
19851         function definition.
19852         (STRTOF): Likewise.
19853         * stdlib/strtod_l.c (__STRTOF): Likewise.
19854         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
19855         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
19856         (__strtol_l): Likewise.
19857         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
19858         [!__STDC__]: Remove conditional code.
19859         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
19860         definition.
19861         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
19862         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
19863         type.
19864         (__strcasecmp): Convert to prototype-style function definition.
19865         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
19866         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
19867         type.
19868         (__strncasecmp): Convert to prototype-style function definition.
19869         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
19870         * sunrpc/xdr.c (xdr_union): Likewise.
19871         * sunrpc/xdr_array.c (xdr_array): Likewise.
19872         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
19873         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
19874         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
19875         Likewise.
19876         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
19877         Likewise.
19878         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
19879         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
19880         Likewise.
19881         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
19882         (LOCALE_PARAM_PROTO): Likewise.
19883         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
19884         argument type.
19885         (ut_argument_spec): Remove macro.
19886         (ut_argument_spec_iso): Rename to ut_argument_spec.
19887         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
19888         prototype-style function definition.
19889         (memcpy_uppcase): Likewise.
19890         (__strftime_internal): Likewise.
19891         (my_strftime): Likewise.
19892         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
19893         (LOCALE_PARAM_DECL): Likewise.
19894         [_LIBC] (LOCALE_PARAM): Include argument type.
19895         (__strptime_internal): Convert to prototype-style function
19896         definition.
19897         (strptime): Likewise.
19898         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
19899         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
19900         type.
19901         (__wcscasecmp): Convert to prototype-style function definition.
19902         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
19903         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
19904         type.
19905         (__wcsncasecmp): Convert to prototype-style function definition.
19907         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
19908         function definition.
19909         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
19910         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
19911         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
19912         * elf/dl-minimal.c (_itoa): Likewise.
19913         * hurd/hurdmalloc.c (malloc): Likewise.
19914         (free): Likewise.
19915         (realloc): Likewise.
19916         * inet/inet6_option.c (inet6_option_space): Likewise.
19917         (inet6_option_init): Likewise.
19918         (inet6_option_append): Likewise.
19919         (inet6_option_alloc): Likewise.
19920         (inet6_option_next): Likewise.
19921         (inet6_option_find): Likewise.
19922         * io/ftw.c (FTW_NAME): Likewise.
19923         (NFTW_NAME): Likewise.
19924         (NFTW_NEW_NAME): Likewise.
19925         (NFTW_OLD_NAME): Likewise.
19926         * libio/iofwide.c (_IO_fwide): Likewise.
19927         * libio/strops.c (_IO_str_init_static_internal): Likewise.
19928         (_IO_str_init_static): Likewise.
19929         (_IO_str_init_readonly): Likewise.
19930         (_IO_str_overflow): Likewise.
19931         (_IO_str_underflow): Likewise.
19932         (_IO_str_count): Likewise.
19933         (_IO_str_seekoff): Likewise.
19934         (_IO_str_pbackfail): Likewise.
19935         (_IO_str_finish): Likewise.
19936         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
19937         (_IO_wstr_overflow): Likewise.
19938         (_IO_wstr_underflow): Likewise.
19939         (_IO_wstr_count): Likewise.
19940         (_IO_wstr_seekoff): Likewise.
19941         (_IO_wstr_pbackfail): Likewise.
19942         (_IO_wstr_finish): Likewise.
19943         * locale/programs/localedef.c (normalize_codeset): Likewise.
19944         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
19945         (add_locales_to_archive): Likewise.
19946         (delete_locales_from_archive): Likewise.
19947         * malloc/malloc.c (__libc_mallinfo): Likewise.
19948         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
19949         * misc/tsearch.c (__tfind): Likewise.
19950         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
19951         * nptl/pthread_attr_getdetachstate.c
19952         (__pthread_attr_getdetachstate): Likewise.
19953         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
19954         Likewise.
19955         * nptl/pthread_attr_getinheritsched.c
19956         (__pthread_attr_getinheritsched): Likewise.
19957         * nptl/pthread_attr_getschedparam.c
19958         (__pthread_attr_getschedparam): Likewise.
19959         * nptl/pthread_attr_getschedpolicy.c
19960         (__pthread_attr_getschedpolicy): Likewise.
19961         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
19962         Likewise.
19963         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
19964         Likewise.
19965         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
19966         Likewise.
19967         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
19968         Likewise.
19969         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
19970         (__pthread_attr_init_2_0): Likewise.
19971         * nptl/pthread_attr_setdetachstate.c
19972         (__pthread_attr_setdetachstate): Likewise.
19973         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
19974         Likewise.
19975         * nptl/pthread_attr_setinheritsched.c
19976         (__pthread_attr_setinheritsched): Likewise.
19977         * nptl/pthread_attr_setschedparam.c
19978         (__pthread_attr_setschedparam): Likewise.
19979         * nptl/pthread_attr_setschedpolicy.c
19980         (__pthread_attr_setschedpolicy): Likewise.
19981         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
19982         Likewise.
19983         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
19984         Likewise.
19985         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
19986         Likewise.
19987         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
19988         Likewise.
19989         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
19990         Likewise.
19991         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
19992         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
19993         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
19994         use internal_function.
19995         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
19996         prototype-style function definition.
19997         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
19998         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
19999         internal_function.
20000         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
20001         Convert to prototype-style function definition.
20002         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
20003         Likewise.
20004         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
20005         Likewise.
20006         (__pthread_mutex_unlock): Likewise.
20007         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
20008         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
20009         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
20010         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
20011         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
20012         * nss/makedb.c (process_input): Likewise.
20013         * posix/fnmatch.c (__strchrnul): Likewise.
20014         (__wcschrnul): Likewise.
20015         (fnmatch): Likewise.
20016         * posix/fnmatch_loop.c (FCT): Likewise.
20017         * posix/glob.c (globfree): Likewise.
20018         (__glob_pattern_type): Likewise.
20019         (__glob_pattern_p): Likewise.
20020         * posix/regcomp.c (re_compile_pattern): Likewise.
20021         (re_set_syntax): Likewise.
20022         (re_compile_fastmap): Likewise.
20023         (regcomp): Likewise.
20024         (regerror): Likewise.
20025         (regfree): Likewise.
20026         * posix/regexec.c (regexec): Likewise.
20027         (re_match): Likewise.
20028         (re_search): Likewise.
20029         (re_match_2): Likewise.
20030         (re_search_2): Likewise.
20031         (re_search_stub): Likewise.  Use internal_function
20032         (re_copy_regs): Likewise.
20033         (re_set_registers): Convert to prototype-style function
20034         definition.
20035         (prune_impossible_nodes): Likewise.  Use internal_function.
20036         * resolv/inet_net_pton.c (inet_net_pton): Convert to
20037         prototype-style function definition.
20038         (inet_net_pton_ipv4): Likewise.
20039         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20040         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
20041         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
20042         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
20043         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
20044         Make variadic.
20045         * time/strptime_l.c (localtime_r): Convert to prototype-style
20046         function definition.
20047         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
20048         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
20049         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
20050         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
20052         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
20053         definition.
20054         (_ufc_doit_r): Likewise.
20055         * crypt/crypt_util.c (_ufc_copymem): Likewise.
20056         (_ufc_output_conversion_r): Likewise.
20057         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
20058         * inet/rcmd.c (rcmd_af): Likewise.
20059         (rcmd): Likewise.
20060         (ruserok_af): Likewise.
20061         (ruserok): Likewise.
20062         (ruserok2_sa): Likewise.
20063         (ruserok_sa): Likewise.
20064         (iruserok_af): Likewise.
20065         (iruserok): Likewise.
20066         (__ivaliduser): Likewise.
20067         (__validuser2_sa): Likewise.
20068         * inet/rexec.c (rexec_af): Likewise.
20069         (rexec): Likewise.
20070         * inet/ruserpass.c (ruserpass): Likewise.
20071         * locale/programs/xmalloc.c (xcalloc): Likewise.
20072         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
20073         * math/w_drem.c (__drem): Likewise.
20074         * math/w_dremf.c (__dremf): Likewise.
20075         * math/w_dreml.c (__dreml): Likewise.
20076         * misc/daemon.c (daemon): Likewise.
20077         * resolv/res_debug.c (p_fqnname): Likewise.
20078         * stdlib/div.c (div): Likewise.
20079         * string/memcmp.c (memcmp_bytes): Likewise.
20080         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
20081         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
20083         * crypt/cert.c (main): Convert to prototype-style function
20084         definition.
20085         * io/pipe.c (__pipe): Likewise.
20086         * io/pipe2.c (__pipe2): Likewise.
20087         * misc/futimesat.c (futimesat): Likewise.
20088         * misc/utimes.c (__utimes): Likewise.
20089         * posix/execve.c (__execve): Likewise.
20090         * posix/execvp.c (execvp): Likewise.
20091         * posix/execvpe.c (__execvpe): Likewise.
20092         * posix/fexecve.c (fexecve): Likewise.
20093         * socket/socketpair.c (socketpair): Likewise.
20094         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
20095         * stdlib/erand48.c (erand48): Likewise.
20096         * stdlib/erand48_r.c (__erand48_r): Likewise.
20097         * stdlib/jrand48.c (jrand48): Likewise.
20098         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
20099         * stdlib/lcong48.c (lcong48): Likewise.
20100         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
20101         * stdlib/nrand48.c (nrand48): Likewise.
20102         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
20103         * stdlib/seed48.c (seed48): Likewise.
20104         * stdlib/seed48_r.c (__seed48_r): Likewise.
20105         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
20106         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
20107         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
20109 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
20111         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
20112         * configure: Regenerated.
20113         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
20114         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
20115         unconditional.
20116         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
20117         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
20118         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
20119         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
20120         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
20121         unconditional.
20122         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
20124         * posix/Makefile (CFLAGS-regex.c): Remove variable.
20125         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
20127         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
20128         function definition.
20129         * crypt/crypt_util.c (__encrypt_r): Likewise.
20130         * libio/genops.c (_IO_no_init): Likewise.
20131         * libio/iofopncook.c (_IO_fopencookie): Likewise.
20132         (_IO_old_fopencookie): Likewise.
20133         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20134         * libio/iogetline.c (_IO_getline): Likewise.
20135         (_IO_getline_info): Likewise.
20136         * libio/iogetwline.c (_IO_getwline): Likewise.
20137         (_IO_getwline_info): Likewise.
20138         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
20139         * libio/vswprintf.c (_IO_vswprintf): Likewise.
20140         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
20141         (find_entry): Likewise.
20142         (iterate_table): Likewise.
20143         (lookup): Likewise.
20144         * login/forkpty.c (forkpty): Likewise.
20145         * misc/hsearch_r.c (__hsearch_r): Likewise.
20146         * misc/select.c (__select): Likewise.
20147         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
20148         Likewise.
20149         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
20150         Likewise.
20151         * nptl/old_pthread_cond_timedwait.c
20152         (__pthread_cond_timedwait_2_0): Likewise.
20153         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
20154         * nptl/pthread_barrierattr_getpshared.c
20155         (pthread_barrierattr_getpshared): Likewise.
20156         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
20157         Likewise.
20158         * nptl/pthread_mutex_setprioceiling.c
20159         (pthread_mutex_setprioceiling): Likewise.
20160         * nptl/pthread_mutexattr_getprioceiling.c
20161         (pthread_mutexattr_getprioceiling): Likewise.
20162         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
20163         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
20164         Likewise.
20165         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
20166         Likewise.
20167         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
20168         Likewise.
20169         * socket/recvfrom.c (__recvfrom): Likewise.
20170         * socket/sendto.c (__sendto): Likewise.
20171         * socket/setsockopt.c (__setsockopt): Likewise.
20172         * stdio-common/_itoa.c (_itoa): Likewise.
20173         * stdio-common/_itowa.c (_itowa): Likewise.
20174         * stdio-common/reg-printf.c (__register_printf_specifier):
20175         Likewise.
20176         (__register_printf_function): Likewise.
20177         * stdio-common/tempname.c (__path_search): Likewise.
20178         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
20179         * stdlib/mul_1.c (mpn_mul_1): Likewise.
20180         * stdlib/random_r.c (__initstate_r): Likewise.
20181         * stdlib/setenv.c (__add_to_environ): Likewise.
20182         * stdlib/submul_1.c (mpn_submul_1): Likewise.
20183         * streams/getpmsg.c (getpmsg): Likewise.
20184         * streams/putmsg.c (putmsg): Likewise.
20185         * streams/putpmsg.c (putpmsg): Likewise.
20186         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
20187         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
20188         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
20189         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
20190         * sunrpc/pm_getport.c (pmap_getport): Likewise.
20191         * sunrpc/svc_udp.c (cache_get): Likewise.
20192         * sunrpc/xdr_array.c (xdr_vector): Likewise.
20193         * sysdeps/mach/hurd/getcwd.c
20194         (__canonicalize_directory_name_internal): Likewise.
20195         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
20196         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
20197         * sysdeps/mach/hurd/select.c (__select): Likewise.
20198         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
20199         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
20200         * sysdeps/sparc/nptl/pthread_barrier_init.c
20201         (__pthread_barrier_init): Likewise.
20202         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
20203         (__pthread_cond_timedwait): Likewise.
20204         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
20205         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
20206         Likewise.
20207         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
20208         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
20209         Likewise.
20210         * sysvipc/semtimedop.c (semtimedop): Likewise.
20211         * time/setitimer.c (__setitimer): Likewise.
20212         * time/strftime_l.c (emacs_strftime): Likewise.
20214 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
20216         * config.make.in (have-ssp): Delete.
20217         (stack-protector): New variable.
20218         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
20219         cache test for -fstack-protector-strong.  Export stack_protector to
20220         the best ssp flag.
20221         * configure: Regenerated.
20222         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
20223         * nscd/Makefile (CFLAGS-nscd): Likewise.
20224         * resolv/Makefile (CFLAGS-libresolv): Likewise.
20226 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
20228         [BZ #19122]
20229         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
20230         attribute_hidden.
20232 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20234         [BZ #18743]
20235         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
20236         code to...
20237         (ELIDE_LOCK): ...here.
20238         (__get_new_count): New function with part of the code from
20239         __elide_lock that updates the value of adapt_count after a
20240         transaction abort.
20241         (__elided_trylock): Moved this code to...
20242         (ELIDE_TRYLOCK): ...here.
20244 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
20246         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
20247         * configure: Regenerate.
20248         * INSTALL: Regenerate.
20249         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
20250         and tweak grammar.
20252 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
20254         * login/programs/pt_chown.c: Include signal.h
20255         (main): Clear any signal mask from the parent process.
20257 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
20259         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
20260         * configure: Regenerated.
20261         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
20262         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
20263         $(gnu89-inline-CFLAGS).
20265         * configure.ac (libc_cv_asm_weak_directive): Remove configure
20266         test.
20267         (libc_cv_asm_weakext_directive): Likewise.
20268         * configure: Regenerated.
20269         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
20270         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
20271         * include/libc-symbols.h
20272         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
20273         #error.
20274         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
20275         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
20277         * sysdeps/arm/backtrace.c (__backtrace): Convert to
20278         prototype-style function definition.
20279         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
20280         * sysdeps/i386/ffs.c (__ffs): Likewise.
20281         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
20282         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
20283         Likewise.
20284         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
20285         Likewise.
20286         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
20287         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
20288         Likewise.
20289         * sysdeps/m68k/ffs.c (__ffs): Likewise.
20290         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
20291         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
20292         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
20293         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
20294         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
20295         * sysdeps/mach/hurd/access.c (__access): Likewise.
20296         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
20297         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
20298         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
20299         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
20300         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
20301         (cthread_getspecific): Likewise.
20302         (cthread_setspecific): Likewise.
20303         (__libc_getspecific): Likewise.
20304         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
20305         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
20306         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
20307         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
20308         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
20309         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
20310         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
20311         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
20312         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
20313         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
20314         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
20315         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
20316         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
20317         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
20318         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
20319         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
20320         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
20321         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
20322         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
20323         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
20324         * sysdeps/mach/hurd/link.c (__link): Likewise.
20325         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
20326         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
20327         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
20328         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
20329         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
20330         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
20331         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
20332         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
20333         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
20334         * sysdeps/mach/hurd/rename.c (rename): Likewise.
20335         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
20336         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
20337         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
20338         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
20339         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
20340         * sysdeps/mach/hurd/send.c (__send): Likewise.
20341         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
20342         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
20343         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
20344         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
20345         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
20346         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
20347         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
20348         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
20349         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
20350         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
20351         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
20352         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
20353         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
20354         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
20355         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
20356         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
20357         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
20358         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
20359         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
20360         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
20361         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
20362         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
20363         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
20364         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
20365         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
20366         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
20367         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
20368         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
20369         * sysdeps/posix/alarm.c (alarm): Likewise.
20370         * sysdeps/posix/cuserid.c (cuserid): Likewise.
20371         * sysdeps/posix/dirfd.c (dirfd): Likewise.
20372         * sysdeps/posix/dup.c (__dup): Likewise.
20373         * sysdeps/posix/dup2.c (__dup2): Likewise.
20374         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
20375         (main): Likewise.
20376         * sysdeps/posix/flock.c (__flock): Likewise.
20377         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
20378         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
20379         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
20380         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
20381         * sysdeps/posix/isatty.c (__isatty): Likewise.
20382         * sysdeps/posix/killpg.c (killpg): Likewise.
20383         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
20384         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
20385         * sysdeps/posix/raise.c (raise): Likewise.
20386         * sysdeps/posix/remove.c (remove): Likewise.
20387         * sysdeps/posix/rename.c (rename): Likewise.
20388         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
20389         * sysdeps/posix/seekdir.c (seekdir): Likewise.
20390         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
20391         * sysdeps/posix/sigignore.c (sigignore): Likewise.
20392         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
20393         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
20394         * sysdeps/posix/sigset.c (sigset): Likewise.
20395         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
20396         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
20397         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
20398         * sysdeps/posix/time.c (time): Likewise.
20399         * sysdeps/posix/ttyname.c (getttyname): Likewise.
20400         (ttyname): Likewise.
20401         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
20402         * sysdeps/posix/utime.c (utime): Likewise.
20403         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
20404         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
20405         Likewise.
20406         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
20407         (pthread_spin_trylock): Likewise.
20408         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
20409         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
20410         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
20411         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
20412         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
20413         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
20414         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
20415         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
20416         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
20417         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
20418         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
20419         * sysdeps/s390/ffs.c (__ffs): Likewise.
20420         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
20421         Likewise.
20422         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
20423         Likewise.
20424         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
20425         Likewise.
20426         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
20427         (pthread_barrier_destroy): Likewise.
20428         * sysdeps/sparc/nptl/pthread_barrier_wait.c
20429         (__pthread_barrier_wait): Likewise.
20430         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
20431         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
20432         (__pthread_barrier_wait): Likewise.
20433         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
20434         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
20435         (memcmp_not_common_alignment): Likewise.
20436         (MEMCMP): Likewise.
20437         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
20438         (_wordcopy_fwd_dest_aligned): Likewise.
20439         (_wordcopy_bwd_aligned): Likewise.
20440         (_wordcopy_bwd_dest_aligned): Likewise.
20441         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
20442         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
20443         * sysdeps/unix/bsd/stty.c (stty): Likewise.
20444         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
20445         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
20446         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
20447         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
20448         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
20449         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
20450         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
20451         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
20452         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
20453         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
20454         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
20455         * sysdeps/unix/stime.c (stime): Likewise.
20456         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
20457         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
20458         Likewise.  Use internal_function.
20459         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
20460         Convert to prototype-style function definition.
20461         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
20462         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
20463         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
20464         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
20465         Likewise.  Use internal_function.
20466         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
20467         prototype-style function definition
20468         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20469         Likewise.
20470         (__getlogin_r): Likewise.
20471         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
20472         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
20473         (__pthread_cond_broadcast): Likewise.
20474         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
20475         (__pthread_cond_destroy): Likewise.
20476         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
20477         (__pthread_cond_init): Likewise.
20478         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
20479         (__pthread_cond_signal): Likewise.
20480         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
20481         (__pthread_cond_wait): Likewise.
20482         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
20483         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
20484         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
20485         Likewise.
20486         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
20487         Likewise.
20488         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
20489         Likewise.
20490         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
20491         Likewise.
20492         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
20493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
20494         (__ftruncate64): Likewise.
20495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
20496         (truncate64): Likewise.
20497         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
20498         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
20499         (pthread_getcpuclockid): Likewise.
20500         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
20501         Likewise.
20502         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
20503         Likewise.
20504         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
20505         Likewise.
20506         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
20507         Likewise.
20508         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
20509         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
20510         (__libc_sigaction): Likewise.
20511         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
20512         Likewise.
20513         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
20514         (__sigprocmask): Likewise.
20515         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
20516         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
20517         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
20518         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
20519         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
20520         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
20521         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
20522         Likewise.
20523         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
20524         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
20525         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
20526         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
20527         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
20528         Likewise.
20529         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
20530         (__sigprocmask): Likewise.
20531         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
20532         (cfgetispeed): Likewise.
20533         (cfsetospeed): Likewise.
20534         (cfsetispeed): Likewise.
20535         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
20536         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
20537         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
20538         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
20539         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
20540         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
20541         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
20542         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
20543         Likewise.
20544         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
20545         Likewise.
20546         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
20547         Likewise.
20548         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
20549         Likewise.
20550         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
20552 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20554         sunrpc: Rewrite with explicit TLS access using __thread.
20555         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
20556         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
20557         directly.
20558         (__rpc_thread_variables): Access thread_rpc_vars directly.
20559         Eliminate redundant assignment of the tvp variable.
20561 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20563         malloc: Rewrite with explicit TLS access using __thread.
20564         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
20565         (tsd_setspecific, tsd_getspecific): Remove.
20566         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
20567         (tsd_setspecific, tsd_getspecific): Likewise.
20568         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
20569         (tsd_setspecific, tsd_getspecific): Likewise.
20570         * malloc/arena.c (thread_arena): New TLS variable.
20571         (arena_key): Remove variable.
20572         (arena_get): Use thread_arena.
20573         (arena_lookup): Remove macro.
20574         (malloc_atfork, free_atfork, ptmalloc_lock_all)
20575         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
20576         (_int_new_arena, get_free_list, reused_arena)
20577         (arena_thread_freeres): Use thread_arena.
20578         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
20579         tsd_getspecific, tsd_setspecific from safety annotations.
20580         (Allocating Cleared Space): Remove arena_lookup from safety
20581         annotations.
20583 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20585         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
20586         struct scratch_buffer instead of extend_alloca.
20588 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20590         * sysdeps/unix/sysv/linux/kernel-features.h
20591         (__ASSUME_SOCK_CLOEXEC): Remove.
20592         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
20593         (__have_paccept): Remove unused macro.
20594         * include/unistd.h (__have_sock_cloexec): Remove declaration.
20595         * misc/syslog.c (openlog_internal): Remove fallback code for
20596         !__ASSUME_SOCK_CLOEXEC.
20597         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
20598         missing SOCK_CLOEXEC.
20599         * nscd/connections.c (have_sock_cloexec): Remove definition.
20600         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
20601         * nscd/nscd_helper.c (open_socket): Remove fallback code for
20602         !__ASSUME_SOCK_CLOEXEC.
20603         * resolv/res_send.c (__have_o_nonblock): Remove definition.
20604         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
20605         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
20606         definition.
20607         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
20608         code for !__ASSUME_SOCK_CLOEXEC.
20610 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20612         [BZ #18982]
20613         * manual/stdio.texi (Variable Arguments Output): Add portability
20614         note, explaining that vfprintf clobbers the va_list pointer.
20616 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
20618         * math/libm-test.inc (fabs_test_data): Add more tests.
20619         (fdim_test_data): Likewise.
20620         (fma_test_data): Likewise.
20621         (fmax_test_data): Likewise.
20622         (fmin_test_data): Likewise.
20623         (fmod_test_data): Likewise.
20625 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
20627         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
20628         data.
20630 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
20632         * math/libm-test.inc (ceil_test_data): Add more tests and more
20633         expectations for "inexact".
20634         (floor_test_data): Add more tests.
20635         (round_test_data): Likewise.
20636         (trunc_test_data): Likewise.
20638         * crypt/cert.c (good_bye): Convert to prototype-style function
20639         definition.
20640         (get8): Likewise.
20641         (put8): Likewise.
20642         * crypt/crypt-entry.c (crypt): Likewise.
20643         (__fcrypt): Likewise.
20644         * crypt/crypt_util.c (_ufc_prbits): Likewise.
20645         (_ufc_set_bits): Likewise.
20646         (_ufc_clearmem): Likewise.
20647         (__init_des_r): Likewise.
20648         (shuffle_sb): Likewise.
20649         (shuffle_sb): Likewise.
20650         (_ufc_setup_salt_r): Likewise.
20651         (_ufc_mk_keytab_r): Likewise.
20652         (_ufc_dofinalperm_r): Likewise.
20653         (encrypt): Likewise.
20654         (__setkey_r): Likewise.
20655         (setkey): Likewise.
20656         * crypt/md5.c (md5_init_ctx): Likewise.
20657         (md5_read_ctx): Likewise.
20658         (md5_finish_ctx): Likewise.
20659         (md5_stream): Likewise.
20660         (md5_buffer): Likewise.
20661         (md5_process_bytes): Likewise.
20662         * crypt/sha256.c (__sha256_init_ctx): Likewise.
20663         (__sha256_finish_ctx): Likewise.
20664         (__sha256_process_bytes): Likewise.
20665         * crypt/sha512.c (__sha512_init_ctx): Likewise.
20666         (__sha512_finish_ctx): Likewise.
20667         (__sha512_process_bytes): Likewise.
20668         * ctype/isctype.c (__isctype): Likewise.
20669         * debug/backtrace.c (__backtrace): Likewise.
20670         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
20671         * debug/fgets_chk.c (__fgets_chk): Likewise.
20672         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
20673         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
20674         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20675         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20676         * debug/memset_chk.c (__memset_chk): Likewise.
20677         * debug/strcat_chk.c (__strcat_chk): Likewise.
20678         * debug/strncat_chk.c (__strncat_chk): Likewise.
20679         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
20680         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
20681         * dirent/dirfd.c (dirfd): Likewise.
20682         * dirent/getdents.c (__getdirentries): Likewise.
20683         * dirent/getdents64.c (getdirentries64): Likewise.
20684         * dirent/rewinddir.c (__rewinddir): Likewise.
20685         * dirent/seekdir.c (seekdir): Likewise.
20686         * dirent/telldir.c (telldir): Likewise.
20687         * elf/sln.c (makesymlinks): Likewise.
20688         (makesymlink): Likewise.
20689         * gmon/gmon.c (__moncontrol): Likewise.
20690         (__monstartup): Likewise.
20691         (write_hist): Likewise.
20692         (write_call_graph): Likewise.
20693         (write_bb_counts): Likewise.
20694         * grp/setgroups.c (setgroups): Likewise.
20695         * inet/inet_lnaof.c (inet_lnaof): Likewise.
20696         * inet/inet_net.c (inet_network): Likewise.
20697         * inet/inet_netof.c (inet_netof): Likewise.
20698         * inet/rcmd.c (rresvport_af): Likewise.
20699         (rresvport): Likewise.
20700         * io/access.c (__access): Likewise.
20701         * io/chdir.c (__chdir): Likewise.
20702         * io/chmod.c (__chmod): Likewise.
20703         * io/chown.c (__chown): Likewise.
20704         * io/close.c (__close): Likewise.
20705         * io/creat.c (creat): Likewise.
20706         * io/creat64.c (creat64): Likewise.
20707         * io/dup.c (__dup): Likewise.
20708         * io/dup2.c (__dup2): Likewise.
20709         * io/dup3.c (__dup3): Likewise.
20710         * io/euidaccess.c (__euidaccess): Likewise.
20711         * io/faccessat.c (faccessat): Likewise.
20712         * io/fchmod.c (__fchmod): Likewise.
20713         * io/fchmodat.c (fchmodat): Likewise.
20714         * io/fchown.c (__fchown): Likewise.
20715         * io/fchownat.c (fchownat): Likewise.
20716         * io/fcntl.c (__fcntl): Likewise.
20717         * io/flock.c (__flock): Likewise.
20718         * io/fts.c (fts_load): Likewise.
20719         (fts_close): Likewise.
20720         (fts_read): Likewise.
20721         (fts_set): Likewise.
20722         (fts_children): Likewise.
20723         (fts_build): Likewise.
20724         (fts_stat): Likewise.
20725         (fts_sort): Likewise.
20726         (fts_alloc): Likewise.
20727         (fts_lfree): Likewise.
20728         (fts_palloc): Likewise.
20729         (fts_padjust): Likewise.
20730         (fts_maxarglen): Likewise.
20731         (fts_safe_changedir): Likewise.
20732         * io/getwd.c (getwd): Likewise.
20733         * io/isatty.c (__isatty): Likewise.
20734         * io/lchown.c (__lchown): Likewise.
20735         * io/link.c (__link): Likewise.
20736         * io/linkat.c (linkat): Likewise.
20737         * io/lseek.c (__libc_lseek): Likewise.
20738         * io/mkdir.c (__mkdir): Likewise.
20739         * io/mkdirat.c (mkdirat): Likewise.
20740         * io/mkfifo.c (mkfifo): Likewise.
20741         * io/mkfifoat.c (mkfifoat): Likewise.
20742         * io/open.c (__libc_open): Likewise.
20743         * io/open64.c (__libc_open64): Likewise.
20744         * io/readlink.c (__readlink): Likewise.
20745         * io/readlinkat.c (readlinkat): Likewise.
20746         * io/rmdir.c (__rmdir): Likewise.
20747         * io/symlink.c (__symlink): Likewise.
20748         * io/symlinkat.c (symlinkat): Likewise.
20749         * io/ttyname.c (ttyname): Likewise.
20750         * io/ttyname_r.c (__ttyname_r): Likewise.
20751         * io/umask.c (__umask): Likewise.
20752         * io/unlink.c (__unlink): Likewise.
20753         * io/unlinkat.c (unlinkat): Likewise.
20754         * io/utime.c (utime): Likewise.
20755         * libio/clearerr.c (clearerr): Likewise.
20756         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
20757         * libio/feof.c (_IO_feof): Likewise.
20758         * libio/feof_u.c (feof_unlocked): Likewise.
20759         * libio/ferror.c (_IO_ferror): Likewise.
20760         * libio/ferror_u.c (ferror_unlocked): Likewise.
20761         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
20762         * libio/fileno.c (__fileno): Likewise.
20763         * libio/fputc.c (fputc): Likewise.
20764         * libio/fputc_u.c (fputc_unlocked): Likewise.
20765         * libio/fputwc.c (fputwc): Likewise.
20766         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
20767         * libio/freopen.c (freopen): Likewise.
20768         * libio/freopen64.c (freopen64): Likewise.
20769         * libio/fseek.c (fseek): Likewise.
20770         * libio/fseeko.c (fseeko): Likewise.
20771         * libio/fseeko64.c (fseeko64): Likewise.
20772         * libio/ftello.c (__ftello): Likewise.
20773         * libio/ftello64.c (ftello64): Likewise.
20774         * libio/fwide.c (fwide): Likewise.
20775         * libio/genops.c (_IO_un_link): Likewise.
20776         (_IO_link_in): Likewise.
20777         (_IO_least_marker): Likewise.
20778         (_IO_switch_to_main_get_area): Likewise.
20779         (_IO_switch_to_backup_area): Likewise.
20780         (_IO_switch_to_get_mode): Likewise.
20781         (_IO_free_backup_area): Likewise.
20782         (_IO_switch_to_put_mode): Likewise.
20783         (__overflow): Likewise.
20784         (__underflow): Likewise.
20785         (__uflow): Likewise.
20786         (_IO_setb): Likewise.
20787         (_IO_doallocbuf): Likewise.
20788         (_IO_default_underflow): Likewise.
20789         (_IO_default_uflow): Likewise.
20790         (_IO_default_xsputn): Likewise.
20791         (_IO_sgetn): Likewise.
20792         (_IO_default_xsgetn): Likewise.
20793         (_IO_sync): Likewise.
20794         (_IO_default_setbuf): Likewise.
20795         (_IO_default_seekpos): Likewise.
20796         (_IO_default_doallocate): Likewise.
20797         (_IO_init): Likewise.
20798         (_IO_old_init): Likewise.
20799         (_IO_default_sync): Likewise.
20800         (_IO_default_finish): Likewise.
20801         (_IO_default_seekoff): Likewise.
20802         (_IO_sputbackc): Likewise.
20803         (_IO_sungetc): Likewise.
20804         (_IO_set_column): Likewise.
20805         (_IO_set_column): Likewise.
20806         (_IO_adjust_column): Likewise.
20807         (_IO_get_column): Likewise.
20808         (_IO_init_marker): Likewise.
20809         (_IO_remove_marker): Likewise.
20810         (_IO_marker_difference): Likewise.
20811         (_IO_marker_delta): Likewise.
20812         (_IO_seekmark): Likewise.
20813         (_IO_unsave_markers): Likewise.
20814         (_IO_nobackup_pbackfail): Likewise.
20815         (_IO_default_pbackfail): Likewise.
20816         (_IO_default_seek): Likewise.
20817         (_IO_default_stat): Likewise.
20818         (_IO_default_read): Likewise.
20819         (_IO_default_write): Likewise.
20820         (_IO_default_showmanyc): Likewise.
20821         (_IO_default_imbue): Likewise.
20822         (_IO_iter_next): Likewise.
20823         (_IO_iter_file): Likewise.
20824         * libio/getc.c (_IO_getc): Likewise.
20825         * libio/getwc.c (_IO_getwc): Likewise.
20826         * libio/iofclose.c (_IO_new_fclose): Likewise.
20827         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
20828         * libio/iofflush.c (_IO_fflush): Likewise.
20829         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
20830         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
20831         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
20832         * libio/iofgets.c (_IO_fgets): Likewise.
20833         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
20834         * libio/iofgetws.c (fgetws): Likewise.
20835         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
20836         * libio/iofopen64.c (_IO_fopen64): Likewise.
20837         * libio/iofopncook.c (_IO_cookie_read): Likewise.
20838         (_IO_cookie_write): Likewise.
20839         (_IO_cookie_seek): Likewise.
20840         (_IO_cookie_close): Likewise.
20841         (_IO_cookie_seekoff): Likewise.
20842         (_IO_old_cookie_seek): Likewise.
20843         * libio/iofputs.c (_IO_fputs): Likewise.
20844         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
20845         * libio/iofputws.c (fputws): Likewise.
20846         * libio/iofputws_u.c (fputws_unlocked): Likewise.
20847         * libio/iofread.c (_IO_fread): Likewise.
20848         * libio/iofread_u.c (__fread_unlocked): Likewise.
20849         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
20850         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
20851         * libio/ioftell.c (_IO_ftell): Likewise.
20852         * libio/iofwrite.c (_IO_fwrite): Likewise.
20853         * libio/iogetdelim.c (_IO_getdelim): Likewise.
20854         * libio/iogets.c (_IO_gets): Likewise.
20855         * libio/iopadn.c (_IO_padn): Likewise.
20856         * libio/iopopen.c (_IO_new_proc_open): Likewise.
20857         (_IO_new_popen): Likewise.
20858         (_IO_new_proc_close): Likewise.
20859         * libio/ioputs.c (_IO_puts): Likewise.
20860         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
20861         (_IO_seekoff): Likewise.
20862         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
20863         (_IO_seekpos): Likewise.
20864         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
20865         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
20866         * libio/ioungetc.c (_IO_ungetc): Likewise.
20867         * libio/ioungetwc.c (ungetwc): Likewise.
20868         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
20869         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
20870         * libio/iowpadn.c (_IO_wpadn): Likewise.
20871         * libio/libc_fatal.c (__libc_fatal): Likewise.
20872         * libio/memstream.c (__open_memstream): Likewise.
20873         (_IO_mem_sync): Likewise.
20874         (_IO_mem_finish): Likewise.
20875         * libio/oldfileops.c (_IO_old_file_init): Likewise.
20876         (_IO_old_file_close_it): Likewise.
20877         (_IO_old_file_finish): Likewise.
20878         (_IO_old_file_fopen): Likewise.
20879         (_IO_old_file_attach): Likewise.
20880         (_IO_old_file_setbuf): Likewise.
20881         (_IO_old_do_write): Likewise.
20882         (old_do_write): Likewise.
20883         (_IO_old_file_underflow): Likewise.
20884         (_IO_old_file_overflow): Likewise.
20885         (_IO_old_file_sync): Likewise.
20886         (_IO_old_file_seekoff): Likewise.
20887         (_IO_old_file_write): Likewise.
20888         (_IO_old_file_xsputn): Likewise.
20889         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
20890         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
20891         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
20892         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
20893         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
20894         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
20895         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
20896         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
20897         (_IO_old_popen): Likewise.
20898         (_IO_old_proc_close): Likewise.
20899         * libio/oldpclose.c (__old_pclose): Likewise.
20900         * libio/pclose.c (__new_pclose): Likewise.
20901         * libio/peekc.c (_IO_peekc_locked): Likewise.
20902         * libio/putc.c (_IO_putc): Likewise.
20903         * libio/putc_u.c (putc_unlocked): Likewise.
20904         * libio/putchar.c (putchar): Likewise.
20905         * libio/putchar_u.c (putchar_unlocked): Likewise.
20906         * libio/putwc.c (putwc): Likewise.
20907         * libio/putwc_u.c (putwc_unlocked): Likewise.
20908         * libio/putwchar.c (putwchar): Likewise.
20909         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
20910         * libio/rewind.c (rewind): Likewise.
20911         * libio/setbuf.c (setbuf): Likewise.
20912         * libio/setlinebuf.c (setlinebuf): Likewise.
20913         * libio/vasprintf.c (_IO_vasprintf): Likewise.
20914         * libio/vscanf.c (_IO_vscanf): Likewise.
20915         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
20916         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
20917         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
20918         * libio/wgenops.c (_IO_least_wmarker): Likewise.
20919         (_IO_switch_to_main_wget_area): Likewise.
20920         (_IO_switch_to_wbackup_area): Likewise.
20921         (_IO_wsetb): Likewise.
20922         (_IO_wdefault_pbackfail): Likewise.
20923         (_IO_wdefault_finish): Likewise.
20924         (_IO_wdefault_uflow): Likewise.
20925         (__woverflow): Likewise.
20926         (__wuflow): Likewise.
20927         (__wunderflow): Likewise.
20928         (_IO_wdefault_xsputn): Likewise.
20929         (_IO_wdefault_xsgetn): Likewise.
20930         (_IO_wdoallocbuf): Likewise.
20931         (_IO_wdefault_doallocate): Likewise.
20932         (_IO_switch_to_wget_mode): Likewise.
20933         (_IO_free_wbackup_area): Likewise.
20934         (_IO_switch_to_wput_mode): Likewise.
20935         (_IO_sputbackwc): Likewise.
20936         (_IO_sungetwc): Likewise.
20937         (_IO_adjust_wcolumn): Likewise.
20938         (_IO_init_wmarker): Likewise.
20939         (_IO_wmarker_delta): Likewise.
20940         (_IO_seekwmark): Likewise.
20941         (_IO_unsave_wmarkers): Likewise.
20942         * libio/wmemstream.c (open_wmemstream): Likewise.
20943         (_IO_wmem_sync): Likewise.
20944         (_IO_wmem_finish): Likewise.
20945         * locale/nl_langinfo.c (nl_langinfo): Likewise.
20946         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
20947         * locale/programs/simple-hash.c (init_hash): Likewise.
20948         (delete_hash): Likewise.
20949         (insert_entry): Likewise.
20950         (set_entry): Likewise.
20951         (next_prime): Likewise.
20952         (is_prime): Likewise.
20953         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
20954         (xmalloc): Likewise.
20955         (xrealloc): Likewise.
20956         * locale/programs/xstrdup.c (xstrdup): Likewise.
20957         * localedata/collate-test.c (xstrcoll): Likewise.
20958         * localedata/xfrm-test.c (xstrcmp): Likewise.
20959         * login/getlogin_r.c (__getlogin_r): Likewise.
20960         * login/getpt.c (__posix_openpt): Likewise.
20961         * login/login_tty.c (login_tty): Likewise.
20962         * login/setlogin.c (setlogin): Likewise.
20963         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
20964         (mach_msg_destroy_port): Likewise.
20965         (mach_msg_destroy_memory): Likewise.
20966         * malloc/mcheck.c (flood): Likewise.
20967         * misc/acct.c (acct): Likewise.
20968         * misc/brk.c (__brk): Likewise.
20969         * misc/chflags.c (chflags): Likewise.
20970         * misc/chroot.c (chroot): Likewise.
20971         * misc/fchflags.c (fchflags): Likewise.
20972         * misc/fstab.c (getfsspec): Likewise.
20973         (getfsfile): Likewise.
20974         * misc/fsync.c (fsync): Likewise.
20975         * misc/ftruncate.c (__ftruncate): Likewise.
20976         * misc/ftruncate64.c (__ftruncate64): Likewise.
20977         * misc/getdomain.c (getdomainname): Likewise.
20978         (getdomainname): Likewise.
20979         * misc/gethostname.c (__gethostname): Likewise.
20980         * misc/getpass.c (getpass): Likewise.
20981         * misc/getttyent.c (skip): Likewise.
20982         (value): Likewise.
20983         * misc/gtty.c (gtty): Likewise.
20984         * misc/hsearch.c (hsearch): Likewise.
20985         (hcreate): Likewise.
20986         * misc/hsearch_r.c (__hcreate_r): Likewise.
20987         (__hdestroy_r): Likewise.
20988         * misc/ioctl.c (__ioctl): Likewise.
20989         * misc/mkdtemp.c (mkdtemp): Likewise.
20990         * misc/mkostemp.c (mkostemp): Likewise.
20991         * misc/mkostemp64.c (mkostemp64): Likewise.
20992         * misc/mkostemps.c (mkostemps): Likewise.
20993         * misc/mkostemps64.c (mkostemps64): Likewise.
20994         * misc/mkstemp.c (mkstemp): Likewise.
20995         * misc/mkstemp64.c (mkstemp64): Likewise.
20996         * misc/mkstemps.c (mkstemps): Likewise.
20997         * misc/mkstemps64.c (mkstemps64): Likewise.
20998         * misc/mktemp.c (__mktemp): Likewise.
20999         * misc/preadv.c (preadv): Likewise.
21000         * misc/preadv64.c (preadv64): Likewise.
21001         * misc/pwritev.c (pwritev): Likewise.
21002         * misc/pwritev64.c (pwritev64): Likewise.
21003         * misc/readv.c (__readv): Likewise.
21004         * misc/revoke.c (revoke): Likewise.
21005         * misc/setdomain.c (setdomainname): Likewise.
21006         * misc/setegid.c (setegid): Likewise.
21007         * misc/seteuid.c (seteuid): Likewise.
21008         * misc/sethostid.c (sethostid): Likewise.
21009         * misc/sethostname.c (sethostname): Likewise.
21010         * misc/setregid.c (__setregid): Likewise.
21011         * misc/setreuid.c (__setreuid): Likewise.
21012         * misc/sstk.c (sstk): Likewise.
21013         * misc/stty.c (stty): Likewise.
21014         * misc/syscall.c (syscall): Likewise.
21015         * misc/syslog.c (setlogmask): Likewise.
21016         * misc/truncate.c (__truncate): Likewise.
21017         * misc/truncate64.c (truncate64): Likewise.
21018         * misc/ualarm.c (ualarm): Likewise.
21019         * misc/usleep.c (usleep): Likewise.
21020         * misc/ustat.c (ustat): Likewise.
21021         * misc/writev.c (__writev): Likewise.
21022         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
21023         * nptl/old_pthread_cond_broadcast.c
21024         (__pthread_cond_broadcast_2_0): Likewise.
21025         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
21026         Likewise.
21027         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
21028         Likewise.
21029         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
21030         Likewise.
21031         * nptl/pt-raise.c (raise): Likewise.
21032         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
21033         Likewise.
21034         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
21035         * nptl/pthread_barrierattr_destroy.c
21036         (pthread_barrierattr_destroy): Likewise.
21037         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
21038         Likewise.
21039         * nptl/pthread_barrierattr_setpshared.c
21040         (pthread_barrierattr_setpshared): Likewise.
21041         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
21042         Likewise.
21043         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
21044         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
21045         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
21046         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
21047         Likewise.
21048         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
21049         Likewise.
21050         * nptl/pthread_condattr_getpshared.c
21051         (pthread_condattr_getpshared): Likewise.
21052         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
21053         Likewise.
21054         * nptl/pthread_condattr_setpshared.c
21055         (pthread_condattr_setpshared): Likewise.
21056         * nptl/pthread_detach.c (pthread_detach): Likewise.
21057         * nptl/pthread_equal.c (__pthread_equal): Likewise.
21058         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
21059         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
21060         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
21061         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
21062         Likewise.
21063         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
21064         Likewise.
21065         * nptl/pthread_mutex_getprioceiling.c
21066         (pthread_mutex_getprioceiling): Likewise.
21067         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
21068         Likewise.
21069         * nptl/pthread_mutexattr_getprotocol.c
21070         (pthread_mutexattr_getprotocol): Likewise.
21071         * nptl/pthread_mutexattr_getpshared.c
21072         (pthread_mutexattr_getpshared): Likewise.
21073         * nptl/pthread_mutexattr_getrobust.c
21074         (pthread_mutexattr_getrobust): Likewise.
21075         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
21076         Likewise.
21077         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
21078         Likewise.
21079         * nptl/pthread_mutexattr_setprioceiling.c
21080         (pthread_mutexattr_setprioceiling): Likewise.
21081         * nptl/pthread_mutexattr_setprotocol.c
21082         (pthread_mutexattr_setprotocol): Likewise.
21083         * nptl/pthread_mutexattr_setpshared.c
21084         (pthread_mutexattr_setpshared): Likewise.
21085         * nptl/pthread_mutexattr_setrobust.c
21086         (pthread_mutexattr_setrobust): Likewise.
21087         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
21088         Likewise.
21089         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
21090         Likewise.
21091         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
21092         Likewise.
21093         * nptl/pthread_rwlockattr_getkind_np.c
21094         (pthread_rwlockattr_getkind_np): Likewise.
21095         * nptl/pthread_rwlockattr_getpshared.c
21096         (pthread_rwlockattr_getpshared): Likewise.
21097         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
21098         Likewise.
21099         * nptl/pthread_rwlockattr_setkind_np.c
21100         (pthread_rwlockattr_setkind_np): Likewise.
21101         * nptl/pthread_rwlockattr_setpshared.c
21102         (pthread_rwlockattr_setpshared): Likewise.
21103         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
21104         Likewise.
21105         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
21106         Likewise.
21107         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
21108         Likewise.
21109         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
21110         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
21111         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
21112         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
21113         * nptl/sem_close.c (sem_close): Likewise.
21114         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
21115         * nptl/sem_init.c (__old_sem_init): Likewise.
21116         * nptl/sigaction.c (__sigaction): Likewise.
21117         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
21118         * posix/_exit.c (_exit): Likewise.
21119         * posix/alarm.c (alarm): Likewise.
21120         * posix/confstr.c (confstr): Likewise.
21121         * posix/fpathconf.c (__fpathconf): Likewise.
21122         * posix/getgroups.c (__getgroups): Likewise.
21123         * posix/getpgid.c (__getpgid): Likewise.
21124         * posix/group_member.c (__group_member): Likewise.
21125         * posix/pathconf.c (__pathconf): Likewise.
21126         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
21127         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
21128         * posix/setgid.c (__setgid): Likewise.
21129         * posix/setpgid.c (__setpgid): Likewise.
21130         * posix/setuid.c (__setuid): Likewise.
21131         * posix/sleep.c (__sleep): Likewise.
21132         * posix/sysconf.c (__sysconf): Likewise.
21133         * posix/times.c (__times): Likewise.
21134         * posix/uname.c (__uname): Likewise.
21135         * posix/waitid.c (__waitid): Likewise.
21136         * pwd/getpw.c (__getpw): Likewise.
21137         * resolv/base64.c (b64_pton): Likewise.
21138         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
21139         * resolv/gethnamaddr.c (Dprintf): Likewise.
21140         (gethostbyname): Likewise.
21141         (gethostbyname2): Likewise.
21142         (gethostbyaddr): Likewise.
21143         (_sethtent): Likewise.
21144         (_gethtbyname): Likewise.
21145         (_gethtbyname2): Likewise.
21146         (_gethtbyaddr): Likewise.
21147         (map_v4v6_address): Likewise.
21148         (map_v4v6_hostent): Likewise.
21149         (addrsort): Likewise.
21150         (ht_sethostent): Likewise.
21151         (ht_gethostbyname): Likewise.
21152         (ht_gethostbyaddr): Likewise.
21153         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
21154         (inet_net_ntop_ipv4): Likewise.
21155         * resolv/inet_neta.c (inet_neta): Likewise.
21156         * resolv/inet_ntop.c (inet_ntop): Likewise.
21157         (inet_ntop4): Likewise.
21158         (inet_ntop6): Likewise.
21159         * resolv/inet_pton.c (__inet_pton): Likewise.
21160         (inet_pton4): Likewise.
21161         (inet_pton6): Likewise.
21162         * resolv/res_debug.c (loc_aton): Likewise.
21163         (loc_ntoa): Likewise.
21164         * resource/getpriority.c (__getpriority): Likewise.
21165         * resource/getrusage.c (__getrusage): Likewise.
21166         * resource/nice.c (nice): Likewise.
21167         * resource/setpriority.c (__setpriority): Likewise.
21168         * resource/setrlimit64.c (setrlimit64): Likewise.
21169         * resource/vlimit.c (vlimit): Likewise.
21170         * resource/vtimes.c (vtimes): Likewise.
21171         * rt/aio_error.c (aio_error): Likewise.
21172         * rt/aio_return.c (aio_return): Likewise.
21173         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
21174         * signal/kill.c (__kill): Likewise.
21175         * signal/killpg.c (killpg): Likewise.
21176         * signal/raise.c (raise): Likewise.
21177         * signal/sigaction.c (__sigaction): Likewise.
21178         * signal/sigaddset.c (sigaddset): Likewise.
21179         * signal/sigaltstack.c (sigaltstack): Likewise.
21180         * signal/sigandset.c (sigandset): Likewise.
21181         * signal/sigblock.c (__sigblock): Likewise.
21182         * signal/sigdelset.c (sigdelset): Likewise.
21183         * signal/sigempty.c (sigemptyset): Likewise.
21184         * signal/sigfillset.c (sigfillset): Likewise.
21185         * signal/sighold.c (sighold): Likewise.
21186         * signal/sigignore.c (sigignore): Likewise.
21187         * signal/sigintr.c (siginterrupt): Likewise.
21188         * signal/sigisempty.c (sigisemptyset): Likewise.
21189         * signal/sigismem.c (sigismember): Likewise.
21190         * signal/signal.c (signal): Likewise.
21191         * signal/sigorset.c (sigorset): Likewise.
21192         * signal/sigpause.c (__sigpause): Likewise.
21193         * signal/sigpending.c (sigpending): Likewise.
21194         * signal/sigprocmask.c (__sigprocmask): Likewise.
21195         * signal/sigrelse.c (sigrelse): Likewise.
21196         * signal/sigreturn.c (__sigreturn): Likewise.
21197         * signal/sigset.c (sigset): Likewise.
21198         * signal/sigsetmask.c (__sigsetmask): Likewise.
21199         * signal/sigstack.c (sigstack): Likewise.
21200         * signal/sigsuspend.c (__sigsuspend): Likewise.
21201         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
21202         * signal/sysv_signal.c (__sysv_signal): Likewise.
21203         * socket/accept.c (accept): Likewise.
21204         * socket/accept4.c (__libc_accept4): Likewise.
21205         * socket/bind.c (__bind): Likewise.
21206         * socket/connect.c (__connect): Likewise.
21207         * socket/getpeername.c (getpeername): Likewise.
21208         * socket/getsockname.c (__getsockname): Likewise.
21209         * socket/getsockopt.c (getsockopt): Likewise.
21210         * socket/listen.c (__listen): Likewise.
21211         * socket/recv.c (__recv): Likewise.
21212         * socket/recvmsg.c (__recvmsg): Likewise.
21213         * socket/send.c (__send): Likewise.
21214         * socket/sendmsg.c (__sendmsg): Likewise.
21215         * socket/shutdown.c (shutdown): Likewise.
21216         * socket/sockatmark.c (sockatmark): Likewise.
21217         * socket/socket.c (__socket): Likewise.
21218         * stdio-common/ctermid.c (ctermid): Likewise.
21219         * stdio-common/cuserid.c (cuserid): Likewise.
21220         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
21221         * stdio-common/remove.c (remove): Likewise.
21222         * stdio-common/rename.c (rename): Likewise.
21223         * stdio-common/renameat.c (renameat): Likewise.
21224         * stdio-common/tempname.c (__gen_tempname): Likewise.
21225         * stdio-common/xbug.c (InitBuffer): Likewise.
21226         (AppendToBuffer): Likewise.
21227         (ReadFile): Likewise.
21228         * stdlib/a64l.c (a64l): Likewise.
21229         * stdlib/drand48_r.c (drand48_r): Likewise.
21230         * stdlib/getcontext.c (getcontext): Likewise.
21231         * stdlib/getenv.c (getenv): Likewise.
21232         * stdlib/l64a.c (l64a): Likewise.
21233         * stdlib/llabs.c (llabs): Likewise.
21234         * stdlib/lldiv.c (lldiv): Likewise.
21235         * stdlib/lrand48_r.c (lrand48_r): Likewise.
21236         * stdlib/mrand48_r.c (mrand48_r): Likewise.
21237         * stdlib/putenv.c (putenv): Likewise.
21238         * stdlib/random.c (__srandom): Likewise.
21239         (__initstate): Likewise.
21240         (__setstate): Likewise.
21241         * stdlib/random_r.c (__srandom_r): Likewise.
21242         (__setstate_r): Likewise.
21243         (__random_r): Likewise.
21244         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
21245         * stdlib/setcontext.c (setcontext): Likewise.
21246         * stdlib/setenv.c (setenv): Likewise.
21247         (unsetenv): Likewise.
21248         * stdlib/srand48.c (srand48): Likewise.
21249         * stdlib/srand48_r.c (__srand48_r): Likewise.
21250         * stdlib/swapcontext.c (swapcontext): Likewise.
21251         * stdlib/system.c (__libc_system): Likewise.
21252         * stdlib/tst-strtod.c (expand): Likewise.
21253         * stdlib/tst-strtol.c (expand): Likewise.
21254         * stdlib/tst-strtoll.c (expand): Likewise.
21255         * streams/fattach.c (fattach): Likewise.
21256         * streams/fdetach.c (fdetach): Likewise.
21257         * streams/getmsg.c (getmsg): Likewise.
21258         * streams/isastream.c (isastream): Likewise.
21259         * string/ffs.c (__ffs): Likewise.
21260         * string/ffsll.c (ffsll): Likewise.
21261         * string/memcmp.c (memcmp_common_alignment): Likewise.
21262         (memcmp_not_common_alignment): Likewise.
21263         (MEMCMP): Likewise.
21264         * string/memcpy.c (memcpy): Likewise.
21265         * string/memmove.c (MEMMOVE): Likewise.
21266         * string/memset.c (memset): Likewise.
21267         * string/rawmemchr.c (RAWMEMCHR): Likewise.
21268         * string/strchrnul.c (STRCHRNUL): Likewise.
21269         * string/strerror.c (strerror): Likewise.
21270         * string/strndup.c (__strndup): Likewise.
21271         * string/strverscmp.c (__strverscmp): Likewise.
21272         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
21273         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
21274         (clnttcp_freeres): Likewise.
21275         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
21276         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
21277         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
21278         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
21279         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
21280         (xdr_callhdr): Likewise.
21281         * sunrpc/rpcinfo.c (udpping): Likewise.
21282         (tcpping): Likewise.
21283         (pstatus): Likewise.
21284         (pmapdump): Likewise.
21285         (brdcst): Likewise.
21286         (deletereg): Likewise.
21287         (getprognum): Likewise.
21288         (getvers): Likewise.
21289         (get_inet_address): Likewise.
21290         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
21291         * sunrpc/svc_udp.c (svcudp_create): Likewise.
21292         (svcudp_stat): Likewise.
21293         (svcudp_recv): Likewise.
21294         (svcudp_reply): Likewise.
21295         (svcudp_getargs): Likewise.
21296         (svcudp_freeargs): Likewise.
21297         (svcudp_destroy): Likewise.
21298         * sunrpc/xdr.c (xdr_bytes): Likewise.
21299         (xdr_netobj): Likewise.
21300         (xdr_string): Likewise.
21301         (xdr_wrapstring): Likewise.
21302         * sunrpc/xdr_float.c (xdr_float): Likewise.
21303         (xdr_double): Likewise.
21304         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
21305         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
21306         * sysvipc/ftok.c (ftok): Likewise.
21307         * sysvipc/msgctl.c (msgctl): Likewise.
21308         * sysvipc/msgget.c (msgget): Likewise.
21309         * sysvipc/msgrcv.c (msgrcv): Likewise.
21310         * sysvipc/msgsnd.c (msgsnd): Likewise.
21311         * sysvipc/semget.c (semget): Likewise.
21312         * sysvipc/semop.c (semop): Likewise.
21313         * sysvipc/shmat.c (shmat): Likewise.
21314         * sysvipc/shmctl.c (shmctl): Likewise.
21315         * sysvipc/shmdt.c (shmdt): Likewise.
21316         * sysvipc/shmget.c (shmget): Likewise.
21317         * termios/cfmakeraw.c (cfmakeraw): Likewise.
21318         * termios/speed.c (cfgetospeed): Likewise.
21319         (cfgetispeed): Likewise.
21320         (cfsetospeed): Likewise.
21321         (cfsetispeed): Likewise.
21322         * termios/tcflow.c (tcflow): Likewise.
21323         * termios/tcflush.c (tcflush): Likewise.
21324         * termios/tcgetattr.c (__tcgetattr): Likewise.
21325         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
21326         * termios/tcgetsid.c (tcgetsid): Likewise.
21327         * termios/tcsendbrk.c (tcsendbreak): Likewise.
21328         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
21329         * time/adjtime.c (__adjtime): Likewise.
21330         * time/dysize.c (dysize): Likewise.
21331         * time/ftime.c (ftime): Likewise.
21332         * time/getitimer.c (__getitimer): Likewise.
21333         * time/gettimeofday.c (__gettimeofday): Likewise.
21334         * time/gmtime.c (__gmtime_r): Likewise.
21335         (gmtime): Likewise.
21336         * time/localtime.c (__localtime_r): Likewise.
21337         (localtime): Likewise.
21338         * time/offtime.c (__offtime): Likewise.
21339         * time/settimeofday.c (__settimeofday): Likewise.
21340         * time/stime.c (stime): Likewise.
21341         * time/strftime_l.c (tm_diff): Likewise.
21342         (iso_week_days): Likewise.
21343         * time/strptime.c (strptime): Likewise.
21344         * time/time.c (time): Likewise.
21345         * time/timespec_get.c (timespec_get): Likewise.
21346         * time/tzset.c (tzset_internal): Likewise.
21347         (compute_change): Likewise.
21348         (__tz_compute): Likewise.
21349         * wcsmbs/btowc.c (__btowc): Likewise.
21350         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
21351         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
21352         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
21353         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
21354         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
21355         * wcsmbs/wcscat.c (__wcscat): Likewise.
21356         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
21357         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
21358         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
21359         * wcsmbs/wcscspn.c (wcscspn): Likewise.
21360         * wcsmbs/wcsdup.c (wcsdup): Likewise.
21361         * wcsmbs/wcslen.c (__wcslen): Likewise.
21362         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
21363         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
21364         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
21365         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
21366         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
21367         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
21368         * wcsmbs/wcsspn.c (wcsspn): Likewise.
21369         * wcsmbs/wcsstr.c (wcsstr): Likewise.
21370         * wcsmbs/wcstok.c (wcstok): Likewise.
21371         * wcsmbs/wctob.c (wctob): Likewise.
21372         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
21373         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21374         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
21375         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
21376         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
21377         * wcsmbs/wmemset.c (__wmemset): Likewise.
21378         * wctype/wcfuncs.c (__towlower): Likewise.
21379         (__towupper): Likewise.
21381         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
21382         (lll_unlock_elision): Add adapt_count parameter.
21384 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
21386         * sysdeps/nptl/configure.ac: Do not give errors based on the
21387         results of top-level configure tests.
21388         * sysdeps/nptl/configure: Regenerated.
21390         * configure.ac (libc_cv_Bgroup): Remove configure test.
21391         * configure: Regenerated.
21392         * config.make.in (have-Bgroup): Remove variable.
21394         * configure.ac (sizeof_long_double): Remove configure test.
21395         * configure: Regenerated.
21396         * config.make.in (sizeof-long-double): Remove variable.
21398         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
21399         * configure: Regenerated.
21400         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
21401         variable.
21402         (exceptions): Likewise.
21403         * sysdeps/arm/configure: Regenerated.
21404         * config.make.in (exceptions): Remove variable.
21405         * Makeconfig (uses-callbacks): Use -fexceptions instead of
21406         $(exceptions).
21407         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
21408         (CFLAGS-vdprintf_chk.c): Likewise.
21409         (CFLAGS-printf_chk.c): Likewise.
21410         (CFLAGS-fprintf_chk.c): Likewise.
21411         (CFLAGS-vprintf_chk.c): Likewise.
21412         (CFLAGS-vfprintf_chk.c): Likewise.
21413         (CFLAGS-gets_chk.c): Likewise.
21414         (CFLAGS-fgets_chk.c): Likewise.
21415         (CFLAGS-fgets_u_chk.c): Likewise.
21416         (CFLAGS-fread_chk.c): Likewise.
21417         (CFLAGS-fread_u_chk.c): Likewise.
21418         (CFLAGS-wprintf_chk.c): Likewise.
21419         (CFLAGS-fwprintf_chk.c): Likewise.
21420         (CFLAGS-vwprintf_chk.c): Likewise.
21421         (CFLAGS-vfwprintf_chk.c): Likewise.
21422         (CFLAGS-fgetws_chk.c): Likewise.
21423         (CFLAGS-fgetws_u_chk.c): Likewise.
21424         * libio/Makefile (CFLAGS-fileops.c): Likewise.
21425         (CFLAGS-fputc.c): Likewise.
21426         (CFLAGS-fputwc.c): Likewise.
21427         (CFLAGS-freopen64.c): Likewise.
21428         (CFLAGS-freopen.c): Likewise.
21429         (CFLAGS-fseek.c): Likewise.
21430         (CFLAGS-fseeko64.c): Likewise.
21431         (CFLAGS-fseeko.c): Likewise.
21432         (CFLAGS-ftello64.c): Likewise.
21433         (CFLAGS-ftello.c): Likewise.
21434         (CFLAGS-fwide.c): Likewise.
21435         (CFLAGS-genops.c): Likewise.
21436         (CFLAGS-getc.c): Likewise.
21437         (CFLAGS-getchar.c): Likewise.
21438         (CFLAGS-getwc.c): Likewise.
21439         (CFLAGS-getwchar.c): Likewise.
21440         (CFLAGS-iofclose.c): Likewise.
21441         (CFLAGS-iofflush.c): Likewise.
21442         (CFLAGS-iofgetpos64.c): Likewise.
21443         (CFLAGS-iofgetpos.c): Likewise.
21444         (CFLAGS-iofgets.c): Likewise.
21445         (CFLAGS-iofgetws.c): Likewise.
21446         (CFLAGS-iofputs.c): Likewise.
21447         (CFLAGS-iofputws.c): Likewise.
21448         (CFLAGS-iofread.c): Likewise.
21449         (CFLAGS-iofsetpos64.c): Likewise.
21450         (CFLAGS-iofsetpos.c): Likewise.
21451         (CFLAGS-ioftell.c): Likewise.
21452         (CFLAGS-iofwrite.c): Likewise.
21453         (CFLAGS-iogetdelim.c): Likewise.
21454         (CFLAGS-iogetline.c): Likewise.
21455         (CFLAGS-iogets.c): Likewise.
21456         (CFLAGS-iogetwline.c): Likewise.
21457         (CFLAGS-ioputs.c): Likewise.
21458         (CFLAGS-ioseekoff.c): Likewise.
21459         (CFLAGS-ioseekpos.c): Likewise.
21460         (CFLAGS-iosetbuffer.c): Likewise.
21461         (CFLAGS-iosetvbuf.c): Likewise.
21462         (CFLAGS-ioungetc.c): Likewise.
21463         (CFLAGS-ioungetwc.c): Likewise.
21464         (CFLAGS-oldfileops.c): Likewise.
21465         (CFLAGS-oldiofclose.c): Likewise.
21466         (CFLAGS-oldiofgetpos64.c): Likewise.
21467         (CFLAGS-oldiofgetpos.c): Likewise.
21468         (CFLAGS-oldiofsetpos64.c): Likewise.
21469         (CFLAGS-oldiofsetpos.c): Likewise.
21470         (CFLAGS-peekc.c): Likewise.
21471         (CFLAGS-putc.c): Likewise.
21472         (CFLAGS-putchar.c): Likewise.
21473         (CFLAGS-putwc.c): Likewise.
21474         (CFLAGS-putwchar.c): Likewise.
21475         (CFLAGS-rewind.c): Likewise.
21476         (CFLAGS-wfileops.c): Likewise.
21477         (CFLAGS-wgenops.c): Likewise.
21478         (CFLAGS-oldiofopen.c): Likewise.
21479         (CFLAGS-iofopen.c): Likewise.
21480         (CFLAGS-iofopen64.c): Likewise.
21481         (CFLAGS-oldtmpfile.c): Likewise.
21482         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
21483         (CFLAGS-fprintf.c): Likewise.
21484         (CFLAGS-printf.c): Likewise.
21485         (CFLAGS-vfwprintf.c): Likewise.
21486         (CFLAGS-vfscanf.c): Likewise.
21487         (CFLAGS-vfwscanf.c): Likewise.
21488         (CFLAGS-fscanf.c): Likewise.
21489         (CFLAGS-scanf.c): Likewise.
21490         (CFLAGS-isoc99_vfscanf.c): Likewise.
21491         (CFLAGS-isoc99_vscanf.c): Likewise.
21492         (CFLAGS-isoc99_fscanf.c): Likewise.
21493         (CFLAGS-isoc99_scanf.c): Likewise.
21494         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
21495         (CFLAGS-isoc99_fwscanf.c): Likewise.
21496         (CFLAGS-isoc99_vwscanf.c): Likewise.
21497         (CFLAGS-isoc99_vfwscanf.c): Likewise.
21499         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
21500         after mkstemp64.
21501         * login/tst-utmp.c (do_prepare): Likewise.
21502         * rt/tst-aio.c (do_prepare): Likewise.
21503         * rt/tst-aio64.c (do_prepare): Likewise.
21505 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21507         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
21508         (__lll_lock_elision): Remove adapt_count decrement...
21509         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
21510         (__lll_trylock_elision): Likewise.
21511         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
21512         (__lll_unlock_elision): ... to here. And utilize
21513         new adapt_count parameter.
21514         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
21515         (__lll_unlock_elision): Update to include adapt_count
21516         parameter.
21517         (lll_unlock_elision): Pass pointer to adapt_count
21518         variable.
21520 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21522         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
21523         Add elision adapt_count parameter to list of arguments.
21524         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
21525         (lll_unlock_elision): Update with new parameter list
21526         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
21527         (lll_unlock_elision): Likewise.
21528         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
21529         (lll_unlock_elision): Likewise.
21531 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
21533         [BZ #19122]
21534         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
21535         attribute_hidden.
21537         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
21538         attribute_hidden.
21539         [IS_IN (rtld)] (__strdup): Likewise.
21540         [IS_IN (rtld)] (__strerror_r): Likewise.
21541         [IS_IN (rtld)] (__strsep_g): Likewise.
21542         [IS_IN (rtld)] (memchr): Likewise.
21543         [IS_IN (rtld)] (memcmp): Likewise.
21544         [IS_IN (rtld)] (memcpy): Likewise.
21545         [IS_IN (rtld)] (memmove): Likewise.
21546         [IS_IN (rtld)] (memset): Likewise.
21547         [IS_IN (rtld)] (rawmemchr): Likewise.
21548         [IS_IN (rtld)] (stpcpy): Likewise.
21549         [IS_IN (rtld)] (strchr): Likewise.
21550         [IS_IN (rtld)] (strcmp): Likewise.
21551         [IS_IN (rtld)] (strlen): Likewise.
21552         [IS_IN (rtld)] (strnlen): Likewise.
21553         [IS_IN (rtld)] (strsep): Likewise.
21555         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
21556         attribute_hidden.
21557         [IS_IN (rtld)] (__strtoul_internal): Likewise.
21559         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
21560         attribute_hidden.
21561         [IS_IN (rtld)] (__libc_sigaction): Likewise.
21563         * include/setjmp.h (__longjmp): Add attribute_hidden.
21564         [IS_IN (rtld)] (__sigsetjmp): Likewise.
21566         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
21567         Add attribute_hidden.
21569         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
21570         [IS_IN (rtld)] (__open): Likewise.
21571         [IS_IN (rtld)] (__fcntl): Likewise.
21573         * include/dirent.h (__opendirat): Add attribute_hidden.
21574         (__getdents): Likewise.
21575         (__getdents64): Likewise.
21576         (__alloc_dir): Likewise.
21577         [IS_IN (rtld)] (__closedir): Likewise.
21578         [IS_IN (rtld)] (__fdopendir): Likewise.
21579         [IS_IN (rtld)] (__readdir): Likewise.
21580         [IS_IN (rtld)] (__readdir64): Likewise.
21581         [IS_IN (rtld)] (__rewinddir): Likewise.
21583         * include/dlfcn.h (_dl_catch_error): Moved to ...
21584         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
21585         attribute_hidden.
21587         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
21588         (_itoa_word): Likewise.
21590         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
21591         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
21592         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
21593         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
21594         (_dl_higher_prime_number): Likewise.
21595         (_dl_debug_printf_c): Likewise.
21596         (_dl_signal_cerror): Likewise.
21597         (_dl_receive_error): Likewise.
21598         (_dl_reloc_bad_type): Likewise.
21599         (_dl_resolve_conflicts): Likewise.
21600         (_dl_check_all_versions): Likewise.
21601         (_dl_check_map_versions): Likewise.
21602         (_dl_sort_fini): Likewise.
21603         (_dl_debug_initialize): Likewise.
21604         (_dl_init_paths): Likewise.
21605         (_dl_show_auxv): Likewise.
21606         (_dl_next_ld_env_entry): Likewise.
21607         (_dl_important_hwcaps): Likewise.
21608         (_dl_load_cache_lookup): Likewise.
21609         (_dl_update_slotinfo): Likewise.
21610         (_dl_show_scope): Likewise.
21612         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
21613         attribute_hidden.
21614         (_wordcopy_fwd_dest_aligned): Likewise.
21615         (_wordcopy_bwd_aligned): Likewise.
21616         (_wordcopy_bwd_dest_aligned): Likewise.
21618         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
21619         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
21620         Likewise.
21621         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
21622         Likewise.
21623         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
21625 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
21627         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
21628         GCC 5 requirement.
21630 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
21632         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
21633         test.
21634         * sysdeps/i386/configure: Regenerated.
21635         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
21636         code unconditional.
21638         * configure.ac (libc_cv_asm_previous_directive): Remove configure
21639         test.
21640         (libc_cv_asm_popsection_directive): Likewise.
21641         * configure: Regenerated.
21642         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
21643         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
21644         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
21645         (__make_section_unallocated): Make definition unconditional.
21646         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
21647         Remove conditional definition.
21648         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
21649         (__make_section_unallocated): Likewise.
21651         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
21652         * configure: Regenerated.
21653         * config.make.in (static-libgcc): Remove variable.
21654         * Makerules (build-shlib-helper): Use -static-libgcc instead of
21655         $(static-libgcc).
21656         (build-module-helper): Likewise.
21658         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
21659         * configure: Regenerated.
21661 2015-10-15  Florian Weimer  <fweimer@redhat.com>
21663         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
21664         (struct char_buffer): New type.
21665         (char_buffer_start, char_buffer_size, char_buffer_error)
21666         (char_buffer_rewind, char_buffer_add): New functions.
21667         (ADDW): Remove macro, replaced by the char_buffer_add function.
21668         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
21669         of extend_alloca.  Make control flow more explicit.
21671 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
21673         [BZ #19137]
21674         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
21675         Add -fomit-frame-pointer.
21676         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
21678 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
21680         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
21681         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
21682         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
21683         only if !__GNUC_PREREQ (5,0).
21684         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
21685         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
21686         (INTERNAL_SYSCALL_NCS): Likewise.
21687         (LOADREGS_0): New macro for GCC 5.
21688         (ASMARGS_0): Likewise.
21689         (LOADREGS_1): Likewise.
21690         (ASMARGS_1): Likewise.
21691         (LOADREGS_2): Likewise.
21692         (ASMARGS_2): Likewise.
21693         (LOADREGS_3): Likewise.
21694         (ASMARGS_3): Likewise.
21695         (LOADREGS_4): Likewise.
21696         (ASMARGS_4): Likewise.
21697         (LOADREGS_5): Likewise.
21698         (ASMARGS_5): Likewise.
21699         (LOADREGS_6): Likewise.
21700         (ASMARGS_6): Likewise.
21702 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
21704         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
21705         -fomit-frame-pointer.
21706         (CFLAGS-mmap64.c): Likewise.
21707         (CFLAGS-semtimedop.c): Likewise.
21708         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
21709         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
21710         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21711         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21713 2015-10-15  Florian Weimer  <fweimer@redhat.com>
21715         [BZ #18928]
21716         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
21717         _dl_pointer_guard member.
21718         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
21719         initializer.
21720         (security_init): Always set up pointer guard.
21721         (process_envvars): Do not process LD_POINTER_GUARD.
21723 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
21725         [BZ #19134]
21726         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
21727         (.LC2): Likewise.
21728         (.LC3): Likewise.
21729         (__lround): Do not add 0.5 to integer or out-of-range arguments.
21731 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21733         [BZ #19129]
21734         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
21735         r0 and r1.
21737 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
21739         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
21741 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
21743         * include/stap-probe.h: Fix macro definition formatting.
21745 2015-10-14  Florian Weimer  <fweimer@redhat.com>
21747         [BZ #19074]
21748         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
21749         load and store num_ifs.
21751 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
21753         [BZ #18822]
21754         * sysdeps/unix/sysv/linux/sched_getaffinity.c
21755         (__sched_getaffinity_new): Add libc_hidden_proto and
21756         libc_hidden_def.
21758 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
21760         [BZ #19007]
21761         * scripts/localplt.awk: Also allow GOT references.
21762         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
21763         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
21764         with "+ REL R_386_GLOB_DAT".
21765         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
21766         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
21768 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
21770         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
21771         INLINE_SYSCALL_ERROR_RETURN_VALUE.
21772         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
21773         Likewise.
21774         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
21775         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
21776         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
21777         INTERNAL_SYSCALLINTERNAL_SYSCALL and
21778         INLINE_SYSCALL_ERROR_RETURN_VALUE.
21779         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
21780         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21781         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
21782         Likewise.
21783         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21785 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
21787         [BZ #19125]
21788         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
21789         <math_private.h> and <stdint.h>.
21790         (__llround): Avoid conversions to and from long long int, and
21791         subtractions, where those might raise spurious exceptions.
21792         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
21793         <math_private.h> and <stdint.h>.
21794         (__llroundf): Avoid conversions to and from long long int, and
21795         subtractions, where those might raise spurious exceptions.
21797 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
21799         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
21800         INLINE_SYSCALL_ERROR_RETURN_VALUE.
21801         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
21802         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
21803         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
21804         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
21805         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
21806         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
21807         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
21808         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
21809         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21810         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21811         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
21812         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21813         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21814         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
21815         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
21816         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
21817         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
21818         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
21819         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
21820         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
21821         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
21822         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
21823         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
21824         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
21825         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
21826         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
21827         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21828         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
21829         (__xstat64_conv): Likewise.
21830         (__xstat32_conv): Likewise.
21832 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
21834         * sysdeps/unix/sysv/linux/sysdep.h: New file.
21835         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
21836         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
21837         <sysdeps/unix/sysv/linux/sysdep.h>.
21838         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
21839         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
21840         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
21841         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
21842         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
21843         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
21844         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
21845         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
21846         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
21847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21849         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21850         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21851         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21852         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
21853         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21854         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
21855         (sysdep-dl-routines): Add sysdep.
21856         [$(subdir) == nptl] (libpthread-routines): Likewise.
21857         [$(subdir) == rt] (librt-routines): Likewise.
21858         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
21859         PIC when branching to SYSCALL_ERROR_LABEL.
21860         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
21861         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
21862         <sysdeps/unix/sysv/linux/sysdep.h>.
21863         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
21864         (SYSCALL_ERROR_ERRNO): Removed.
21865         (SYSCALL_ERROR_HANDLER): Changed to empty.
21866         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
21867         (__syscall_error): New prototype.
21868         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
21869         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
21871 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
21873         [BZ #19124]
21874         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
21875         (_dl_runtime_resolve_avx512): Make it a hidden alias of
21876         _dl_runtime_resolve_avx.
21877         (_dl_runtime_profile_avx512): Make it a hidden alias of
21878         _dl_runtime_profile_avx.
21880 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
21882         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
21883         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
21884         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
21885         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
21887         [BZ #16422]
21888         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
21889         New configure test.
21890         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
21891         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
21892         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
21893         <math_private.h> and <stdint.h>.
21894         (__llrint): Avoid conversions to long long int where those might
21895         raise spurious exceptions.
21896         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
21897         <math_private.h> and <stdint.h>.
21898         (__llrintf): Avoid conversions to long long int where those might
21899         raise spurious exceptions.
21901 2015-10-12  Andreas Schwab  <schwab@suse.de>
21903         [BZ #18969]
21904         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
21905         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
21906         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
21907         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
21908         $(gen-locales).
21909         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
21910         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
21911         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
21912         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
21913         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
21914         $(gen-locales).
21915         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
21916         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
21917         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
21918         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
21919         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
21920         ($(objpfx)tst-ftell-active-handler.out)
21921         ($(objpfx)tst-ftell-append.out)
21922         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
21923         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
21924         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
21925         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
21926         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
21927         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
21928         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
21929         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
21930         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
21931         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
21932         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
21933         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
21934         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
21935         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
21936         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
21937         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
21938         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
21939         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
21940         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
21941         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
21942         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
21943         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
21944         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
21945         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
21946         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
21947         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
21948         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
21949         $(gen-locales).
21950         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
21951         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
21952         $(gen-locales).
21953         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
21954         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
21955         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
21956         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
21957         $(gen-locales).
21958         * libio/tst_wprintf2.c (main): Use explicit locale.
21959         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
21961 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21963         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
21964         __msg_sig_post.
21965         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
21967 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
21969         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
21970         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21972         * sysdeps/arm/libm-test-ulps: Regenerated.
21974         [BZ #15470]
21975         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
21977         [BZ #16399]
21978         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
21979         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
21980         and <fix-fp-int-convert-overflow.h>.
21981         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
21982         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21983         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
21984         and <fix-fp-int-convert-overflow.h>.
21985         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
21986         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21987         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
21988         <fix-fp-int-convert-overflow.h>.
21989         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
21990         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21991         * sysdeps/ieee754/dbl-64/s_lround.c: Include
21992         <fix-fp-int-convert-overflow.h>.
21993         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
21994         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21995         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
21996         and <fix-fp-int-convert-overflow.h>.
21997         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
21998         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21999         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
22000         <limits.h> and <fix-fp-int-convert-overflow.h>.
22001         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
22002         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22003         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
22004         and <fix-fp-int-convert-overflow.h>.
22005         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
22006         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22007         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
22008         and <fix-fp-int-convert-overflow.h>.
22009         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
22010         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22011         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
22013 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
22015         [BZ #18589]
22016         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
22017         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
22018         $(gen-locales).
22020 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22021             Phil Blundell <pb@pbcl.net>
22023         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
22024         * nptl/tst-cancel26.c: New file.
22025         * nptl/tst-cancel27.c: Likewise.
22027 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
22029         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
22030         __ILP32__ isn't defined.
22031         (lrint): Likewise.
22032         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
22033         (lrintf): Likewise.
22034         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
22035         (lrintl): Likewise.
22036         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
22037         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
22038         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
22040 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22042         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
22043         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
22045         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
22046         file.
22047         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
22048         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
22050 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
22052         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
22053         configure test.
22054         * sysdeps/i386/configure: Regenerated.
22055         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
22056         configure test.
22057         * sysdeps/x86_64/configure: Regenerated.
22058         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
22059         Make code unconditional.
22061         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
22062         test.
22063         * sysdeps/i386/configure: Regenerated.
22064         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
22065         test.
22066         * sysdeps/x86_64/configure: Regenerated.
22067         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
22068         Make code unconditional.
22069         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
22070         Likewise.
22071         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
22072         Likewise.
22073         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22074         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
22075         code unconditional.
22076         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22077         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
22078         code unconditional.
22079         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22080         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
22081         code unconditional.
22082         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
22083         code unconditional.
22084         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22085         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
22086         code unconditional.
22087         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22088         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
22089         code unconditional.
22090         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22091         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
22092         code unconditional.
22093         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22094         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
22095         code unconditional.
22096         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22097         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
22099         [BZ #19095]
22100         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
22101         mantissa to long int before shifting left.
22103 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
22105         [BZ #19094]
22106         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
22107         <limits.h>.
22108         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22109         when result overflows but exception would not result from cast.
22110         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
22111         <limits.h>.
22112         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22113         when result overflows but exception would not result from cast.
22114         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
22115         <limits.h>.
22116         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22117         when result overflows but exception would not result from cast.
22118         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
22119         <limits.h>.
22120         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22121         when result overflows but exception would not result from cast.
22122         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
22123         <limits.h>.
22124         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22125         when result overflows but exception would not result from cast.
22126         * math/libm-test.inc (lrint_test_data): Add more tests.
22127         (llrint_test_data): Likewise.
22129 2015-10-08  Roland McGrath  <roland@hack.frob.com>
22131         [BZ #18872]
22132         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
22133         Move out from under [$(run-built-tests) = yes] conditional.
22134         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
22135         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
22137 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
22139         [BZ #18589]
22140         * string/Makefile (tests): Add bug-strcoll2.
22141         (LOCALES): Add cs_CZ.UTF-8.
22142         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
22144         [BZ #18589]
22145         * string/bug-strcoll2.c: New file.
22146         * locale/categories.def: Revert commit
22147         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
22148         * locale/langinfo.h: Likewise.
22149         * locale/localeinfo.h: Likewise.
22150         * locale/C-collate.c: Likewise.
22151         * locale/programs/ld-collate.c (collate_output): Likewise.
22152         * string/strcoll_l.c (STRDIFF): Likewise.
22153         (STRCOLL): Likewise.
22154         * wcsmbs/wcscoll_l.c: Likewise.
22156 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
22158         * math/libm-test.inc (lround_test_data): Do not expect the absence
22159         of "inexact" for some tests with non-integer arguments.
22160         (llround_test_data): Likewise.
22162         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
22163         test.
22164         (libc_cv_cc_sse2avx): Likewise.
22165         * sysdeps/i386/configure: Regenerated.
22166         * sysdeps/i386/i686/multiarch/Makefile
22167         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
22168         [$(subdir) = math].
22169         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
22170         code unconditional.
22171         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
22172         Likewise.
22173         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
22174         Likewise.
22175         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
22176         Likewise.
22177         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
22178         test.
22179         (libc_cv_cc_sse2avx): Likewise.
22180         * sysdeps/x86_64/configure: Regenerated.
22181         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
22182         unconditional.
22183         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
22184         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
22185         unconditional.
22186         (_dl_runtime_profile)
22187         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
22188         conditional code.
22189         * sysdeps/x86_64/fpu/multiarch/Makefile
22190         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
22191         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
22192         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22193         * sysdeps/x86_64/fpu/multiarch/e_exp.c
22194         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22195         * sysdeps/x86_64/fpu/multiarch/e_log.c
22196         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22197         * sysdeps/x86_64/fpu/multiarch/s_atan.c
22198         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22199         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
22200         Likewise.
22201         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
22202         Likewise.
22203         * sysdeps/x86_64/fpu/multiarch/s_sin.c
22204         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22205         * sysdeps/x86_64/fpu/multiarch/s_tan.c
22206         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22207         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
22208         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
22209         (HAVE_SSE2AVX_SUPPORT): Likewise.
22211 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
22213         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
22214         instead of #pragma optimize.
22216 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
22218         [BZ #17195]
22219         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
22220         as is similarly done in systrim and _int_free already.
22222 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22224         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
22226 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
22228         [BZ #19088]
22229         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
22230         <limits.h>.
22231         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
22232         overflows but exception would not result from cast.
22233         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
22234         and <limits.h>.
22235         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
22236         overflows but exception would not result from cast.
22237         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
22238         <limits.h>.
22239         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
22240         overflows but exception would not result from cast.
22241         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
22242         <limits.h>.
22243         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
22244         overflows but exception would not result from cast.
22245         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
22246         <limits.h>.
22247         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
22248         overflows but exception would not result from cast.
22249         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
22250         <limits.h>.
22251         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
22252         overflows but exception would not result from cast.
22253         * math/libm-test.inc (lround_test_data): Add more tests.
22254         (llround_test_data): Likewise.
22256 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
22258         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
22259         (CFLAGS-ialloc.c): Ditto.
22260         (CFLAGS-scheck.c): Ditto.
22262 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
22264         [BZ #19086]
22265         * manual/filesys.texi (Storage Allocation): Fix argument order for
22266         posix_fallocate64.
22268 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
22270         [BZ #19085]
22271         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
22272         exponent below 48 inside case for non-overflowing exponent.
22273         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
22275 2015-10-07  Florian Weimer  <fweimer@redhat.com>
22277         * iconvdata/cp737.h (from_idx): Add const.
22278         * iconvdata/cp775.h (from_idx): Likewise.
22280 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
22282         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
22283         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
22284         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
22286         [BZ #19079]
22287         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
22288         file, conditioned on [!_LP64].
22289         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
22290         [!_LP64] (__lround): Do not define as function or alias.
22291         [!_LP64] (lround): Likewise.
22292         [!_LP64] (__lroundl): Likewise.
22293         [!_LP64] (lroundl): Likewise.
22294         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
22295         macro.
22296         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
22297         Likewise.
22299 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
22301         * math/libm-test.inc (lrint_test_data): Add more tests.
22302         (llrint_test_data): Likewise.
22303         (lround_test_data): Likewise.
22304         (llround_test_data): Likewise.
22306         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
22307         (llrint_test_data): Add tests used for lrint.
22309         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
22310         test.
22311         * sysdeps/i386/configure: Regenerated.
22312         * sysdeps/i386/i686/multiarch/Makefile
22313         [$(config-cflags-sse4) = yes]: Make code unconditional.
22314         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
22315         Likewise.
22316         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
22317         Likewise.
22318         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
22319         test.
22320         * sysdeps/x86_64/configure: Regenerated.
22321         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
22322         Make code unconditional.
22323         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
22324         Likewise.
22325         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
22326         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
22328         * scripts/rpm2dynsym.sh: Remove file.
22330 2015-10-06  Florian Weimer  <fweimer@redhat.com>
22332         * configure.ac (libc_cv_cxx_thread_local): Define.
22333         * configure: Regenerate.
22334         * config.make.in (have-cxx-thread_local): Define.
22335         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
22336         (LDLIBS-tst-thread_local1): Define.
22337         (tests): Add tst-thread_local1.
22338         [have-cxx-thread_local != yes] (tests-unsupported): Add
22339         tst-thread_local1.
22340         * nptl/tst-thread_local1.cc: New file.
22342 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
22344         [BZ #19078]
22345         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
22346         (u_thres): Likewise.
22347         (__expl): Determine whether to call __kernel_standard_l based on
22348         value of result, not argument.
22350         * math/libm-test.inc (scalb_test_data): Add more expectations for
22351         the "inexact" exception.
22353         [BZ #19077]
22354         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
22355         0.0L for argument 1.0L.
22357         [BZ #19076]
22358         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
22359         constant 0.0L when computing infinite result.
22361 2015-10-06  Florian Weimer  <fweimer@redhat.com>
22363         [BZ #10432]
22364         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
22365         malloc_usable_size.
22367 2015-10-06  Florian Weimer  <fweimer@redhat.com>
22369         [BZ #19018]
22370         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
22371         Mangle function pointer before storing it.
22372         (__call_tls_dtors): Demangle function pointer before calling it.
22374 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
22376         [BZ #19012]
22377         * iconv/gconv_db.c (gen_steps): Check for additional errors.
22378         Clean up on failure.
22380 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
22382         [BZ #19071]
22383         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
22384         long int variable to store possibly incremented high part of
22385         mantissa.
22386         * math/libm-test.inc (lround_test_data): Add tests used for
22387         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
22388         for tests requiring 64-bit long.  Do not condition tests on
22389         [TEST_FLOAT] unnecessarily.
22390         (llround_test_data): Add tests used for lround.  Add another
22391         expectation for the "inexact" exception.  Do not condition tests
22392         on [TEST_FLOAT] unnecessarily.
22394         [BZ #887]
22395         [BZ #19049]
22396         [BZ #19050]
22397         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
22398         * sysdeps/ieee754/dbl-64/e_log10.c: Include
22399         <fix-int-fp-convert-zero.h>.
22400         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22401         * sysdeps/ieee754/dbl-64/e_log2.c: Include
22402         <fix-int-fp-convert-zero.h>.
22403         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22404         * sysdeps/ieee754/dbl-64/s_erf.c: Include
22405         <fix-int-fp-convert-zero.h>.
22406         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22407         * sysdeps/ieee754/dbl-64/s_logb.c: Include
22408         <fix-int-fp-convert-zero.h>.
22409         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22410         * sysdeps/ieee754/flt-32/e_log10f.c: Include
22411         <fix-int-fp-convert-zero.h>.
22412         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22413         * sysdeps/ieee754/flt-32/e_log2f.c: Include
22414         <fix-int-fp-convert-zero.h>.
22415         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22416         * sysdeps/ieee754/flt-32/s_erff.c: Include
22417         <fix-int-fp-convert-zero.h>.
22418         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22419         * sysdeps/ieee754/flt-32/s_logbf.c: Include
22420         <fix-int-fp-convert-zero.h>.
22421         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22422         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
22423         <fix-int-fp-convert-zero.h>.
22424         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22425         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
22426         <fix-int-fp-convert-zero.h>.
22427         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22428         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
22429         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
22430         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
22431         file.
22432         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
22434 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
22436         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22438 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
22440         [BZ #19059]
22441         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
22442         overflowing computation.
22443         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22444         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
22445         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22446         Likewise.
22447         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22448         Likewise.
22449         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
22450         Likewise.
22451         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22452         Likewise.
22453         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22454         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22455         Likewise.
22456         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22457         Likewise.
22458         * math/libm-test.inc (nexttoward_test_data): Add more tests.
22460         * nss/rewrite_field.c (__nss_rewrite_field): Use
22461         internal_function.
22462         * nss/valid_field.c (__nss_valid_field): Likewise.
22463         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
22465 2015-10-02  Florian Weimer  <fweimer@redhat.com>
22467         [BZ #18724]
22468         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
22469         (__nss_invalid_field_characters, __nss_valid_field)
22470         (__nss_valid_list_field, __nss_rewrite_field): Declare.
22471         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
22472         tst-field.c: New file.
22473         * nss/Makefile (routines): Add valid_field, rewrite_field.
22474         (tests-static): Define unconditionally.
22475         (tests): Include tests-static.
22476         [build-static-nss] (tests-static): Use append.
22477         [build-static-nss] (tests): Remove modification.
22478         * nss/getent.c (print_group): Call putgrent.  Report error.
22479         (print_gshadow): Call putsgent.  Report error.
22480         (print_passwd): Call putpwent.  Report error.
22481         (print_shadow): Call putspent.  Report error.
22482         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
22483         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
22484         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
22485         name, password, directory, shell fields for valid syntax.  Rewrite
22486         GECOS field to match syntax.
22487         * pwd/Makefile (tests): Add tst-putpwent.
22488         * pwd/tst-putpwent.c: New file.
22489         * grp/putgrent.c (putgrent): Convert to ISO function definition.
22490         Check grName, grpasswd, gr_mem fields for valid syntax.
22491         Change loop variable i to size_t.
22492         * grp/Makefile (tests): Add tst-putgrent.
22493         * grp/tst-putgrent.c: New file.
22494         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
22495         valid syntax.
22496         * shadow/Makefile (tests): Add tst-putspent.
22497         * shadow/tst-putspent.c: New file.
22498         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
22499         sg_mem fields for valid syntax.
22500         * gshadow/Makefile (tests): Add tst-putsgent.
22501         * gshadow/tst-putsgent.c: New file.
22503 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22505         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
22506         assembly instructions.
22508 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22510         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
22511         prefix from operands.
22513 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
22515         [BZ #16347]
22516         [BZ #19046]
22517         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
22518         <libc-internal.h>.
22519         (MAXLGM): Do not use diagnostic control macros.
22520         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
22521         threshold for ldbl-128ibm.
22522         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
22523         instead of multiplying by log then subtracting.
22524         * math/auto-libm-test-in: Add more tests of lgamma.
22525         * math/auto-libm-test-out: Regenerated.
22527         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
22528         (TYPE_HEX_DIG): Likewise.
22529         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
22530         precisions when printing floating-point numbers.
22531         (check_float_internal): Likewise.
22533 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
22535         [BZ #16620]
22536         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
22537         of log (10) rounded downward to 48 bits.
22538         (log10_low): Use corresponding low part of log (10).
22540         [BZ #19032]
22541         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
22542         compute result as (x - x) / (x - x) not as 0 / 0.
22543         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
22544         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
22546         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22547         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
22548         and expm1.
22549         * math/auto-libm-test-out: Regenerated.
22550         * math/libm-test.inc (acos_test_data): Add more tests.
22551         (asin_test_data): Likewise.
22552         (asinh_test_data): Likewise.
22553         (atan_test_data): Likewise.
22554         (atanh_test_data): Likewise.
22555         (atan2_test_data): Likewise.
22556         (cbrt_test_data): Likewise.
22557         (ceil_test_data): Likewise.
22558         (copysign_test_data): Likewise.
22559         (cos_test_data): Likewise.
22560         (cosh_test_data): Likewise.
22561         (erf_test_data): Likewise.
22562         (erfc_test_data): Likewise.
22563         (exp_test_data): Likewise.
22564         (exp10_test_data): Likewise.
22565         (exp2_test_data): Likewise.
22566         (expm1_test_data): Likewise.
22567         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22569 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
22571         [BZ #19006]
22572         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
22573         to ...
22574         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
22575         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
22576         to ...
22577         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
22578         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
22579         to ...
22580         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
22581         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
22582         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
22583         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
22584         to ...
22585         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
22586         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
22587         Moved to ...
22588         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
22589         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
22590         Moved to ...
22591         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
22592         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
22593         to ...
22594         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
22595         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
22596         Moved to ...
22597         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
22598         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
22599         to ...
22600         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
22601         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
22602         Removed.
22603         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
22604         Likewise.
22605         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
22606         Likewise.
22607         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
22608         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
22609         Likewise.
22610         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
22611         Likewise.
22612         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
22613         Likewise.
22614         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
22615         Likewise.
22616         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
22617         Likewise.
22618         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
22619         Likewise.
22620         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
22621         Likewise.
22622         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
22623         Likewise.
22624         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
22625         Likewise.
22626         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
22627         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
22628         Likewise.
22629         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
22630         Likewise.
22631         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
22632         Likewise.
22633         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
22634         Likewise.
22635         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
22636         Likewise.
22637         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
22638         Replace ../i486/pthread_cond_timedwait.S with
22639         ../pthread_cond_timedwait.S.
22641 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
22643         * math/libm-test.inc (acos_test_data): Refine expectations for
22644         errno and "inexact" exceptions.
22645         (acosh_test_data): Likewise.
22646         (asin_test_data): Likewise.
22647         (asinh_test_data): Likewise.
22648         (atan_test_data): Likewise.
22649         (atanh_test_data): Likewise.
22650         (atan2_test_data): Likewise.
22651         (cbrt_test_data): Likewise.
22652         (ceil_test_data): Likewise.
22653         (copysign_test_data): Likewise.
22654         (cosh_test_data): Likewise.
22655         (erf_test_data): Likewise.
22656         (erfc_test_data): Likewise.
22657         (exp_test_data): Likewise.
22658         (exp10_test_data): Likewise.
22659         (exp2_test_data): Likewise.
22660         (expm1_test_data): Likewise.
22661         (fabs_test_data): Likewise.
22662         (floor_test_data): Likewise.
22663         (fma_test_data): Likewise.
22664         (fmax_test_data): Likewise.
22665         (fmin_test_data): Likewise.
22666         (fmod_test_data): Likewise.
22667         (fpclassify_test_data): Likewise.
22668         (frexp_test_data): Likewise.
22669         (hypot_test_data): Likewise.
22670         (ilogb_test_data): Likewise.
22671         (isgreater_test_data): Likewise.
22672         (isgreaterequal_test_data): Likewise.
22673         (isinf_test_data): Likewise.
22674         (isless_test_data): Likewise.
22675         (islessequal_test_data): Likewise.
22676         (islessgreater_test_data): Likewise.
22677         (isnan_test_data): Likewise.
22678         (isnormal_test_data): Likewise.
22679         (issignaling_test_data): Likewise.
22680         (isunordered_test_data): Likewise.
22681         (j0_test_data): Likewise.
22682         (j1_test_data): Likewise.
22683         (jn_test_data): Likewise.
22684         (lgamma_test_data): Likewise.
22685         (lrint_test_data): Likewise.
22686         (llrint_test_data): Likewise.
22687         (log_test_data): Likewise.
22688         (log10_test_data): Likewise.
22689         (log1p_test_data): Likewise.
22690         (log2_test_data): Likewise.
22691         (logb_test_data): Likewise.
22692         (lround_test_data): Likewise.
22693         (llround_test_data): Likewise.
22694         (modf_test_data): Likewise.
22695         (nearbyint_test_data): Likewise.
22696         (nextafter_test_data): Likewise.
22697         (nexttoward_test_data): Likewise.
22698         (pow_test_data): Likewise.
22699         (remainder_test_data): Likewise.
22700         (remquo_test_data): Likewise.
22701         (rint_test_data): Likewise.
22702         (round_test_data): Likewise.
22703         (signbit_test_data): Likewise.
22704         (sinh_test_data): Likewise.
22705         (sqrt_test_data): Likewise.
22706         (tanh_test_data): Likewise.
22707         (tgamma_test_data): Likewise.
22708         (trunc_test_data): Likewise.
22709         (y0_test_data): Likewise.
22710         (y1_test_data): Likewise.
22711         (yn_test_data): Likewise.
22712         (significand_test_data): Likewise.
22714 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
22716         * manual/filesys.texi (Storage Allocation): Document that
22717         posix_fallocate emulation fails when fd is open with O_WRONLY.
22719 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
22721         [BZ #19016]
22722         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
22723         allow more cases with X^2 + Y^2 >= 0.5.
22724         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
22725         normal element in sum instead of special-casing based on values of
22726         arguments.
22727         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
22728         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
22729         -1 as normal element in sum instead of special-casing based on
22730         values of arguments.
22731         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
22732         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
22733         (__x2y2m1): Update comment.
22734         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
22735         as normal element in sum instead of special-casing based on values
22736         of arguments.
22737         * math/s_clog.c (__clog): Handle more cases using log1p without
22738         hypot.
22739         * math/s_clog10.c (__clog10): Likewise.
22740         * math/s_clog10f.c (__clog10f): Likewise.
22741         * math/s_clog10l.c (__clog10l): Likewise.
22742         * math/s_clogf.c (__clogf): Likewise.
22743         * math/s_clogl.c (__clogl): Likewise.
22744         * math/auto-libm-test-in: Add more tests of clog and clog10.
22745         * math/auto-libm-test-out: Regenerated.
22746         * sysdeps/i386/fpu/libm-test-ulps: Update.
22747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22749 2015-09-28  Martin Sebor  <msebor@redhat.com>
22751         [BZ #18969]
22752         * string/Makefile (LOCALES): Define.
22753         (gen-locales.mk): Include.
22754         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
22755         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
22756         * string/tst-strxfrm2.c (do_test): Print the name of the locale
22757         on setlocale failure.
22759 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
22761         [BZ #18985]
22762         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
22763         (__strftime_internal): Likewise.
22764         * time/tst-strftime.c (do_bz18985): New test.
22765         (do_test): Call it.
22767 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
22769         [BZ #18956]
22770         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
22771         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
22772         extracting high part.
22773         * math/auto-libm-test-in: Add another test of pow.
22774         * math/auto-libm-test-out: Regenerated.
22775         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22777 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
22779         [BZ #18825]
22780         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
22781         New macro.
22782         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
22783         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
22784         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
22785         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
22786         DBL_NARROW_EVAL, reloading the PIC register as needed.
22787         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
22788         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
22789         FLT_NARROW_EVAL.  Use separate return path for case when first
22790         argument is NaN.
22791         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
22792         DEFINE_LDBL_MIN.
22793         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
22794         PIC register.
22795         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
22796         math_check_force_underflow_nonneg.
22797         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
22798         underflow for subnormal result.
22799         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
22800         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
22801         math_check_force_underflow_nonneg.
22802         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
22803         math_check_force_underflow.
22804         * sysdeps/x86_64/fpu/x86_64-math-asm.h
22805         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
22806         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
22807         DEFINE_LDBL_MIN.
22808         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
22809         * math/auto-libm-test-in: Add more tests of pow.
22810         * math/auto-libm-test-out: Regenerated.
22812 2015-09-25  Florian Weimer  <fweimer@redhat.com>
22814         * nss/bug17079.c (init_test_items): Add diagnostic for
22815         inconsistent entries.
22816         (test_buffer_size): Skip inconsistent entries.
22818 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
22820         [BZ #13304]
22821         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
22822         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
22823         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
22825         [BZ #13304]
22826         * sysdeps/microblaze/s_fma.c: New file.
22827         * sysdeps/microblaze/s_fmaf.c: Likewise.
22828         * sysdeps/microblaze/sfp-machine.h: Likewise.
22830 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
22832         [BZ #17250]
22833         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
22834         member.
22836 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
22838         [BZ #18803]
22839         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
22840         (MO): New macro.
22841         (__ieee754_hypot) [PIC]: Load PIC register.
22842         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
22843         DBL_NARROW_EVAL.
22844         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
22845         math_check_force_underflow_nonneg in case where result might be
22846         tiny.
22847         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
22848         Likewise.
22849         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
22850         Likewise.
22851         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
22852         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
22853         * math/auto-libm-test-in: Add more tests of hypot.
22854         * math/auto-libm-test-out: Regenerated.
22856 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
22858         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
22860 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
22862         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
22863         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
22864         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
22865         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
22866         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
22867         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
22868         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
22870         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
22871         LOAD_PIC_REG.
22873         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
22874         (FLT_CHECK_FORCE_UFLOW): Likewise.
22875         (DBL_CHECK_FORCE_UFLOW): Likewise.
22876         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
22877         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
22878         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
22879         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
22880         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
22881         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
22882         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
22883         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
22884         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
22885         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22886         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
22887         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
22888         (flt_min): Replace with use of DEFINE_FLT_MIN.
22889         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
22890         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
22891         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22892         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
22893         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
22894         (flt_min): Replace with use of DEFINE_FLT_MIN.
22895         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
22896         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
22897         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22898         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
22899         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
22900         (flt_min): Replace with use of DEFINE_FLT_MIN.
22901         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
22902         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
22903         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
22904         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
22905         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
22906         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
22907         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
22908         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
22909         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22910         (__atan): Use DBL_CHECK_FORCE_UFLOW.
22911         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
22912         (flt_min): Replace with use of DEFINE_FLT_MIN.
22913         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
22914         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
22915         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22916         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
22917         main computation.
22918         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
22919         (flt_min): Replace with use of DEFINE_FLT_MIN.
22920         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
22921         main computation.
22922         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
22923         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22924         (MO): New macro.
22925         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
22926         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
22927         (flt_min): Replace with use of DEFINE_FLT_MIN.
22928         (MO): New macro.
22929         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
22930         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
22931         (__log1pl): Use MO.
22933         [BZ #19003]
22934         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
22935         $(config-cflags-nofma).
22937 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22939         * sysdeps/aarch64/libm-test-ulps: Regenerated.
22941 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
22943         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
22944         (TWO127): Likewise.
22946         * sysdeps/generic/math_private.h (fabs_tg): New macro.
22947         (min_of_type): Likewise.
22948         (math_check_force_underflow): Likewise.
22949         (math_check_force_underflow_nonneg): Likewise.
22950         (math_check_force_underflow_complex): Likewise.
22951         * math/e_exp2l.c (__ieee754_exp2l): Use
22952         math_check_force_underflow_nonneg.
22953         * math/k_casinh.c (__kernel_casinh): Likewise.
22954         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22955         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22956         * math/s_catan.c (__catan): Use
22957         math_check_force_underflow_complex.
22958         * math/s_catanf.c (__catanf): Likewise.
22959         * math/s_catanh.c (__catanh): Likewise.
22960         * math/s_catanhf.c (__catanhf): Likewise.
22961         * math/s_catanhl.c (__catanhl): Likewise.
22962         * math/s_catanl.c (__catanl): Likewise.
22963         * math/s_ccosh.c (__ccosh): Likewise.
22964         * math/s_ccoshf.c (__ccoshf): Likewise.
22965         * math/s_ccoshl.c (__ccoshl): Likewise.
22966         * math/s_cexp.c (__cexp): Likewise.
22967         * math/s_cexpf.c (__cexpf): Likewise.
22968         * math/s_cexpl.c (__cexpl): Likewise.
22969         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
22970         * math/s_clog10.c (__clog10): Likewise.
22971         * math/s_clog10f.c (__clog10f): Likewise.
22972         * math/s_clog10l.c (__clog10l): Likewise.
22973         * math/s_clogf.c (__clogf): Likewise.
22974         * math/s_clogl.c (__clogl): Likewise.
22975         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
22976         * math/s_csinf.c (__csinf): Likewise.
22977         * math/s_csinh.c (__csinh): Likewise.
22978         * math/s_csinhf.c (__csinhf): Likewise.
22979         * math/s_csinhl.c (__csinhl): Likewise.
22980         * math/s_csinl.c (__csinl): Likewise.
22981         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
22982         * math/s_csqrtf.c (__csqrtf): Likewise.
22983         * math/s_csqrtl.c (__csqrtl): Likewise.
22984         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
22985         * math/s_ctanf.c (__ctanf): Likewise.
22986         * math/s_ctanh.c (__ctanh): Likewise.
22987         * math/s_ctanhf.c (__ctanhf): Likewise.
22988         * math/s_ctanhl.c (__ctanhl): Likewise.
22989         * math/s_ctanl.c (__ctanl): Likewise.
22990         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
22991         instead of volatile.
22992         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
22993         math_check_force_underflow.
22994         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
22995         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
22996         volatile when forcing underflow.
22997         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22998         math_check_force_underflow_nonneg.
22999         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
23000         Likewise.
23001         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
23002         math_check_force_underflow.
23003         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
23004         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23005         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
23006         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
23007         math_check_force_underflow_nonneg.
23008         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
23009         math_check_force_underflow.
23010         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
23011         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
23012         instead of volatile.
23013         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
23014         math_check_force_underflow.
23015         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
23016         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23017         math_check_force_underflow_nonneg.
23018         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
23019         math_check_force_underflow.
23020         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
23021         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
23022         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
23023         math_check_force_underflow_nonneg.
23024         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
23025         Likewise.
23026         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
23027         math_check_force_underflow.
23028         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
23029         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
23030         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
23031         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
23032         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
23033         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
23034         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
23035         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
23036         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
23037         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
23038         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
23039         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
23040         Likewise.
23041         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
23042         math_check_force_underflow_nonneg.
23043         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
23044         Likewise.
23045         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
23046         math_check_force_underflow.
23047         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
23048         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
23049         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
23050         Likewise.
23051         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
23052         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
23053         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
23054         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
23055         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
23056         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
23057         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
23058         instead of volatile.
23059         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
23060         math_check_force_underflow.
23061         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
23062         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
23063         math_check_force_underflow.
23064         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
23065         Likewise.
23066         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23067         Use math_check_force_underflow_nonneg.
23068         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
23069         math_check_force_underflow.
23070         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
23071         Likewise.
23072         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
23073         Likewise.
23074         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23075         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
23076         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
23077         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
23078         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
23079         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
23080         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
23081         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
23082         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
23083         math_check_force_underflow_nonneg.
23084         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
23085         math_check_force_underflow.
23086         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
23087         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
23088         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
23089         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
23090         math_check_force_underflow_nonneg.
23091         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
23092         math_check_force_underflow.
23093         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
23094         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
23095         instead of volatile.
23096         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
23097         math_check_force_underflow.
23099         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
23100         * stdlib/strtod_l.c: Include <math_private.h>.
23101         (overflow_value): Use math_narrow_eval.
23102         (underflow_value): Likewise.
23103         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23104         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
23105         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
23106         (__ieee754_gamma_r): Likewise.
23107         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
23108         Likewise.
23109         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
23110         Likewise.
23111         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
23112         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
23113         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
23114         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
23115         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
23116         (__ieee754_gammaf_r): Likewise.
23117         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
23118         Likewise.
23119         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
23120         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
23121         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
23122         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
23123         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
23124         volatile.
23125         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
23126         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
23127         math_narrow_eval.
23128         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
23129         Likewise.
23130         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23131         Likewise.
23132         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
23133         Likewise.
23134         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
23135         volatile.
23136         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
23137         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
23138         math_narrow_eval.
23139         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23140         Likewise.
23141         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23142         Likewise.
23144 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
23146         * nptl/Versions: Remove ignored symbols.
23148 2015-09-22  Florian Weimer  <fweimer@redhat.com>
23150         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
23151         * nss/Makefile (tests): Update.
23153 2015-09-22  Florian Weimer  <fweimer@redhat.com>
23155         * nss/bug18287.c: New file.
23156         * nss/Makefile (tests): Add bug18287.
23158 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23160         * mach/Versions (__mach_host_self_): Add symbol.
23162 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23164         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
23165         vm_page_size.
23167 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23169         Really fix sysdeps/i386/fpu/s_scalbn.S build
23171         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
23172         (libc: GLIBC_2_22): Remove unused version set.
23174 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
23176         * config.make.in (enable-timezone-tools): New variable.
23177         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
23178         (enable_timezone_tools): Export to generated files.
23179         * configure: Regenerate.
23180         * INSTALL: Regenerate.
23181         * manual/install.texi (--disable-timezone-tools): Document new flag.
23182         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
23183         ifeq ($(enable-timezone-tools),yes) check.
23185 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
23187         * timezone/Makefile: Revert previous change.
23189         [BZ #18980]
23190         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
23191         (DEFINE_DBL_MIN): Likewise.
23192         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
23193         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
23194         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
23195         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
23196         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
23197         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23198         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
23199         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
23200         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
23201         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23202         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
23203         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
23204         (flt_min): Replace with use of DEFINE_FLT_MIN.
23205         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
23206         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
23207         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23208         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
23209         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
23210         (flt_min): Replace with use of DEFINE_FLT_MIN.
23211         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
23212         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
23213         (flt_min): Replace with use of DEFINE_FLT_MIN.
23214         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
23215         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
23216         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
23217         (__ieee754_hypot): Use DBL_NARROW_EVAL.
23218         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
23219         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
23220         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
23221         (__ieee754_pow): Use DBL_NARROW_EVAL.
23222         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
23223         (__ieee754_powf): Use FLT_NARROW_EVAL.
23224         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
23225         (__ieee754_expf_sse2): Convert double-precision result to single
23226         precision.
23227         * sysdeps/i386/fpu/libm-test-ulps: Update.
23229 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23231         * timezone/Makefile: Ignore unused variable errors due to private.h
23232         (time_t_min) and (time_t_max).
23233         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
23234         Likewise.
23236 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
23238         [BZ #18981]
23239         * sysdeps/i386/fpu/i386-math-asm.h: New file.
23240         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
23241         (__ieee754_scalb): Use DBL_NARROW_EVAL.
23242         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
23243         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
23244         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
23245         (__scalbn): Use DBL_NARROW_EVAL.
23246         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
23247         (__scalbnf): Use FLT_NARROW_EVAL.
23249 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23251         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
23252         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
23253         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
23254         * stdio-common/printf_fp.c (___printf_fp):
23255         Use signbit to get the sign. Use isinf macro to allow inlining.
23256         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
23257         * stdio-common/printf_size.c (__printf_size): Likewise.
23259 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
23261         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
23263 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
23265         [BZ #18980]
23266         * sysdeps/generic/math_private.h: Include <float.h>.
23267         (math_narrow_eval): New macro.
23268         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
23269         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
23270         math_narrow_eval on overflowing return value.
23271         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
23272         Likewise.
23273         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23274         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
23275         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
23276         Likewise.
23277         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
23279 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23281         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
23282         * math/Makefile: Remove isinf_ns.c.
23283         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
23284         * math/multc3.c (__multc3): Likewise.
23285         * math/s_casin.c (__casin): Likewise.
23286         * math/s_casinf.c (__casinf): Likewise.
23287         * math/s_casinl.c (__casinl): Likewise.
23288         * math/s_cproj.c (__cproj): Likewise.
23289         * math/s_cprojf.c (__cprojf): Likewise.
23290         * math/s_cprojl.c (__cprofl): Likewise.
23291         * math/s_ctan.c (__ctan): Likewise.
23292         * math/s_ctanf.c (__ctanf): Likewise.
23293         * math/s_ctanh.c (__ctanh): Likewise.
23294         * math/s_ctanhf.c (__ctanhf): Likewise.
23295         * math/s_ctanhl.c (__ctanhl): Likewise.
23296         * math/s_ctanl.c (__ctanl): Likewise.
23297         * math/w_fmod.c (__fmod): Likewise.
23298         * math/w_fmodf.c (__fmodf): Likewise.
23299         * math/w_fmodl.c (_fmodl): Likewise.
23300         * math/w_remainder.c (__remainder): Likewise.
23301         * math/w_remainderf.c (__remainderf): Likewise.
23302         * math/w_remainderl.c (__remainderl): Likewise.
23303         * math/w_scalb.c (__scalb): Likewise.
23304         * math/w_scalbf.c (__scalbf): Likewise.
23305         * math/w_scalbl.c (__scalbl): Likewise.
23306         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
23307         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
23308         with isinf.
23309         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
23310         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
23311         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
23312         __isinf_nsf with isinf.
23313         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
23314         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
23315         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
23316         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
23317         with isinf.
23318         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
23319         __isinf_nsl with isinf.
23320         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
23321         with isinf.
23322         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
23323         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
23324         __isinf_nsl with isinf.
23325         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
23326         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
23327         with isinf.
23329 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23331         * resolv/base64.c (rcsid): Remove unused static.
23332         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
23333         static.  (tqpi1): Likewise.
23334         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
23335         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
23336         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
23337         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
23338         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
23339         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
23340         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
23341         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
23342         Likewise.
23344 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
23346         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
23347         <nptl/pthreadP.h>.
23348         (_longjmp_unwind): Use __libc_ptf_call.
23349         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
23351 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
23353         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
23354         * sysdeps/arm/__longjmp.S: Likewise.
23356 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23358         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
23359         Use __builtin_signbit.
23360         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
23361         Use __builtin_signbitf.
23362         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
23363         Use __builtin_signbitl.
23364         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23365         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
23367 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23369         [BZ #15367]
23370         [BZ #17441]
23372         * math/Makefile: Build test-snan.c with -fsignaling-nans.
23373         * math/math.h (fpclassify): Use __builtin_fpclassify when
23374         available.  (signbit): Use __builtin_signbit(f/l).
23375         (isfinite): Use__builtin_isfinite.  (isnormal): Use
23376         __builtin_isnormal.  (isnan): Use __builtin_isnan.
23377         (isinf): Use __builtin_isinf_sign.
23379 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23381         * benchtests/Makefile: Add bench-math-inlines, link with libm.
23382         * benchtests/bench-math-inlines.c: New benchmark.
23383         * benchtests/bench-util.h: New file.
23384         * benchtests/bench-util.c: New file.
23385         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
23387 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
23389         * elf/tst-dlmopen1.c: Define TEST_SO.
23390         (do_test): Use TEST_SO.
23392         * elf/dl-load.c: Include libc-internal.h.
23393         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
23395 2015-09-18  Vincent Bernat  <vincent@bernat.im>
23397         [BZ #17887]
23398         * time/strptime_l.c (__strptime_internal): Make %z accept
23399         [+-]HH:MM time zones.
23401 2015-09-18  Vincent Bernat  <vincent@bernat.im>
23403         [BZ #17886]
23404         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
23405         valid time zone.
23407 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
23409         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
23410         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
23411         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23412         (__ASSUME_FDATASYNC): Delete.
23414 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
23416         * conform/linknamespace.pl: Require weak undefined symbols to be
23417         in the standard namespace.
23418         (%strong_syms): Rename to %seen_syms.
23419         (%strong_seen): Rename to %seen_where.
23421 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
23423         [BZ #18970]
23424         * misc/error.c (error): Replace pthread_setcancelstate with
23425         __pthread_setcancelstate.
23426         (error_at_line): Likewise.
23427         * posix/wordexp.c (parse_comm): Likewise.
23428         * stdlib/fmtmsg.c (fmtmsg): Likewise.
23429         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
23430         (__pthread_setcancelstate): This.
23431         (pthread_setcancelstate): Add an alias.
23432         * nptl/nptl-init.c (pthread_functions): Replace
23433         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
23434         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
23435         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
23436         hidden_proto.
23437         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
23438         it with hidden_def.
23439         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
23440         (pthread_setcancelstate): Renamed to ...
23441         (__pthread_setcancelstate): This.
23442         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
23443         __libc_ptf_call with __pthread_setcancelstate.
23445 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
23446             Andreas Schwab  <schwab@suse.de>
23448         [BZ #17118]
23449         * math/s_ctan.c (__ctan): Determine sign of zero real part of
23450         result when imaginary part of argument is infinite using sine and
23451         cosine.
23452         * math/s_ctanf.c (__ctanf): Likewise.
23453         * math/s_ctanl.c (__ctanl): Likewise.
23454         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
23455         of result when real part of argument is infinite using sine and
23456         cosine.
23457         * math/s_ctanhf.c (__ctanhf): Likewise.
23458         * math/s_ctanhl.c (__ctanhl): Likewise.
23459         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
23460         (ctanh_test_data): Add more tests of ctanh.
23462 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
23464         [BZ #15384]
23465         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
23466         bit-mask as in subtraction.
23467         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
23468         Likewise.
23469         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
23470         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
23471         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
23473         [BZ #18951]
23474         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
23475         underflow exception for small results.
23476         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
23477         Likewise.
23478         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
23479         Likewise.
23480         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23481         Likewise.
23482         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
23483         Likewise.
23484         * math/auto-libm-test-in: Add more tests of tgamma.
23485         * math/auto-libm-test-out: Regenerated.
23487 2015-09-17  Andreas Schwab  <schwab@suse.de>
23489         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
23491 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
23493         [BZ #18977]
23494         * math/bits/mathcalls.h
23495         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
23496         not declare.
23497         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
23498         Likewise.
23499         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
23500         Likewise.
23501         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
23502         Likewise.
23503         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
23504         Likewise.
23505         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
23506         Likewise.
23507         * conform/data/math.h-data
23508         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
23509         function.
23510         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
23511         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
23512         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
23513         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
23514         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
23515         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
23516         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
23517         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
23518         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
23519         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
23520         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
23522         [BZ #6803]
23523         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
23524         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
23525         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
23526         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
23527         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
23528         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
23529         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
23530         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
23531         [NO_LONG_DOUBLE] (scalbnl): Likewise.
23532         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
23533         Likewise.
23534         [NO_LONG_DOUBLE] (scalbnl): Likewise.
23535         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
23536         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
23537         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
23538         long_double_symbol calls.
23539         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
23540         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
23541         strong alias of __ldexpl.
23542         (scalbnl): Define using long_double_symbol.
23543         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
23544         Remove alias.
23545         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
23546         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
23547         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
23548         (scalbln_test_data): Add more errno expectations.
23550 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
23552         Cache the host port like we cache the task port.  This way we do not
23553         need to call the kernel just to get the port.  Furthermore, we no
23554         longer increase the reference count on every invocation of
23555         `mach_host_self'.
23557         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
23558         Protect declarations against the macro expansion.
23559         * mach/mach_init.c (__mach_host_self_): New variable.
23560         (mach_init): Initialize `__mach_host_self_'.
23561         * mach/mach_init.h (__mach_host_self_): New declaration.
23562         (__mach_host_self, mach_host_self): New macros.
23563         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
23564         Release reference.
23566 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
23568         [BZ #4404]
23569         * po/de.po: Update from Translation Project.
23571         [BZ #16415]
23572         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
23573         (__expm1l): Remove code to handle positive infinity and overflow.
23574         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
23575         variable.
23576         (__expm1l): Remove code to handle positive infinity and overflow.
23578 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
23579             Paul Pluzhnikov  <ppluzhnikov@google.com>
23581         [BZ #18872]
23582         * stdio-common/Makefile (tst-printf-bz18872): New test.
23583         (tst-printf-bz18872-mem.out): Likewise.
23584         * stdio-common/tst-printf-bz18872.sh: Generate new test.
23585         * stdio-common/vfprintf.c: Fix memory leaks.
23587 2015-09-16  Andreas Schwab  <schwab@suse.de>
23589         [BZ #17244]
23590         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
23591         Remove extra va_start/va_end calls.
23593         [BZ #17243]
23594         * posix/execl.c (execl): Add missing va_end.
23595         * posix/execle.c (execle): Likewise.
23596         * posix/execlp.c (execlp): Likewise.
23598 2015-09-15  Roland McGrath  <roland@hack.frob.com>
23600         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
23601         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
23603 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
23605         [BZ #18967]
23606         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
23607         undefine around includes of <bits/mathcalls.h>.
23608         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
23609         not declare function.
23610         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
23611         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
23612         (scalb): Likewise.
23613         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
23614         not define macro.
23615         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
23616         variable.
23617         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
23618         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
23619         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
23621         [BZ #18857]
23622         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
23623         return non-finite argument without doing ordered comparisons on
23624         it.
23626         [BZ #16296]
23627         * math/fenv.h (fegetround): Use __attribute_pure__.
23628         * include/fenv.h (__fegetround): Likewise.
23630         [BZ #18595]
23631         * math/s_ctan.c (__ctan): Force underflow exception for results
23632         whose real or imaginary part has small absolute value.
23633         * math/s_ctanf.c (__ctanf): Likewise.
23634         * math/s_ctanh.c (__ctanh): Likewise.
23635         * math/s_ctanhf.c (__ctanhf): Likewise.
23636         * math/s_ctanhl.c (__ctanhl): Likewise.
23637         * math/s_ctanl.c (__ctanl): Likewise.
23638         * math/auto-libm-test-in: Do not allow missing underflow for ctan
23639         and ctanh.  Add more tests of ctan and ctanh.
23641         [BZ #15918]
23642         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
23643         handling of cases where one argument is an infinity.
23645         [BZ #18875]
23646         [BZ #18966]
23647         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
23648         (MO): New macro.
23649         (__ieee754_exp10): For small results, force underflow exception
23650         and remove excess range and precision from return value.
23651         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
23652         (MO): New macro.
23653         (__ieee754_exp10f): For small results, force underflow exception
23654         and remove excess range and precision from return value.
23655         * math/auto-libm-test-in: Add more tests of exp10.
23656         * math/auto-libm-test-out: Regenerated.
23658 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
23660         [BZ #18875]
23661         [BZ #18961]
23662         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
23663         (MO): New macro.
23664         (__ieee754_exp): For small results, force underflow exception and
23665         remove excess range and precision from return value.
23666         (__exp_finite): Likewise.
23667         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
23668         (MO): New macro.
23669         (__ieee754_expf): For small results, force underflow exception and
23670         remove excess range and precision from return value.
23671         (__expf_finite): Likewise.
23672         * math/auto-libm-test-in: Add more tests of exp.
23673         * math/auto-libm-test-out: Regenerated.
23675         [BZ #16521]
23676         [BZ #18875]
23677         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
23678         small results.
23679         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
23680         (MO): New macro.
23681         (__ieee754_exp2): For small results, force underflow exception and
23682         remove excess range and precision from return value.
23683         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
23684         (MO): New macro.
23685         (__ieee754_exp2f): For small results, force underflow exception
23686         and remove excess range and precision from return value.
23687         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
23688         (MO): New macro.
23689         (__ieee754_exp2l): Force underflow exception for small results.
23690         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23691         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
23692         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
23693         (MO): New macro.
23694         (__ieee754_exp2l): Force underflow exception for small results.
23695         * math/auto-libm-test-in: Add more tests or exp2.
23696         * math/auto-libm-test-out: Regenerated.
23698 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
23700         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
23702         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
23703         /dev/null.
23705 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23707         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
23708         io fs process)): Drop spurious backslash.
23710 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
23712         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
23713         Use sysinfo system call instead of parsing /proc/meminfo.
23714         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
23715         Likewise.
23717 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
23719         [BZ #16985]
23720         * programs/localedef.c (main): Display argv[remaining] when
23721         output_path is NULL.
23723 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
23725         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
23726         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
23727         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
23728         tanh.
23729         * math/auto-libm-test-out: Regenerated.
23730         * sysdeps/i386/fpu/libm-test-ulps: Update.
23731         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
23732         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23735 2015-09-11  Roland McGrath  <roland@hack.frob.com>
23737         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
23738         Use 'override' keyword to freeze the value here, preventing
23739         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
23741 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
23743         [BZ #14912]
23744         * sysdeps/aarch64/bits/atomic.h: Move to ...
23745         * sysdeps/aarch64/atomic-machine.h: ...here.
23746         (_AARCH64_BITS_ATOMIC_H): Rename macro to
23747         _AARCH64_ATOMIC_MACHINE_H.
23748         * sysdeps/alpha/bits/atomic.h: Move to ...
23749         * sysdeps/alpha/atomic-machine.h: ...here.
23750         * sysdeps/arm/bits/atomic.h: Move to ...
23751         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
23752         * bits/atomic.h: Move to ...
23753         * sysdeps/generic/atomic-machine.h: ...here.
23754         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
23755         * sysdeps/i386/bits/atomic.h: Move to ...
23756         * sysdeps/i386/atomic-machine.h: ...here.
23757         * sysdeps/ia64/bits/atomic.h: Move to ...
23758         * sysdeps/ia64/atomic-machine.h: ...here.
23759         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
23760         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
23761         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
23762         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
23763         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
23764         * sysdeps/microblaze/bits/atomic.h: Move to ...
23765         * sysdeps/microblaze/atomic-machine.h: ...here.
23766         * sysdeps/mips/bits/atomic.h: Move to ...
23767         * sysdeps/mips/atomic-machine.h: ...here.
23768         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
23769         * sysdeps/powerpc/bits/atomic.h: Move to ...
23770         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
23771         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
23772         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
23773         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
23774         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
23775         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
23776         <atomic-machine.h> instead of <bits/atomic.h>.
23777         * sysdeps/s390/bits/atomic.h: Move to ...
23778         * sysdeps/s390/atomic-machine.h: ...here.
23779         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
23780         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
23781         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
23782         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
23783         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
23784         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
23785         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
23786         * sysdeps/tile/bits/atomic.h: Move to ...
23787         * sysdeps/tile/atomic-machine.h: ...here.
23788         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
23789         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
23790         <sysdeps/tile/atomic-machine.h> instead of
23791         <sysdeps/tile/bits/atomic.h>.
23792         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
23793         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
23794         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
23795         <sysdeps/tile/atomic-machine.h> instead of
23796         <sysdeps/tile/bits/atomic.h>.
23797         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
23798         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
23799         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
23800         <sysdeps/arm/atomic-machine.h> instead of
23801         <sysdeps/arm/bits/atomic.h>.
23802         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
23803         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
23804         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
23805         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
23806         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
23807         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
23808         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
23809         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
23810         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
23811         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
23812         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
23813         * sysdeps/x86_64/bits/atomic.h: Move to ...
23814         * sysdeps/x86_64/atomic-machine.h: ...here.
23815         * include/atomic.h: Include <atomic-machine.h> instead of
23816         <bits/atomic.h>.
23818         * sysdeps/mips/mips32/libm-test-ulps: Update.
23819         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23821         [BZ #18952]
23822         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
23823         not convert non-integer negative arguments to int to determine the
23824         value of signgam.
23825         * math/auto-libm-test-in: Add more tests of lgamma.
23826         * math/auto-libm-test-out: Regenerated.
23828         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
23829         cosh, csqrt, erfc, expm1 and lgamma.
23830         * math/auto-libm-test-out: Regenerated.
23831         * sysdeps/i386/fpu/libm-test-ulps: Update.
23832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23834 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
23836         [BZ #2542]
23837         [BZ #2543]
23838         [BZ #2558]
23839         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
23840         __lgamma_neg for arguments from -28.0 to -2.0.
23841         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
23842         __lgamma_negf for arguments from -15.0 to -2.0.
23843         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23844         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
23845         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
23846         Call __lgamma_negl for arguments from -33.0 to -2.0.
23847         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
23848         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
23849         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
23850         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
23851         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
23852         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
23853         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
23854         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
23855         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
23856         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
23857         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
23858         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
23859         (__lgamma_neg): Likewise.
23860         (__lgamma_negl): Likewise.
23861         (__lgamma_product): Likewise.
23862         (__lgamma_productl): Likewise.
23863         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
23864         * math/auto-libm-test-in: Add more tests of lgamma.
23865         * math/auto-libm-test-out: Regenerated.
23866         * sysdeps/i386/fpu/libm-test-ulps: Update.
23867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23869 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
23871         [BZ #18675]
23872         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
23874 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
23876         [BZ #14912]
23877         * bits/libc-lock.h: Move to ...
23878         * sysdeps/generic/libc-lock.h: ...here.
23879         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
23880         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
23881         * sysdeps/mach/hurd/libc-lock.h: ...here.
23882         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
23883         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
23884         * sysdeps/mach/bits/libc-lock.h: Move to ...
23885         * sysdeps/mach/libc-lock.h: ...here.
23886         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
23887         * sysdeps/nptl/bits/libc-lock.h: Move to ...
23888         * sysdeps/nptl/libc-lock.h: ...here.
23889         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
23890         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
23891         * sysdeps/nptl/libc-lockP.h: ...here.
23892         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
23893         * crypt/crypt_util.c: Include <libc-lock.h> instead of
23894         <bits/libc-lock.h>.
23895         * dirent/scandir-tail.c: Likewise.
23896         * dlfcn/dlerror.c: Likewise.
23897         * elf/dl-close.c: Likewise.
23898         * elf/dl-iteratephdr.c: Likewise.
23899         * elf/dl-lookup.c: Likewise.
23900         * elf/dl-open.c: Likewise.
23901         * elf/dl-support.c: Likewise.
23902         * elf/dl-writev.h: Likewise.
23903         * elf/rtld.c: Likewise.
23904         * grp/fgetgrent.c: Likewise.
23905         * gshadow/fgetsgent.c: Likewise.
23906         * gshadow/sgetsgent.c: Likewise.
23907         * iconv/gconv_conf.c: Likewise.
23908         * iconv/gconv_db.c: Likewise.
23909         * iconv/gconv_dl.c: Likewise.
23910         * iconv/gconv_int.h: Likewise.
23911         * iconv/gconv_trans.c: Likewise.
23912         * include/link.h: Likewise.
23913         * inet/getnameinfo.c: Likewise.
23914         * inet/getnetgrent.c: Likewise.
23915         * inet/getnetgrent_r.c: Likewise.
23916         * intl/bindtextdom.c: Likewise.
23917         * intl/dcigettext.c: Likewise.
23918         * intl/finddomain.c: Likewise.
23919         * intl/gettextP.h: Likewise.
23920         * intl/loadmsgcat.c: Likewise.
23921         * intl/localealias.c: Likewise.
23922         * intl/textdomain.c: Likewise.
23923         * libidn/idn-stub.c: Likewise.
23924         * libio/libioP.h: Likewise.
23925         * locale/duplocale.c: Likewise.
23926         * locale/freelocale.c: Likewise.
23927         * locale/newlocale.c: Likewise.
23928         * locale/setlocale.c: Likewise.
23929         * login/getutent_r.c: Likewise.
23930         * login/getutid_r.c: Likewise.
23931         * login/getutline_r.c: Likewise.
23932         * login/utmp-private.h: Likewise.
23933         * login/utmpname.c: Likewise.
23934         * malloc/mtrace.c: Likewise.
23935         * misc/efgcvt.c: Likewise.
23936         * misc/error.c: Likewise.
23937         * misc/fstab.c: Likewise.
23938         * misc/getpass.c: Likewise.
23939         * misc/mntent.c: Likewise.
23940         * misc/syslog.c: Likewise.
23941         * nis/nis_call.c: Likewise.
23942         * nis/nis_callback.c: Likewise.
23943         * nis/nss-default.c: Likewise.
23944         * nis/nss_compat/compat-grp.c: Likewise.
23945         * nis/nss_compat/compat-initgroups.c: Likewise.
23946         * nis/nss_compat/compat-pwd.c: Likewise.
23947         * nis/nss_compat/compat-spwd.c: Likewise.
23948         * nis/nss_nis/nis-alias.c: Likewise.
23949         * nis/nss_nis/nis-ethers.c: Likewise.
23950         * nis/nss_nis/nis-grp.c: Likewise.
23951         * nis/nss_nis/nis-hosts.c: Likewise.
23952         * nis/nss_nis/nis-network.c: Likewise.
23953         * nis/nss_nis/nis-proto.c: Likewise.
23954         * nis/nss_nis/nis-pwd.c: Likewise.
23955         * nis/nss_nis/nis-rpc.c: Likewise.
23956         * nis/nss_nis/nis-service.c: Likewise.
23957         * nis/nss_nis/nis-spwd.c: Likewise.
23958         * nis/nss_nisplus/nisplus-alias.c: Likewise.
23959         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
23960         * nis/nss_nisplus/nisplus-grp.c: Likewise.
23961         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
23962         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
23963         * nis/nss_nisplus/nisplus-network.c: Likewise.
23964         * nis/nss_nisplus/nisplus-proto.c: Likewise.
23965         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
23966         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
23967         * nis/nss_nisplus/nisplus-service.c: Likewise.
23968         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
23969         * nis/ypclnt.c: Likewise.
23970         * nptl/libc_pthread_init.c: Likewise.
23971         * nss/getXXbyYY.c: Likewise.
23972         * nss/getXXent.c: Likewise.
23973         * nss/getXXent_r.c: Likewise.
23974         * nss/nss_db/db-XXX.c: Likewise.
23975         * nss/nss_db/db-netgrp.c: Likewise.
23976         * nss/nss_db/nss_db.h: Likewise.
23977         * nss/nss_files/files-XXX.c: Likewise.
23978         * nss/nss_files/files-alias.c: Likewise.
23979         * nss/nsswitch.c: Likewise.
23980         * posix/regex_internal.h: Likewise.
23981         * posix/wordexp.c: Likewise.
23982         * pwd/fgetpwent.c: Likewise.
23983         * resolv/res_hconf.c: Likewise.
23984         * resolv/res_libc.c: Likewise.
23985         * shadow/fgetspent.c: Likewise.
23986         * shadow/lckpwdf.c: Likewise.
23987         * shadow/sgetspent.c: Likewise.
23988         * socket/opensock.c: Likewise.
23989         * stdio-common/reg-modifier.c: Likewise.
23990         * stdio-common/reg-printf.c: Likewise.
23991         * stdio-common/reg-type.c: Likewise.
23992         * stdio-common/vfprintf.c: Likewise.
23993         * stdio-common/vfscanf.c: Likewise.
23994         * stdlib/abort.c: Likewise.
23995         * stdlib/cxa_atexit.c: Likewise.
23996         * stdlib/fmtmsg.c: Likewise.
23997         * stdlib/random.c: Likewise.
23998         * stdlib/setenv.c: Likewise.
23999         * string/strsignal.c: Likewise.
24000         * sunrpc/auth_none.c: Likewise.
24001         * sunrpc/bindrsvprt.c: Likewise.
24002         * sunrpc/create_xid.c: Likewise.
24003         * sunrpc/key_call.c: Likewise.
24004         * sunrpc/rpc_thread.c: Likewise.
24005         * sysdeps/arm/backtrace.c: Likewise.
24006         * sysdeps/generic/ldsodefs.h: Likewise.
24007         * sysdeps/generic/stdio-lock.h: Likewise.
24008         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
24009         * sysdeps/i386/backtrace.c: Likewise.
24010         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
24011         * sysdeps/m68k/backtrace.c: Likewise.
24012         * sysdeps/mach/hurd/cthreads.c: Likewise.
24013         * sysdeps/mach/hurd/dirstream.h: Likewise.
24014         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
24015         * sysdeps/nptl/malloc-machine.h: Likewise.
24016         * sysdeps/nptl/stdio-lock.h: Likewise.
24017         * sysdeps/posix/dirstream.h: Likewise.
24018         * sysdeps/posix/getaddrinfo.c: Likewise.
24019         * sysdeps/posix/system.c: Likewise.
24020         * sysdeps/pthread/aio_suspend.c: Likewise.
24021         * sysdeps/s390/s390-32/backtrace.c: Likewise.
24022         * sysdeps/s390/s390-64/backtrace.c: Likewise.
24023         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24024         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
24025         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
24026         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
24027         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
24028         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
24029         * sysdeps/unix/sysv/linux/system.c: Likewise.
24030         * sysdeps/x86_64/backtrace.c: Likewise.
24031         * time/alt_digit.c: Likewise.
24032         * time/era.c: Likewise.
24033         * time/tzset.c: Likewise.
24034         * wcsmbs/wcsmbsload.c: Likewise.
24035         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
24036         instead of <bits/libc-lock.h> in comment.
24038 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
24040         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
24041         Only use .set mips2 if the current ISA is below mips2.
24042         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
24043         Likewise.
24044         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
24045         mips32r2 if the current ISA is below mips32r2.
24046         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
24047         (TLS_IE): Updated to use the TLD_RDHWR macro.
24048         (TLS_LE): Likewise.
24049         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
24050         __ASSEMBLER__ condition.
24052 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24054         Fix parallel build of before-compile targets.
24056         * sysdeps/mach/Makefile ($(patsubst
24057         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
24058         mach-before-compile target.
24059         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
24060         io fs process)): Move rule to dedicated hurd-before-compile target.
24062 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24064         Fix rules generating headers in hurd/ and mach/ when initial make call
24065         has subdir= explicitly set.
24067         * sysdeps/mach/Makefile ($(patsubst
24068         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
24069         calling $(MAKE).
24070         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
24071         io fs process)): Force subdir to hurd when calling $(MAKE).
24072         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
24073         subdir to mach when calling $(MAKE).
24075 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
24077         Check sysheaders when looking for Mach and Hurd headers
24079         * sysdeps/mach/configure.ac: Add sysheaders check.
24080         * sysdeps/mach/configure: Regenerate.
24081         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
24082         * sysdeps/mach/hurd/configure: Regenerate.
24084 2015-09-04  Roland McGrath  <roland@hack.frob.com>
24086         [BZ #18921]
24087         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
24088         Fix inverted sense of test of 'o_directory_works' value.
24089         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
24090         Bernhard Voelker <mail@bernhard-voelker.de>.
24092 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
24094         [BZ #14912]
24095         * bits/linkmap.h: Move to ...
24096         * sysdeps/generic/linkmap.h: ...here.
24097         * sysdeps/aarch64/bits/linkmap.h: Move to ...
24098         * sysdeps/aarch64/linkmap.h: ...here.
24099         * sysdeps/arm/bits/linkmap.h: Move to ...
24100         * sysdeps/arm/linkmap.h: ...here.
24101         * sysdeps/hppa/bits/linkmap.h: Move to ...
24102         * sysdeps/hppa/linkmap.h: ...here.
24103         * sysdeps/ia64/bits/linkmap.h: Move to ...
24104         * sysdeps/ia64/linkmap.h: ...here.
24105         * sysdeps/mips/bits/linkmap.h: Move to ...
24106         * sysdeps/mips/linkmap.h: ...here.
24107         * sysdeps/s390/bits/linkmap.h: Move to ...
24108         * sysdeps/s390/linkmap.h: ...here.
24109         * sysdeps/sh/bits/linkmap.h: Move to ...
24110         * sysdeps/sh/linkmap.h: ...here.
24111         * sysdeps/x86/bits/linkmap.h: Move to ...
24112         * sysdeps/x86/linkmap.h: ...here.
24113         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
24115 2015-09-04  Andreas Schwab  <schwab@suse.de>
24117         [BZ #18635]
24118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
24119         (__makecontext): Terminate FDE before return label.
24120         (__novec_makecontext): Likewise.
24122 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24124         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
24125         first member of struct sv in syscall macro.
24127 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
24129         [BZ #14912]
24130         * bits/stdio-lock.h: Move to ...
24131         * sysdeps/generic/stdio-lock.h: ...here.
24132         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
24133         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
24134         * sysdeps/nptl/stdio-lock.h: ...here.
24135         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
24136         * include/libio.h: Include <stdio-lock.h> instead of
24137         <bits/stdio-lock.h>.
24138         * sysdeps/nptl/fork.c: Likewise.
24139         * sysdeps/pthread/flockfile.c: Likewise.
24140         * sysdeps/pthread/ftrylockfile.c: Likewise.
24141         * sysdeps/pthread/funlockfile.c: Likewise.
24143         [BZ #14912]
24144         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
24145         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
24146         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
24147         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
24148         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
24149         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
24150         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
24152 2015-09-03  Roland McGrath  <roland@hack.frob.com>
24154         * elf/Makefile (test-xfail-tst-protected1a): New variable.
24155         (test-xfail-tst-protected1b): New variable.
24157 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
24159         [BZ #14912]
24160         * bits/libc-tsd.h: Move to ...
24161         * sysdeps/generic/libc-tsd.h: ...here.
24162         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
24163         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
24164         * sysdeps/mach/hurd/libc-tsd.h: ...here.
24165         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
24166         * include/ctype.h: Include <libc-tsd.h> instead of
24167         <bits/libc-tsd.h>.
24168         * include/rpc/rpc.h: Likewise.
24169         * locale/localeinfo.h: Likewise.
24170         * sunrpc/rpc_thread.c: Likewise.
24171         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
24172         * sysdeps/nptl/malloc-machine.h: Likewise.
24174         * Makefile (headers): Remove bits/libc-lock.h.
24175         * libio/Makefile (headers): Remove bits/stdio-lock.h.
24177         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
24178         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
24179         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
24180         <bits/stdio-lock.h>.
24181         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
24182         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
24184 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
24186         [BZ #18757]
24187         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
24188         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
24189         BZ #18757.
24191 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
24193         * malloc/mtrace.pl: Filter out NULL entries.
24195 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
24197         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
24198         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
24199         macro.
24201         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
24202         (TCP_CC_INFO): Likewise.
24203         (TCP_SAVE_SYN): Likewise.
24204         (TCP_SAVED_SYN): Likewise.
24206 2015-08-31  Brett Neumeier <brett@neumeier.us>
24208         [BZ #18870]
24209         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
24211 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
24213         [BZ #18873]
24214         Fix broken overflow check in posix_fallocate
24215         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
24216         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
24217         Fix parenthesization typo.
24219 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
24221         [BZ #18887]
24222         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
24223         tst-mntent-blank-passno.
24224         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
24225         * misc/tst-mntent-blank-corrupt.c: New test.
24226         * misc/tst-mntent-blank-passno.c: New test ripped from ...
24227         * misc/tst-mntent.c (do_test): ... here.
24229 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
24231         [BZ #4404]
24232         * po/de.po: Fix SIGALRM typo.
24234 2015-08-28  James Perkins  <james@loowit.net>
24236         * time/tst-strptime2.c (tests): Replace short list of test
24237         strings for strptime %z specifier with code which exhaustively
24238         tests every combination of sign and 0 to 5 digits. Tests for
24239         rejection of invalid strings.
24241 2015-08-28  James Perkins  <james@loowit.net>
24243         [BZ #16141]
24244         * time/strptime_l.c (__strptime_internal): Fix %z minutes
24245         calculation, removing incorrect decimal time rounding, so that
24246         all minute values result in a valid seconds value.
24247         * time/strptime_l.c (__strptime_internal): Extend %z time zone
24248         offset range limits to UTC-99:59 through UTC+99:59 to parse
24249         current and historical use cases.
24250         * time/tst-strptime2.c (tests): Modify and add tests for the
24251         strptime %z input field descriptor, specifically conversion of
24252         minutes to seconds and validating an offset range of -9959 to
24253         +9959.
24255 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24256             Dmitry V. Levin  <ldv@altlinux.org>
24258         [BZ #18877]
24259         * posix/Makefile (tests): Add tst-mmap-offset.
24260         * posix/tst-mmap.c: New file.
24261         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
24262         offset calculation for negative values.
24264 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24266         * sysdeps/i386/init-arch.h: New file.
24267         * sysdeps/i386/i586/init-arch.h: Likewise.
24268         * sysdeps/i386/i686/init-arch.h: Likewise.
24269         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
24270         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
24271         * sysdeps/x86/cpu-features.h (bit_I586): New.
24272         (bit_I686): Likewise.
24273         (bit_CX8): Likewise.
24274         (bit_CMOV): Likewise.
24275         (index_CX8): Likewise.
24276         (index_CMOV): Likewise.
24277         (index_I586): Likewise.
24278         (index_I686): Likewise.
24279         (reg_CX8): Likewise.
24280         (reg_CMOV): Likewise.
24281         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
24282         available at compile-time.
24283         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
24284         available at compile-time.
24285         * sysdeps/x86/init-arch.h (USE_I586): New macro.
24286         (USE_I686): Likewise.
24288 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24290         * sysdeps/i386/bcopy.S: New file.
24291         * sysdeps/i386/bzero.S: Likewise.
24292         * sysdeps/i386/memcpy.S: Likewise.
24293         * sysdeps/i386/memmove.S: Likewise.
24294         * sysdeps/i386/mempcpy.S: Likewise.
24295         * sysdeps/i386/memset.S: Likewise.
24296         * sysdeps/i386/bzero.c: Removed.
24297         * sysdeps/i386/memset.c: Likewise.
24298         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
24299         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
24300         * sysdeps/i386/i586/memset_chk.S: Likewise.
24301         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
24302         * sysdeps/i386/memcpy_chk.S: Here.
24303         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
24304         * sysdeps/i386/memmove_chk.S: Here.
24305         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
24306         * sysdeps/i386/mempcpy_chk.S: Likewise.
24307         * sysdeps/i386/i686/memset_chk.S: Moved to ...
24308         * sysdeps/i386/memset_chk.S: Likewise.
24310 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
24312         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
24313         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
24314         file, move DIAG_POP_NEEDS_COMMENT to end of file.
24315         * soft-fp/fmadf4.c: Ditto.
24316         * soft-fp/fmatf4.c: Ditto.
24318 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24320         * sysdeps/i386/i586/Implies: Removed.
24321         * sysdeps/i386/i686/Implies: Likewise.
24323 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24325         * sysdeps/i386/i486/strlen.S: Moved to ...
24326         * sysdeps/i386/strlen.S: Here.
24328 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24330         * sysdeps/i386/i486/strcat.S: Moved to ...
24331         * sysdeps/i386/strcat.S: Here.
24333 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24335         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
24336         * sysdeps/i386/pthread_spin_trylock.S: Here.
24337         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
24338         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
24340 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24342         * sysdeps/i386/i486/string-inlines.c: Moved to ...
24343         * sysdeps/i386/string-inlines.c: Here.
24345 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24347         * sysdeps/i386/i486/htonl.S: Moved ...
24348         * sysdeps/i386/htonl.S: here.
24350 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24352         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
24353         * sysdeps/i386/bits/atomic.h: Here.
24355 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24357         * sysdeps/i386/i486/Versions: Removed.
24359 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
24361         [BZ #2898]
24362         * misc/mktemp.c: Add mkdtemp to the link_warning message.
24363         Based on patch by Aurelien Jarno.
24365 2015-08-26  Stan Shebs  <stanshebs@google.com>
24367         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
24368         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
24370 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24372         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
24373         * sysdeps/powerpc/dl-procinfo.c:
24374         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
24375         feature so it shows when LD_SHOW_AUXV=1.
24377 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24379         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
24380         (__arch_compare_and_exchange_val_32_acq): Remove and use common
24381         definition.  ISA 2.07B no longer requires full sync.
24383 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
24385         [BZ #18863]
24386         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
24387         (si_call_addr): Define.
24388         (si_syscall): Define.
24389         (si_arch): Define.
24391 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
24393         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
24394         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
24395         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
24396         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
24397         (__memset_zero_constant_len_parameter): New.
24398         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
24399         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
24400         (__memset_zero_constant_len_parameter): Don't define if
24401         __memset_chk or USE_AS_BZERO are defined.
24403         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
24404         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
24405         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
24407         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
24408         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
24409         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
24410         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
24411         comments.
24412         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
24413         -mno-mmx for $(all-rtld-routines).
24414         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
24415         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
24416         i386.
24418 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
24420         * sysdeps/generic/unwind.h
24421         (_Unwind_Word): Use __mode__(__unwind_word__)
24422         instead of __mode__(__word__).
24423         (_Unwind_Sword): Likewise.
24425         * sysdeps/s390/s390-64/utf8-utf16-z9.c
24426         (MAX_NEEDED_INPUT): New define.
24427         (MAX_NEEDED_OUTPUT): New define.
24429         * NEWS: New item for IBM z13 string optimizations.
24431         * sysdeps/s390/multiarch/memrchr-c.c: New File.
24432         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
24433         * sysdeps/s390/multiarch/memrchr.c: Likewise.
24434         * sysdeps/s390/multiarch/Makefile
24435         (sysdep_routines): Add memrchr functions.
24436         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24437         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
24439         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
24440         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
24441         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
24442         * sysdeps/s390/multiarch/Makefile
24443         (sysdep_routines): Add wmemcmp functions.
24444         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24445         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
24446         * benchtests/bench-wmemcmp.c: New File.
24447         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
24449         * sysdeps/s390/multiarch/wmemset-c.c: New File.
24450         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
24451         * sysdeps/s390/multiarch/wmemset.c: Likewise.
24452         * sysdeps/s390/multiarch/Makefile
24453         (sysdep_routines): Add wmemset functions.
24454         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24455         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
24456         * wcsmbs/wmemset.c: Use WMEMSET if defined.
24457         * string/test-memset.c: Add wmemset support.
24458         * wcsmbs/test-wmemset.c: New File.
24459         * wcsmbs/Makefile (strop-tests): Add wmemset.
24460         * benchtests/bench-memset.c: Add wmemset support.
24461         * benchtests/bench-wmemset.c: New File.
24462         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
24464         * sysdeps/s390/multiarch/memccpy-c.c: New File.
24465         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
24466         * sysdeps/s390/multiarch/memccpy.c: Likewise.
24467         * sysdeps/s390/multiarch/Makefile
24468         (sysdep_routines): Add memccpy functions.
24469         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24470         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
24471         * string/memccpy.c: Use MEMCCPY if defined.
24473         * sysdeps/s390/multiarch/memchr-vx.S: New File.
24474         * sysdeps/s390/multiarch/memchr.c: Likewise.
24475         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
24476         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
24477         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
24478         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
24479         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
24480         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
24481         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
24482         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
24483         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
24484         and rawmemchr functions.
24485         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24486         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
24487         and wmemchr.
24488         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
24489         * string/test-memchr.c: Add wmemchr support.
24490         * wcsmbs/test-wmemchr.c: New File.
24491         * wcsmbs/Makefile (strop-tests): Add wmemchr.
24492         * benchtests/bench-memchr.c: Add wmemchr support.
24493         * benchtests/bench-wmemchr.c: New File.
24494         * benchtests/Makefile (wcsmbs-bench): wmemchr.
24496         * sysdeps/s390/multiarch/strcspn-c.c: New File.
24497         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
24498         * sysdeps/s390/multiarch/strcspn.c: Likewise.
24499         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
24500         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
24501         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
24502         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
24503         wcscspn functions.
24504         * sysdeps/s390/multiarch/ifunc-impl-list.c
24505         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
24506         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
24507         * string/test-strcspn.c: Add wcscspn support.
24508         * wcsmbs/test-wcscspn.c: New File.
24509         * wcsmbs/Makefile (strop-tests): Add wcscspn.
24510         * benchtests/bench-strcspn.c: Add wcscspn support.
24511         * benchtests/bench-wcscspn.c: New File.
24512         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
24514         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
24515         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
24516         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
24517         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
24518         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
24519         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
24520         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
24521         wcspbrk functions.
24522         * sysdeps/s390/multiarch/ifunc-impl-list.c
24523         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
24524         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
24525         * string/test-strpbrk.c: Add wcspbrk support.
24526         * wcsmbs/test-wcspbrk.c: New File.
24527         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
24528         * benchtests/bench-strpbrk.c: Add wcspbrk support.
24529         * benchtests/bench-wcspbrk.c: New File.
24530         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
24532         * sysdeps/s390/multiarch/strspn-c.c: New File.
24533         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
24534         * sysdeps/s390/multiarch/strspn.c: Likewise.
24535         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
24536         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
24537         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
24538         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
24539         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
24540         wcsspn functions.
24541         * sysdeps/s390/multiarch/ifunc-impl-list.c
24542         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
24543         * string/test-strspn.c: Add wcsspn support.
24544         * wcsmbs/test-wcsspn.c: New File.
24545         * wcsmbs/Makefile (strop-tests): Add wcsspn.
24546         * benchtests/bench-strspn.c: Add wcsspn support.
24547         * benchtests/bench-wcsspn.c: New File.
24548         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
24550         * sysdeps/s390/multiarch/strrchr-c.c: New File.
24551         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
24552         * sysdeps/s390/multiarch/strrchr.c: Likewise.
24553         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
24554         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
24555         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
24556         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
24557         wcsrchr functions.
24558         * sysdeps/s390/multiarch/ifunc-impl-list.c
24559         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
24560         * benchtests/bench-wcsrchr.c: New File.
24561         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
24563         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
24564         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
24565         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
24566         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
24567         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
24568         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
24569         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
24570         wcschrnul functions.
24571         * sysdeps/s390/multiarch/ifunc-impl-list.c
24572         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
24573         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
24574         * string/test-strchr.c: Add wcschrnul support.
24575         * wcsmbs/test-wcschrnul.c: New File.
24576         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
24577         * benchtests/bench-strchr.c: Add wcschrnul support.
24578         * benchtests/bench-wcschrnul.c: New File.
24579         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
24581         * sysdeps/s390/multiarch/strchr-c.c: New File.
24582         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
24583         * sysdeps/s390/multiarch/strchr.c: Likewise.
24584         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
24585         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
24586         * sysdeps/s390/multiarch/wcschr.c: Likewise.
24587         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
24588         wcschr functions.
24589         * sysdeps/s390/multiarch/ifunc-impl-list.c
24590         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
24591         * string/strchr.c (STRCHR): Define and use macro.
24592         * benchtests/bench-wcschr.c: New File.
24593         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
24595         * sysdeps/s390/multiarch/strncmp-c.c: New File.
24596         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
24597         * sysdeps/s390/multiarch/strncmp.c: Likewise.
24598         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
24599         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
24600         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
24601         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
24602         wcsncmp functions.
24603         * sysdeps/s390/multiarch/ifunc-impl-list.c
24604         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
24605         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
24606         * benchtests/bench-strncmp.c: Add wcsncmp support.
24607         * benchtests/bench-wcsncmp.c: New File.
24608         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
24610         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
24611         * sysdeps/s390/multiarch/strcmp.c: Likewise.
24612         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
24613         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
24614         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
24615         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
24616         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
24617         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
24618         wcscmp functions.
24619         * sysdeps/s390/multiarch/ifunc-impl-list.c
24620         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
24621         * string/strcmp.c (STRCMP): Define and use macro.
24622         * benchtests/bench-wcscmp.c: New File.
24623         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
24624         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
24625         instead of _HAVE_STRING_ARCH_memchr.
24627         * sysdeps/s390/multiarch/strncat-c.c: New File.
24628         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
24629         * sysdeps/s390/multiarch/strncat.c: Likewise.
24630         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
24631         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
24632         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
24633         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
24634         wcsncat functions.
24635         * sysdeps/s390/multiarch/ifunc-impl-list.c
24636         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
24637         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
24638         * string/test-strncat.c: Add wcsncat support.
24639         * wcsmbs/test-wcsncat.c: New File.
24640         * wcsmbs/Makefile (strop-tests): Add wcsncat.
24641         * benchtests/bench-strncat.c: Add wcsncat support.
24642         * benchtests/bench-wcsncat.c: New File.
24643         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
24645         * sysdeps/s390/multiarch/strcat-c.c: New File.
24646         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
24647         * sysdeps/s390/multiarch/strcat.c: Likewise.
24648         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
24649         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
24650         * sysdeps/s390/multiarch/wcscat.c: Likewise.
24651         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
24652         wcscat functions.
24653         * sysdeps/s390/multiarch/ifunc-impl-list.c
24654         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
24655         * string/strcat.c (STRCAT): Define and use macro.
24656         * wcsmbs/wcscat.c: Use WCSCAT if defined.
24657         * string/test-strcat.c: Add wcscat support.
24658         * wcsmbs/test-wcscat.c: New File.
24659         * wcsmbs/Makefile (strop-tests): Add wcscat.
24660         * benchtests/bench-strcat.c: Add wcscat support.
24661         * benchtests/bench-wcscat.c: New File.
24662         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
24664         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
24665         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
24666         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
24667         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
24668         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
24669         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
24670         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
24671         wcpncpy functions.
24672         * sysdeps/s390/multiarch/ifunc-impl-list.c
24673         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
24674         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
24675         * string/test-stpncpy.c: Add wcpncpy support.
24676         * wcsmbs/test-wcpncpy.c: New File.
24677         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
24678         * benchtests/bench-stpncpy.c: Add wcpncpy support.
24679         * benchtests/bench-wcpncpy.c: New File.
24680         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
24682         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
24683         * sysdeps/s390/multiarch/strncpy.c: Likewise.
24684         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
24685         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
24686         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
24687         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
24688         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
24689         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
24690         wcsncpy functions.
24691         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
24692         * sysdeps/s390/multiarch/ifunc-impl-list.c
24693         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
24694         * string/test-strncpy.c: Add wcsncpy support.
24695         * wcsmbs/test-wcsncpy.c: New File.
24696         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
24697         * benchtests/bench-strncpy.c: Add wcsncpy support.
24698         * benchtests/bench-wcsncpy.c: New File.
24699         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
24701         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
24702         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
24703         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
24704         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
24705         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
24706         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
24707         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
24708         wcpcpy functions.
24709         * string/stpcpy.c: Use STPCPY if defined.
24710         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
24711         * sysdeps/s390/multiarch/ifunc-impl-list.c
24712         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
24713         * string/test-stpcpy.c: Add wcpcpy support.
24714         * wcsmbs/test-wcpcpy.c: New File.
24715         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
24716         * benchtests/bench-stpcpy.c: Add wcpcpy support.
24717         * benchtests/bench-wcpcpy.c: New File.
24718         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
24720         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
24721         * sysdeps/s390/multiarch/strcpy.c: Likewise.
24722         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
24723         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
24724         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
24725         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
24726         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
24727         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
24728         wcscpy functions.
24729         * sysdeps/s390/multiarch/ifunc-impl-list.c
24730         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
24731         * benchtests/bench-wcscpy.c: New File.
24732         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
24734         * sysdeps/s390/multiarch/strnlen-c.c: New File.
24735         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
24736         * sysdeps/s390/multiarch/strnlen.c: Likewise.
24737         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
24738         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
24739         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
24740         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
24741         wcsnlen functions.
24742         * sysdeps/s390/multiarch/ifunc-impl-list.c
24743         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
24744         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
24745         * string/test-strnlen.c: Add wcsnlen support.
24746         * wcsmbs/test-wcsnlen.c: New File.
24747         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
24748         * benchtests/bench-strnlen.c: Add wcsnlen support.
24749         * benchtests/bench-wcsnlen.c: New File.
24750         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
24752         * sysdeps/s390/multiarch/Makefile: New File.
24753         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
24754         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
24755         * sysdeps/s390/multiarch/strlen.c: Likewise.
24756         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
24757         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
24758         * sysdeps/s390/multiarch/wcslen.c: Likewise.
24759         * string/strlen.c (STRLEN): Define and use macro.
24760         * sysdeps/s390/multiarch/ifunc-impl-list.c
24761         (IFUNC_VX_IMPL): New macro function.
24762         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
24763         * benchtests/Makefile (wcsmbs-bench): New variable.
24764         (string-bench-all): Added wcsmbs-bench.
24765         * benchtests/bench-wcslen.c: New File.
24767         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
24768         s390_vx_libc_ifunc2): New macro function.
24770         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
24771         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
24772         assembler support.
24773         * sysdeps/s390/configure: Regenerated.
24775         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
24776         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
24778         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
24779         * sysdeps/s390/dl-procinfo.h: Add vector capability.
24780         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
24782         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
24783         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
24784         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
24785         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
24786         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
24787         (memcmp, bcmp): Use __memcmp_default as alias source.
24788         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
24789         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
24790         Rename to __memcmp_default.
24791         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
24792         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
24793         (memcpy): Use __memcpy_default as alias source.
24794         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
24795         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
24796         Rename to __memcpy_default.
24797         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
24798         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
24799         (memset): Use __memset_default as alias source.
24800         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
24801         * sysdeps/s390/s390-32/memset.S (__memset_g5):
24802         Rename to __memset_default.
24803         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
24804         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
24805         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
24806         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
24807         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
24808         (memcmp, bcmp): Use __memcmp_default as alias source.
24809         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
24810         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
24811         Rename to __memcmp_default.
24812         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
24813         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
24814         (memcpy): Use __memcpy_default as alias source.
24815         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
24816         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
24817         Rename to __memcpy_default.
24818         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
24819         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
24820         (memset): Use __memset_default as alias source.
24821         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
24822         * sysdeps/s390/s390-64/memset.S (__memset_z900):
24823         Rename to __memset_default.
24824         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
24825         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
24827         [BZ #18610]
24828         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
24829         __ieee_instruction_pointer to __unused.
24830         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
24831         __ieee_instruction_pointer.
24832         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
24833         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
24834         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
24835         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
24836         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
24837         Mark dxc-field as reserved.
24839 2015-08-25  Roland McGrath  <roland@hack.frob.com>
24841         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
24842         if the weak reference is not null.
24844 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
24846         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
24848         [BZ #11214]
24849         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
24851 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24853         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
24854         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
24855         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
24856         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
24857         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
24858         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
24859         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
24860         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
24861         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
24862         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
24863         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
24864         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
24865         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
24866         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
24867         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
24868         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
24869         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
24870         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
24872 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24874         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
24875         register other than r0 for tabort, it has special meaning.
24876         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
24877         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
24878         transaction before starting syscall.
24880 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24882         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
24884 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
24886         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
24888         * sysdeps/x86_64/rtld-memcmp.c: Removed.
24889         * sysdeps/x86_64/rtld-memset.S: Likewise.
24890         * sysdeps/x86_64/rtld-strchr.S: Likewise.
24891         * sysdeps/x86_64/rtld-strlen.S: Likewise.
24892         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
24893         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
24895         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
24897 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
24899         * debug/strcpy_chk.c: Improve performance.
24900         * debug/stpcpy_chk.c: Likewise.
24901         * sysdeps/x86_64/strcpy_chk.S: Remove.
24902         * sysdeps/x86_64/stpcpy_chk.S: Remove.
24904         [BZ #18240]
24905         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
24907 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
24909         [BZ #15128]
24910         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
24911         ifuncmain8.
24912         (modules-names): Add ifuncmod8.
24913         ($(objpfx)ifuncmain8): New rule.
24914         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
24915         <cpuid.h>.
24916         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
24917         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
24918         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
24919         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
24920         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
24921         * sysdeps/x86_64/dl-trampoline.h: Likewise.
24922         * sysdeps/x86_64/ifuncmain8.c: New file.
24923         * sysdeps/x86_64/ifuncmod8.c: Likewise.
24924         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
24925         Removed.
24926         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
24927         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
24928         Change rtld_savespace_sse to __glibc_unused2.
24929         (RTLD_CHECK_FOREIGN_CALL): Removed.
24930         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
24931         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
24932         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
24934 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
24936         * sysdeps/aarch64/bzero.S (__bzero): Remove.
24938 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
24940         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
24941         Unconditionally set __fpcr to avoid uninialized warning.
24942         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
24944 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24946         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
24947         is corrupt.
24949         * malloc/arena.c (arena_get2): Drop unused argument.
24950         (arena_lock): Adjust.
24951         (arena_get_retry): Likewise.
24953 2015-08-24  Andreas Schwab  <schwab@suse.de>
24955         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
24956         Don't define.
24957         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
24958         (__ASSUME_IPC64): Don't undef.
24959         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
24960         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24961         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24962         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
24963         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
24964         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
24965         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
24966         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
24967         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
24968         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
24969         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
24970         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
24971         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
24972         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
24973         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
24974         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
24975         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
24976         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
24977         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
24978         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
24979         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
24981 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
24983         * manual/Makefile (install): Only build manual when perl is available.
24985 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24987         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
24988         '#undef memcpy' by '#undef memchr'.
24990 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24992         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
24993         memchr not point to the internal __GI_memchr implementation.
24995 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
24997         * timezone/Makefile (CFLAGS-zdump.c): Remove
24998         -Wno-strict-prototypes.
24999         (CFLAGS-zic.c): Likewise.
25000         (CFLAGS-ialloc.c): Likewise.
25001         (CFLAGS-scheck.c): Likewise.
25003         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
25004         -Wno-error=undef.
25006 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
25008         * i386/i686/multiarch/strcasestr-c.c: Removed.
25009         * x86_64/multiarch/strcasestr.c: Likewise.
25010         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25011         Remove strcasestr.
25013 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
25015         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
25017         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
25018         variables for high and low parts before possibly modifying them.
25020 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
25022         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
25023         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
25024         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
25025         of "multiarch/init-arch.h".
25026         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
25027         * sysdeps/x86/init-arch.h: This.
25029 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
25031         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
25032         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
25034 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
25036         [BZ #17787]
25037         * manual/macros.texi: Add twoexp macro.
25038         * manual/filesys.texi: Fix exponents.
25039         * manual/llio.texi: Likewise.
25040         * manual/stdio.texi: Likewise.
25042 2015-08-20  Florian Weimer  <fweimer@redhat.com>
25044         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
25045         incorrect use.
25047 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
25049         [BZ #18370]
25050         * math/s_csqrt.c (__csqrt): Force underflow exception for results
25051         whose real or imaginary part has small absolute value.
25052         * math/s_csqrtf.c (__csqrtf): Likewise.
25053         * math/s_csqrtl.c (__csqrtl): Likewise.
25054         * math/auto-libm-test-in: Add more tests of csqrt.
25055         * math/auto-libm-test-out: Regenerated.
25056         * sysdeps/i386/fpu/libm-test-ulps: Update.
25058 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
25060         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
25061         __ppc_set_ppr_very_low): New functions.
25062         * manual/platform.texi: Add documentation about
25063         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
25065 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
25067         * string/stpncpy.c (stpncpy): Improve performance using
25068         __strnlen/memcpy/memset.
25070 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
25072         [BZ #18796]
25073         * scripts/test-installation.pl: Don't add -lmvec to build options if
25074         libmvec wasn't built.
25076 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
25078         [BZ #14341]
25079         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
25080         case when there is a gap between DT_REL and DT_JMPREL sections.
25081         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
25082         (LDFLAGS-tst-split-dynreloc): New.
25083         (tst-split-dynreloc-ENV): Likewise.
25084         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
25085         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
25087 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
25089         [BZ #18822]
25090         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
25091         attribute_hidden.
25092         (__xstat64_conv): Likewise.
25093         (__xstat32_conv): Likewise.
25095 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
25097         [BZ #18822]
25098         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
25099         Don't load %ebx when calling __setcontext.  Call __setcontext
25100         with HIDDEN_JUMPTARGET.
25101         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
25102         libc_hidden_def.
25104 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
25106         * sysdeps/i386/i686/Makefile
25107         [$(subdir) == string] (sysdep_routines): Moved to ...
25108         * sysdeps/i386/Makefile: Here.
25109         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
25110         * sysdeps/i386/cacheinfo.c: Here.
25111         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
25112         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
25113         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
25114         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
25116 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
25118         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
25119         __i586__ is defined.
25120         (HAS_I686): Defined to 1 if __i686__ is defined.
25122 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
25124         * elf/Makefile [$(have-z-execstack) = yes]
25125         (CPPFLAGS-tst-execstack.c): New variable.
25127         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
25128         conditional to [defined UTMPX || _HAVE_UT_TYPE].
25129         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
25130         UTMPX || _HAVE_UT_TV].
25131         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
25132         UTMPX || _HAVE_UT_TV - 0].
25134 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
25136         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
25137         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
25138         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
25140 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25142         * sysdeps/powerpc/dl-procinfo.c:
25143         (_dl_powerpc_cap_flags): Added missing strings for some
25144         hwcap features.
25145         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
25147 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
25149         Port the 0x7efe...feff pattern to GCC 6.
25150         See Steve Ellcey's bug report in:
25151         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
25152         * string/memrchr.c (MEMRCHR):
25153         * string/rawmemchr.c (RAWMEMCHR):
25154         * string/strchr.c (strchr):
25155         * string/strchrnul.c (STRCHRNUL):
25156         Rewrite code to avoid issues with signed shift overflow.
25158 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
25160         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
25161         whether cpuid is available only if HAS_CPUID is 0.
25162         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
25163         (HAS_I586): Likewise.
25164         (HAS_I686): Likewise.
25166 2015-08-18  Zack Weinberg  <zackw@panix.com>
25168         * misc/Versions (libc): Add GLIBC_2.23.
25170 2015-08-18  Alan Modra  <amodra@gmail.com>
25172         [BZ #18421]
25173         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
25174         .Lp__global.
25175         (_start): Load %dp via .Lp__global.
25176         [!SHARED]: Use .section .rodata.
25178 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25180         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
25181         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
25183 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25185         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
25186         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
25188 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25190         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
25191         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
25193 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25195         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
25196         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
25198 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25200         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
25201         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
25203 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25205         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
25206         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
25208 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25210         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
25212 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25214         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
25215         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
25216         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25217         (__ASSUME_LWS_CAS): Delete.
25219 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25221         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
25222         * sysdeps/hppa/configure: Regenerated.
25223         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
25224         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
25225         * sysdeps/hppa/nptl/tls.h: Likewise.
25227 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
25229         [BZ #18823]
25230         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
25231         for scaling up small arguments.
25232         * math/s_csqrtf.c (__csqrtf): Likewise.
25233         * math/s_csqrtl.c (__csqrtl): Likewise.
25234         * math/auto-libm-test-in: Add more tests of csqrt.
25235         * math/auto-libm-test-out: Regenerated.
25237 2015-08-17  Andreas Schwab  <schwab@suse.de>
25239         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
25240         version set GLIBC_2.19.
25242 2015-08-16  Zack Weinberg  <zackw@panix.com>
25244         [BZ #18681]
25245         * misc/regexp.h: This interface is no longer supported.
25246         Remove all contents, leaving only an #error directive.
25247         * misc/regexp.c (loc1, loc2, locs, step, advance):
25248         Demote to compatibility symbols.
25250 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
25252         [BZ #18084]
25253         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
25254         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
25255         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
25256         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
25257         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
25258         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
25259         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
25260         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
25261         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
25263 2015-08-15  Zack Weinberg  <zackw@panix.com>
25265         [BZ #18795]
25266         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
25267         buffer length is known to be too large, not if it's known to be
25268         small enough.
25269         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
25270         overflow at runtime, involving a length parameter, twice: once
25271         with a compile-time constant length parameter, once without.
25273 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
25275         [BZ #18824]
25276         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
25277         scaling x * y up instead of down.
25278         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25279         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25280         * math/auto-libm-test-in: Add more tests of fma.
25281         * math/auto-libm-test-out: Regenerated.
25283 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
25285         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25287 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25289         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
25290         unnecessary movq.
25291         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
25292         Likewise.
25294 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
25296         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
25297         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
25298         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
25299         and tgamma.
25300         * math/auto-libm-test-out: Regenerated.
25301         * sysdeps/i386/fpu/libm-test-ulps: Update.
25302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25304         [BZ #16520]
25305         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
25306         (__tanh): Force underflow exception for arguments with small
25307         absolute value.
25308         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
25309         (__tanhf): Force underflow exception for arguments with small
25310         absolute value.
25311         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
25312         (__tanhl): Force underflow exception for arguments with small
25313         absolute value.
25314         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
25315         (__tanhl): Force underflow exception for arguments with small
25316         absolute value.
25317         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
25318         (__tanhl): Force underflow exception for arguments with small
25319         absolute value.
25320         * math/auto-libm-test-in: Add more tests of tanh.
25321         * math/auto-libm-test-out: Regenerated.
25322         * sysdeps/i386/fpu/libm-test-ulps: Update.
25324 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25326         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
25327         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
25329 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25331         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
25332         <cpuid.h>.
25334 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25336         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
25337         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
25339 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25341         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
25342         Remove $(objpfx)init-arch.o.
25343         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
25344         init-arch.
25345         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
25346         (INIT_ARCH_EXT): Defined as empty.
25347         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
25348         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
25349         __init_cpu_features call.  Replace HAS_XXX with
25350         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25351         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
25352         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
25353         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
25354         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
25355         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
25356         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
25357         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
25358         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
25359         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
25360         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
25361         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
25362         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
25363         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
25364         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
25365         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
25366         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
25367         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
25368         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
25369         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
25370         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
25371         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
25372         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
25373         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
25374         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
25375         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
25376         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
25377         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
25378         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
25379         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
25380         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
25381         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
25382         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
25383         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
25384         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
25385         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
25387 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25389         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
25390         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25391         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
25392         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
25393         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
25394         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
25395         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
25396         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
25397         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
25398         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
25399         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
25400         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
25401         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25402         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25403         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25404         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25405         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25406         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25407         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25408         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25409         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25410         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25411         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25412         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25413         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25414         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25415         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25416         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25417         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25418         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25419         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25420         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25421         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25422         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25423         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25424         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25425         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25426         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25427         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25428         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25429         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25430         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25431         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25433 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25435         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
25436         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25437         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
25438         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25439         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25440         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
25441         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25442         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
25443         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
25444         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25445         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25446         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
25447         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
25448         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
25449         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
25450         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
25451         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
25452         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
25453         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
25454         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
25455         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
25456         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
25457         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
25458         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25459         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25460         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
25461         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
25462         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
25463         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25464         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25465         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25466         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25467         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25468         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25469         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25470         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25471         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25472         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25473         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25474         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25475         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25476         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25477         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25479 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25481         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
25482         (dl_platform_init): Call init_cpu_features.
25483         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
25484         * sysdeps/i386/i686/cacheinfo.c
25485         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
25486         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
25487         * sysdeps/i386/i686/multiarch/Versions: Removed.
25488         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
25489         Removed.
25490         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
25491         * sysdeps/unix/sysv/linux/x86/Makefile
25492         (libpthread-sysdep_routines): Remove init-arch.
25493         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
25494         <sysdeps/x86_64/dl-procinfo.c> instead of
25495         sysdeps/generic/dl-procinfo.c>.
25496         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
25497         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
25498         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
25499         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
25500         [$(subdir) == elf] (tests-static): Add
25501         tst-get-cpu-features-static.
25502         * sysdeps/x86/Versions: New file.
25503         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
25504         * sysdeps/x86/cpu-features.c: Likewise.
25505         * sysdeps/x86/cpu-features.h: Likewise.
25506         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
25507         * sysdeps/x86/libc-start.c: Likewise.
25508         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
25509         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
25510         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
25511         * sysdeps/x86_64/dl-procinfo.c: Likewise.
25512         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
25513         Assume USE_MULTIARCH is defined and don't check it.
25514         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
25515         (is_amd): Likewise.
25516         (max_cpuid): Likewise.
25517         (intel_check_word): Likewise.
25518         (__cache_sysconf): Don't call __init_cpu_features.
25519         (__x86_preferred_memory_instruction): Removed.
25520         (init_cacheinfo): Don't call __init_cpu_features. Replace
25521         __cpu_features with GLRO(dl_x86_cpu_features).
25522         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
25523         (dl_platform_init): Call init_cpu_features.
25524         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
25525         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
25526         * sysdeps/x86_64/multiarch/Versions: Removed.
25527         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
25528         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
25529         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
25530         Removed.
25531         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
25533 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
25535         [BZ #18820]
25536         * libio/Makefile (test-fmemopen-mem): New test.
25537         * libio/test-fmemopen.c (do_bz18820): New test.
25538         * libio/fmemopen.c (__fmemopen): Fix memory leak.
25539         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
25541 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
25543         [BZ #16734]
25544         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
25545         (FREE_BUF): Delete.
25546         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
25547         * libio/genops.c (_IO_setb): Use malloc and free directly.
25548         (_IO_default_doallocate, _IO_default_finish): Likewise.
25549         ( _IO_unbuffer_all): Likewise.
25550         ( libc_freeres_fn): Likewise.
25551         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
25552         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
25553         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
25554         (_IO_wdefault_doallocate): Likewise.
25556 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
25558         [BZ #18086]
25559         * sysdeps/posix/nice.c (nice): Restore old errno.
25560         * posix/tst-nice.c (do_test): Add test for BZ #18086.
25562 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
25564         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
25566 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25568         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
25569         __bcopy and add a weak_alias to bcopy.
25570         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
25571         for static build.
25573         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
25574         cleanup macro usage.
25575         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
25576         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
25577         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
25578         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
25579         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
25580         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
25581         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
25582         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
25583         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
25584         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
25585         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
25586         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
25587         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
25588         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
25589         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
25590         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
25591         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
25592         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
25593         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
25595         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
25596         libc_hidden_def.
25597         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
25599         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
25600         (sysdep_routines): Add strstr-ppc64.
25601         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
25603 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
25605         [BZ #18778]
25606         * elf/Makefile (tests): Add Add tst-nodelete2.
25607         (modules-names): Add tst-nodelete2mod.
25608         (tst-nodelete2mod.so-no-z-defs): New.
25609         ($(objpfx)tst-nodelete2): Likewise.
25610         ($(objpfx)tst-nodelete2.out): Likewise.
25611         (LDFLAGS-tst-nodelete2): Likewise.
25612         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
25613         out of loop through all loaded libraries.
25614         * elf/tst-nodelete2.c: New file.
25615         * elf/tst-nodelete2mod.c: Likewise.
25616         * elf/tst-znodelete-zlib.cc: Delete.
25618 2015-08-11  Andreas Schwab  <schwab@suse.de>
25620         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
25621         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
25622         (__openat64_nocancel): Likewise.
25624 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
25626         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
25627         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
25628         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
25629         * math/auto-libm-test-out: Regenerated.
25630         * sysdeps/i386/fpu/libm-test-ulps: Update.
25631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25633 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
25635         [BZ #18790]
25636         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
25637         threshold for returning +/- 1.
25638         * math/auto-libm-test-in: Add more tests of tanh.
25639         * math/auto-libm-test-out: Regenerated.
25640         * sysdeps/i386/fpu/libm-test-ulps: Update.
25642 2015-08-10  Andreas Schwab  <schwab@suse.de>
25644         [BZ #18781]
25645         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
25646         MORE_OFLAGS to oflag.
25647         * io/test-lfs.c (do_test): Test openat64.
25649 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
25651         [BZ #18789]
25652         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
25653         smaller threshold for returning the argument.
25654         * math/auto-libm-test-in: Add more tests of sinh.
25655         * math/auto-libm-test-out: Regenerated.
25656         * sysdeps/i386/fpu/libm-test-ulps: Update.
25658 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
25660         [BZ #18674]
25661         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
25662         break.
25664 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
25666         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
25667         (generated): Don't add $(addprefix z.,$(tzfiles)).
25669 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
25671         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
25672         * scripts/sysd-rules.awk: Likewise.
25674 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
25676         * iconvdata/tst-tables.sh: Change echo -n to printf.
25677         * nss/db-Makefile: Likewise.
25678         * posix/tst-getconf.sh: Likewise.
25679         * stdio-common/tst-unbputc.sh: Likewise.
25681 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
25683         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
25684         MADV_*_PAGES defines behind this feature check.
25686 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
25688         [BZ #18480]
25689         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
25690         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
25691         Define.
25692         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
25693         LOAD_REGS_5, LOAD_REGS_6): Update.
25694         (INTERNAL_SYSCALL): Update using new LOAD defines.
25695         (INTERNAL_SYSCALL_NCS): Likewise.
25696         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
25698 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
25700         [BZ #16734]
25701         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
25703 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
25705         [BZ #17905]
25706         * catgets/Makefile (tst-catgets-mem): New test.
25707         * catgets/catgets.c (catopen): Don't use unbounded alloca.
25708         * catgets/open_catalog.c (__open_catalog): Likewise.
25709         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
25711 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
25713         [BZ #18787]
25714         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
25715         clobber registers.
25716         (atomic_compare_and_exchange_val_acq): Use register asms to assign
25717         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
25718         Cast return to __typeof (oldval).
25720 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
25722         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
25723         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
25724         and delete sys/syscall.h include.
25726 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
25728         [BZ #16517]
25729         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
25730         (tan): Force underflow exception for arguments with small absolute
25731         value.
25732         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
25733         (__kernel_tanf): Force underflow exception for arguments with
25734         small absolute value.
25735         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
25736         (__kernel_tanl): Force underflow exception for arguments with
25737         small absolute value.
25738         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
25739         (__kernel_tanl): Force underflow exception for arguments with
25740         small absolute value.
25741         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
25742         (__kernel_tanl): Force underflow exception for arguments with
25743         small absolute value.
25744         * math/auto-libm-test-in: Add more tests of tan.
25745         * math/auto-libm-test-out: Regenerated.
25747 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25749         Fix sysdeps/i386/fpu/s_scalbn.S build
25751         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
25753 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
25755         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
25757 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25759         Fix gcrt0.o compilation
25761         When static-start-installed-name is different from
25762         start-installed-name, we must not use the shared objects.
25764         * csu/Makefile
25765         (extra-objs): Add gmon-start.o when building shared library and
25766         $(static-start-installed-name) is different from
25767         $(start-installed-name).
25768         $(objpfx)g$(static-start-installed-name): When building shared
25769         library and $(static-start-installed-name) is different from
25770         $(static-start-installed-name), revert to non-shared rule,
25771         i.e. using $(objpfx)% and gmon-start.o.
25773 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
25775         [BZ #16519]
25776         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
25777         (__ieee754_sinh): Force underflow exception for arguments with
25778         small absolute value.
25779         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
25780         (__ieee754_sinhf): Force underflow exception for arguments with
25781         small absolute value.
25782         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
25783         (__ieee754_sinhl): Force underflow exception for arguments with
25784         small absolute value.
25785         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
25786         (__ieee754_sinhl): Force underflow exception for arguments with
25787         small absolute value.
25788         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
25789         (__ieee754_sinhl): Force underflow exception for arguments with
25790         small absolute value.
25791         * math/auto-libm-test-in: Add more tests of sinh.
25792         * math/auto-libm-test-out: Regenerated.
25793         * sysdeps/i386/fpu/libm-test-ulps: Update.
25795 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
25797         * libio/oldfileops.c: Include unistd.h.
25799 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
25801         * stdlib/isomac.c: Include ctype.h.
25803 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
25805         * dirent/tst-seekdir.c (main): Converted to ...
25806         (do_test): ... this.
25807         (TEST_FUNCTION): New macro.
25808         Include test-skeleton.c.
25809         * elf/tst-dlmodcount.c (main): Converted to ...
25810         (do_test): ... this.
25811         (TEST_FUNCTION): New macro.
25812         Include test-skeleton.c.
25813         * elf/tst-order-main.c (main): Converted to ...
25814         (do_test): ... this.
25815         (TEST_FUNCTION): New macro.
25816         Include test-skeleton.c.
25817         * elf/tst-pie2.c (main): Converted to ...
25818         (do_test): ... this.
25819         (TEST_FUNCTION): New macro.
25820         Include test-skeleton.c.
25821         * inet/tst-ether_aton.c (main): Converted to ...
25822         (do_test): ... this.
25823         (TEST_FUNCTION): New macro.
25824         Include test-skeleton.c.
25825         * misc/tst-mntent.c (main): Converted to ...
25826         (do_test): ... this.
25827         (TEST_FUNCTION): New macro.
25828         Include test-skeleton.c.
25829         * misc/tst-tsearch.c (main): Converted to ...
25830         (do_test): ... this.
25831         (TEST_FUNCTION): New macro.
25832         Include test-skeleton.c.
25833         * posix/tst-regexloc.c (main): Converted to ...
25834         (do_test): ... this.
25835         (TEST_FUNCTION): New macro.
25836         Include test-skeleton.c.
25837         * resolv/tst-aton.c (main): Converted to ...
25838         (do_test): ... this.
25839         (TEST_FUNCTION): New macro.
25840         Include test-skeleton.c.
25841         * stdio-common/test-fwrite.c (main): Converted to ...
25842         (do_test): ... this.
25843         (TEST_FUNCTION): New macro.
25844         Include test-skeleton.c.
25845         * stdio-common/tst-ferror.c (main): Converted to ...
25846         (do_test): ... this.
25847         (TEST_FUNCTION): New macro.
25848         Include test-skeleton.c.
25849         * stdio-common/tst-printf.c (main): Converted to ...
25850         (do_test): ... this.
25851         (TEST_FUNCTION): New macro.
25852         Include test-skeleton.c.
25853         * stdio-common/tst-printfsz.c (main): Converted to ...
25854         (do_test): ... this.
25855         (TEST_FUNCTION): New macro.
25856         Include test-skeleton.c.
25857         * stdlib/tst-strtod.c (main): Converted to ...
25858         (do_test): ... this.
25859         (TEST_FUNCTION): New macro.
25860         Include test-skeleton.c.
25861         * string/tst-strlen.c (main): Converted to ...
25862         (do_test): ... this.
25863         (TEST_FUNCTION): New macro.
25864         Include test-skeleton.c.
25865         * string/tst-svc.c (main): Converted to ...
25866         (do_test): ... this.
25867         (TEST_FUNCTION): New macro.
25868         Include test-skeleton.c.
25869         * time/tst-strptime.c (main): Converted to ...
25870         (do_test): ... this.
25871         (TEST_FUNCTION): New macro.
25872         Include test-skeleton.c.
25873         * timezone/tst-timezone.c (main): Converted to ...
25874         (do_test): ... this.
25875         (TEST_FUNCTION): New macro.
25876         Include test-skeleton.c.
25878 2015-08-05  Zack Weinberg  <zackw@panix.com>
25880         * misc/regexp.h: Update comments.
25882 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
25884         [BZ #18635]
25885         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
25886         before return label.
25888 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
25890         [BZ #18661]
25891         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
25892         when calling __errno_location.
25893         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
25894         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
25896 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
25898         [BZ #18661]
25899         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
25900         (__lll_timedwait_tid): Align stack to 16 bytes when calling
25901         __gettimeofday.
25903 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
25905         [BZ #18661]
25906         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
25907         (__start_context): Don't use pop to restore %rdi so that stack
25908         is aligned to 16 bytes when calling __setcontext.
25910 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
25912         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
25913         only for libc.
25914         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
25916 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
25918         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
25919         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
25920         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
25922 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
25924         * string/memccpy.c (memccpy):
25925         Improve performance by using memchr/memcpy/__mempcpy.
25927 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
25929         * string/strncpy.c (strncpy):
25930         Improve performance by using __strnlen/memcpy.
25932 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
25934         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
25935         Optimize to avoid an unnecessary FPCR read.
25937 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
25939         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
25940         Optimize to reduce FPCR/FPSR accesses.
25942 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
25944         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
25945         dead->data[category] != NULL.
25947 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
25949         [BZ #18647]
25950         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
25951         and |x| close to 1, use absolute value of x when computing log.
25952         * math/auto-libm-test-in: Add more tests of pow.
25953         * math/auto-libm-test-out: Regenerated.
25955 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25957         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
25958         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
25959         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
25961 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
25963         [BZ #18525]
25964         * locales/km_KH: Remove timezone definition.
25965         * locales/lo_LA: Likewise.
25966         * locales/my_MM: Likewise.
25967         * locales/nan_TW@latin: Likewise.
25968         * locales/th_TH: Likewise.
25969         * locales/uk_UA: Likewise.
25971 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
25973         [BZ #18265]
25974         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
25975         (wcsncat): Likewise.
25976         (wcscmp): Likewise.
25977         (wcsncmp): Likewise.
25979 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
25981         * test-skeleton.c (usage): New function.
25982         (main): Call usage when opt is '?'.
25984 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
25986         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
25987         before first use.
25989 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
25991         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
25992         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
25993         in there too.
25995 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
25997         * version.h (RELEASE): Set to "development".
25998         (VERSION): Set to "2.22.90"
26000         * version.h (RELEASE): Set to "stable".
26001         (VERSION): Set to "2.22"
26002         * include/features.h (__GLIBC_MINOR__): Set to 22.
26004 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
26006         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
26007         Restructure macro to avoid "value computed is not used" warning.
26008         (atomic_compare_and_exchange_val_acq): Likewise.
26010 2015-08-04  Andreas Schwab  <schwab@suse.de>
26012         [BZ #18635]
26013         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
26014         ret.
26015         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
26017 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
26019         * po/pl.po: Updated translation.
26020         * po/uk.po: Likewise.
26021         * po/fi.po: Likewise.
26022         * po/ko.po: Likewise.
26023         * po/ru.po: Likewise.
26024         * po/vi.po: Likewise.
26026 2015-07-31  Zack Weinberg  <zackw@panix.com>
26028         [BZ #18681]
26029         * regexp.h: Add unconditional #warning stating that this header
26030         will be removed soon.  Revise banner comment to match.
26031         (compile): Consistently use ERROR instead of RETURN to report
26032         errors (partial fix for bz#18681).
26033         * regexp.c: Don't include regexp.h. Remove some unnecessary
26034         declarations.
26036 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
26038         * po/libc.pot: Regenerated.
26040 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
26042         [BZ #18740]
26043         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
26044         float-vlen4-arch-ext-cflags): Removed.
26045         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
26046         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
26048 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
26050         [BZ #14113]
26051         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
26052         aligned to __aligned__.
26053         (pthread_cond_t, pthread_rwlock_t): Likewise.
26055 2015-07-30  Torvald Riegel  <triegel@redhat.com>
26057         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
26059 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
26061         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
26062         (struct sigaction): Change sa_flags from a long to an int, and add
26063         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
26065 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
26067         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
26068         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
26069         sysdeps/generic/sysdep.h include.
26070         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
26071         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
26072         sysdeps/hppa/sysdep.h.
26073         (ENTRY, PSEUDO): Undefine before defining.
26075 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
26077         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
26078         from scratch to use INTERNAL_SYSCALL.
26080 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
26082         [BZ #18078]
26083         * scripts/check-localplt.awk: Support alternate relocations.
26084         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
26085         sections.
26086         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
26087         malloc entries with + REL R_386_GLOB_DAT.
26088         * sysdeps/x86_64/localplt.data: New file.
26090 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
26092         [BZ #18731]
26093         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
26094         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
26095         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
26097 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
26099         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
26101 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
26103         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
26104         directly in terms of __sync_fetch_and_add and delete (int) cast.
26106 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
26108         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
26109         the -D_ASM_IA64_CURRENT_H flag.
26111 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
26113         [BZ #18641]
26114         * pwd/pwd.h (putpwent): Delete __nonnull markings.
26116 2015-07-27  Andreas Schwab  <schwab@suse.de>
26118         * conform/conformtest.pl (checknamespace): Filter out string
26119         literals while tokenizing.
26121 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
26123         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
26124         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
26125         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
26127 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
26129         * nptl/tst-join7mod.c: Add #include <string.h>.
26131 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
26133         * sysdeps/nios2/libm-test-ulps: Update.
26135 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
26137         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
26138         Fix order of arguments to the rt_sigprocmask syscall.
26139         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
26140         Likewise.
26142 2015-07-24  Roland McGrath  <roland@hack.frob.com>
26144         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
26146 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26148         [BZ #18457]
26149         * nptl/Makefile (tests): New test case tst-join7.
26150         (modules-names): New test case module tst-join7mod.
26151         * nptl/tst-join7.c: New file.
26152         * nptl/tst-join7mod.c: New file.
26153         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
26154         all translation units in libc.so, libpthread.so and rtld.
26156 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26158         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26160 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
26162         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
26163         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
26164         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
26165         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
26166         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
26167         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
26168         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
26169         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
26170         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
26171         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
26172         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
26173         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
26174         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
26175         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
26176         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
26177         implementation.
26179 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26181         [BZ #17711]
26182         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
26183         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
26184         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
26185         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
26186         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
26187         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
26189 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26191         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
26192         instead of just saying load lock in the comments.
26194 2015-07-23  Roland McGrath  <roland@hack.frob.com>
26196         * sysdeps/unix/Subdirs: Moved ...
26197         * sysdeps/posix/Subdirs: ... here.
26198         * login/pty.h (struct termios, struct winsize): Add forward decls.
26199         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
26200         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
26201         * sysdeps/arm/nacl/libc.abilist: Updated.
26202         * sysdeps/nacl/libutil.abilist: New file.
26204         * bits/signum.h: Update comments to mention 1003.1-2013 too.
26205         (SIGWINCH): New macro.
26207         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
26208         * sysdeps/arm/nacl/libc.abilist: Add it.
26210 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
26212         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
26214 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
26216         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
26217         Swap __glibc_reserved0 and sa_flags order.
26219 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
26221         [BZ #18657]
26222         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
26223         are pending TLS destructor calls.
26224         * include/link.h (struct link_map): Add concurrency note for
26225         L_TLS_DTOR_COUNT.
26226         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
26227         Don't touch the link map flag.  Atomically increment
26228         l_tls_dtor_count.
26229         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
26230         Avoid taking the load lock and don't touch the link map flag.
26231         * stdlib/tst-tls-atexit-nodelete.c: New test case.
26232         * stdlib/Makefile (tests): Use it.
26233         * stdlib/tst-tls-atexit.c (do_test): dlopen
26234         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
26235         to allow tst-tls-atexit-nodelete test case to use it.
26237 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
26239         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
26240         to bits/types.h.
26241         (msgqnum_t): New typedef.
26242         (msglen_t): Likewise.
26243         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
26244         and msg_qbytes type to msglen_t.
26246 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
26248         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
26249         pad0 to __glibc_reserved0.
26250         (struct stat64): Likewise.
26252 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
26254         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
26255         Change sa_flags from a long to an int and add __glibc_reserved0 before
26256         it for padding.
26258 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
26260         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
26261         anonymous by deleting "siginfo" name.
26263 2015-07-21  Roland McGrath  <roland@hack.frob.com>
26265         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
26266         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
26267         rather than __nacl_irt_filename.
26268         * sysdeps/nacl/xstat.c (__xstat): Likewise.
26270         * NEWS: New item for arm-nacl port.
26271         * sysdeps/arm/nacl/libc.abilist: New file.
26272         * sysdeps/nacl/ld.abilist: New file.
26273         * sysdeps/nacl/libBrokenLocale.abilist: New file.
26274         * sysdeps/nacl/libanl.abilist: New file.
26275         * sysdeps/nacl/libcrypt.abilist: New file.
26276         * sysdeps/nacl/libdl.abilist: New file.
26277         * sysdeps/nacl/libm.abilist: New file.
26278         * sysdeps/nacl/libpthread.abilist: New file.
26279         * sysdeps/nacl/libresolv.abilist: New file.
26280         * sysdeps/nacl/librt.abilist: New file.
26282 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
26284         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
26285         __startcontext to initialize the new context.
26286         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
26287         up CFI directive to forbid further backtracing.
26289 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
26291         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
26292         reference.
26293         * charmaps/ANSI_X3.4-1968: Likewise.
26294         * charmaps/BS_4730: Likewise.
26295         * charmaps/BS_VIEWDATA: Likewise.
26296         * charmaps/CP1250: Likewise.
26297         * charmaps/CP1251: Likewise.
26298         * charmaps/CP1252: Likewise.
26299         * charmaps/CP1253: Likewise.
26300         * charmaps/CP1254: Likewise.
26301         * charmaps/CP1255: Likewise.
26302         * charmaps/CP1256: Likewise.
26303         * charmaps/CSN_369103: Likewise.
26304         * charmaps/EBCDIC-DK-NO: Likewise.
26305         * charmaps/GB_1988-80: Likewise.
26306         * charmaps/GREEK-CCITT: Likewise.
26307         * charmaps/GREEK7: Likewise.
26308         * charmaps/INIS-8: Likewise.
26309         * charmaps/ISIRI-3342: Likewise.
26310         * charmaps/ISO_2033-1983: Likewise.
26311         * charmaps/ISO_5427-EXT: Likewise.
26312         * locales/POSIX: Likewise.
26313         * locales/ar_SA: Likewise.
26314         * locales/be_BY: Likewise.
26315         * locales/be_BY@latin: Likewise.
26316         * locales/ca_ES: Likewise.
26317         * locales/cs_CZ: Likewise.
26318         * locales/da_DK: Likewise.
26319         * locales/de_BE: Likewise.
26320         * locales/de_CH: Likewise.
26321         * locales/de_LU: Likewise.
26322         * locales/en_AU: Likewise.
26323         * locales/en_BW: Likewise.
26324         * locales/en_CA: Likewise.
26325         * locales/en_DK: Likewise.
26326         * locales/en_GB: Likewise.
26327         * locales/en_IE: Likewise.
26328         * locales/en_NZ: Likewise.
26329         * locales/en_ZA: Likewise.
26330         * locales/en_ZW: Likewise.
26331         * locales/es_AR: Likewise.
26332         * locales/es_BO: Likewise.
26333         * locales/es_CL: Likewise.
26334         * locales/es_CO: Likewise.
26335         * locales/es_DO: Likewise.
26336         * locales/es_EC: Likewise.
26337         * locales/es_ES: Likewise.
26338         * locales/es_HN: Likewise.
26339         * locales/es_MX: Likewise.
26340         * locales/es_PA: Likewise.
26341         * locales/es_PE: Likewise.
26342         * locales/es_PY: Likewise.
26343         * locales/es_SV: Likewise.
26344         * locales/es_US: Likewise.
26345         * locales/es_UY: Likewise.
26346         * locales/es_VE: Likewise.
26347         * locales/et_EE: Likewise.
26348         * locales/fa_IR: Likewise.
26349         * locales/fo_FO: Likewise.
26350         * locales/fr_CA: Likewise.
26351         * locales/fr_CH: Likewise.
26352         * locales/gv_GB: Likewise.
26353         * locales/he_IL: Likewise.
26354         * locales/hr_HR: Likewise.
26355         * locales/id_ID: Likewise.
26356         * locales/is_IS: Likewise.
26357         * locales/it_CH: Likewise.
26358         * locales/iw_IL: Likewise.
26359         * locales/kl_GL: Likewise.
26360         * locales/ko_KR: Likewise.
26361         * locales/kw_GB: Likewise.
26362         * locales/lg_UG: Likewise.
26363         * locales/lt_LT: Likewise.
26364         * locales/lv_LV: Likewise.
26365         * locales/mi_NZ: Likewise.
26366         * locales/nhn_MX: Likewise.
26367         * locales/nl_BE: Likewise.
26368         * locales/pl_PL: Likewise.
26369         * locales/sk_SK: Likewise.
26370         * locales/sl_SI: Likewise.
26371         * locales/sv_FI: Likewise.
26372         * locales/tl_PH: Likewise.
26373         * locales/tr_TR: Likewise.
26374         * locales/vi_VN: Likewise.
26376 2015-07-21  Khem Raj  <raj.khem@gmail.com>
26378         [BZ #17475]
26379         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
26380         of tu_IN and bh_IN.
26382 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
26384         [BZ #18694]
26385         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
26386         bits/wordsize.h.
26387         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
26389 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26391         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
26392         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
26393         (spawn_thread): New function.
26394         (load): Rename to reg_dtor_and_close.  Move dlopen to...
26395         (do_test): ... here.  Use IS_LOADED to test for its
26396         availability.
26398 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
26400         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
26402 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
26404         [BZ #18696]
26405         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
26406         si_addr_bnd.
26407         (si_lower): New.
26408         (si_upper): Likewise.
26410 2015-07-16  David S. Miller  <davem@davemloft.net>
26412         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
26414 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26416         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
26417         buffer.
26418         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
26419         fail output information.
26421 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26423         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
26424         and strstr-ppc64..
26425         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
26426         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
26427         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
26428         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
26429         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
26431 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
26433         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
26434         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
26435         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
26436         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
26438 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
26440         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
26441         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
26442         rtld_hidden_proto.
26443         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
26445 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26447         * tst-nodelete-opened.c (do_test): Add comment to clarify how
26448         the test can fail.
26450         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
26452         [BZ #18676]
26453         * elf/tst-nodelete-opened.c: New test case.
26454         * elf/tst-nodelete-opened-lib.c: New test case module.
26455         * elf/Makefile (tests, modules-names): Use them.
26456         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
26457         early.
26459 2015-07-15  David S. Miller  <davem@davemloft.net>
26461         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
26462         futex-intenal.h
26463         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
26464         * sysdeps/sparc/sparc64/Makefile: Likewise.
26465         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
26466         Remove space from macro define.
26467         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
26469 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
26471         [BZ #17475]
26472         * locale/iso-639.def: Update Bhili and Tulu language codes as
26473         per iso639-3.
26475 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
26477         * elf/tst-leaks1.c (main): Converted to ...
26478         (do_test): ... this.
26479         (TEST_FUNCTION): New macro.
26480         Include test-skeleton.c.
26481         * localedata/tst-langinfo.c (main): Converted to ...
26482         (do_test): ... this.
26483         (TEST_FUNCTION): New macro.
26484         Include test-skeleton.c.
26485         * math/test-fpucw.c (main): Converted to ...
26486         (do_test): ... this.
26487         (TEST_FUNCTION): New macro.
26488         Include test-skeleton.c.
26489         * math/test-tgmath.c (main): Converted to ...
26490         (do_test): ... this.
26491         (TEST_FUNCTION): New macro.
26492         Include test-skeleton.c.
26493         * math/test-tgmath2.c (main): Converted to ...
26494         (do_test): ... this.
26495         (TEST_FUNCTION): New macro.
26496         Include test-skeleton.c.
26497         * setjmp/tst-setjmp.c (main): Converted to ...
26498         (do_test): ... this.
26499         (TEST_FUNCTION): New macro.
26500         Include test-skeleton.c.
26501         * stdio-common/tst-sscanf.c (main): Converted to ...
26502         (do_test): ... this.
26503         (TEST_FUNCTION): New macro.
26504         Include test-skeleton.c.
26505         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
26506         (do_test): ... this.
26507         (TEST_FUNCTION): New macro.
26508         Include test-skeleton.c.
26510         * elf/tst-audit9.c (main): Converted to ...
26511         (do_test): ... this.
26512         (TEST_FUNCTION): New macro.
26513         Include test-skeleton.c.
26515 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
26517         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
26519 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
26521         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
26522         New variable.
26524 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
26526         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26528 2015-07-14  Roland McGrath  <roland@hack.frob.com>
26530         * sysdeps/generic/dl-fileid.h: New file.
26531         * sysdeps/posix/dl-fileid.h: New file.
26532         * sysdeps/nacl/dl-fileid.h: New file.
26533         * include/link.h: Include <dl-fileid.h>.
26534         (struct link_map): Replace l_dev and l_ino with l_file_id.
26535         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
26536         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
26537         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
26539 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26541         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
26543 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26545         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
26546         Add iff $CXX is set.
26547         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
26548         Likewise.
26549         (tst-nodelete-zmodiff): Likewise.
26550         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
26552 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26554         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
26556 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
26558         * sysdeps/aarch64/fpu/math_private.h
26559         (define math_opt_barrier): Add AArch64 version.
26560         (math_force_eval): Likewise.
26562 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
26564         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
26566 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
26568         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
26569         %ld with %jd and cast to intmax_t.
26570         (do_test_length_zero): Likewise.
26572 2015-07-10  Roland McGrath  <roland@hack.frob.com>
26574         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
26576 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
26578         * sysdeps/tile/libm-test-ulps: Regenerated.
26580         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
26581         Comment out the whole function, not just its body.
26583 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26585         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
26586         locks.
26588         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
26590 2015-07-10  Torvald Riegel  <triegel@redhat.com>
26592         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
26593         (sem_assume_only_signals_cause_futex_EINTR): Remove.
26595 2015-07-10  Torvald Riegel  <triegel@redhat.com>
26597         * sysdeps/nptl/futex-internal.h: New file.
26598         * sysdeps/nacl/futex-internal.h: New file.
26599         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
26600         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
26601         error checking.
26602         (setxid_unmark_thread): Likewise.
26603         (__nptl_setxid): Likewise.
26604         (__wait_lookup_done): Likewise.
26605         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
26606         * nptl/nptl-init.c (sighandler_setxid): Likewise.
26607         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
26608         * nptl/pthread_once.c (clear_once_control): Likewise.
26609         (__pthread_once_slow): Likewise.
26610         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
26611         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
26612         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
26613         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
26614         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
26615         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
26616         Likewise.
26617         (__pthread_rwlock_rdlock): Likewise.
26618         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
26619         Likewise.
26620         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
26621         Likewise.
26622         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
26623         Likewise.
26624         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
26625         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
26626         Likewise.
26627         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
26628         __ASSUME_PRIVATE_FUTEX check.
26629         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
26630         Check that shared futexes are supported.
26631         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
26632         wrappers with error checking.
26633         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
26634         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
26635         * nptl/pthread_barrierattr_setpshared.c
26636         (pthread_barrierattr_setpshared): Check that shared futexes are
26637         supported.
26638         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
26639         Likewise.
26640         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
26641         Likewise.
26642         * nptl/sem_init.c (futex_private_if_supported): Remove.
26643         (__new_sem_init): Adapt and check that shared futexes are supported.
26644         * nptl/sem_open.c (sem_open): Likewise.
26645         * nptl/sem_post.c (futex_wake): Remove.
26646         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
26647         (do_futex_wait): Use futex wrappers with error checking.
26648         * nptl/sem_wait.c: Include lowlevellock.h.
26649         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
26650         Use futex_supports_pshared.
26651         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
26652         Use futex wrappers with error checking.
26653         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
26654         Likewise.
26655         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
26656         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
26657         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
26658         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
26659         (futex_wake): Likewise.
26660         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
26661         (do_futex_wait): Use futex wrappers with error checking.
26662         (__new_sem_wait_slow): Update EINTR handling.
26663         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
26665 2015-07-09  Martin Sebor  <msebor@redhat.com>
26667         [BZ #18435]
26668         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
26669         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
26670         * nptl/Makefile (test-xfail-tst-once5): Define.
26672 2015-07-09  Roland McGrath  <roland@hack.frob.com>
26674         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
26675         * elf/dl-minimal.c: For readability, reorder some definitions and
26676         introduce more page breaks.  Include <stdio.h>.
26677         (__libc_fatal): New function.
26679         * include/unistd.h: Add rtld_hidden_proto for _exit.
26680         * posix/_exit.c: Add rtld_hidden_def.
26681         * sysdeps/mach/hurd/_exit.c: Likewise.
26682         * sysdeps/nacl/_exit.c: Likewise.
26683         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
26684         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
26686 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
26688         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
26689         bndmov encoding with zero displacement.
26691 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
26692             H.J. Lu  <hongjiu.lu@intel.com>
26694         [BZ #18134]
26695         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
26696         * sysdeps/i386/configure: Regenerated.
26697         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
26698         (_dl_runtime_profile): Save and restore Intel MPX return bound
26699         registers when calling _dl_call_pltexit.  Add
26700         PRESERVE_BND_REGS_PREFIX before return.
26701         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
26702         (LRV_BND1_OFFSET): Likewise.
26703         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
26704         lrv_bnd1.
26705         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
26706         typo in bndmov encoding.
26707         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
26708         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
26709         branch instructions to preserve bounds.
26711 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
26714         [GLIBC_2.22]: Add fmemopen.
26716 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26718         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
26719         returns an error, also try to use host port from __mach_host_self for
26720         the __vm_wire call.
26721         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
26723 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26725         [BZ #18400]
26726         [BZ #18648]
26727         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
26728         Fix pr_uid and pr_gid members.
26729         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
26730         definition to elf_greg_t.
26732 2015-07-08  Roland McGrath  <roland@hack.frob.com>
26734         [BZ #18383]
26735         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
26736         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
26737         * sysdeps/arm/configure: Regenerated.
26738         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
26739         (test-xfail-tst-tlsalign-static): Variable removed.
26741         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
26742         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
26743         rather than explicit 'ln -s'.
26745         * resolv/rpc/netdb.h: New file.
26746         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
26748 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26750         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
26751         length buffers.
26752         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
26753         test-skeleton.c.
26755         [BZ #6544]
26756         [BZ #11216]
26757         [BZ #12836]
26758         [BZ #13151]
26759         [BZ #13152]
26760         [BZ #14292]
26761         * include/stdio.h (fmemopen): Remove hidden prototype.
26762         (__fmemopen): Add new hidden prototype.
26763         * libio/Makefile: Add oldfmemopen object.
26764         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
26765         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
26766         compliance.
26767         * libio/oldfmemopen.c: New file: old fmemopen implementation for
26768         symbol compatibility.
26769         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
26770         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
26771         fmemopen.
26772         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
26773         on append and read mode.
26774         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
26775         fmemopen.
26776         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
26777         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
26778         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
26779         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
26780         Likewise.
26781         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
26782         [GLIBC_2.22]: Likewise.
26783         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
26784         Likewise.
26785         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
26786         Likewise.
26787         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
26788         [GLIBC_2.22]: Likewise.
26789         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
26790         [GLIBC_2.22]: Likewise.
26791         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
26792         [GLIBC_2.22]: Likewise.
26793         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
26794         [GLIBC_2.22]: Likewise.
26795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
26796         [GLIBC_2.22]: Likewise.
26797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
26798         [GLIBC_2.22]: Likewise.
26799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
26800         [GLIBC_2.22]: Likewise.
26801         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
26802         Likewise.
26803         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
26804         Likewise.
26805         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
26806         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
26807         [GLIBC_2.22]: Likewise.
26808         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
26809         [GLIBC_2.22]: Likewise.
26810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
26811         [GLIBC_2.22]: Likewise.
26812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
26813         [GLIBC_2.22]: Likewise.
26814         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
26815         Likewise.
26816         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
26817         Likewise.
26818         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
26819         Likewise.
26820         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
26821         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
26823 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
26825         [BZ #18643]
26826         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
26827         IPV6_PATHMTU, and IPV6_DONTFRAG.
26829 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
26831         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
26832         and _IO_UNBUFFERED.
26833         * libio/oldfileops.c: Likewise.
26834         * libio/wfileops.c: Likewise.
26836 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
26838         * nscd/selinux.c: Delete selinux/flask.h include.
26840 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
26842         [BZ #18641]
26843         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
26844         (putpwent): Likewise.
26845         (getpwnam): Likewise.
26846         (getpwent_r): Likewise.
26847         (getpwuid_r): Likewise.
26848         (getpwnam_r): Likewise.
26849         (fgetpwent_r): Likewise.
26851 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
26853         [BZ #18557]
26854         * inet/rcmd.c (__validuser2_sa): Check user first to
26855         short-circuit host check.
26857 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
26858             Mikhail Ilin  <m.ilin@samsung.com>
26860         [BZ #17833]
26861         * elf/Makefile (tests): Add tst-nodelete.
26862         (modules-names): Add tst-nodelete-uniquemod.
26863         (tst-nodelete-uniquemod.so-no-z-defs): New.
26864         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
26865         (tst-nodelete-zmod.so-no-z-defs): Likewise.
26866         ($(objpfx)tst-nodelete): Likewise.
26867         ($(objpfx)tst-nodelete.out): Likewise.
26868         (LDFLAGS-tst-nodelete): Likewise.
26869         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
26870         * elf/dl-close.c (_dl_close_worker): Add a parameter to
26871         implement forced object deletion.
26872         (_dl_close): Pass false to _dl_close_worker.
26873         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
26874         * elf/tst-nodelete.cc: New file.
26875         * elf/tst-nodeletelib.cc: Likewise.
26876         * elf/tst-znodeletelib.cc: Likewise.
26877         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
26879 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
26881         [BZ #18508]
26882         * stdlib/Makefile ($(objpfx)tst-makecontext3):
26883         Depend on $(libdl).
26884         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
26885         is not called infinitely times.
26886         (backtrace_helper): New function.
26887         (trace_arg): New struct.
26888         (st1): Enlarge stack size.
26889         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26890         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
26891         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26892         Likewise.
26894 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
26896         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26898 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
26900         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
26901         Include sys/types.h instead of bits/types.h.
26902         Remove inclusion of bits/wordsize.h.
26904 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
26906         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
26907         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
26908         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
26909         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
26910         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
26911         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
26913 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
26915         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
26916         link-defines.sym.
26917         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
26918         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
26919         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
26920         and LR_SIZE.
26921         * sysdeps/i386/link-defines.sym: New file.
26923 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
26925         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
26926         (modules-names): Add tst-auditmod3a tst-auditmod3b.
26927         ($(objpfx)tst-audit3): New rule.
26928         ($(objpfx)tst-audit3.out): Likewise.
26929         * sysdeps/i386/tst-audit3.c: New file.
26930         * sysdeps/i386/tst-audit3.h: Likewise.
26931         * sysdeps/i386/tst-auditmod3a.c: Likewise.
26932         * sysdeps/i386/tst-auditmod3b.c: Likewise.
26934 2015-07-07  Torvald Riegel  <triegel@redhat.com>
26936         [BZ #18633]
26937         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
26938         pointer in C code.
26939         (__strcat_c): Likewise.
26940         (__strcat_g): Likewise.
26942 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
26944         [BZ #18592]
26945         * misc/sbrk.c: Set errno to ENOMEM on overflow.
26947 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
26949         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
26950         New function.  (__ieee754_sqrtf): New function.
26951         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
26952         New function.
26953         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
26954         New function.
26956 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
26958         * sysdeps/ieee754/support.c: Remove unused file.
26960 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26962         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
26963         registers instead of d ones so the layout is kernel abi compatible.
26964         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
26965         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
26966         Likewise.
26968 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26970         * sysdeps/aarch64/libm-test-ulps: Regenerated.
26972 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
26974         [BZ #18619]
26975         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
26976         and return argument in case of subnormal argument.
26978 2015-07-01  Martin Sebor  <msebor@redhat.com>
26980         [BZ #18435]
26981         * nptl/Makefile: Add tst-once5.cc.
26982         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
26983         Remove macro redefinitions.
26984         * nptl/tst-once5.cc: New test.
26986 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
26988         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26990         * sysdeps/arm/libm-test-ulps: Regenerated.
26992         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
26993         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26995 2015-06-30  Torvald Riegel  <triegel@redhat.com>
26997         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
26998         lll_lock_wait_private and lll_futex_wake probes.
27000         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
27001         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
27002         Likewise.
27003         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
27004         atomic_spin_nop.
27005         * sysdeps/x86_64/bits/atomic.h: Likewise.
27006         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
27007         to atomic_spin_nop and move ...
27008         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
27009         ... here and ...
27010         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
27011         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
27012         atomic_spin_nop instead of BUSY_WAIT_NOP.
27013         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
27014         Likewise.
27015         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
27016         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
27017         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
27018         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
27019         instead of atomic_delay.
27021 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
27023         [BZ #18613]
27024         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
27025         X_ADJ not X when adjusting exponent.
27026         (__ieee754_gamma_r): Do intermediate computations in
27027         round-to-nearest then adjust overflowing and underflowing results
27028         as needed.
27029         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
27030         of X_ADJ not X when adjusting exponent.
27031         (__ieee754_gammaf_r): Do intermediate computations in
27032         round-to-nearest then adjust overflowing and underflowing results
27033         as needed.
27034         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
27035         log of X_ADJ not X when adjusting exponent.
27036         (__ieee754_gammal_r): Do intermediate computations in
27037         round-to-nearest then adjust overflowing and underflowing results
27038         as needed.  Use 1.0L not 1.0f as numerator of division.
27039         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
27040         log of X_ADJ not X when adjusting exponent.
27041         (__ieee754_gammal_r): Do intermediate computations in
27042         round-to-nearest then adjust overflowing and underflowing results
27043         as needed.  Use 1.0L not 1.0f as numerator of division.
27044         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
27045         of X_ADJ not X when adjusting exponent.
27046         (__ieee754_gammal_r): Do intermediate computations in
27047         round-to-nearest then adjust overflowing and underflowing results
27048         as needed.  Use 1.0L not 1.0f as numerator of division.
27049         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
27050         to auto-libm-test-in.
27051         (tgamma_test): Use ALL_RM_TEST.
27052         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
27053         tests of tgamma with spurious-overflow.
27054         * math/auto-libm-test-out: Regenerated.
27055         * math/gen-libm-have-vector-test.sh: Do not check for START.
27056         * sysdeps/i386/fpu/libm-test-ulps: Update.
27057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27059         [BZ #18612]
27060         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
27061         arguments, just return 0.5 times the argument, with underflow
27062         forced as needed.
27063         * math/auto-libm-test-in: Add more tests of j1.
27064         * math/auto-libm-test-out: Regenerated.
27066         [BZ #16559]
27067         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
27068         (__ieee754_j1): Force underflow exception for small results.
27069         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
27070         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
27071         (__ieee754_j1f): Force underflow exception for small results.
27072         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27073         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27074         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27075         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
27076         (__ieee754_j1l): Force underflow exception for small results.
27077         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27078         * math/auto-libm-test-in: Add more tests of j1 and jn.
27079         * math/auto-libm-test-out: Regenerated.
27081         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
27082         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
27083         (PF_MPLS): Likewise.
27084         (AF_IB): Likewise.
27085         (AF_MPLS): Likewise.
27086         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
27087         value and macro.
27088         (MS_RMT_MASK): Include MS_LAZYTIME.
27090 2015-06-26  Mel Gorman  <mgorman@suse.de>
27092         [BZ #18502]
27093         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
27094         already minimal.
27096 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
27098         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
27099         (DT_MIPS_NUM): Update.
27100         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
27101         DT_MIPS_RLD_MAP_REL.
27103 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
27105         [BZ #16559]
27106         [BZ #18602]
27107         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
27108         round-to-nearest internally then recompute results that
27109         underflowed to zero in the original rounding mode.
27110         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27111         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27112         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27113         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27114         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
27115         * sysdeps/i386/fpu/libm-test-ulps: Update.
27116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27118 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
27120         * NEWS: Fixed description of link with vector math library.
27122 2015-06-25  Andreas Schwab  <schwab@suse.de>
27124         [BZ #18549]
27125         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
27126         * libio/test-fmemopen.c (do_test): Add test for it.
27128 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
27130         [BZ #17841]
27131         * Makeconfig (no-pie-ldflag): New.
27132         (+link): Set to $(+link-pie) if default to PIE.
27133         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
27134         * config.make.in (build-pie-default): New.
27135         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
27136         is default.  AC_SUBST.
27137         * configure: Regenerated.
27138         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
27140 2015-06-24  Roland McGrath  <roland@hack.frob.com>
27142         * nptl/descr.h (struct pthread): Change type of field setxid_futex
27143         to 'unsigned int'.
27145         * resolv/gai_misc.h (struct waitlist): Change type of field
27146         counterp to 'volatile unsigned int *'.
27147         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
27148         FUTEXADDR and OLDVAL.
27149         * resolv/getaddrinfo_a.c (getaddrinfo_a):
27150         Give local variable TOTAL type 'volatile unsigned int'.
27151         (struct async_waitlist): Change type of field counter to 'unsigned int'.
27152         * resolv/gai_suspend.c (gai_suspend):
27153         Give local variable CNTR type 'unsigned int'.
27155         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
27156         counterp to 'volatile unsigned int *'.
27157         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
27158         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
27159         (aio_suspend): Give local variable CNTR type 'unsigned int'.
27160         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
27161         Give local variable TOTAL type 'volatile unsigned int'.
27162         (struct async_waitlist): Change type of field counter to 'unsigned int'.
27164 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
27166         [BZ #18383]
27167         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
27168         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
27169         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
27170         comment for i386/x86-64.
27171         (test-xfail-tst-tlsalign-extern-static): Removed.
27173 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
27175         * math/test-double.h: New file.
27176         * math/test-float.h: Likewise.
27177         * math/test-ldouble.h: Likewise.
27178         * math/test-math-inline.h: Likewise.
27179         * math/test-math-no-inline.h: Likewise.
27180         * math/test-math-scalar.h: Likewise.
27181         * math/test-math-vector.h: Likewise.
27182         * math/test-vec-loop.h: Remove file.  Contents moved into
27183         test-math-vector.h.
27184         * math/libm-test.inc (MATHCONST): Do not document macro.
27185         * math/test-double.c: Include test-double.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_DOUBLE): Likewise.
27195         (TEST_MATHVEC): Likewise.
27196         (__NO_MATH_INLINES): Likewise.
27197         * math/test-float.c: Include test-float.h, test-math-no-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_FLOAT): Likewise.
27207         (TEST_MATHVEC): Likewise.
27208         (__NO_MATH_INLINES): Likewise.
27209         * math/test-idouble.c: Include test-double.h, test-math-inline.h
27210         and test-math-scalar.h.
27211         (FUNC): Remove macro.
27212         (FUNC_TEST): Likewise.
27213         (FLOAT): Likewise.
27214         (MATHCONST): Likewise.
27215         (PRINTF_EXPR): Likewise.
27216         (PRINTF_XEXPR): Likewise.
27217         (PRINTF_NEXPR): Likewise.
27218         (TEST_DOUBLE): Likewise.
27219         (TEST_MATHVEC): Likewise.
27220         (TEST_INLINE): Likewise.
27221         (__NO_MATH_INLINES): Likewise.
27222         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
27223         test-math-scalar.h.
27224         (FUNC): Remove macro.
27225         (FUNC_TEST): Likewise.
27226         (FLOAT): Likewise.
27227         (MATHCONST): Likewise.
27228         (PRINTF_EXPR): Likewise.
27229         (PRINTF_XEXPR): Likewise.
27230         (PRINTF_NEXPR): Likewise.
27231         (TEST_FLOAT): Likewise.
27232         (TEST_MATHVEC): Likewise.
27233         (TEST_INLINE): Likewise.
27234         (__NO_MATH_INLINES): Likewise.
27235         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
27236         and test-math-scalar.h.
27237         (FUNC): Remove macro.
27238         (FUNC_TEST): Likewise.
27239         (FLOAT): Likewise.
27240         (MATHCONST): Likewise.
27241         (PRINTF_EXPR): Likewise.
27242         (PRINTF_XEXPR): Likewise.
27243         (PRINTF_NEXPR): Likewise.
27244         (TEST_LDOUBLE): Likewise.
27245         (TEST_MATHVEC): Likewise.
27246         (TEST_INLINE): Likewise.
27247         (__NO_MATH_INLINES): Likewise.
27248         * math/test-ldouble.c: Include test-ldouble.h,
27249         test-math-no-inline.h and test-math-scalar.h.
27250         (FUNC): Remove macro.
27251         (FUNC_TEST): Likewise.
27252         (FLOAT): Likewise.
27253         (MATHCONST): Likewise.
27254         (PRINTF_EXPR): Likewise.
27255         (PRINTF_XEXPR): Likewise.
27256         (PRINTF_NEXPR): Likewise.
27257         (TEST_LDOUBLE): Likewise.
27258         (TEST_MATHVEC): Likewise.
27259         (__NO_MATH_INLINES): Likewise.
27260         * math/test-double-vlen2.h: Include test-double.h,
27261         test-math-no-inline.h and test-math-vector.h.
27262         (FLOAT): Remove macro.
27263         (FUNC): Likewise.
27264         (MATHCONST): Likewise.
27265         (PRINTF_EXPR): Likewise.
27266         (PRINTF_XEXPR): Likewise.
27267         (PRINTF_NEXPR): Likewise.
27268         (TEST_DOUBLE): Likewise.
27269         (TEST_MATHVEC): Likewise.
27270         (__NO_MATH_INLINES): Likewise.
27271         (CNCT): Likewise.
27272         (CONCAT): Likewise.
27273         (WRAPPER_NAME): Likewise.
27274         (WRAPPER_DECL): Likewise.
27275         (WRAPPER_DECL_ff): Likewise.
27276         (WRAPPER_DECL_fFF): Likewise.
27277         (VECTOR_WRAPPER): Likewise.
27278         (VECTOR_WRAPPER_ff): Likewise.
27279         (VECTOR_WRAPPER_fFF): Likewise.
27280         (VEC_LEN): New macro.
27281         * math/test-double-vlen4.h: Include test-double.h,
27282         test-math-no-inline.h and test-math-vector.h.
27283         (FLOAT): Remove macro.
27284         (FUNC): Likewise.
27285         (MATHCONST): Likewise.
27286         (PRINTF_EXPR): Likewise.
27287         (PRINTF_XEXPR): Likewise.
27288         (PRINTF_NEXPR): Likewise.
27289         (TEST_DOUBLE): Likewise.
27290         (TEST_MATHVEC): Likewise.
27291         (__NO_MATH_INLINES): Likewise.
27292         (CNCT): Likewise.
27293         (CONCAT): Likewise.
27294         (WRAPPER_NAME): Likewise.
27295         (WRAPPER_DECL): Likewise.
27296         (WRAPPER_DECL_ff): Likewise.
27297         (WRAPPER_DECL_fFF): Likewise.
27298         (VECTOR_WRAPPER): Likewise.
27299         (VECTOR_WRAPPER_ff): Likewise.
27300         (VECTOR_WRAPPER_fFF): Likewise.
27301         (VEC_LEN): New macro.
27302         * math/test-double-vlen8.h: Include test-double.h,
27303         test-math-no-inline.h and test-math-vector.h.
27304         (FLOAT): Remove macro.
27305         (FUNC): Likewise.
27306         (MATHCONST): Likewise.
27307         (PRINTF_EXPR): Likewise.
27308         (PRINTF_XEXPR): Likewise.
27309         (PRINTF_NEXPR): Likewise.
27310         (TEST_DOUBLE): Likewise.
27311         (TEST_MATHVEC): Likewise.
27312         (__NO_MATH_INLINES): Likewise.
27313         (CNCT): Likewise.
27314         (CONCAT): Likewise.
27315         (WRAPPER_NAME): Likewise.
27316         (WRAPPER_DECL): Likewise.
27317         (WRAPPER_DECL_ff): Likewise.
27318         (WRAPPER_DECL_fFF): Likewise.
27319         (VECTOR_WRAPPER): Likewise.
27320         (VECTOR_WRAPPER_ff): Likewise.
27321         (VECTOR_WRAPPER_fFF): Likewise.
27322         (VEC_LEN): New macro.
27323         * math/test-float-vlen4.h: Include test-float.h,
27324         test-math-no-inline.h and test-math-vector.h.
27325         (FLOAT): Remove macro.
27326         (FUNC): Likewise.
27327         (MATHCONST): Likewise.
27328         (PRINTF_EXPR): Likewise.
27329         (PRINTF_XEXPR): Likewise.
27330         (PRINTF_NEXPR): Likewise.
27331         (TEST_FLOAT): Likewise.
27332         (TEST_MATHVEC): Likewise.
27333         (__NO_MATH_INLINES): Likewise.
27334         (CNCT): Likewise.
27335         (CONCAT): Likewise.
27336         (WRAPPER_NAME): Likewise.
27337         (WRAPPER_DECL): Likewise.
27338         (WRAPPER_DECL_ff): Likewise.
27339         (WRAPPER_DECL_fFF): Likewise.
27340         (VECTOR_WRAPPER): Likewise.
27341         (VECTOR_WRAPPER_ff): Likewise.
27342         (VECTOR_WRAPPER_fFF): Likewise.
27343         (VEC_LEN): New macro.
27344         * math/test-float-vlen8.h: Include test-float.h,
27345         test-math-no-inline.h and test-math-vector.h.
27346         (FLOAT): Remove macro.
27347         (FUNC): Likewise.
27348         (MATHCONST): Likewise.
27349         (PRINTF_EXPR): Likewise.
27350         (PRINTF_XEXPR): Likewise.
27351         (PRINTF_NEXPR): Likewise.
27352         (TEST_FLOAT): Likewise.
27353         (TEST_MATHVEC): Likewise.
27354         (__NO_MATH_INLINES): Likewise.
27355         (CNCT): Likewise.
27356         (CONCAT): Likewise.
27357         (WRAPPER_NAME): Likewise.
27358         (WRAPPER_DECL): Likewise.
27359         (WRAPPER_DECL_ff): Likewise.
27360         (WRAPPER_DECL_fFF): Likewise.
27361         (VECTOR_WRAPPER): Likewise.
27362         (VECTOR_WRAPPER_ff): Likewise.
27363         (VECTOR_WRAPPER_fFF): Likewise.
27364         (VEC_LEN): New macro.
27365         * math/test-float-vlen16.h: Include test-float.h,
27366         test-math-no-inline.h and test-math-vector.h.
27367         (FLOAT): Remove macro.
27368         (FUNC): Likewise.
27369         (MATHCONST): Likewise.
27370         (PRINTF_EXPR): Likewise.
27371         (PRINTF_XEXPR): Likewise.
27372         (PRINTF_NEXPR): Likewise.
27373         (TEST_FLOAT): Likewise.
27374         (TEST_MATHVEC): Likewise.
27375         (__NO_MATH_INLINES): Likewise.
27376         (CNCT): Likewise.
27377         (CONCAT): Likewise.
27378         (WRAPPER_NAME): Likewise.
27379         (WRAPPER_DECL): Likewise.
27380         (WRAPPER_DECL_ff): Likewise.
27381         (WRAPPER_DECL_fFF): Likewise.
27382         (VECTOR_WRAPPER): Likewise.
27383         (VECTOR_WRAPPER_ff): Likewise.
27384         (VECTOR_WRAPPER_fFF): Likewise.
27385         (VEC_LEN): New macro.
27386         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
27387         test-vec-loop.h.
27388         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
27389         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
27390         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
27391         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
27392         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
27393         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
27394         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
27396 2015-06-24  Roland McGrath  <roland@hack.frob.com>
27398         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
27399         (__getlogin_r): ... this.
27401 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
27403         [BZ #18594]
27404         * math/s_ccosh.c (__ccosh): Compare with least normal value
27405         instead of comparing class with FP_SUBNORMAL.
27406         * math/s_ccoshf.c (__ccoshf): Likewise.
27407         * math/s_ccoshl.c (__ccoshl): Likewise.
27408         * math/s_cexp.c (__cexp): Likewise.
27409         * math/s_cexpf.c (__cexpf): Likewise.
27410         * math/s_cexpl.c (__cexpl): Likewise.
27411         * math/s_csin.c (__csin): Likewise.
27412         * math/s_csinf.c (__csinf): Likewise.
27413         * math/s_csinh.c (__csinh): Likewise.
27414         * math/s_csinhf.c (__csinhf): Likewise.
27415         * math/s_csinhl.c (__csinhl): Likewise.
27416         * math/s_csinl.c (__csinl): Likewise.
27417         * math/s_ctan.c (__ctan): Likewise.
27418         * math/s_ctanf.c (__ctanf): Likewise.
27419         * math/s_ctanh.c (__ctanh): Likewise.
27420         * math/s_ctanhf.c (__ctanhf): Likewise.
27421         * math/s_ctanhl.c (__ctanhl): Likewise.
27422         * math/s_ctanl.c (__ctanl): Likewise.
27423         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
27424         csin, csinh, ctan and ctanh.
27425         * math/auto-libm-test-out: Regenerated.
27426         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
27427         * sysdeps/i386/fpu/libm-test-ulps: Update.
27428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27430 2015-06-24  Roland McGrath  <roland@hack.frob.com>
27432         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
27433         return value is wrong, print the expected value too.
27435 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
27437         [BZ #18585]
27438         * elf/readlib.c (is_gdb_python_file): New.
27439         (process_file): Don't issue errors on filenames with -gdb.py
27440         suffix.
27442 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
27444         * math/auto-libm-test-in: Add more tests of csin and csinh.
27445         * math/auto-libm-test-out: Regenerated.
27446         * math/libm-test.inc (csin_test_data): Remove tests moved to
27447         auto-libm-test-in.
27448         (csinh_test_data): Likewise.
27450         [BZ #18593]
27451         * math/s_csin.c (__csin): Negate before rather than after possibly
27452         overflowing multiplication.
27453         * math/s_csinf.c (__csinf): Likewise.
27454         * math/s_csinh.c (__csinh): Likewise.
27455         * math/s_csinhf.c (__csinhf): Likewise.
27456         * math/s_csinhl.c (__csinhl): Likewise.
27457         * math/s_csinl.c (__csinl): Likewise.
27458         * math/auto-libm-test-in: Add some tests of csin and csinh.
27459         * math/auto-libm-test-out: Regenerated.
27460         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
27461         (csinh_test_data): Likewise.
27462         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27464         [BZ #18586]
27465         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
27466         underflow exception for small results.
27468 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
27470         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
27471         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
27472         variable and included header.
27473         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
27474         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
27475         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
27476         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
27477         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
27478         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
27479         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
27480         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
27481         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
27482         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
27483         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
27484         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
27485         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
27486         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
27487         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
27488         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
27490 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
27492         [BZ #16526]
27493         [BZ #16538]
27494         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
27495         (__sin): Force underflow exception for arguments with small
27496         absolute value.
27497         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
27498         (__kernel_sinf): Force underflow exception for arguments with
27499         small absolute value.
27500         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
27501         (__kernel_sincosl): Force underflow exception for arguments with
27502         small absolute value.
27503         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
27504         (__kernel_sinl): Force underflow exception for arguments with
27505         small absolute value.
27506         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
27507         (__kernel_sincosl): Force underflow exception for arguments with
27508         small absolute value.
27509         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
27510         (__kernel_sinl): Force underflow exception for arguments with
27511         small absolute value.
27512         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
27513         (__kernel_sinl): Force underflow exception for arguments with
27514         small absolute value.
27515         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
27516         (__kernel_sinf): Force underflow exception for arguments with
27517         small absolute value.
27518         * math/auto-libm-test-in: Add more tests of sin and sincos.
27519         * math/auto-libm-test-out: Regenerated.
27521         [BZ #18245]
27522         [BZ #18583]
27523         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
27524         (__kernel_standard_l): Use feholdexcept and fesetenv around
27525         conversion to double instead of special-casing overflow and
27526         underflow.
27527         * math/libm-test.inc (fmod_test_data): Add more tests.
27528         (remainder_test_data): Likewise.
27529         (sqrt_test_data): Likewise.
27531 2015-06-23  Torvald Riegel  <triegel@redhat.com>
27533         [BZ #17403]
27534         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
27535         atomic_read_barrier, atomic_write_barrier): Define.
27536         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
27537         atomic_read_barrier, atomic_write_barrier): Define.
27539 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
27541         * math/Makefile [$(PERL) != no]
27542         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
27543         dependency on libm-test.stmp below the inclusion of Rules.
27545 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
27547         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
27548         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
27549         and included header.
27550         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
27551         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
27552         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
27553         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
27554         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
27555         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
27556         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
27557         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
27558         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
27559         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
27560         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
27561         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
27562         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
27563         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
27564         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
27565         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
27566         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
27567         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
27568         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
27570 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
27572         [BZ #18371]
27573         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
27574         intermediate but not final result might underflow.
27575         * math/s_csqrtf.c (__csqrtf): Likewise.
27576         * math/s_csqrtl.c (__csqrtl): Likewise.
27577         * math/auto-libm-test-in: Add more tests of csqrt.
27578         * math/auto-libm-test-out: Regenerated.
27579         * sysdeps/i386/fpu/libm-test-ulps: Update.
27581         [BZ #18219]
27582         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
27583         threshold on absolute value of exponent for which scaling is used.
27584         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
27585         * math/auto-libm-test-in: Add more tests of exp2.
27586         * math/auto-libm-test-out: Regenerated.
27588 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
27590         [BZ #17977]
27591         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
27592         when initializing interface list, based on the bug analysis
27593         and the patch proposed by Eric Newton.
27594         * resolv/tst-res_hconf_reorder.c: New test.
27595         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
27596         tst-res_hconf_reorder.
27597         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
27598         and $(shared-thread-library).
27599         (tst-res_hconf_reorder-ENV): New variable.
27601         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
27602         in comment.
27604 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
27606         [BZ #16353]
27607         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
27608         (__expm1): Force underflow exception for arguments with small
27609         absolute value.
27610         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
27611         (__expm1f): Force underflow exception for arguments with small
27612         absolute value.
27613         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
27614         (__expm1): Force underflow exception for arguments with small
27615         absolute value.
27616         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
27617         (__expm1f): Force underflow exception for arguments with small
27618         absolute value.
27619         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
27620         Check for small arguments before calling __expm1.
27621         * math/auto-libm-test-in: Do not mark underflow exceptions as
27622         possibly missing for bug 16353.
27623         * math/auto-libm-test-out: Regenerated.
27625 2015-06-22  Andreas Schwab  <schwab@suse.de>
27627         [BZ #18513]
27628         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
27629         PTR queries.
27631 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
27633         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
27635         * string/strcoll_l.c: Remove unused struct element idxnow.
27637 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
27639         [BZ #18569]
27640         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
27641         underflow and return argument in case of subnormal argument.
27642         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
27643         Likewise.
27644         * math/auto-libm-test-in: Add more tests of expm1.
27645         * math/auto-libm-test-out: Regenerated.
27647         [BZ #16361]
27648         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
27649         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
27650         tiny results.
27651         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
27652         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
27653         tiny results.
27654         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
27655         mark underflow exceptions as possibly missing for bug 16361.
27656         * math/auto-libm-test-out: Regenerated.
27658 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
27660         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
27661         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
27662         Remove variable.
27663         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
27664         (test-xfail-XOPEN2K8/utmpx.h/conform).
27666         * conform/conformtest.pl ($xerrors): New variable.
27667         (note_error): New function.
27668         (compiletest): New argument $xfail.  Use not_error.
27669         (runtest): Likewise.
27670         (top level): Handle xfail- lines.  Update calls to compiletest and
27671         runtest.  Handle xfail- and optional- in headers listed with
27672         allow-header.
27673         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
27674         (O_EXEC): Likewise.
27675         (O_SEARCH): Likewise.
27676         * conform/data/stropts.h-data (ioctl): Likewise.
27677         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
27678         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
27679         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
27680         (msghdr.msg_controllen): Likewise.
27681         (cmsghdr.cmsg_len): Likewise.
27682         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
27683         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
27684         variable.
27685         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
27686         (test-xfail-XPG4/stropts.h/conform): Likewise.
27687         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
27688         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
27689         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
27690         (test-xfail-UNIX98/stropts.h/conform): Likewise.
27691         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
27692         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
27693         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
27694         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
27695         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
27696         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
27697         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
27698         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
27699         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
27700         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
27701         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
27702         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
27703         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
27704         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
27705         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
27707 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
27709         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
27710         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
27711         definitions for proper unfolding of __MATHDECL_VEC.
27713 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
27715         * benchtests/bench-strcoll.c:
27716         Include string.h.
27717         (main): Remove unused variable res.
27719 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
27721         * timezone/Makefile (%/UTC %/Universal):
27722         Generate test-result files for UTC and Universal.
27724 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
27726         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
27728 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
27730         [BZ #16350]
27731         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
27732         for arguments with small absolute value.
27733         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
27734         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
27735         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
27736         (__asinh): Force underflow exception for arguments with small
27737         absolute value.
27738         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
27739         (__asinhf): Force underflow exception for arguments with small
27740         absolute value.
27741         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
27742         (__asinhl): Force underflow exception for arguments with small
27743         absolute value.
27744         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
27745         (__asinhl): Force underflow exception for arguments with small
27746         absolute value.
27747         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
27748         (__asinhl): Force underflow exception for arguments with small
27749         absolute value.
27750         * math/auto-libm-test-in: Do not mark underflow exceptions as
27751         possibly missing for bug 16350.
27752         * math/auto-libm-test-out: Regenerated.
27754         * include/bits/ipc.h: Remove file.
27755         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
27756         variable.
27757         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
27758         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
27759         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
27760         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
27761         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
27762         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
27763         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
27764         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
27765         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
27767         * math/auto-libm-test-in: Remove spurious underflow allowance for
27768         tests of cexp.
27769         * math/auto-libm-test-out: Regenerated.
27771         [BZ #18558]
27772         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
27773         unconditional definition.
27774         (MCAST_BLOCK_SOURCE): Likewise.
27775         (MCAST_UNBLOCK_SOURCE): Likewise.
27776         (MCAST_LEAVE_GROUP): Likewise.
27777         (MCAST_JOIN_SOURCE_GROUP): Likewise.
27778         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
27779         (MCAST_MSFILTER): Likewise.
27780         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
27781         Remove variable.
27782         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
27783         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
27784         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
27785         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
27786         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
27788 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
27790         * NEWS: Mention addition of x86_64 vector sincosf.
27791         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
27792         * math/test-float-vlen4.h: Likewise.
27793         * math/test-float-vlen8.h: Likewise.
27794         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
27795         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
27796         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27797         * sysdeps/x86_64/fpu/Versions: New versions added.
27798         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27799         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
27800         Added build of SSE, AVX2 and AVX512 IFUNC versions.
27801         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
27802         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
27803         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
27804         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
27805         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
27806         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
27807         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
27808         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
27809         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
27810         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
27811         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
27812         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
27813         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
27814         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
27815         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
27816         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
27817         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
27818         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
27819         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
27820         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
27821         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
27823         * NEWS: Mention addition of x86_64 vector sincos.
27824         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
27825         * math/math.h (__MATHDECL_VEC): New macro.
27826         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
27827         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
27828         declaration under condition.
27829         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
27830         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
27831         TEST_VEC_LOOP change.
27832         * math/test-double-vlen4.h: Likewise.
27833         * math/test-double-vlen8.h: Likewise.
27834         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
27835         * math/test-float-vlen4.h: Likewise.
27836         * math/test-float-vlen8.h: Likewise.
27837         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
27838         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
27839         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27840         * sysdeps/x86_64/fpu/Versions: New versions added.
27841         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27842         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
27843         Added build of SSE, AVX2 and AVX512 IFUNC versions.
27844         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
27845         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
27846         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
27847         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
27848         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
27849         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
27850         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
27851         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
27852         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
27853         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
27854         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
27855         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
27856         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
27857         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
27858         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
27859         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
27860         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
27861         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
27862         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
27863         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
27864         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
27866         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
27867         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
27868         redirections for powf.
27869         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27870         * sysdeps/x86_64/fpu/Versions: New versions added.
27871         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27872         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
27873         Added build of SSE, AVX2 and AVX512 IFUNC versions.
27874         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
27875         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
27876         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
27877         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
27878         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
27879         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
27880         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
27881         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
27882         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
27883         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
27884         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
27885         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
27886         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
27887         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
27888         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
27889         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
27890         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
27891         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
27892         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
27893         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
27894         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
27895         * math/test-float-vlen16.h: Fixed 2 argument macro.
27896         * math/test-float-vlen4.h: Likewise.
27897         * math/test-float-vlen8.h: Likewise.
27898         * NEWS: Mention addition of x86_64 vector powf.
27900 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
27902         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27903         and redefine.
27904         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27905         and redefine.
27906         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
27907         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
27908         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27910         [BZ #18553]
27911         * resource/getpriority.c (getpriority): Rename to __getpriority
27912         and define as weak alias of __getpriority.
27913         * resource/setpriority.c (setpriority): Rename to __setpriority
27914         and define as weak alias of __setpriority.
27915         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
27916         __getpriority and define as weak alias of __getpriority.
27917         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
27918         __setpriority and define as weak alias of __setpriority.
27919         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
27920         strong name.
27921         (setpriority): Use __setpriority as strong name.
27922         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
27923         __getpriority and define as weak alias of __getpriority.
27924         * include/sys/resource.h (__getpriority): Declare.  Use
27925         libc_hidden_proto.
27926         (__setpriority): Likewise.
27927         (getpriority): Don't use libc_hidden_proto.
27928         (setpriority): Likewise.
27929         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
27930         getpriority.  Call __setpriority instead of setpriority.
27931         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
27932         Remove variable.
27934         [BZ #18547]
27935         * misc/getttyent.c (getttynam): Rename to __getttynam and define
27936         as weak alias of __getttynam.  Use prototype function definition.
27937         Call __setttyent, __getttyent and __endttyent instead of
27938         setttyent, getttyent and endttyent.
27939         (getttyent): Rename to __getttyent and define as weak alias of
27940         __getttyent.  Call __setttyent instead of setttyent.  Call
27941         __fgets_unlocked instead of fgets_unlocked.
27942         (setttyent): Rename to __setttyent and define as weak alias of
27943         __setttyent.
27944         (endttyent): Rename to __endttyent and define as weak alias of
27945         __endttyent.
27946         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
27947         (__setttyent): Likewise.
27948         (__endttyent): Likewise.
27949         (getttyent): Don't use libc_hidden_proto.
27950         (setttyent): Likewise.
27951         (endttyent): Likewise.
27952         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
27953         __endttyent instead of setttyent, getttyent and endttyent.
27954         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
27955         Remove variable.
27957         [BZ #18546]
27958         * socket/recv.c (__recv): Use libc_hidden_def.
27959         * socket/socket.c (__socket): Likewise.
27960         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
27961         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
27962         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
27963         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
27964         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
27965         libc_hidden_def.
27966         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
27967         libc_hidden_weak.
27968         * include/sys/socket.h (__socket): Do not use attribute_hidden.
27969         Use libc_hidden_proto.
27970         (__recv): Likewise.
27971         * socket/Versions (libc): Export __recv and __socket at version
27972         GLIBC_PRIVATE.
27973         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
27974         instead of recv.
27975         (init_mq_netlink): Call __socket instead of socket.
27976         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
27977         Remove variable.
27979         [BZ #18545]
27980         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
27981         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
27982         hidden_weak.
27983         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
27984         define as alias of __mq_timedsend.  Use hidden_weak.
27985         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
27986         __mq_timedsend as strong name.
27987         (mq_timedreceive): Use __mq_timedreceive as strong name.
27988         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
27989         (__mq_timedreceive): Likewise.
27990         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
27991         __mq_timedreceive instead of mq_timedreceive.
27992         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
27993         instead of mq_timedsend.
27994         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
27995         Remove variable.
27997         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
27998         hidden_def and hidden_weak instead of libc_hidden_def and
27999         libc_hidden_weak.
28000         (top level): Refer to hidden_def in comment.
28001         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
28002         macro.  Use it instead of libc_hidden_def.
28003         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
28004         specify __GI_* name explicitly.
28005         (mq_timedreceive): Likewise.
28006         (mq_setattr): Likewise.
28008         [BZ #18544]
28009         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
28010         __pthread_barrier_init and define as weak alias of
28011         __pthread_barrier_init.
28012         * sysdeps/sparc/nptl/pthread_barrier_init.c
28013         (pthread_barrier_init): Likewise.
28014         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
28015         __pthread_barrier_wait and define as weak alias of
28016         __pthread_barrier_wait.
28017         * sysdeps/sparc/nptl/pthread_barrier_wait.c
28018         (pthread_barrier_wait): Likewise.
28019         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
28020         (pthread_barrier_wait): Likewise.
28021         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
28022         (pthread_barrier_wait): Likewise.
28023         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
28024         (pthread_barrier_wait): Likewise.
28025         * nptl/Versions (libpthread): Export __pthread_barrier_init and
28026         __pthread_barrier_wait at version GLIBC_PRIVATE.
28027         * include/pthread.h (__pthread_barrier_init): Declare.
28028         (__pthread_barrier_wait): Likewise.
28029         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
28030         Call __pthread_barrier_wait instead of pthread_barrier_wait.
28031         (helper_thread): Likewise.
28032         (init_mq_netlink): Call __pthread_barrier_init instead of
28033         pthread_barrier_init.
28035         [BZ #18542]
28036         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
28037         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
28038         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
28039         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
28040         vswscanf.
28041         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
28042         Remove variable.
28044         [BZ #18540]
28045         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
28046         strong alias of _IO_fflush.  Use libc_hidden_def.
28047         * libio/iofflush_u.c (fflush_unlocked): Rename to
28048         __fflush_unlocked and define as weak alias of __fflush_unlocked.
28049         Use libc_hidden_weak.
28050         * include/stdio.h (__fflush_unlocked): Declare.  Use
28051         libc_hidden_proto.
28052         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
28053         fflush_unlocked.
28054         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
28055         Remove variable.
28057         [BZ #18539]
28058         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
28059         define as weak alias of __addseverity.
28060         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
28061         Remove variable.
28062         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
28063         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
28064         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
28066         [BZ #18536]
28067         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
28068         (__tfind): Likewise.
28069         (__tdelete): Likewise.
28070         (__twalk): Likewise.
28071         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
28072         __twalk to GLIBC_PRIVATE.
28073         * include/search.h (__tsearch): Use libc_hidden_proto.
28074         (__tfind): Likewise.
28075         (__tdelete): Likewise.
28076         (__twalk): Likewise.
28077         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
28078         Call __tdelete instead of tdelete.
28079         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
28080         tfind.  Call __tsearch instead of tsearch.
28081         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
28082         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
28083         Remove variable.
28084         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
28086         [BZ #18534]
28087         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
28088         (dprintf): Define as a weak alias of __dprintf, not a strong
28089         alias.
28090         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
28091         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
28092         dprintf.
28093         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
28094         Remove variable.
28095         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
28096         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
28098         [BZ #18533]
28099         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
28100         not a strong alias.
28101         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
28102         Remove variable.
28104         [BZ #18532]
28105         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
28106         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
28107         (in6addr_loopback): Rename to __in6addr_loopback and define as
28108         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
28109         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
28110         libc_hidden_proto.
28111         (__in6addr_any): Likewise.
28112         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
28113         in6addr_any.
28114         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
28115         variable.
28116         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
28118 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
28120         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
28121         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
28122         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28123         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28124         redirections for pow.
28125         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28126         * sysdeps/x86_64/fpu/Versions: New versions added.
28127         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28128         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28129         build of SSE, AVX2 and AVX512 IFUNC versions.
28130         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
28131         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
28132         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
28133         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
28134         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
28135         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
28136         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
28137         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
28138         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
28139         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
28140         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
28141         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
28142         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
28143         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
28144         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28145         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28146         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28147         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28148         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28149         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28150         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28151         * NEWS: Mention addition of x86_64 vector pow.
28153         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28154         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28155         redirections for expf.
28156         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28157         * sysdeps/x86_64/fpu/Versions: New versions added.
28158         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28159         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28160         build of SSE, AVX2 and AVX512 IFUNC versions.
28161         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
28162         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
28163         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
28164         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
28165         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
28166         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
28167         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
28168         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
28169         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
28170         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
28171         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
28172         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
28173         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
28174         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
28175         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28176         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28177         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28178         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28179         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28180         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28181         * NEWS: Mention addition of x86_64 vector expf.
28183         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
28184         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
28185         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28186         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28187         redirections for exp.
28188         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28189         * sysdeps/x86_64/fpu/Versions: New versions added.
28190         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28191         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28192         build of SSE, AVX2 and AVX512 IFUNC versions.
28193         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
28194         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
28195         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
28196         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
28197         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
28198         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
28199         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
28200         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
28201         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
28202         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
28203         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
28204         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
28205         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
28206         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28207         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28208         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28209         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28210         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28211         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28212         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28213         * NEWS: Mention addition of x86_64 vector exp.
28215         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28216         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28217         redirections for logf.
28218         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28219         * sysdeps/x86_64/fpu/Versions: New versions added.
28220         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28221         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28222         build of SSE, AVX2 and AVX512 IFUNC versions.
28223         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
28224         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
28225         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
28226         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
28227         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
28228         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
28229         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
28230         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
28231         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
28232         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
28233         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
28234         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
28235         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
28236         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
28237         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28238         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28239         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28240         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28241         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28242         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28243         * NEWS: Mention addition of x86_64 vector logf.
28245         * bits/libm-simd-decl-stubs.h: Added stubs for log.
28246         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
28247         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28248         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28249         redirections for log.
28250         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28251         * sysdeps/x86_64/fpu/Versions: New versions added.
28252         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28253         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28254         build of SSE, AVX2 and AVX512 IFUNC versions.
28255         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
28256         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
28257         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
28258         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
28259         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
28260         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
28261         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
28262         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
28263         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
28264         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
28265         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
28266         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
28267         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
28268         test.
28269         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28270         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28271         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28272         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28273         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28274         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28275         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28276         * NEWS: Mention addition of x86_64 vector log.
28278 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28280         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
28281         cfi_adjust_cfa_offset argument.
28282         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
28283         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
28285         [BZ #18034]
28286         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
28287         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
28288         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
28289         ordering using ldar.
28290         (_dl_tlsdesc_dynamic): Likewise.
28291         (_dl_tlsdesc_return_lazy): Likewise.
28292         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
28293         relaxed atomics instead of volatile and synchronize with release store.
28294         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
28295         volatile.
28296         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
28298 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
28300         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28301         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
28302         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28303         * sysdeps/x86_64/fpu/Versions: New versions added.
28304         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28305         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28306         build of SSE, AVX2 and AVX512 IFUNC versions.
28307         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
28308         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
28309         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
28310         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
28311         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
28312         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
28313         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
28314         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
28315         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
28316         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
28317         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
28318         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
28319         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
28320         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
28321         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28322         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28323         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28324         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28325         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28326         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28327         * NEWS: Mention addition of x86_64 vector sinf.
28329 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
28331         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
28332         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
28333         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
28334         Remove variable.
28335         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
28336         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
28338 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
28340         [BZ #18530]
28341         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
28342         strong alias of _IO_fputs.  Use libc_hidden_def.
28343         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
28344         and define as weak alias of __fputs_unlocked.  Use
28345         libc_hidden_weak.
28346         * include/stdio.h (__fputs_unlocked): Declare.  Use
28347         libc_hidden_proto.
28348         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
28349         fputs_unlocked.
28351         [BZ #18529]
28352         * resolv/netdb.h [__USE_POSIX]: Change condition to
28353         [__USE_XOPEN2K].
28354         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
28355         not expect.
28356         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
28357         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
28358         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
28359         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
28360         [XPG4 || UNIX98] (AI_ALL): Likewise.
28361         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
28362         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
28363         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
28364         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
28365         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
28366         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
28367         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
28368         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
28369         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
28370         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
28371         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
28372         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
28373         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
28374         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
28375         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
28376         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
28377         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
28378         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
28379         [XPG4 || UNIX98] (gai_strerror): Likewise.
28380         [XPG4 || UNIX98] (getaddrinfo): Likewise.
28381         [XPG4 || UNIX98] (getnameinfo): Likewise.
28383         [BZ #18528]
28384         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
28385         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
28386         __USE_XOPEN2K8].
28387         (getgrent): Likewise.
28388         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
28389         expect.
28390         [XPG3 || POSIX2008] (endgrent): Likewise.
28391         [XPG3] (setgrent): Likewise.
28392         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
28393         variable.
28394         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
28396         [BZ #18527]
28397         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
28398         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
28399         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
28400         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
28401         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
28402         * include/unistd.h (__getlogin_r): Declare.  Use
28403         libc_hidden_proto.
28404         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
28405         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
28406         variable.
28407         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
28408         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
28409         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
28411 2015-06-12  Martin Sebor  <msebor@redhat.com>
28413         [BZ #18512]
28414         * Makerules (check-install-supported): New target.
28415         (install): Add check-install-supported as a dependency.
28416         * manual/install.texi (Installing the C Library): Document
28417         that overriding prefix and exec_prefix is not supported.
28418         Mention DESTDIR.
28419         * INSTALL: Regenerate from the above.
28421 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
28423         [BZ #18519]
28424         * posix/Versions (libc): Export __libc_pread at version
28425         GLIBC_PRIVATE.
28426         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
28427         instead of pread.
28428         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
28429         variable.
28431         [BZ #18522]
28432         * misc/efgcvt_r.c
28433         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
28434         (cvt_symbol): Use weak_alias instead of strong_alias.
28435         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
28436         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
28437         Remove variable.
28438         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
28439         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
28441         [BZ #18520]
28442         * inet/herrno.c (h_errno): Rename to __h_errno.
28443         (__libc_h_errno): Define as alias of __h_errno not h_errno.
28444         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
28445         to __h_errno instead of h_errno.
28446         * nptl/herrno.c (h_errno): Rename to __h_errno.
28447         (__h_errno_location): Refer to __h_errno not h_errno.
28448         * resolv/Versions (h_errno): Rename to __h_errno.
28449         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
28450         Remove variable.
28451         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
28453 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
28455         * configure.ac: More strict check for AVX512 assembler support.
28456         * configure: Regenerated.
28458         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
28459         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
28460         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28461         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
28462         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28463         * sysdeps/x86_64/fpu/Versions: New versions added.
28464         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28465         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28466         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28467         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
28468         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
28469         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
28470         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
28471         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
28472         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
28473         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
28474         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
28475         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
28476         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
28477         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
28478         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
28479         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
28480         test.
28481         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28482         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28483         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28484         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28485         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28486         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28487         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28488         * NEWS: Mention addition of x86_64 vector sin.
28490 2015-06-11  Florian Weimer  <fweimer@redhat.com>
28492         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
28493         comment.
28495 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
28497         [BZ #18479]
28498         * nptl/pt-interp.c: New file.
28499         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
28500         Add pt-interp.
28501         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
28502         $(common-objpfx)runtime-linker.h.
28504 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
28506         * Makeconfig (+interp): Remove unused variable.
28507         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
28508         only.  Depend on $(common-objpfx)runtime-linker.h instead of
28509         $(elf-objpfx)runtime-linker.h.
28510         ($(elf-objpfx)runtime-linker.h): Rename to
28511         $(common-objpfx)runtime-linker.h and move ...
28512         * Makerules [$(build-shared) = yes]: ... here.
28513         * elf/interp.c: Include <runtime-linker.h> instead of
28514         <elf/runtime-linker.h>.
28516 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28518         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
28519         (__gettimeofday_syscall): Remove vsyscall fallback.
28520         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
28521         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
28522         Add syscall fallback function.
28523         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
28524         if vDSO is not present.
28525         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
28526         fallback function.
28527         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
28528         present.
28529         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
28530         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28532 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
28534         [BZ #18497]
28535         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
28536         of wcscmp.
28537         (wcscmp): Define as weak alias of WCSCMP.
28538         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
28539         wcscoll.
28540         (USE_HIDDEN_DEF): Define.
28541         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
28542         __wcscoll.  Don't use libc_hidden_weak.
28543         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
28544         wcscmp.
28545         * sysdeps/i386/i686/multiarch/wcscmp-c.c
28546         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
28547         __GI_wcscmp.
28548         (weak_alias): Undefine and redefine.
28549         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
28550         __wcscmp and define as weak alias of __wcscmp.
28551         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
28552         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
28553         (__wcscoll): Likewise.
28554         (wcscmp): Don't use libc_hidden_proto.
28555         (wcscoll): Likewise.
28556         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
28557         wcscoll.
28558         * posix/regexec.c (check_node_accept_bytes): Likewise.
28559         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
28560         variable.
28561         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
28562         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
28564         [BZ #18507]
28565         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
28566         __fstatvfs and define as weak alias of __fstatvfs.  Use
28567         libc_hidden_weak.
28568         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
28569         and define as weak alias of __statvfs.  Use libc_hidden_weak.
28570         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
28571         Define as alias of __fstatvfs, not fstatvfs.
28572         (fstatvfs64): Likewise.
28573         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
28574         Define as alias of __statvfs, not statvfs.
28575         (statvfs64): Likewise.
28576         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
28577         Remove variable.
28579 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28582         (HAVE_GETCPU_VSYSCALL): Define.
28583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28584         (HAVE_GETCPU_VSYSCALL): Likewise.
28585         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
28586         * sysdeps/unix/sysv/linux/sched_getcpu.c
28587         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
28588         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
28589         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
28590         prototype.
28591         * sysdeps/unix/sysv/linux/x86_64/init-first.c
28592         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
28593         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
28594         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
28595         Define.
28596         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
28597         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28598         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
28599         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28601 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
28603         * sysdeps/x86_64/fpu/Makefile: New file.
28604         * sysdeps/x86_64/fpu/Versions: New file.
28605         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
28606         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
28607         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
28608         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
28609         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
28610         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
28611         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
28612         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
28613         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
28614         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
28615         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
28616         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
28617         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
28618         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28619         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28620         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
28621         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
28622         * sysdeps/x86_64/configure.ac: Options for libmvec build.
28623         * sysdeps/x86_64/configure: Regenerated.
28624         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
28625         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
28626         * manual/install.texi (Configuring and compiling): Document
28627         --disable-mathvec.
28628         * INSTALL: Regenerated.
28629         * NEWS: Mention addition of libmvec and x86_64 vector cos.
28631         * math/Makefile: Added rules for vector tests.
28632         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
28633         declaration under condition.
28634         * math/test-double-vlen2.h: New file.
28635         * math/test-double-vlen4.h: New file.
28636         * math/test-double-vlen8.h: New file.
28637         * math/test-vec-loop.h: Added initialization macro.
28638         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
28639         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
28640         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
28641         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
28642         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
28643         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
28644         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
28645         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
28646         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
28647         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
28648         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
28650         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28651         * sysdeps/x86_64/fpu/Versions: New versions added.
28652         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
28653         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
28654         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
28655         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
28656         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
28657         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
28658         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
28659         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
28660         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
28661         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
28662         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
28663         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
28664         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
28665         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28666         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28667         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28668         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
28669         * NEWS: Mention addition of x86_64 vector cosf.
28671         * math/Makefile: Added CFLAGS for new tests.
28672         * math/test-float-vlen16.h: New file.
28673         * math/test-float-vlen4.h: New file.
28674         * math/test-float-vlen8.h: New file.
28675         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
28676         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
28677         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28678         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
28679         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
28680         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
28681         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
28682         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
28683         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
28684         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
28685         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
28687 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
28689         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
28690         * locale/programs/ld-ctype.c: Likewise.
28692 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
28694         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
28695         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
28696         bit_ZMM16_31_state): New macro.
28697         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28698         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
28700 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
28702         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
28704 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
28706         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
28708 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
28710         [BZ #18498]
28711         * libio/memstream.c (open_memstream): Rename to __open_memstream
28712         and define as weak alias of __open_memstream.
28713         * include/stdio.h (__open_memstream): Declare.  Use
28714         libc_hidden_proto.
28715         (open_memstream): Don't use libc_hidden_proto.
28716         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
28717         open_memstream.
28718         * posix/getopt.c (_getopt_internal_r): Likewise.
28719         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
28720         variable.
28721         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
28722         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
28723         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
28725         [BZ #18496]
28726         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
28727         instead of wcrtomb.
28729         [BZ #18483]
28730         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
28731         [__USE_XOPEN2K8].  Remove redundant #endif.
28732         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
28733         Remove redundant #if.
28734         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
28735         Remove variable.
28736         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
28737         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
28739         [BZ #18495]
28740         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
28741         (__iswlower): Likewise.
28742         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
28743         (__iswlower): Likewise.
28744         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
28745         instead of towlower.
28746         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
28747         instead of iswlower.  Call __towupper instead of towupper.
28748         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
28749         instead of iswalnum.
28751 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28753         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
28754         errors to stderr.
28756 2015-06-05  Florian Weimer  <fweimer@redhat.com>
28758         [BZ #15661]
28759         [BZ #17322]
28760         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
28761         Check for overflow properly.  Check for O_APPEND.  Ignore large
28762         file system block sizes.  Add comments about problems.
28763         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
28764         * manual/filesys.texi (Storage Allocation): New node.
28766 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28768         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
28769         cancellable syscalls.
28770         (SYS_ify): Add guard to no redefine it.
28771         (INLINE_SYSCALL): Likewise.
28772         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
28773         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
28774         SYSCALL_CANCEL instead.
28775         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
28776         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
28777         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
28778         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
28779         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
28780         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
28781         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
28782         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
28783         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
28784         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
28785         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
28786         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
28787         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
28788         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
28789         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
28790         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
28791         Likewise.
28792         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
28793         (__libc_pread64): Likewise.
28794         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
28795         (__libc_preadv): Likewise.
28796         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
28797         (__libc_readv64): Likewise.
28798         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
28799         (__libc_pwrite): Likewise.
28800         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
28801         (__libc_pwrite64): Likewise.
28802         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
28803         (__libc_pwritev): Likewise.
28804         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
28805         (__libc_pwritev64): Likewise.
28806         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
28807         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
28808         (sync_file_range): Likewise.
28809         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
28810         Likewise.
28811         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
28812         Likewise.
28813         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
28814         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
28815         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
28816         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
28817         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
28818         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
28819         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
28820         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
28821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
28822         Likewise.
28823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28824         (__libc_read64): Likewise.
28825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
28826         Likewise.
28827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
28828         Likewise.
28829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
28830         Likewise.
28831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
28832         Likewise.
28833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
28834         (__libc_pread64): Likewise.
28835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
28836         Likewise.
28837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
28838         (__libc_pwrite64): Likewise.
28839         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
28840         (sync_file_range): Likewise.
28841         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
28842         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
28843         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
28844         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
28845         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
28846         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
28847         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
28848         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
28849         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
28850         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
28851         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
28852         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
28853         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
28854         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
28855         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
28856         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
28857         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
28858         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
28859         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
28860         Likewise.
28861         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
28862         Likewise.
28863         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
28864         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
28865         Likewise.
28866         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
28867         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
28868         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
28869         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
28870         Likewise.
28871         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
28872         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
28873         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
28874         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
28875         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
28877 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
28879         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
28880         Include dl-vdso.
28881         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
28882         Use VDSO routines for gettimeofday, clock_gettime if
28883         available.
28884         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
28885         Declare VDSO symbols.
28886         * sysdeps/unix/sysv/linux/arm/sysdep.h:
28887         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
28888         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
28889         * sysdeps/unix/sysv/linux/arm/Versions: Add
28890         __vdso_clock_gettime.
28892 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28894         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
28895         be an inline implementation regardless of library is built within.
28896         (open_not_cancel_2): Likewise.
28897         (__read_nocancel): Likewise.
28898         (__write_nocancel): Likewise.
28899         (openat_not_cancel): Likewise.
28900         (openat_not_cancel_3): Likewise.
28901         (openat64_not_cancel): Likewise.
28902         (openat64_not_cancel_3): Likewise.
28903         (__close_nocancel): Likewise.
28904         (pause_not_cancel): Likewise.
28905         (nanosleep_not_cancel): Likewise.
28906         (sigsuspend_not_cancel): Likewise.
28908 2015-06-04  Torvald Riegel  <triegel@redhat.com>
28910         [BZ #14958]
28911         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
28912         wake-up.
28913         (__pthread_rwlock_rdlock_slow): Likewise.
28914         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
28915         Likewise.
28916         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
28917         Likewise.
28918         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
28919         * nptl/tst-rwlock16.c: New file.
28920         * nptl/Makefile (tests): Add new test.
28922 2015-06-04  Torvald Riegel  <triegel@redhat.com>
28924         [BZ #18324]
28925         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
28926         missing wake-up of readers.
28927         * nptl/tst-rwlock15.c: New file.
28928         * nptl/Makefile (tests): Add new test.
28930 2015-06-03  Roland McGrath  <roland@hack.frob.com>
28932         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
28933         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
28934         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
28935         and __nacl_supply_interface_rtld.
28936         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
28937         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
28938         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
28939         Add __nacl_supply_interface_rtld.
28940         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
28942 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
28944         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
28945         isfinite.
28946         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28947         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
28949 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
28951         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
28952         __signbit* with standard C99 macros.
28953         * math/e_exp10l.c: Likewise.
28954         * math/e_exp2l.c: Likewise.
28955         * math/e_scalb.c: Likewise.
28956         * math/e_scalbf.c: Likewise.
28957         * math/e_scalbl.c: Likewise.
28958         * math/s_ldexp.c: Likewise.
28959         * math/s_ldexpf.c: Likewise.
28960         * math/s_ldexpl.c: Likewise.
28961         * math/w_atan2.c: Likewise.
28962         * math/w_atan2f.c: Likewise.
28963         * math/w_atan2l.c: Likewise.
28964         * math/w_cosh.c: Likewise.
28965         * math/w_coshf.c: Likewise.
28966         * math/w_coshl.c: Likewise.
28967         * math/w_exp10.c: Likewise.
28968         * math/w_exp10f.c: Likewise.
28969         * math/w_exp10l.c: Likewise.
28970         * math/w_exp2.c: Likewise.
28971         * math/w_exp2f.c: Likewise.
28972         * math/w_exp2l.c: Likewise.
28973         * math/w_fmod.c: Likewise.
28974         * math/w_fmodf.c: Likewise.
28975         * math/w_fmodl.c: Likewise.
28976         * math/w_hypot.c: Likewise.
28977         * math/w_hypotf.c: Likewise.
28978         * math/w_hypotl.c: Likewise.
28979         * math/w_jnl.c: Likewise.
28980         * math/w_lgamma.c: Likewise.
28981         * math/w_lgamma_r.c: Likewise.
28982         * math/w_lgammaf.c: Likewise.
28983         * math/w_lgammaf_r.c: Likewise.
28984         * math/w_lgammal.c: Likewise.
28985         * math/w_lgammal_r.c: Likewise.
28986         * math/w_pow.c: Likewise.
28987         * math/w_powf.c: Likewise.
28988         * math/w_powl.c: Likewise.
28989         * math/w_remainder.c: Likewise.
28990         * math/w_remainderf.c: Likewise.
28991         * math/w_remainderl.c: Likewise.
28992         * math/w_scalb.c: Likewise.
28993         * math/w_scalbf.c: Likewise.
28994         * math/w_scalbl.c: Likewise.
28995         * math/w_scalbln.c: Likewise.
28996         * math/w_scalblnf.c: Likewise.
28997         * math/w_scalblnl.c: Likewise.
28998         * math/w_sinh.c: Likewise.
28999         * math/w_sinhf.c: Likewise.
29000         * math/w_sinhl.c: Likewise.
29001         * math/w_tgamma.c: Likewise.
29002         * math/w_tgammaf.c: Likewise.
29003         * math/w_tgammal.c: Likewise.
29004         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29005         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
29006         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29007         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29008         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29009         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29010         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29011         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29012         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29013         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29014         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29015         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
29016         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29017         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29018         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29019         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29020         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29021         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29022         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29023         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29024         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29025         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29026         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29027         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29028         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29029         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29030         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
29031         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29032         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29033         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29034         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
29035         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
29036         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
29037         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
29038         * stdio-common/printf_fp.c: Likewise.
29039         * stdio-common/printf_fphex.c: Likewise.
29040         * stdio-common/printf_size.c: Likewise.
29042 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
29044         [BZ #18470]
29045         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
29046         strnlen.
29047         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
29048         Remove variable.
29049         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
29050         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
29051         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
29052         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
29053         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
29054         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
29055         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
29056         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
29057         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
29058         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
29060         [BZ #18468]
29061         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
29062         weak alias of __wmemchr.  Use libc_hidden_weak.
29063         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
29064         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
29065         instead of wmemchr.
29067 2015-06-02  Roland McGrath  <roland@hack.frob.com>
29069         [BZ #18383]
29070         * elf/tst-tlsalign-extern.c: New file.
29071         * elf/tst-tlsalign-extern-static.c: New file.
29072         * elf/tst-tlsalign-vars.c: New file.
29073         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
29074         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
29075         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
29076         ($(objpfx)tst-tlsalign-extern-static): Likewise.
29077         (test-xfail-tst-tlsalign-extern-static): New variable.
29079 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
29081         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
29082         Use variable name _sc_err instead of err.
29083         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
29084         instead of ret.
29085         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
29086         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
29087         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
29088         (INLINE_SYSCALL): Likewise.
29090         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
29091         * include/string.h (__strnlen): Use libc_hidden_proto.
29092         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
29093         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
29094         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
29095         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
29096         (libc_hidden_def): Undefine and redefine.
29097         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
29098         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
29099         __GI_strnlen.
29100         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
29101         libc_hidden_def.
29102         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
29104         [BZ #18469]
29105         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
29106         weak alias of __towlower.  Use libc_hidden_weak.
29107         (towupper): Rename to __towupper and define as weak alias of
29108         __towupper.  Use libc_hidden_weak.
29109         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
29110         (__towupper): Likewise.
29111         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
29112         __towlower instead of towlower.
29114 2015-06-02  Roland McGrath  <roland@hack.frob.com>
29116         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
29117         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
29119 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29121         * sysdeps/aarch64/libm-test-ulps: Update.
29123 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29125         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
29126         Define.
29127         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29128         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
29129         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
29130         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29131         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
29132         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
29133         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
29135 2015-06-01  Martin Sebor  <msebor@redhat.com>
29137         [BZ #18116]
29138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29139         (__setcontext): Use extended four-operand version of mtsf whenever
29140         possible.
29141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29142         (__novec_swapcontext): Likewise.
29144 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
29146         * benchtests/scripts/compare_bench.py: New file.
29147         * benchtests/scripts/import_bench.py (mean): New function.
29148         (split_list): Likewise.
29149         (do_for_all_timings): Likewise.
29150         (compress_timings): Likewise.
29152         * benchtests/scripts/import_bench.py: New file.
29153         * benchtests/scripts/validate_benchout.py: Import import_bench
29154         instead of jsonschema.
29155         (validate_bench): Remove function.
29156         (main): Use import_bench.
29158 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
29160         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
29161         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
29163 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29165         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29167 2015-05-28  Roland McGrath  <roland@hack.frob.com>
29169         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
29170         set THREAD_SELF->tid to a magic value and futex-wake it.
29171         Pass its address to the thread_exit system call.
29172         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
29173         bit is clear.
29174         * sysdeps/nacl/lowlevellock.h: New file.
29175         * sysdeps/nacl/lll_timedwait_tid.c: New file.
29177         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
29178         Add TIMEOUT to current time, don't subtract it.
29180 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
29182         [BZ #2981]
29183         [BZ #18422]
29184         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
29185         ($(objpfx)tst-audit2.out): Also depend on
29186         $(objpfx)tst-auditmod9b.so.
29187         * elf/tst-audit2.c: Include <dlfcn.h>.
29188         (calloc_called): New.
29189         (calloc): Allow to be called more than once.
29190         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
29192 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
29194         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
29195         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
29197 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
29199         * stdlib/monetary.h: Fix comment.
29201 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
29203         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
29204         Avoid using variables in #defines that might cause shadowing.
29205         (INTERNAL_VSYSCALL_CALL): Likewise.
29207 2015-05-26  Roland McGrath  <roland@hack.frob.com>
29209         * sysdeps/nacl/lll_timedlock_wait.c: New file.
29211         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
29212         * nptl/lll_timedlock_wait.c: ... to this new file.
29213         * nptl/Makefile (libpthread-routines): Add it.
29214         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
29215         * nptl/lll_timedwait_tid.c: ... to this new file.
29216         * nptl/Makefile (libpthread-routines): Add it.
29217         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
29218         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
29219         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
29220         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
29221         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
29222         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
29223         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
29224         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
29225         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
29226         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
29228 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29230         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
29231         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29232         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
29233         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
29234         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
29235         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29236         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29237         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29238         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29239         * sysdeps/unix/sysv/linux/tile/sysdep.h
29240         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29241         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
29242         using vDSO syscall macro.
29244 2015-05-26  Andriy Rysin  <arysin@gmail.com>
29246         [BZ #17293]
29247         * uk_UA: Fix sorting order for Ukrainian locale
29249 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
29251         * stdlib/monetary.h: Fix comment.
29253 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29255         [BZ #18234]
29256         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
29257         st_mtim and st_ctim members.
29258         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
29259         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
29260         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
29261         (struct stat64): Likewise.
29262         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
29263         (struct stat64): Likewise.
29264         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
29265         (struct stat64): Likewise.
29267 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29269         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
29270         Define and include sysdep-vdso.h.
29271         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
29272         Likewise.
29273         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
29274         Likewise.
29275         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
29276         Define with VDSO_SYMBOL and use PTR_MANGLE.
29277         (__vdso_clock_gettime): Likewise.
29278         (__vdso_clock_getres): Likewise.
29279         (_libc_vdso_platform_setup): Likewise.
29280         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
29281         Likewise.
29282         (_libc_vdso_platform_setup): Likewise.
29283         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
29284         Likewise.
29285         (__vdso_clock_gettime): Likewise.
29286         (__vdso_clock_getres): Likewise.
29287         (__vdso_get_tbfreq): Likewise.
29288         (__vdso_getcpu): Likewise.
29289         (__vdso_time): Likewise.
29290         (__vdso_sigtramp_rt64): Likewise.
29291         (__vdso_signtramp32): Likewise.
29292         (__vdso_sigtramp_rt32): Likewise.
29293         (_libc_vdso_platform_setup): Likewise.
29294         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
29295         Likewise.
29296         (__vdso_clock_gettime): Likewise.
29297         (__vdso_clock_getres): Likewise.
29298         (_libc_vdso_platform_setup): Likewise.
29299         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
29300         Likewise.
29301         (__vdso_clock_gettime): Likewise.
29302         (_libc_vdso_platform_setup): Likewise.
29303         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
29304         Likewise.
29305         (__vdso_getcpu): Likewise.
29306         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
29307         Use VDSO_SYMBOL macro to define.
29308         (__vdso_clock_gettime): Likewise.
29309         (__vdso_clock_getres): Likewise.
29310         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
29311         Likewise.
29312         (__vdso_clock_gettime): Likewise.
29313         (__vdso_clock_getres): Likewise.
29314         (__vdso_get_tbfreq): Likewise.
29315         (__vdso_getcpu): Likewise.
29316         (__vdso_time): Likewise.
29317         (__vdso_sigtramp_rt64): Likewise.
29318         (__vdso_signtramp32): Likewise.
29319         (__vdso_sigtramp_rt32): Likewise.
29320         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
29321         Likewise.
29322         (__vdso_clock_gettime): Likewise.
29323         (__vdso_clock_getres): Likewise.
29324         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
29325         Likewise.
29326         (__vdso_clock_gettime): Likewise.
29327         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
29328         Likewise.
29329         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
29330         macro.
29331         (INTERNAL_VSYSCALL): Likewise.
29332         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
29333         Remove macro.
29334         (INTERNAL_VSYSCALL): Likewise.
29335         (INTERNAL_VSYSCALL_NCS): Likewise.
29336         (INTERNAL_VSYSCALL_CALL): New macro.
29337         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
29338         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
29339         Likewise.
29340         (INTERNAL_VSYSCALL): Likewise.
29341         (INTERNAL_VSYSCALL_NCS): Likewise.
29342         (INTERNAL_VSYSCALL_CALL): New macro.
29343         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
29344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29345         (INLINE_VSYSCALL): Remove macro.
29346         (INTERNAL_VSYSCALL): Remove macro.
29347         (INTERNAL_VSYSCALL_NCS): Remove macro.
29348         (INTERNAL_VSYSCALL_CALL): New macro.
29349         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
29350         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
29351         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
29352         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
29353         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
29354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29355         (INLINE_VSYSCALL): Remove macro.
29356         (INTERNAL_VSYSCALL): Likewise.
29357         (INTERNAL_VSYSCALL_NCS): Likewise.
29358         (INTERNAL_VSYSCALL_CALL): New macro.
29359         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
29360         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
29361         PTR_DEMANGLE on vDSO pointer.
29362         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
29363         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
29364         macro.
29365         (INTERNAL_SYSCALL): Likewise.
29366         (INTERNAL_VSYSCALL_NCS): Remove macro.
29367         (INTERNAL_VSYSCALL_CALL): New macro.
29368         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
29369         Remove macro.
29370         (INTERNAL_VSYSCALL): Likewise.
29371         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
29372         sysdep-vdso.h instead of libc-vdso.h.
29373         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
29374         definition.
29375         (INLINE_VSYSCALL): Likewise.
29376         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
29377         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
29378         definition.
29379         (INLINE_VSYSCALL): Likewise.
29380         (INTERNAL_VSYSCALL): Likewise.
29381         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
29382         * sysdeps/unix/sysv/linux/timespec_get.c
29383         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
29384         (timespec_get): Use ANSI prototype.
29385         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
29386         and definition for Linux.
29388 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
29390         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
29391         * include/libc-symbols.h: libmvec_hidden_* macro series added.
29393 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
29395         [BZ #2981]
29396         [BZ #18410]
29397         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
29398         for missing DT_PLTRELSZ.
29400 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
29402         Remove obsolete aliases that broke 'locale -a'
29403         [BZ #18412]
29404         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
29405         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
29406         breaking some applications that use 'locale -a' output.
29407         Change the encoding of this file from Latin-1 to ASCII to avoid
29408         other potential problems with people grepping this file.
29410 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29412         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
29413         -fasynchronous-unwind-tables.
29414         (CFLAGS-sendto.c): Likewise.
29415         (CFLAGS-sendmsg.c): Likewise.
29416         (CFLAGS-connect.c): Likewise.
29417         (CFLAGS-recvmsg.c): Likewise.
29418         (CFLAGS-recvfrom.c): Likewise.
29419         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
29420         (SOCKETCALL): New macro: non-cancellable socketcall.
29421         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
29422         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
29423         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
29424         * sysdeps/unix/sysv/linux/accept.c: New file.
29425         * sysdeps/unix/sysv/linux/bind.c: Likewise.
29426         * sysdeps/unix/sysv/linux/connect.c: Likewise.
29427         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
29428         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
29429         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
29430         * sysdeps/unix/sysv/linux/listen.c: Likewise.
29431         * sysdeps/unix/sysv/linux/recv.c: Likewise.
29432         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
29433         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
29434         * sysdeps/unix/sysv/linux/send.c: Likewise.
29435         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
29436         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
29437         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
29438         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
29439         * sysdeps/unix/sysv/linux/socket.c: Likewise.
29440         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
29441         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
29442         prototype.
29443         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
29444         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
29445         instead of __internal_xxx function.
29446         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
29447         prototype.
29448         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
29449         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
29450         instead of __internal_xxx function.
29451         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
29452         prototype.
29453         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
29454         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
29455         instead of __internal_xxx function.
29456         * sysdeps/unix/sysv/linux/accept.S: Remove file.
29457         * sysdeps/unix/sysv/linux/bind.S: Likewise.
29458         * sysdeps/unix/sysv/linux/connect.S: Likewise.
29459         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
29460         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
29461         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
29462         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
29463         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
29464         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
29465         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
29466         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
29467         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29468         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
29469         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
29470         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
29471         * sysdeps/unix/sysv/linux/listen.S: Likewise.
29472         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
29473         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
29474         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
29475         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
29476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
29477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
29478         * sysdeps/unix/sysv/linux/recv.S: Likewise.
29479         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
29480         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
29481         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
29482         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
29483         * sysdeps/unix/sysv/linux/send.S: Likewise.
29484         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
29485         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
29486         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
29487         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
29488         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
29489         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
29490         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
29491         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
29492         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
29493         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
29494         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
29495         socketcall is implemented in GLIBC.
29497 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
29499         * soft-fp/fmadf4.c: Include <libc-internal.h>.
29500         (__fma): Ignore uninitialized warnings around packing.
29501         * soft-fp/fmasf4.c: Include <libc-internal.h>.
29502         (__fmaf): Ignore uninitialized warnings around packing.
29503         * soft-fp/fmatf4.c: Include <libc-internal.h>.
29504         (__fmal): Ignore uninitialized warnings around packing.
29506         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
29507         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
29508         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
29509         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
29511         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
29512         switch statement into default case.
29513         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
29515         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
29516         a conditional in forcing "inexact".
29517         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
29518         Likewise.
29520 2015-05-22  Roland McGrath  <roland@hack.frob.com>
29522         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
29523         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
29524         for each INTERNAL_SYSCALL use.
29526 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
29528         [BZ #438]
29529         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
29530         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
29531         variable.
29533         [BZ #18444]
29534         * string/basename.c (basename): Rename to __basename and define as
29535         weak alias of __basename.  Use libc_hidden_weak.
29536         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
29537         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
29538         __basename instead of basename.
29539         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
29540         Remove variable.
29541         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
29543 2015-05-18  Florian Weimer  <fweimer@redhat.com>
29545         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
29546         (_IO_JUMPS_FILE_plus): New.
29547         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
29548         _IO_CAST_FIELD_ACCESS.
29549         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
29550         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
29551         * libio/freopen.c (freopen): Likewise.
29552         * libio/freopen64.c (freopen64): Likewise.
29553         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
29554         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
29555         * libio/iofwide.c (_IO_fwide): Likewise.
29556         * libio/memstream.c (open_memstream): Likewise.
29557         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
29558         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
29559         * libio/oldiopopen.c (_IO_old_popen): Likewise.
29561 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
29563         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
29564         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
29565         NADJ.
29566         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
29567         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
29568         NADJ.
29569         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
29570         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
29571         NADJ.
29573         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
29574         (p == 4) case.
29576         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
29577         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
29578         Remove variable.
29579         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
29580         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
29581         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
29583 2015-05-21  Florian Weimer  <fweimer@redhat.com>
29585         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
29586         Adjust jump table label generation macros.
29588 2015-05-21  Florian Weimer  <fweimer@redhat.com>
29590         * stdio-common/vfprintf.c (vfprintf): Move local variables
29591         args_malloced, specs, specs_malloced, and the code after
29592         do_positional to the printf_positional function.
29593         (printf_positional): New function.
29595 2015-05-21  Florian Weimer  <fweimer@redhat.com>
29597         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
29598         function.
29599         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
29600         STEP4_TABLE, process_arg): Move macro definitions
29601         out of the vfprintf function.  (Cosmetic change only.)
29603 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
29605         * benchtests/Makefile (stdio-common-bench): Define.
29606         (benchset): Add stdio-common-bench.
29607         * sprintf-inputs: New file.
29608         * sprintf-source.c: New file.
29610 2015-05-21  Andreas Schwab  <schwab@suse.de>
29612         [BZ #13028]
29613         [BZ #17053]
29614         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
29615         of struct __res_state.
29616         * resolv/res_send.c (__libc_res_nsend): Likewise.
29617         (get_nsaddr): New function.
29618         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
29619         statp directly.
29621 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
29623         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
29624         -D_POSIX_C_SOURCE=199506L.
29626         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
29628         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
29629         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
29630         Do not mention otherwise.
29631         [POSIX] (_XOPEN_VERSION): Do not expect.
29632         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
29633         [POSIX] (_POSIX2_C_BIND): Likewise.
29634         [POSIX] (_POSIX2_VERSION): Likewise.
29635         [POSIX] (_XOPEN_XPG2): Likewise.
29636         [POSIX] (_XOPEN_XPG3): Likewise.
29637         [POSIX] (_XOPEN_XPG4): Likewise.
29638         [POSIX] (_XOPEN_UNIX): Likewise.
29639         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
29640         [POSIX] (_POSIX_BARRIERS): Likewise.
29641         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
29642         [POSIX] (_POSIX_CPUTIME): Likewise.
29643         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
29644         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
29645         [POSIX] (_POSIX_SHELL): Likewise.
29646         [POSIX] (_POSIX_SPAWN): Likewise.
29647         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
29648         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
29649         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
29650         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
29651         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
29652         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
29653         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
29654         [POSIX] (_XBS5_LP64_OFF64): Likewise.
29655         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
29656         [POSIX] (_POSIX_TIMEOUTS): Likewise.
29657         [POSIX] (_POSIX2_PBS): Likewise.
29658         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
29659         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
29660         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
29661         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
29662         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
29663         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
29664         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
29665         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
29666         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
29667         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
29668         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
29669         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
29670         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
29671         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
29672         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
29673         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
29674         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
29675         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
29676         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
29677         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
29678         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
29679         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
29680         [POSIX] (_SC_2_C_BIND): Likewise.
29681         [POSIX] (_SC_2_C_VERSION): Likewise.
29682         [POSIX] (_SC_2_PBS): Likewise.
29683         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
29684         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
29685         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
29686         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
29687         [POSIX] (_SC_2_PBS_TRACK): Likewise.
29688         [POSIX] (_SC_ATEXIT_MAX): Likewise.
29689         [POSIX] (_SC_BARRIERS): Likewise.
29690         [POSIX] (_SC_BASE): Likewise.
29691         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
29692         [POSIX] (_SC_DEVICE_IO): Likewise.
29693         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
29694         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
29695         [POSIX] (_SC_FD_MGMT): Likewise.
29696         [POSIX] (_SC_FIFO): Likewise.
29697         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
29698         [POSIX] (_SC_FILE_LOCKING): Likewise.
29699         [POSIX] (_SC_FILE_SYSTEM): Likewise.
29700         [POSIX] (_SC_IOV_MAX): Likewise.
29701         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
29702         [POSIX] (_SC_NETWORKING): Likewise.
29703         [POSIX] (_SC_PAGE_SIZE): Likewise.
29704         [POSIX] (_SC_PASS_MAX): Likewise.
29705         [POSIX] (_SC_PIPE): Likewise.
29706         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
29707         [POSIX] (_SC_REGEXP): Likewise.
29708         [POSIX] (_SC_SHELL): Likewise.
29709         [POSIX] (_SC_SIGNALS): Likewise.
29710         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
29711         [POSIX] (_SC_SPIN_LOCKS): Likewise.
29712         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
29713         [POSIX] (_SC_USER_GROUPS): Likewise.
29714         [POSIX] (_SC_USER_GROUPS_R): Likewise.
29715         [POSIX] (_SC_STREAMS): Likewise.
29716         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
29717         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
29718         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
29719         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
29720         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
29721         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
29722         [POSIX] (_PC_FILESIZEBITS): Likewise.
29723         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
29724         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
29725         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
29726         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
29727         [POSIX] (uid_t): Likewise.
29728         [POSIX] (gid_t): Likewise.
29729         [POSIX] (off_t): Likewise.
29730         [POSIX] (pid_t): Likewise.
29731         [POSIX] (cuserid): Allow.
29732         (_SC_2_CHAR_TERM): Require constant.
29733         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
29734         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
29735         variable.
29737 2015-05-20  Roland McGrath  <roland@hack.frob.com>
29739         * sysdeps/nacl/pthread-pids.h: New file.
29740         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
29741         (create_thread): Use __nacl_get_tid to initialize PD->tid.
29743         * nptl/pthread-pids.h: New file.
29744         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
29745         * nptl/nptl-init.c: Include <pthread-pids.h>.
29746         (__pthread_initialize_minimal_internal):
29747         Call __pthread_initialize_pids instead of set_tid_address syscall.
29749         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
29750         * sysdeps/posix/usleep.c: ... here.
29752 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29754         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
29755         call_pselect6 object.
29756         [$(subdir) = io]: Remove call_sync_file_range object.
29757         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
29758         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
29759         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
29760         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
29762 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
29764         * math/s_cproj.c: Add include "math_private.h".
29765         * math/s_cprojf.c: Likewise.
29766         * math/s_cprojl.c: Likewise.
29768 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
29770         [BZ #18244]
29771         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
29772         high mantissa bit when testing whether P is a NaN.
29773         * math/libm-test.inc (remainder_test_data): Add more tests.
29774         (remquo_test_data): Likewise.
29776         [BZ #18049]
29777         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
29778         below -32, return the argument, with underflow if subnormal.
29779         * math/auto-libm-test-in: Add more tests of atanh.
29780         * math/auto-libm-test-out: Regenerated.
29782 2015-05-19  Roland McGrath  <roland@hack.frob.com>
29784         [BZ #18434]
29785         * nptl/tst-sem15.c: New file.
29786         * nptl/Makefile (tests): Add it.
29787         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
29788         s/<</>>/ to fix typo in EOVERFLOW check.
29789         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
29791 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29793         * manual/strings.texi (envz_remove): Fix typo in safety
29794         annotations.
29796 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
29797             Steve Ellcey  <sellcey@imgtec.com>
29799         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
29800         in order to avoid strict alias warnings.
29801         (iruserok_af): Ditto for ra.
29803 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
29805         [BZ #17581]
29806         * malloc/hooks.c
29807         (magicbyte): Convert to a function and avoid returning 0x01.
29808         (mem2mem_check): Avoid using a length byte equal to the magic byte.
29809         (mem2chunk_check): Fix unsigned comparisons to zero.
29810         Hoist defs of sz and magic.
29812 2015-05-19  Richard Henderson  <rth@redhat.com>
29814         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
29816         * sysdeps/alpha/fpu/libm-test-ulps: Update.
29818 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29820         [BZ #16159]
29821         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
29822         * malloc/arena.c (arena_lock): Check if arena is corrupt.
29823         (reused_arena): Find a non-corrupt arena.
29824         (heap_trim): Pass arena to unlink.
29825         * malloc/hooks.c (malloc_check_get_size): Pass arena to
29826         malloc_printerr.
29827         (top_check): Likewise.
29828         (free_check): Likewise.
29829         (realloc_check): Likewise.
29830         * malloc/malloc.c (malloc_printerr): Add arena argument.
29831         (unlink): Likewise.
29832         (munmap_chunk): Adjust.
29833         (ARENA_CORRUPTION_BIT): New macro.
29834         (arena_is_corrupt): Likewise.
29835         (set_arena_corrupt): Likewise.
29836         (sysmalloc): Use mmap if there are no usable arenas.
29837         (_int_malloc): Likewise.
29838         (__libc_malloc): Don't fail if arena_get returns NULL.
29839         (_mid_memalign): Likewise.
29840         (__libc_calloc): Likewise.
29841         (__libc_realloc): Adjust for additional argument to
29842         malloc_printerr.
29843         (_int_free): Likewise.
29844         (malloc_consolidate): Likewise.
29845         (_int_realloc): Likewise.
29846         (_int_memalign): Don't touch corrupt arenas.
29847         * malloc/tst-malloc-backtrace.c: New test case.
29849         * Makefile (summarize-tests): Fix return value on success.
29851         * manual/string.texi (Envz Functions): Add envz_remove.
29853 2015-05-18  Roland McGrath  <roland@hack.frob.com>
29855         * sysdeps/posix/opendir.c: Include <stdbool.h>.
29856         (invalid_name): New function, broken out of ...
29857         (__opendirat): ... here.  Call it.
29858         (need_isdir_precheck): New function, broken out of ...
29859         (__opendirat): ... here.  Call it.
29860         Use __fxstatat64, not __xstatat64.
29861         (opendir_oflags): New function, broken out of ...
29862         (__opendirat): ... here.  Call it.
29863         (opendir_tail): New function, broken out of ...
29864         (__opendirat): ... here.  Call it.
29865         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
29866         opendir_tail, rather than punting to __opendirat.
29867         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
29869 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29871         * .gitignore: Ignore generated *.pyc.
29873 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
29875         * include/stdio.h: Define __need_wint_t.
29876         * test-skeleton.c: Avoid `for' loop initial declaration.
29877         * nptl/tst-initializers1.c: Use test-skeleton.c.
29879 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29881         [BZ #18418]
29882         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
29884 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
29886         [BZ #16352]
29887         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
29888         (__ieee754_atanh): Force underflow exception for results with
29889         small absolute value.
29890         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
29891         (__ieee754_atanhf): Force underflow exception for results with
29892         small absolute value.
29893         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
29894         (__ieee754_atanh): Force underflow exception for results with
29895         small absolute value.
29896         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
29897         (__ieee754_atanhf): Force underflow exception for results with
29898         small absolute value.
29899         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
29900         (__ieee754_atanhl): Force underflow exception for results with
29901         small absolute value.
29902         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
29903         (__ieee754_atanhl): Force underflow exception for results with
29904         small absolute value.
29905         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
29906         (__ieee754_atanhl): Force underflow exception for results with
29907         small absolute value.
29908         * math/auto-libm-test-in: Do not allow missing underflow
29909         exceptions from atanh.
29910         * math/auto-libm-test-out: Regenerated.
29912         [BZ #18221]
29913         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
29914         2**-28 as threshold for returning x or +/- 1/x.
29915         * math/auto-libm-test-in: Add more tests of tan.
29916         * math/auto-libm-test-out: Regenerated.
29918         [BZ #18220]
29919         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
29920         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
29921         * math/auto-libm-test-in: Add another test of lgamma.
29922         * math/auto-libm-test-out: Regenerated.
29924 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
29926         * stdio-common/printf_fp.c (___printf_fp): Use abs.
29927         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
29928         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
29929         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
29930         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
29931         (ADD2A): Use fabs.  (SUB2A): Use fabs.
29932         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
29933         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
29934         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
29935         (log1): Use fabs.  (my_log2): Use fabs.
29936         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
29937         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
29938         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
29939         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
29940         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
29941         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
29942         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
29943         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
29944         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
29945         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
29946         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
29948 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
29950         [BZ #18217]
29951         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
29952         as threshold for returning 1 - x.
29953         * math/auto-libm-test-in: Add more tests of erfc.
29954         * math/auto-libm-test-out: Regenerated.
29956 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
29958         [BZ #18196]
29959         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
29960         threshold for large arguments.
29961         * math/auto-libm-test-in: Add another test of atan.
29962         * math/auto-libm-test-out: Regenerated.
29964         [BZ #16339]
29965         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
29966         (__log1p): Force underflow exception for results with small
29967         absolute value.
29968         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
29969         (__log1pf): Force underflow exception for results with small
29970         absolute value.
29971         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
29972         (__log1p): Force underflow exception for results with small
29973         absolute value.
29974         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
29975         (__log1pf): Force underflow exception for results with small
29976         absolute value.
29977         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
29978         (__log1pl): Force underflow exception for results with small
29979         absolute value.
29980         * math/auto-libm-test-in: Do not allow missing underflow
29981         exceptions from log1p.
29982         * math/auto-libm-test-out: Regenerated.
29984 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
29985             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29987         [BZ #16704]
29988         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
29990 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
29992         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
29993         (libmvec): New variable.
29994         * configure.ac: Added option for mathvec build.
29995         * configure: Regenerated.
29996         * mathvec/Depend: New file.
29997         * mathvec/Makefile: New file.
29998         * shlib-versions: Added libmvec.
29999         * math/Makefile: Added rule for libm.so installation.
30001         * bits/math-vector.h: New file.
30002         * bits/libm-simd-decl-stubs.h: New header.
30003         * math/Makefile (headers): Added new header
30004         libm-simd-decl-stubs.h.
30005         * math/math.h (__MATHCALL_VEC): New macro.
30007         * math/gen-libm-have-vector-test.sh: Script generates series of macros
30008         for conditions in testing functions.
30009         * math/Makefile: Added call of libm-have-vector-test.sh.
30010         * math/libm-test.inc (HAVE_VECTOR): New macros.
30012         * math/libm-test.inc: START refactored.
30013         * math/test-double.c (TEST_MATHVEC): Add define.
30014         * math/test-float.c: Likewise.
30015         * math/test-idouble.c: Likewise.
30016         * math/test-ifloat.c: Likewise.
30017         * math/test-ildoubl.c: Likewise.
30018         * math/test-ldouble.c: Likewise.
30019         * sysdeps/generic/math-tests-arch.h
30020         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
30021         architecture check.
30023         * math/test-double.c (FUNC_TEST): New macro.
30024         * math/test-float.c: Likewise.
30025         * math/test-idouble.c: Likewise.
30026         * math/test-ifloat.c: Likewise.
30027         * math/test-ildoubl.c: Likewise.
30028         * math/test-ldouble.c: Likewise.
30029         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
30031 2015-05-13  Roland McGrath  <roland@hack.frob.com>
30033         * sysdeps/nacl/fdopendir.c: New file.
30035         * dirent/scandir-tail.c: New file.
30036         * dirent/scandir64-tail.c: New file.
30037         * dirent/Makefile (routines): Add them.
30038         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
30039         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
30040         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
30041         [!SCANDIR] (SCANDIR_TAIL): New macro.
30042         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
30043         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
30044         (SCANDIRAT): Macro removed.
30045         (SCANDIR_TAIL): New macro.
30046         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
30047         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
30048         (SCANDIRAT): Just call __opendirat and __scandir_tail.
30049         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
30050         (READDIR): Macro removed.
30051         (SCANDIR_TAIL): New macro.
30052         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
30053         (SCANDIR_TAIL): New macro.
30055         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
30056         * dirent/scandir-cancel.c: ... to this new file.
30057         * dirent/Makefile (routines): Add it.
30058         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
30059         * sysdeps/unix/sysv/linux/i386/scandir64.c
30060         (SKIP_SCANDIR_CANCEL): Macro removed.
30061         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
30063         * dirent/tst-scandir.c: New file.
30064         * dirent/tst-scandir64.c: New file.
30065         * dirent/Makefile (tests): Add them.
30067 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
30069         [BZ #18409]
30070         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
30072 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30074         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
30075         list.
30077 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
30079         * benchtests/bench-strcoll.c: New benchmark.
30080         * benchtests/Makefile: Generate locales and run benchmark.
30081         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
30082         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
30083         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
30084         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
30085         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
30086         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
30087         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
30088         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
30089         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
30090         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
30091         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
30092         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
30093         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
30094         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
30095         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
30096         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
30097         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
30098         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
30099         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
30100         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
30101         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
30102         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
30103         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
30104         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
30106 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
30108         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
30109         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30111 2015-05-12  Roland McGrath  <roland@hack.frob.com>
30113         * posix/uname-values.h: New file.
30114         * posix/uname.c: Include that instead of <config-name.h>.
30115         * sysdeps/nacl/uname-values.h: New file.
30116         * sysdeps/arm/nacl/uname-values.h: New file.
30118 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
30120         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
30121         splitting into fields.
30123 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
30125         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
30126         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
30127         * locale/localeinfo.h: Add enum collation_encoding_type.
30128         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
30129         * programs/ld-collate.c (collate_output): Add encoding type info.
30130         * string/strcoll_l.c (STRDIFF): New function.
30131         * (STRCOLL): Use STRDIFF to skip over equal prefix.
30132         * wcsmbs/wcscoll_l.c: Define STRDIFF.
30134 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
30136         [BZ #18397]
30137         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
30138         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
30139         <fpu_control.h> instead of <math/fpu_control.c>.
30140         * sysdeps/mips/mips32/fpu/Makefile: New file.
30142 2015-05-11  Andreas Schwab  <schwab@suse.de>
30144         [BZ #18007]
30145         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
30146         nss_endgrent.
30147         (_nss_compat_endgrent): Call nss_endgrent.
30148         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
30149         nss_endpwent.
30150         (_nss_compat_endpwent): Call nss_endpwent.
30151         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
30152         needent, call nss_setspent only if non-zero.
30153         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
30154         (internal_endspent): Don't call nss_endspent.
30155         (_nss_compat_endspent): Call nss_endspent.
30156         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
30157         Remove.  All uses removed.
30158         (internal_setent): Remove parameter stayopen, add parameter
30159         stream.  Use it instead of global variable.
30160         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
30161         (internal_endent, internal_getent): Add parameter stream.  Use it
30162         instead of global variable.
30163         (CONCAT(_nss_files_end,ENTNAME))
30164         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
30165         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
30166         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
30167         uses removed.
30168         (internal_setent, internal_endent): Add parameter stream.  Use it
30169         instead of global variable.
30170         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
30171         stream.
30172         (get_next_alias): Add parameter stream.
30173         (_nss_files_getaliasent_r): Pass global stream.
30174         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
30175         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
30176         (_nss_files_gethostbyname4_r): Pass local stream to
30177         internal_setent, internal_getent and internal_endent.  Remove
30178         locking.
30180 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
30182         * tst-strfmon1.c (tests): Update expected currency symbol.
30184 2015-05-08  Roland McGrath  <roland@hack.frob.com>
30186         * sysdeps/nacl/gethostname.c: New file.
30188 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
30190         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
30191         and sinh.
30192         * math/auto-libm-test-out: Regenerated.
30193         * sysdeps/i386/fpu/libm-test-ulps: Update.
30194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30196 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
30198         [BZ #18125]
30199         * stdlib/tst-setcontext3.c: New file.
30200         * stdlib/tst-setcontext3.sh: New file.
30201         * stdlib/Makefile (tests): Add tst-setcontext3.
30202         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
30203         to verify test program created output file.
30204         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
30205         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
30206         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
30207         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
30209 2015-05-06  Roland McGrath  <roland@hack.frob.com>
30211         [BZ #18383]
30212         * elf/tst-tlsalign.c: New file.
30213         * elf/tst-tlsalign-static.c: New file.
30214         * elf/tst-tlsalign-lib.c: New file.
30215         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
30216         (tests-static): Add tst-tlsalign-static.
30217         (modules-names): Add tst-tlsalign-lib.
30218         (test-xfail-tst-tlsalign): New variable.
30219         (test-xfail-tst-tlsalign-static): New variable.
30221         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
30222         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
30224 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
30226         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
30227         csqrt, erfc, sin and sincos.
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-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30234         * sysdeps/aarch64/libm-test-ulps: Update.
30236 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
30238         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
30239         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
30240         * math/auto-libm-test-out: Regenerated.
30241         * sysdeps/i386/fpu/libm-test-ulps: Update.
30242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30244 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
30246         [BZ #18265]
30247         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
30248         (wcsncpy): Likewise.
30250 2015-05-05  Florian Weimer  <fweimer@redhat.com>
30252         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
30253         Assume __ASSUME_FALLOCATE is always true.
30254         * sysdeps/unix/sysv/linux/posix_fallocate64.c
30255         (__posix_fallocate64_l64): Likewise.
30256         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
30257         (posix_fallocate): Likewise.
30258         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
30259         (__posix_fallocate64_l64): Likewise.
30260         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30261         [!__ASSUME_FALLOCATE]: Add comment.
30263 2015-05-05  Florian Weimer  <fweimer@redhat.com>
30265         * sysdeps/unix/sysv/linux/i386/Makefile
30266         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
30267         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
30268         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
30269         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30270         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30271         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
30272         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
30274 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
30276         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
30277         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
30278         tgamma.
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 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
30285         * math/auto-libm-test-in: Add more tests of tgamma.
30286         * math/auto-libm-test-out: Regenerated.
30287         * sysdeps/i386/fpu/libm-test-ulps: Update.
30288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30290         * math/auto-libm-test-in: Add more tests of tanh.
30291         * math/auto-libm-test-out: Regenerated.
30292         * sysdeps/i386/fpu/libm-test-ulps: Update.
30293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30295         * math/auto-libm-test-in: Add more tests of tan.
30296         * math/auto-libm-test-out: Regenerated.
30297         * sysdeps/i386/fpu/libm-test-ulps: Update.
30298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30300         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
30301         * math/auto-libm-test-out: Regenerated.
30302         * sysdeps/i386/fpu/libm-test-ulps: Update.
30303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30305         * math/auto-libm-test-in: Add another test of pow.
30306         * math/auto-libm-test-out: Regenerated.
30307         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30309         * math/auto-libm-test-in: Add more tests of lgamma.
30310         * math/auto-libm-test-out: Regenerated.
30311         * sysdeps/i386/fpu/libm-test-ulps: Update.
30312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30314         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
30315         log1p.
30316         * math/auto-libm-test-out: Regenerated.
30317         * sysdeps/i386/fpu/libm-test-ulps: Update.
30318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30320 2015-05-01  Mark Wielaard  <mjw@redhat.com>
30322         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
30323         Elf64_Chdr structs and ELFCOMPRESS constants.
30325 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
30327         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
30328         expm1.
30329         * math/auto-libm-test-out: Regenerated.
30330         * sysdeps/i386/fpu/libm-test-ulps: Update.
30331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30333         * math/auto-libm-test-in: Add more tests of erf and erfc.
30334         * math/auto-libm-test-out: Regenerated.
30335         * sysdeps/i386/fpu/libm-test-ulps: Update.
30336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30338 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30340         * config.h.in (HAVE_AARCH64_BE): Add.
30342 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
30344         * math/auto-libm-test-in: Add more tests of csqrt.
30345         * math/auto-libm-test-out: Regenerated.
30346         * sysdeps/i386/fpu/libm-test-ulps: Update.
30347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30349         * math/auto-libm-test-in: Add more tests of cosh and sinh.
30350         * math/auto-libm-test-out: Regenerated.
30351         * sysdeps/i386/fpu/libm-test-ulps: Update.
30352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30354         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
30356 2015-04-29  Roland McGrath  <roland@hack.frob.com>
30358         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
30359         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
30361         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
30362         (euidaccess, eaccess): Define as weak aliases.
30364         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
30365         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
30366         but __suseconds_t is often 'long int' so some sources assume that
30367         type is being used (e.g. they use %ld to print tv_usec).
30369 2015-04-29  Florian Weimer  <fweimer@redhat.com>
30371         [BZ #18007]
30372         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
30373         (CVE-2014-8121)
30374         * nss/tst-nss-getpwent.c: New file.
30375         * nss/Makefile (tests): Add new test.
30377 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
30379         [BZ #18346]
30380         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
30381         exponents less than 48 as cases where high part of mantissa needs
30382         examining to determine whether argument is integral.
30383         * math/libm-test.inc (round_test_data): Add more tests.
30385 2015-04-28  Mark Wielaard  <mjw@redhat.com>
30387         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
30389 2015-04-27  David S. Miller  <davem@davemloft.net>
30391         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
30392         __tls_get_addr.
30393         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
30395 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
30397         [BZ#18333]
30398         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
30400 2015-04-27  Florian Weimer  <fweimer@redhat.com>
30402         [BZ#18333]
30403         * time/tzset.c (parse_tzname): Return error on memory allocation
30404         failure.
30405         * test-skeleton.c (struct temp_name_list): Change type of name
30406         member to non-const.
30407         (add_temp_file): Create a copy of the file name.
30408         (delete_temp_files): Deallocate memory.
30409         (create_temp_file): Add comment.
30411 2015-04-24  Florian Weimer  <fweimer@redhat.com>
30413         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
30414         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
30416 2015-04-24  Roland McGrath  <roland@hack.frob.com>
30418         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
30419         * sysdeps/arm/configure: Regenerated.
30421 2015-04-24  Florian Weimer  <fweimer@redhat.com>
30423         [BZ #17715]
30424         * time/tzfile.c (__tzfile_read): Check for large values of
30425         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
30426         * time/tzset.c (__tzstring_len): New function, based on the old
30427         __tzstring function.
30428         (__tzstring): Call __tzstring_len.
30429         (parse_tzname): New helper function extracted from
30430         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
30431         the input string.
30432         (parse_offset): New helper function extracted from
30433         __tzset_parse_tz.  Replace switch with fallthrough with
30434         initialization before sscanf.
30435         (parse_rule): Likewise.
30436         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
30437         new-style function definition.
30438         * timezone/Makefile (tests): Add tst-tzset.
30439         (tst-tzset.out): Dependencies on time zone files.
30440         (tst-tzset-ENV): Set TZDIR.
30441         (testdata/XT%): Copy crafted time zone files.
30442         * timezone/README: Mention crafted time zone files.
30443         * timezone/testdata/XT1, timezone/testdata/XT2,
30444         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
30445         files.
30446         * timezone/tst-tzset.c: New test.
30448 2015-04-24  Florian Weimer  <fweimer@redhat.com>
30450         * Makeconfig (+gccwarn): Remove -Winline.
30452 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
30454         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
30456 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
30458         * NEWS: Mention sysconf() cache information support for s390.
30459         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
30461 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
30463         * math/k_casinh.c (__kernel_casinh): Use __copysign.
30464         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
30465         (__nearbyint): Likewise.
30466         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
30467         (copysignl): Likewise.
30469 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
30471         [BZ #18287]
30472         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
30473         based on padding.  (CVE-2015-1781)
30475 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30477         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
30478         libc-vdso.h.
30479         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
30480         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
30481         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
30482         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
30483         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
30484         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
30485         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
30486         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
30487         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
30488         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
30489         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
30490         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30491         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
30492         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
30493         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
30494         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
30495         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
30496         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
30497         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
30498         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
30499         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
30500         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
30501         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
30503 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
30505         * stdlib/setenv.c (__add_to_environ):
30506         Dump core quickly if setenv (..., NULL, ...) is called.
30507         This time, do it the right way, and pacify GCC with a pragma.
30509 2015-04-17  Roland McGrath  <roland@hack.frob.com>
30511         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
30512         IMAP->l_prev cannot be null, and #if out the code for the contrary
30513         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
30514         believe that NS (&_dl_ns[NSID]) could point outside the array.
30516         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
30517         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
30518         before using NSID as an index.
30520 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
30522         [BZ #17825]
30523         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
30524         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
30525         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
30527 2015-04-17  Roland McGrath  <roland@hack.frob.com>
30529         Add preliminary port to Google Native Client on ARM.
30530         * abi-tags (.*-.*-nacl.*): New entry.
30531         * sysdeps/arm/nacl: New directory.
30532         * sysdeps/nacl: New directory.
30534 2015-04-16  David S. Miller  <davem@davemloft.net>
30536         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
30537         lowlevellock-futex.h
30539 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
30541         * sysdeps/tile/configure.ac: New file.
30542         * sysdeps/tile/configure: Regenerated.
30544 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30546         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
30547         conditionals for weak_alias and libc_hidden_weak.
30548         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
30549         libc_hidden_weak and weak_alias.
30550         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
30551         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
30552         and weak_alias for static one.
30554 2015-04-15  David S. Miller  <davem@davemloft.net>
30556         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
30558 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30560         [BZ #18206]
30561         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
30562           Use signed comparision instead of substraction to avoid
30563           overflow bug.
30564         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
30565           Take the sign of ret.
30566         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
30567           Do not expect precise return values. Only the sign matters.
30568         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
30569         * wcsmbs/test-wcsncmp.c: New File.
30570         * string/test-strncmp.c: Add wcsncmp support.
30572 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30574         [BZ #6792]
30575         * math/w_log1p.c: New file.
30576         * math/w_log1pf.c: Likewise.
30577         * math/w_log1pl.c: Likewise.
30578         * math/Makefile (libm-calls): Add w_log1p.
30579         * math/s_log1pl.c (log1pl): Remove weak_alias.
30580         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
30581         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
30582         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
30583         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
30584         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
30585         [NO_LONG_DOUBLE] (log1pl): Likewise.
30586         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
30587         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
30588         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
30589         (log1p): Remove long_double_symbol.
30590         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
30591         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
30592         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
30593         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
30594         remove weak_alias for corresponding log1p function.
30595         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
30596         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
30597         * sysdeps/ia64/fpu/w_log1p.c: New file.
30598         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
30599         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
30600         * math/libm-test.inc (log1p_test_data): Add errno expectations.
30602 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
30604         [BZ #18247]
30605         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
30606         decimal exponent by 1.
30607         * stdlib/tst-strtod-round-data: Add more tests.
30608         * stdlib/tst-strtod-round.c (tests): Regenerated.
30610 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
30612         * math/auto-libm-test-in: Add more tests of clog and clog10.
30613         * math/auto-libm-test-out: Regenerated.
30614         * sysdeps/i386/fpu/libm-test-ulps: Update.
30615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30617 2015-04-09  Roland McGrath  <roland@hack.frob.com>
30619         * Makeconfig (module-cppflags): Exclude all .v.i files.
30620         (skip-module-cppflags): Variable removed.
30622         * configure.ac (libc_config_ok): Initialize before reading
30623         preconfigure scripts, not after.
30624         * configure: Regenerated.
30626         * test-skeleton.c (TIMEOUT): Move #define to top level.
30627         (main): Grok environment variable TEST_DIRECT.  If set, print
30628         test expectation details into that file and then behave as if
30629         given --direct.
30631 2015-04-09  Florian Weimer  <fweimer@redhat.com>
30633         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
30634         warning on 32-bit.
30636 2015-04-08  David S. Miller  <davem@davemloft.net>
30638         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30640 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
30642         * math/auto-libm-test-in: Add more tests of atanh.
30643         * math/auto-libm-test-out: Regenerated.
30644         * sysdeps/i386/fpu/libm-test-ulps: Update.
30645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30647         * math/auto-libm-test-in: Add more tests of atan.
30648         * math/auto-libm-test-out: Regenerated.
30649         * sysdeps/i386/fpu/libm-test-ulps: Update.
30650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30652 2015-04-08  Florian Weimer  <fweimer@redhat.com>
30654         * elf/pldd.c (main): Rewrite to use struct
30655         scratch_buffer instead of extend_alloca.
30656         * elf/pldd-xx.c (find_maps): Likewise.
30657         * grp/initgroups.c: Include <scratch_buffer.h> instead of
30658         <alloca.h>.
30659         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
30660         scratch_buffer instead of extend_alloca.
30661         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
30662         grp/compat-initgroups.c.
30663         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
30664         Rewrite to use struct scratch_buffer instead of extend_alloca.
30665         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
30666         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30668 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
30670         * math/auto-libm-test-in: Add more tests of cbrt.
30671         * math/auto-libm-test-out: Regenerated.
30672         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30674         * math/auto-libm-test-in: Add more tests of cabs.
30675         * math/auto-libm-test-out: Regenerated.
30676         * sysdeps/i386/fpu/libm-test-ulps: Update.
30677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30679         [BZ #18210]
30680         [BZ #18211]
30681         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
30682         (__ieee754_atan2): Set FE_TONEAREST mode for internal
30683         computations.
30684         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
30685         clog10.
30686         * math/auto-libm-test-out: Regenerated.
30687         * sysdeps/i386/fpu/libm-test-ulps: Update.
30688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30690         [BZ #18197]
30691         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
30692         (atan): Set FE_TONEAREST mode for internal computations.
30693         * math/auto-libm-test-in: Add more tests of atan.
30694         * math/auto-libm-test-out: Regenerated.
30696 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
30698         [BZ #17930]
30699         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
30701 2015-04-07  Florian Weimer  <fweimer@redhat.com>
30703         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
30705 2015-04-07  Florian Weimer  <fweimer@redhat.com>
30707         * include/scratch_buffer.h: New file.
30708         * malloc/scratch_buffer_grow.c: Likewise.
30709         * malloc/scratch_buffer_grow_preserve.c: Likewise.
30710         * malloc/scratch_buffer_set_array_size.c: Likewise.
30711         * malloc/tst-scratch_buffer.c: Likewise.
30712         * malloc/Makefile (routines): Add scratch_buffer_grow.
30713         (tests): Add test case.
30714         * malloc/Versions (GLIBC_PRIVATE): Export
30715         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
30716         __libc_scratch_buffer_set_array_size.
30718 2015-04-06  Richard Henderson  <rth@redhat.com>
30720         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
30721         * sysdeps/alpha/fpu/libm-test-ulps: Update.
30723         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
30724         unsigned int before printing.
30726 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30728         [BZ #17596]
30729         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
30730         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
30732 2015-04-02  Florian Weimer  <fweimer@redhat.com>
30734         * include/libc-internal.h (libc_max_align_t): Define.
30736 2015-04-02  Andreas Schwab  <schwab@suse.de>
30738         [BZ #16850]
30739         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
30741 2015-04-02  Mel Gorman  <mgorman@suse.de>
30743         [BZ #17195]
30744         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
30745         as well as the main arena.
30747 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
30749         [BZ #18185]
30750         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
30751         sharing L2 cache to 2 for Silvermont/Knights Landing.
30753 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
30755         [BZ #17711]
30756         * config.make.in (have-protected-data): New.
30757         * configure.ac: Check linker support for protected data symbol.
30758         * configure: Regenerated.
30759         * elf/Makefile (modules-names): Add tst-protected1moda and
30760         tst-protected1modb if $(have-protected-data) is yes.
30761         (tests): Add tst-protected1a and tst-protected1b if
30762         $(have-protected-data) is yes.
30763         ($(objpfx)tst-protected1a): New.
30764         ($(objpfx)tst-protected1b): Likewise.
30765         (tst-protected1modb.so-no-z-defs): Likewise.
30766         * elf/tst-protected1a.c: New file.
30767         * elf/tst-protected1b.c: Likewise.
30768         * elf/tst-protected1mod.h: Likewise.
30769         * elf/tst-protected1moda.c: Likewise.
30770         * elf/tst-protected1modb.c: Likewise.
30772 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
30774         [BZ #17711]
30775         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
30776         indicates it is called from do_lookup_x on relocation against
30777         protected data, skip the data definion in the executable from
30778         copy reloc.
30779         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
30780         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
30781         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
30782         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
30783         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
30784         otherwise to 0.
30785         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
30786         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
30787         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
30788         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
30789         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
30790         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
30792 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
30794         * sysdeps/nptl/pthread.h: Remove duplicate definition of
30795         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
30797 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
30799         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
30800         THREAD_SETMEM_NC.
30801         * sysdeps/x86_64/nptl/tls.h: Ditto.
30803 2015-03-27  Roland McGrath  <roland@hack.frob.com>
30805         * dlfcn/tststatic.c (main): Converted to ...
30806         (do_test): ... this.
30807         (TEST_FUNCTION): New macro.
30808         Include test-skeleton.c.
30810 2015-03-26  Alan Modra  <amodra@gmail.com>
30812         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
30813         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
30814         zero for undefined weak.
30815         (elf_machine_plt_conflict): Similarly.
30817 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
30819         * math/auto-libm-test-in: Add more tests of acosh, asinh and
30820         atanh.
30821         * math/auto-libm-test-out: Regenerated.
30822         * sysdeps/i386/fpu/libm-test-ulps: Update.
30823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30825         * math/auto-libm-test-in: Add another test of asin.
30826         * math/auto-libm-test-out: Regenerated.
30827         * sysdeps/i386/fpu/libm-test-ulps: Update.
30828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30830         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
30831         Remove macro.
30832         (LLL_EBX_REG): Likewise.
30833         (LLL_ENTER_KERNEL): Likewise.
30835         * math/auto-libm-test-in: Add more tests of asin.
30836         * math/auto-libm-test-out: Regenerated.
30837         * sysdeps/i386/fpu/libm-test-ulps: Update.
30838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30840         [BZ #18138]
30841         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
30842         libc_do_syscall_args): New structure.
30843         (INTERNAL_SYSCALL_MAIN_0): New macro.
30844         (INTERNAL_SYSCALL_MAIN_1): Likewise.
30845         (INTERNAL_SYSCALL_MAIN_2): Likewise.
30846         (INTERNAL_SYSCALL_MAIN_3): Likewise.
30847         (INTERNAL_SYSCALL_MAIN_4): Likewise.
30848         (INTERNAL_SYSCALL_MAIN_5): Likewise.
30849         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
30850         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
30851         Replace conditional definitions by conditional definitions of ....
30852         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
30853         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
30854         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
30855         (libpthread-sysdep_routines): Add libc-do-syscall.
30856         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
30857         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
30858         to __NR_futex not 240.
30860 2015-03-25  Alan Modra  <amodra@gmail.com>
30862         * NEWS: Advertise TLS optimization.
30863         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
30864         (DT_PPC_NUM): Increment.
30865         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
30866         (CHECK_STATIC_TLS): Use here.
30867         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
30868         TLS descriptors.
30869         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30870         * sysdeps/powerpc/dl-tls.c: New file.
30871         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
30872         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
30873         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
30874         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
30875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
30876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
30877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
30879 2015-03-25  Alan Modra  <amodra@gmail.com>
30881         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
30882         for overlapping .opd entries" to "support...".
30883         * sysdeps/powerpc/powerpc64/configure: Regenerate
30885 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
30887         * math/auto-libm-test-in: Add more tests of acos.
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         * math/auto-libm-test-in: Add more tests of expm1.
30893         * math/auto-libm-test-out: Regenerated.
30894         * sysdeps/i386/fpu/libm-test-ulps: Update.
30895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30897 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
30899         * math/auto-libm-test-in: Add more tests of cosh and sinh.
30900         * math/auto-libm-test-out: Regenerated.
30901         * sysdeps/i386/fpu/libm-test-ulps: Update.
30902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30904         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30907         * math/auto-libm-test-in: Add more tests of log2.
30908         * math/auto-libm-test-out: Regenerated.
30909         * sysdeps/i386/fpu/libm-test-ulps: Update.
30910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30912 2015-03-23  Roland McGrath  <roland@hack.frob.com>
30914         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
30915         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
30916         _IO_IS_APPENDING bit in READ_WRITE instead.
30918 2015-03-23  Florian Weimer  <fweimer@redhat.com>
30920         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
30921         (__determine_cpumask_size): Replace extend_alloca with a
30922         variable-length array.  Do not treat res == 0 as an error.
30924 2015-03-23  Florian Weimer  <fweimer@redhat.com>
30926         [BZ #18100]
30927         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
30928         and integer overflow.
30929         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
30930         (main): Add integer overflow tests.
30931         * manual/pattern.texi (Calling Wordexp): Document additional use
30932         for WRDE_SYNTAX.
30934 2015-03-23  Alan Modra  <amodra@gmail.com>
30936         * config.h.in: Remove HAVE_ASM_PPC_REL16.
30937         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
30938         and false branch of conditional.
30939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
30940         Likewise.
30942 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
30944         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
30945         libc-modules.h
30946         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
30947         unused declaration of _hurd_intr_rpc_msg_in_trap.
30948         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
30949         defined instead of whether it is non-zero.
30950         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
30951         input constraint instead of both input and output constraint.  Use ecx
30952         clobber instead of %ecx.
30953         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
30954         mutex_unlock): Use a statement expression instead of an expression list.
30955         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
30956         type to vm_size_t instead of vm_address_t.
30957         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
30958         defined instead of whether it is non-zero.
30959         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
30960         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
30961         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
30962         comparisons with mapaddr.
30963         * nscd/nscd-client.h: Include <time.h>.
30964         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
30965         9th parameter to __vm_region instead of int.
30966         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
30967         * scripts/check-local-headers.sh (exclude): Add device/,
30968         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
30969         cthreads.h.
30971 2015-03-19  Roland McGrath  <roland@hack.frob.com>
30973         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
30974         to account for alignment padding.
30975         * sysdeps/arm/memmove.S: Likewise.
30977 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
30979         * sysdeps/unix/sysv/linux/generic/README: New file.
30981 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
30983         [BZ #18138]
30984         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
30985         (futex_abstimed_wait)
30986         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
30987         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
30988         of lll_futex_timed_wait.
30990 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
30992         [BZ #17542]
30993         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
30995 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
30997         [BZ #17090]
30998         [BZ #17620]
30999         [BZ #17621]
31000         [BZ #17628]
31001         * NEWS: Update.
31002         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
31003         entries with Static TLS too.  Skip entries past the end of the
31004         allocated DTV, from Alan Modra.
31005         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
31006         Static TLS DTV entry set up from...
31007         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
31008         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
31009         * nptl/allocatestack.c (init_one_static_tls): ... and here...
31010         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
31011         for Static TLS.
31012         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
31013         that the slot we find is associated with the given map before
31014         using its generation count.
31015         * nptl_db/db_info.c: Include ldsodefs.h.
31016         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
31017         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
31018         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
31019         (link_map::l_tls_offset): New struct field.
31020         (dtv_t::counter): Likewise.
31021         (rtld_global): New struct.
31022         (_rtld_global): New rtld variable.
31023         (dl_tls_dtv_slotinfo_list): New rtld global field.
31024         (dtv_slotinfo_list): New struct.
31025         (dtv_slotinfo): Likewise.
31026         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
31027         (td_lookup): Rename to...
31028         (td_mod_lookup): ... this.  Use new mod parameter instead of
31029         LIBPTHREAD_SO.
31030         * nptl_db/td_thr_tlsbase.c: Include link.h.
31031         (dtv_slotinfo_list, dtv_slotinfo): New functions.
31032         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
31033         addresses even if the DTV is out of date or missing them.
31034         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
31035         index zero-length arrays.
31036         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
31037         (td_lookup): Make it a macro implemented in terms of...
31038         (td_mod_lookup): ... this declaration.
31039         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
31040         (DB_MAIN_VARIABLE): Likewise.
31042 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
31044         [BZ #18134]
31045         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
31047 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
31049         * stdlib/setenv.c (__add_to_environ): Revert previous change.
31051 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
31053         [BZ #18128]
31054         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
31055         (atomic_add, atomic_increment_and_test)
31056         (atomic_decrement_and_test): Fix 64-bit arithmetic.
31058 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
31060         * stdlib/setenv.c (__add_to_environ):
31061         Dump core quickly if setenv (..., NULL, ...) is called.
31063 2015-03-13  Roland McGrath  <roland@hack.frob.com>
31065         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
31066         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
31067         all the necessary asm magic in one place.
31068         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
31069         using those.
31071 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
31073         [BZ #14906]
31074         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
31075         traced file mtime. Use consistent log message.
31076         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
31077         (register_traced_file): Call install_watches. Always set mtime.
31078         (invalidate_cache): Iterate over all trace files. Call install_watches.
31079         (inotify_check_files): Don't inline. Handle watching parent
31080         directories and configuration file movement in and out.
31081         (handle_inotify_events): New function.
31082         (main_loop_poll): Call handle_inotify_events.
31083         (main_loop_epoll): Likewise.
31084         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
31085         (struct traced_file): Use array of inotify fds. Add parent directory,
31086         and basename.
31087         (struct database_dyn): Remove unused file_mtime.
31088         (init_traced_file): New inline function.
31089         (define_traced_file): New macro.
31090         * nss/nss_db/db-init.c: Use define_traced_file.
31091         (_nss_db_init): Use init_traced_file.
31092         * nss/nss_files/files-init.c: Use define_traced_file.
31093         (_nss_files_init): Use init_traced_file.
31095 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
31097         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
31098         [_LIBC]: Do not include <stdlib.h>.
31099         [!_LIBC] (abort): Remove declaration.
31100         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
31101         _FP_STATIC_ASSERT instead of conditionally calling abort.
31102         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
31103         (_FP_EXTEND_CNAN): Likewise.
31104         (FP_TRUNC): Likewise.
31105         (__FP_CLZ): Likewise.
31106         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
31108 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
31110         * manual/string.texi (XPG basename): Fix prototype.
31112 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31114         [BZ #18080]
31115         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
31116         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
31117         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
31118         (__setcontext): Likewise.
31119         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
31120         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
31121         Call rt_sigprocmask syscall one time to set new signal mask
31122         and retrieve the current signal mask instead of two calls.
31123         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
31124         (__swapcontext): Likewise.
31125         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
31126         * stdlib/tst-setcontext2.c: New file.
31128 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31130         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31132 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
31134         [BZ #18093]
31135         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
31136         the wrong size.
31138 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
31140         [BZ #18043]
31141         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
31143 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
31145         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
31146         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
31147         Remove define.
31148         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
31149         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
31150         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
31151         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
31152         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
31153         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
31154         define.
31155         * nptl_db/td_symbol_list.c (td_lookup): Remove
31156         HAVE_ASM_GLOBAL_DOT_NAME code.
31157         * sysdeps/powerpc/powerpc64/configure.ac: Remove
31158         HAVE_ASM_GLOBAL_DOT_NAME check.
31159         * sysdeps/powerpc/powerpc64/configure: Regenerate.
31160         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
31161         (DOT_LABEL): Remove define.
31162         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
31163         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
31164         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
31165         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
31166         (__TLS_GET_ADDR): Likewise.
31167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
31168         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
31170 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
31172         [BZ #18111]
31173         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
31174         (_FPU_SETCW): Initialize cw from fpsr before storing.
31175         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
31176         (fesetexceptflag): Rewrite using fpu_control.h.
31177         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
31179 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
31181         [BZ #18110]
31182         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
31183         asms.
31184         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
31186 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
31188         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
31189         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
31190         abort.
31191         (_FP_FMA): Likewise.
31192         (_FP_DIV): Likewise.
31194 2015-03-10  Roland McGrath  <roland@hack.frob.com>
31196         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
31197         with 0 in that case.
31198         * Makefile (summarize-tests): New canned sequence, factored out of
31199         commands for targets tests and xtests.  Display summary lines that
31200         don't start with PASS: or XFAIL: rather than ones that do start with
31201         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
31202         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
31203         do start with ERROR: or FAIL:.
31204         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
31205         (except for [$(build-shared) = yes]).
31206         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
31207         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
31208         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
31209         * nptl/Makefile: Revert 2015-03-04 changes.
31210         [$(CXX) empty] (tests-unsupported): New variable.
31211         * debug/Makefile: Likewise.
31213         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
31214         gnulib file.  Replace __attribute with __attribute__ throughout.
31216 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
31218         * sysdeps/hppa/fpu/libm-test-ulps: Update.
31220 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
31222         [BZ #18104]
31223         * math/auto-libm-test-in: Add another test of pow.
31224         * math/auto-libm-test-out: Regenerated.
31226 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31228         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
31229         $(config-cflags-nofma).
31231 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
31233         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
31234         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
31235         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
31236         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
31237         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
31238         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
31239         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
31240         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
31241         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
31242         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
31243         Add comment on closing #endif.
31245 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
31247         * posix/wordexp.c (CHAR_IN_SET): New macro.
31248         (parse_param): Use it.
31250 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31252         * sysdeps/powerpc/fpu/libm-test-ulps: update.
31254 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
31256         [BZ #18043]
31257         * posix/wordexp.c (parse_param): Fix buffer overflow.
31258         * posix/wordexp-test.c (test_case): Add test case.
31260 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
31262         [BZ #18042]
31263         * posix/wordexp.c (parse_backtick): Fix off-by-one.
31264         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
31266 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
31268         [BZ #18043]
31269         * posix/wordexp-test.c (test_case): Add test for BZ #18043
31270         (do_bz18043): Delete.
31271         (at_page_end): New.
31272         (testit): Refactor to have words at the edge of unreadable page.
31274 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
31276         [BZ #16734]
31277         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
31278         Cleanup read-only streams as well.
31279         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
31281 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31283         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
31284         <bits/libc-lockP.h>
31286 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
31288         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
31289         on [__KERNEL__].
31290         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
31291         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
31292         * soft-fp/op-common.h (_FP_DECL): Likewise.
31294 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
31296         * elf/ifuncdep2.c (global): Replace
31297         __attribute__((visibility("protected"))) with
31298         asm (".protected global").
31299         * elf/ifuncmod1.c (global): Likewise.
31300         * elf/ifuncmod5.c (global): Likewise.
31302 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
31304         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
31305         <asm/sfp-machine.h> instead of <sfp-machine.h>.
31307 2015-03-06  Roland McGrath  <roland@hack.frob.com>
31309         * manual/install.texi (Configuring and compiling):
31310         Document test-wrapper-env-only.
31311         * INSTALL: Regenerated.
31313 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
31315         [BZ #18043]
31316         * posix/wordexp.c (parse_param): Fix buffer overflow.
31317         * posix/wordexp-test.c (do_bz18043): Add test case.
31319 2015-03-06  Vincent Bernat  <vincent@bernat.im>
31321         * time/tst-strptime2.c (do_test): Ensure failing tests are
31322         reported correctly.
31323         * time/tst-strptime3.c (do_test): Likewise.
31325 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
31327         Fix aio_error thread-safety.
31328         * sysdeps/pthread/aio_error.c: New file
31329         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
31330         synchronization.
31332 2015-03-06  Florian Weimer  <fweimer@redhat.com>
31334         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
31335         (group_number, vfprintf): Use it.
31336         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
31337         (JUMP, REF): Use it.
31338         (WORK_BUFFER_SIZE): New enum constant.
31339         (process_arg, vfprintf): Use it.
31341 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
31343         * manual/errno.texi (Error Messages): Complete example function
31344         by adding missing #define.
31345         (program_invocation_name): Add statement indicating GNU
31346         extension and reference which header file declares the variable.
31347         (program_invocation_short_name): Likewise.
31349 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
31351         * manual/errno.texi (Error Messages): Delete strerror ISO C89
31352         compatibility note.
31354 2015-03-05  Roland McGrath  <roland@hack.frob.com>
31356         * Makeconfig (test-wrapper-env-only): New variable.
31357         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
31358         then use that with $(test-wrapper-env-only) rather than using
31359         $(test-wrapper-env) $(run-program-env) $($*-ENV).
31361 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
31363         [BZ #18082]
31364         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
31365         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
31366         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
31367         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
31368         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
31369         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
31370         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
31371         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
31372         Likewise.
31373         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
31374         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
31375         Likewise.
31376         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
31377         Likewise.
31378         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
31379         Likewise.
31380         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
31381         Likewise.
31382         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
31383         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
31384         Likewise.
31385         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
31386         Likewise.
31387         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
31388         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
31390 2015-03-04  Roland McGrath  <roland@hack.frob.com>
31392         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
31393         (ETH_ALEN): New macro.
31394         (struct ether_addr): Use it for length of ether_addr_octet.
31396         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
31397         (setdb): Don't call __nss_configure_lookup for "rpc".
31398         (do_test): Don't call test_rpc.
31399         (output_rpcent, test_rpc): Functions moved ...
31400         * sunrpc/test-rpcent.c: ... to this new file.
31401         * sunrpc/Makefile (tests): Add it.
31403         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
31404         __xpg_sigpause.
31405         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
31406         * nptl/tst-signal6.c: Likewise.
31407         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
31408         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
31410         * configure.ac (libc_cv_cxx_link_ok): New check.
31411         Reset CXX to empty if it fails to link.
31412         * configure: Regenerated.
31413         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
31414         bug-atexit3-lib only if $(CXX) is nonempty.
31415         * nptl/Makefile (tests): Likewise for tst-cancel24.
31416         (tests, tests-static): Likewise for tst-cancel24-static.
31417         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
31418         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
31419         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
31420         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
31422 2015-03-04  Andreas Schwab  <schwab@suse.de>
31424         [BZ #17631]
31425         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
31426         for non-GCC compilers.
31427         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
31428         Likewise.
31430 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
31432         [BZ #17776]
31433         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
31434         integer before bitwise and assembly operations.
31435         (feclearexcept): Likewise.
31436         * math/test-fenvinline.c: New file.
31437         * math/Makefile: Add test-fenvinline test.
31439 2015-03-03  Alan Modra  <amodra@gmail.com>
31441         [BZ #16512]
31442         * scripts/localplt.awk: Strip off symbol version.
31443         * NEWS: Mention bug fix.
31445 2015-03-02  Roland McGrath  <roland@hack.frob.com>
31447         * sysdeps/pthread/timer_routines.c
31448         (timer_free_list, thread_free_list, thread_active_list): Make static.
31450 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
31452         [BZ #17779]
31453         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31454         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
31455         Undefine.
31456         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31457         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
31458         Likewise.
31459         * sysdeps/unix/sysv/linux/sh/kernel-features.h
31460         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
31461         Likewise.
31463 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
31465         [BZ #18036]
31466         * posix/fnmatch_loop.c (END): Detect invalid pattern.
31467         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
31469 2015-03-02  Andreas Schwab  <schwab@suse.de>
31471         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
31472         variable name.
31474 2015-03-02  Florian Weimer  <fweimer@redhat.com>
31476         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
31477         Return error status.
31479 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
31481         [BZ #15969]
31482         * locale/findlocale.c (_nl_find_locale): Introduce const
31483         version of loc_name and drop unsafe type casts.
31485 2015-02-27  Roland McGrath  <roland@hack.frob.com>
31487         * dlfcn/tststatic2.c (main): Converted to ...
31488         (do_test): ... this.
31489         (TEST_FUNCTION): New macro.
31490         Include test-skeleton.c.
31492 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
31494         [BZ #17711]
31495         * elf/Makefile (tests): Add vismain only if PIE is enabled.
31496         (tests-pie): Add vismain.
31497         (CFLAGS-vismain.c): New.
31498         * elf/vismain.c: Add comments for PIE requirement.
31500 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
31502         [BZ #18046]
31503         [BZ #18047]
31504         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
31505         0x1p-56L as threshold for just returning the argument.
31506         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
31507         0x1p-32L as threshold for just returning the argument.
31508         * math/auto-libm-test-in: Add more tests of atanh.
31509         * math/auto-libm-test-out: Regenerated.
31510         * sysdeps/i386/fpu/libm-test-ulps: Update.
31511         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
31513 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
31515         * string/bcopy.c (bcopy): Call memmove for performance.
31517 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
31519         * string/bzero.c (__bzero): Call memset for performance.
31521 2015-02-27  John David Anglin  <dave.anglin@bell.net>
31523         [BZ #18068]
31524         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
31525         to 00100000.
31527 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
31529         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
31531 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
31533         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
31534         (__kernel_standard): Use CSTR macro when setting exc.name.
31535         * sysdeps/ieee754/Makefile [$(subdir) = math]
31536         (CFLAGS-k_standard.c): Remove variable.
31538         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
31539         setting p and q from "else if" to "else".
31540         (qzero): Likewise.
31541         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
31542         (qone): Likewise.
31543         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
31544         (qzerof): Likewise.
31545         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
31546         (qonef): Likewise.
31547         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
31548         (qzero): Likewise.
31549         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
31550         (qone): Likewise.
31552         [BZ #18038]
31553         [BZ #18039]
31554         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
31555         return pi/2 for arguments below 0x1p-113L.
31556         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
31557         return pi/2 for arguments below 0x1p-106L.
31558         * math/auto-libm-test-in: Add more tests of acos.
31559         * math/auto-libm-test-out: Regenerated.
31561         [BZ #16351]
31562         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
31563         (MO): New macro.
31564         (__ieee754_asin): Force underflow exception for results with small
31565         absolute value.
31566         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
31567         (MO): New macro.
31568         (__ieee754_asinf): Force underflow exception for results with
31569         small absolute value.
31570         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
31571         (__ieee754_asin): Force underflow exception for results with small
31572         absolute value.
31573         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
31574         (__ieee754_asinf): Force underflow exception for results with
31575         small absolute value.
31576         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
31577         (__ieee754_asinl): Force underflow exception for results with
31578         small absolute value.
31579         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
31580         (__ieee754_asinl): Force underflow exception for results with
31581         small absolute value.
31582         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
31583         (__ieee754_asinl): Force underflow exception for results with
31584         small absolute value.
31585         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
31586         Include <math.h>.
31587         * math/auto-libm-test-in: Do not mark underflow exceptions as
31588         possibly missing for bug 16351.
31589         * math/auto-libm-test-out: Regenerated.
31591         [BZ #18030]
31592         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
31593         of power of 2 down when low part has opposite sign.
31594         * math/libm-test.inc (logb_test_data): Add more tests.
31596 2015-02-26  Andreas Schwab  <schwab@suse.de>
31598         [BZ #18032]
31599         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
31600         over collating symbol inside a bracket expression.  Minor cleanup.
31601         * posix/tst-fnmatch3.c (do_test): Add test case.
31603 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
31605         [BZ #18029]
31606         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
31607         Adjust exponent of power of 2 down when low part has opposite
31608         sign.
31609         * math/libm-test.inc (ilogb_test_data): Add more tests.
31611 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
31613         [BZ #15969]
31614         * locale/findlocale.c (_nl_find_locale): Fix constness error in
31615         the previous change.
31617         [BZ #15969]
31618         * locale/findlocale.c (_nl_find_locale): Retry archive search
31619         after alias expansion.
31621 2015-02-25  Roland McGrath  <roland@hack.frob.com>
31623         * iconv/tst-iconv3.c (main): Converted to ...
31624         (do_test): ... this.
31625         (TEST_FUNCTION): New macro.
31626         Include test-skeleton.c.
31628         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
31629         (convert): Make function static.
31630         (test_unalign): Likewise.  Add const to argument pointee types.
31631         (main): Replace with static function do_test.
31632         Print "Succeeded." only if RET is zero.
31633         (TEST_FUNCTION): New macro.
31634         Include test-skeleton.c.
31636         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
31637         returns a null pointer.
31639 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31641         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
31642         to __memcpy_ppc only for static builds.
31644 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
31646         [BZ #18020]
31647         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
31648         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
31649         * math/auto-libm-test-in: Add more tests of asinh.
31650         * math/auto-libm-test-out: Regenerated.
31651         * sysdeps/i386/fpu/libm-test-ulps: Update.
31652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31654 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
31656         [BZ #15850]
31657         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
31658         and ip6_mtuinfo definitions here.
31659         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
31660         in this define too.  Update comment.
31662 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
31664         * elf/sprof.c (load_shobj): Tweak error message to match others.
31666 2015-02-24  Kevin Easton  <kevin@guarana.org>
31668         [BZ #16145] (partial fix)
31669         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
31670         to reduce lock contention.
31672 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
31674         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
31675         (struct timex): Update time comment.
31676         (ADJ_SETOFFSET): Define.
31678 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
31680         [BZ #18019]
31681         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31682         2**56 not 2**28 as threshold for log (2x) formula.
31683         * math/auto-libm-test-in: Add more tests of acosh.
31684         * math/auto-libm-test-out: Regenerated.
31685         * sysdeps/i386/fpu/libm-test-ulps: Update.
31686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31688 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
31690         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
31691         parenthesis around the buf assignment.
31692         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
31694 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
31696         [BZ #16783]
31697         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
31698         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
31699         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
31700         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
31701         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
31702         * math/libm-test.inc (scalb_test_data): Add more tests.
31704 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
31706         [BZ #17916]
31707         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
31708         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
31710 2015-02-24  Eric Rannaud  <e@nanocritical.com>
31712         [BZ #17523]
31713         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
31714         * io/bits/fcntl2.h (open): Use it.
31715         (openat): Likewise.
31716         * io/open.c (__libc_open): Likewise.
31717         * io/open64.c (__libc_open64): Likewise.
31718         * io/open64_2.c (__open64_2): Likewise.
31719         * io/open_2.c (__open_2): Likewise.
31720         * io/openat.c (__openat): Likewise.
31721         * io/openat64.c (__openat64): Likewise.
31722         * io/openat64_2.c (__openat64_2): Likewise.
31723         * io/openat_2.c (__openat_2): Likewise.
31724         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
31725         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
31726         * sysdeps/posix/open64.c (__libc_open64): Likewise.
31727         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
31728         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
31729         (__open_nocancel): Likewise.
31730         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
31731         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
31732         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
31734 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31736         [BZ #14841]
31737         * resolv/gethnamaddr.c (getanswer): Skip logging if
31738         RES_USE_DNSSEC is set.
31739         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
31741 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
31743         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
31745 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
31747         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
31748         201304L, for Unicode 7.
31750 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
31752         [BZ #17836]
31753         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
31754         shared library.  Add gmon-start.os otherwise.
31755         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
31756         $(objpfx)gmon-start.os if builing shared library.
31757         ($(objpfx)g$(static-start-installed-name)): Likewise.
31759 2015-02-23  Andreas Schwab  <schwab@suse.de>
31761         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
31763 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
31765         [BZ #17269]
31766         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
31767         (enlarge_userbuf): Likewise.
31769 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
31771         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
31772         * math/atest-exp.c (TIMEOUT): Adjust to 200.
31773         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
31774         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
31776 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
31778         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
31779         expression inside statement expression.
31781 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
31783         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
31784         <sysdeps/nptl/lowlevellock.h> and remove macros and
31785         functions that are now defined there.
31786         (SYS_futex): Remove.
31787         (lll_compare_and_swap): Remove.
31788         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
31790 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
31792         [BZ #17999]
31793         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
31794         instead of scandirat.
31795         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
31796         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
31797         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
31798         __scandirat.
31799         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
31800         (__scandirat): Declare.  Use libc_hidden_proto.
31801         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
31802         Remove variable.
31803         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
31805 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
31807         [BZ #15319]
31808         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
31809         (MO): New macro.
31810         (__ieee754_atan2): For results with small absolute value, force
31811         underflow exception and remove excess range and precision from
31812         return value.
31813         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
31814         (MO): New macro.
31815         (__ieee754_atan2f): For results with small absolute value, force
31816         underflow exception and remove excess range and precision from
31817         return value.
31818         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
31819         (MO): New macro.
31820         (__atan): For results with small absolute value, force underflow
31821         exception and remove excess range and precision from return value.
31822         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
31823         (MO): New macro.
31824         (__atanf): For results with small absolute value, force underflow
31825         exception and remove excess range and precision from return value.
31826         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
31827         <math.h>.
31828         (__ieee754_atan2): Force underflow exception for results with
31829         small absolute value.
31830         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
31831         <math_private.h>.
31832         (atan): Force underflow exception for results with small absolute
31833         value.
31834         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
31835         (__atanf): Force underflow exception for results with small
31836         absolute value.
31837         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
31838         <math.h>.
31839         (__atanl): Force underflow exception for results with small
31840         absolute value.
31841         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
31842         (__atanl): Force underflow exception for results with small
31843         absolute value.
31844         * sysdeps/x86/fpu/bits/mathinline.h
31845         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
31846         (__ieee754_atan2): Only define inline for long double.
31847         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
31848         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
31849         * math/auto-libm-test-in: Do not mark underflow exceptions as
31850         possibly missing for bug 15319.  Add more tests of atan2.
31851         * math/auto-libm-test-out: Regenerated.
31852         * math/libm-test.inc (casin_test_data): Do not mark underflow
31853         exceptions as possibly missing for bug 15319.
31854         (casinh_test_data): Likewise.
31855         * sysdeps/i386/fpu/libm-test-ulps: Update.
31857 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
31859         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
31860         * sysdeps/mips/bits/endian.h: Fix comments.
31862 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
31864         [BZ #17996]
31865         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
31866         (hdestroy_r): Likewise.
31867         (hsearch_r): Likewise.
31868         (__hcreate_r): Declare and use libc_hidden_proto.
31869         (__hdestroy_r): Likewise.
31870         (__hsearch_r): Likewise.
31871         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
31872         (hcreate): Call __hcreate_r instead of hcreate_r.
31873         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
31874         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
31875         as weak alias of __hcreate_r.
31876         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
31877         __hdestroy_r.
31878         (hsearch_r): Rename to __hsearch_r and define as weak alias of
31879         __hsearch_r.
31880         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
31881         Remove variable.
31882         (test-xfail-XPG4/search.h/linknamespace): Likewise.
31883         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
31884         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
31885         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
31887 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31889         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
31890         arena_lock into a single arena_get.
31892 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
31894         * dl-reloc.c: Inlucde libc-internal.h.
31895         (_dl_try_allocate_static_tls): Call ALIGN_UP.
31896         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
31897         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
31898         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
31899         (grow_heap): Likewise.
31900         * malloc/malloc.c: Include libc-internal.h.
31901         (do_check_malloc): Call powerof2.
31902         (sysmalloc): Use pagesize. Call ALIGN_UP.
31903         (systrim): Use pagesize.
31904         (mremap_chunk): Use pagesize. Call ALIGN_UP.
31905         (__libc_valloc): Use pagesize.
31906         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
31908 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
31910         [BZ #17991]
31911         * include/sys/resource.h (__getrlimit64): Declare.  Use
31912         libc_hidden_proto.
31913         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
31914         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
31915         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
31916         getrlimit64.
31917         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
31918         __getrlimit64.
31919         [!getrlimit64] (getrlimit64): Define as weak alias of
31920         __getrlimit64.  Use libc_hidden_weak.
31921         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
31922         using __getrlimit64 not __new_getrlimit64.
31923         (__GI_getrlimit64): Likewise.
31924         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
31925         Likewise.
31926         (__GI_getrlimit64): Likewise.
31927         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
31928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
31929         (getrlimit): Add __getrlimit64 alias.
31930         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
31931         Likewise.
31932         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
31933         Remove variable.
31934         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
31935         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
31937 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
31939         * libio/fileops.c: Add missing sys/mman.h
31940         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
31942 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
31944         * manual/math.texi (Errors in Math Functions): Clarify goals
31945         regarding inexact and underflow exceptions.
31947 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
31949         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
31950         * sysdeps/mips/memset.S: Ditto.
31952 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
31954         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
31956 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
31958         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
31959         (__v1longjmp): Remove versioned symbol.
31960         (__v1siglongjmp): Remove alias and versioned symbol.
31961         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
31962         (__v2siglongjmp): Likewise.
31964 2015-02-16  Torvald Riegel  <triegel@redhat.com>
31966         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
31968 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
31970         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
31972 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
31974         [BZ #17987]
31975         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
31976         zero result does not depend on the sign resulting from
31977         subtraction.
31978         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
31979         Likewise.
31980         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
31981         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
31982         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31983         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
31984         * math/libm-test.inc (remquo_test_data): Add more tests.
31986 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
31988         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
31989         Problem reported by J William Piggott.
31991 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
31993         [BZ #17978]
31994         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
31995         products 4 * y and 2 * y where those would overflow.
31996         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
31997         Likewise.
31998         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
31999         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
32000         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32001         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
32002         * math/libm-test.inc (remquo_test_data): Add more tests.
32004         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
32006         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
32007         [defined _COMPILING_NEWLIB].
32008         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
32009         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
32011         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
32012         [!defined __mips_isa_rev || __mips_isa_rev < 6].
32014 2015-02-16  Torvald Riegel  <triegel@redhat.com>
32016         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
32017         acquired.
32019 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
32021         [BZ #17792]
32022         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
32023         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
32024         HOST_STACK_END_ADDR): Likewise.
32026 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
32028         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
32029         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
32030         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
32032 2015-02-13  Roland McGrath  <roland@hack.frob.com>
32034         * sysdeps/generic/c++-types.data: New file.
32035         * sysdeps/generic/ld.abilist: New file.
32036         * sysdeps/generic/libBrokenLocale.abilist: New file.
32037         * sysdeps/generic/libanl.abilist: New file.
32038         * sysdeps/generic/libc.abilist: New file.
32039         * sysdeps/generic/libcrypt.abilist: New file.
32040         * sysdeps/generic/libdl.abilist: New file.
32041         * sysdeps/generic/libm.abilist: New file.
32042         * sysdeps/generic/libpthread.abilist: New file.
32043         * sysdeps/generic/libresolv.abilist: New file.
32044         * sysdeps/generic/librt.abilist: New file.
32046 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
32048         [BZ #17569]
32049         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
32050         Compute absolute value of x as modified by fmod, not original
32051         value of x.
32052         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
32053         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
32054         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
32055         RUN_TEST_ffI_f1_mod8.
32056         (remquo_test_data): Add more tests.
32058 2015-02-13  Roland McGrath  <roland@hack.frob.com>
32060         * sysdeps/init_array/pt-crti.S: New file.
32062 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
32064         [BZ #17967]
32065         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
32066         __builtin_fmaf instead of relying on contraction of a * b + c.
32068 2015-02-12  J William Piggott  <elseifthen@gmx.com>
32070         [BZ #17969]
32071         * manual/time.texi: correct the zoneinfo path in the TZ Variable
32072         node.
32074 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
32076         [BZ #17964]
32077         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
32078         __builtin_fma instead of relying on contraction of a * b + c.
32080 2015-02-12  Roland McGrath  <roland@hack.frob.com>
32082         * Makeconfig (ASFLAGS): Add -Werror=undef.
32083         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
32084         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
32085         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
32087         * Makeconfig (after-link): New variable.
32088         (+link-pie, +link-pie-tests): Use it.
32089         (+link-static, +link-static-tests): Likewise.
32090         (+link, +link-tests): Likewise.
32091         * Makerules (build-module, build-module-asneeded): Likewise.
32092         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
32093         Likewise.
32094         * elf/Makefile ($(objpfx)ld.so): Likewise.
32096 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
32098         [BZ #17965]
32099         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
32100         both struct timeval and struct timespec.
32102 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
32104         [BZ #16560]
32105         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32106         and redefine.
32107         (__ieee754_exp2l): Do not multiply small fractional parts by
32108         M_LN2l.
32109         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
32110         small argument.
32111         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
32112         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
32113         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
32114         * math/auto-libm-test-in: Add more tests of exp2.
32115         * math/auto-libm-test-out: Regenerated.
32117 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32119         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
32120         unaligned path.
32122 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32124         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
32125         little endian.
32127 2015-02-12  Andreas Schwab  <schwab@suse.de>
32129         [BZ #15790]
32130         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
32131         Filter out elision flags from value returned in kind.
32132         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
32133         * nptl/tst-pthread-mutexattr.c: New file.
32135 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32137         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
32138         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
32139         into gnu-gnu, and update comment to refer to abi-tags.
32141 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
32143         [BZ #15467]
32144         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
32145         (__sincos): Set errno to EDOM for infinite argument.
32146         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
32147         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
32148         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
32149         (__sincosl): Set errno to EDOM for infinite argument.
32150         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
32151         (__sincosl): Set errno to EDOM for infinite argument.
32152         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
32153         (__sincosl): Set errno to EDOM for infinite argument.
32154         * math/libm-test.inc (sincos_test_data): Test errno setting.
32156 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
32158         * string/strxfrm_l.c: Remove #define STRCMP.
32159         * string/strcoll_l.c: Remove #define STRLEN.
32160         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
32161         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
32163 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
32165         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
32166         * sysdeps/mips/mips32/sfp-machine.h: ... here.
32167         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
32168         * sysdeps/mips/mips64/Makefile: ... here.
32169         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
32170         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
32171         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
32172         * sysdeps/mips/mips64/sfp-machine.h: ... here.
32173         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
32174         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
32175         * sysdeps/mips/mips64/n64/Implies: Likewise.
32177 2015-02-10  Roland McGrath  <roland@hack.frob.com>
32179         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
32180         <sys/time.h>, <string.h>, and <errno.h>.
32181         (dest_offset, dest_address, value, zero): Remove unused variables.
32182         (ldouble): Remove typedef.
32183         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
32184         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
32185         1).  Fix code style.
32186         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
32187         (check): Function removed.
32188         (CHECK): New macro.
32189         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
32190         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
32191         Don't call set_sigaction_FP and remove_sigaction_FP here.
32192         (ldouble_test): Just use 'long double' as macro argument, no need for
32193         the 'ldouble' typedef.
32194         (do_test): Set up SIGFPE handler at start, using plain signal rather
32195         than sigaction.  Fix code style.
32197 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
32199         [BZ #17949]
32200         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
32201         jump label.
32203 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32205         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
32206         * sysdeps/powerpc/powerpc32/configure: Regenerated.
32208         * sysdeps/powerpc/configure.ac: Remove file.
32209         * sysdeps/powerpc/configure: Likewise.
32211         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
32212         [sysdep_routines]: Remove wordcopy-power6 object.
32213         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
32214         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
32215         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
32216         (__memmove_ppc32): Likewise.
32217         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
32218         file.
32219         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
32220         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
32221         Remove preprocessor.
32223         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
32224         [sysdep_routines]: Remove wide chars objects.
32225         [wcsmbs]: New rule for wide char objects.
32227         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32228         Remove wordcopy-power6 obejct.
32229         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
32230         Use local call for wordcopy and memcpy symbols.
32231         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
32232         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
32233         implementation for loader.
32234         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
32236         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32237         Remove wordcopy-power7 object.
32238         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
32239         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
32240         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
32241         (_wordcopy_fwd_dest_aligned): Likewise.
32242         (_wordcopy_bwd_aligned): Likewise.
32243         (_wordcopy_bwd_dest_aligned): Likewise.
32245         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
32246         Rewrite to call __memmove_ppc instead of include default
32247         implementation.
32249         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32250         Remove wide chars objects.
32251         [wcsmbs]: New rule for wide char objects.
32253 2015-02-09  Andreas Schwab  <schwab@suse.de>
32255         [BZ #17912]
32256         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
32257         in terms of __O_DIRECTORY.
32259 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32261         * time/getdate.c: Include <stdbool.h>.
32262         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
32263         call PTR_MANGLE.
32264         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
32265         PTR_DEMANGLE.
32267 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
32269         Add ersatz _Static_assert on older C hosts
32270         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
32271         pre-C11 C platform that is not known to support _Static_assert.
32273 2015-02-07  Richard Braun  <rbraun@sceen.net>
32275         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
32276         sigstate.
32277         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
32279 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32281         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
32282         priority against unexistent AIO_PRIO_DELTA_MAX.
32283         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
32284         instead of int.
32285         * misc/fchflags.c (fchflags): Likewise.
32286         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
32287         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
32288         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
32289         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
32290         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
32291         Declare macros.
32292         [__USE_MISC] (chflags, fchflags): Declare functions.
32293         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
32294         EINVAL when nfds is greater than FD_SETSIZE.
32295         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
32296         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
32297         45.
32298         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
32299         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
32300         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
32301         MACH_RCV_TIMED_OUT.
32302         * hurd/hurd/signal.h (_hurd_self_sigstate,
32303         _hurd_critical_section_lock, _hurd_critical_section_unlock):
32304         Explicit casts from void *.
32305         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
32306         * abi-tags: Rename gnu-gnu os into gnu.
32308         [BZ #4719]
32309         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
32310         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
32311         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
32312         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
32313         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
32314         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
32316         [BZ #17944]
32317         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
32318         duplicates ADDR->sun_path with sockaddr LEN limitation.
32319         * sysdeps/mach/hurd/connect.c: Include <string.h>
32320         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
32321         * sysdeps/mach/hurd/sendmsg.c: Likewise.
32322         * sysdeps/mach/hurd/sendto.c: Likewise.
32323         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
32324         implementing it by hand.
32326 2015-02-06  Roland McGrath  <roland@hack.frob.com>
32328         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
32329         Use sfi_breg on ldr.
32330         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
32331         Likewise.
32333         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
32334         it's defined.
32335         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
32336         Test SIGSETXID only if it's defined.
32338         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
32340         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
32341         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
32343         * nptl/tst-align2.c: Moved ...
32344         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
32345         * nptl/Makefile (tests): Remove tst-align2.
32346         * sysdeps/unix/sysv/linux/Makefile
32347         [$(subdir) = nptl] (tests): Add tst-align-clone.
32348         * nptl/tst-getpid1.c: Moved ...
32349         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
32350         * nptl/tst-getpid2.c: Moved ...
32351         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
32352         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
32353         * sysdeps/unix/sysv/linux/Makefile
32354         [$(subdir) = nptl] (tests): ... here.
32355         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
32356         * sysdeps/unix/sysv/linux/Makefile
32357         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
32359         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
32360         Drop trailing \n from perror argument.  Use return rather than exit.
32362         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
32363         on [SA_SIGINFO].
32364         * nptl/tst-cancel21.c (do_test): Likewise.
32365         * debug/tst-backtrace6.c: Include <signal.h> first thing.
32366         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
32367         [!SA_SIGINFO]: Make it a stub test.
32369         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
32370         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
32372         * posix/tst-getlogin.c: Move to ...
32373         * login/tst-getlogin.c: ... here.
32374         * posix/Makefile (tests): Move tst-getlogin to ...
32375         * login/Makefile (tests): ... here.
32377         * libio/tst-atime.c (do_test): Move local variables SV and E
32378         inside [ST_NOATIME] conditional.
32380         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
32382         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
32384         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
32385         (wait_code): New function replaces macro.
32386         Call nanosleep rather than syscall.
32388         * nptl/pt-system.c: Rewritten.  Put everything under
32389         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
32390         Use IFUNC to redirect when possible.
32392         * nptl/pt-longjmp.c: Rewritten.  Put everything under
32393         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
32394         Use IFUNC to redirect when possible.
32396         * nptl/pt-fork.c: Rewritten.  Put everything under
32397         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
32398         Use IFUNC to redirect when possible.
32399         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
32401         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
32402         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
32403         unconditionally nowadays.  This included the only reference to
32404         __vdso_clock_gettime that appears outside libc proper.
32405         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
32406         Remove version set (containing only __vdso_clock_gettime).
32407         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
32408         Add attribute_hidden.
32409         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
32410         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
32411         libc_hidden_data_def.
32412         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32413         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32415         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
32416         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
32417         setrpcent, and getrpcport to ...
32418         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
32419         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
32420         getrpcbynumber_r, and getrpcent_r to ...
32421         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
32422         * inet/getrpcbyname.c: Moved ...
32423         * sunrpc/getrpcbyname.c: ... here.
32424         * inet/getrpcbyname_r.c: Moved ...
32425         * sunrpc/getrpcbyname_r.c: ... here.
32426         * inet/getrpcbynumber.c: Moved ...
32427         * sunrpc/getrpcbynumber.c: ... here.
32428         * inet/getrpcbynumber_r.c: Moved ...
32429         * sunrpc/getrpcbynumber_r.c: ... here.
32430         * inet/getrpcent.c: Moved ...
32431         * sunrpc/getrpcent.c: ... here.
32432         * inet/getrpcent_r.c: Moved ...
32433         * sunrpc/getrpcent_r.c: ... here.
32434         * inet/Makefile (routines): Move those to ...
32435         * sunrpc/Makefile (routines): ... here.
32436         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
32437         the $(subdirs) list.
32438         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
32439         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
32440         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
32441         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
32443         * elf/Makefile (routines): Include $(all-dl-routines), not just
32444         $(dl-routines).
32445         (rtld-routines): Likewise.  Use = rather than :=.
32446         * sysdeps/aarch64/Makefile [$(subdir) = elf]
32447         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
32448         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
32449         * sysdeps/arm/Makefile: Likewise.
32450         * sysdeps/i386/Makefile: Likewise.
32451         * sysdeps/x86_64/Makefile: Likewise.
32452         * sysdeps/hppa/Makefile [$(subdir) = elf]
32453         (sysdep_routines, sysdep-rtld-routines): Don't add
32454         $(sysdep-dl-routines) to these.
32455         * sysdeps/ia64/Makefile: Likewise.
32456         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
32457         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
32458         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
32459         Don't add dl-static to these; sysdep-dl-routines alone is enough.
32460         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
32461         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
32462         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
32463         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
32464         * sysdeps/powerpc/Makefile [$(subdir) = elf]
32465         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
32466         these; sysdep-dl-routines alone is enough.
32468 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
32470         [BZ #17932]
32471         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
32472         where multiplication results in zero and third argument is finite
32473         and nonzero.
32474         * math/auto-libm-test-in: Add more tests of fma.
32475         * math/auto-libm-test-out: Regenerated.
32477         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
32478         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
32479         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
32480         (_FP_CMP_EQ): Likewise.
32481         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
32483         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
32484         extra argument CHECK_NAN.  Redefine as wrapper around
32485         _FP_EXTEND_CNAN.
32487 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
32489         * version.h (RELEASE): Set to "stable".
32490         (VERSION): Set to "2.21"
32491         * include/features.h (__GLIBC_MINOR__): Set to 21.
32493         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
32495 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
32496             Paul Eggert  <eggert@cs.ucla.edu>
32498         [BZ #16618]
32499         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
32500         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
32501         size in bytes. Store needed elements in wpmax. Use needed size
32502         in bytes for extend_alloca.
32504 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
32506         * manual/install.texi: Latest tested versions are GCC 4.9.2,
32507         binutls 2.25, and texinfo 5.2.
32508         * INSTALL: Regenerate.
32509         * sysdeps/nios2/configure: Regenerate.
32510         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
32511         * manual/contrib.texi: Update.
32512         * po/be.po: Update.
32513         * po/bg.po: Update.
32514         * po/ca.po: Update.
32515         * po/cs.po: Update.
32516         * po/da.po: Update.
32517         * po/de.po: Update.
32518         * po/el.po: Update.
32519         * po/eo.po: Update.
32520         * po/es.po: Update.
32521         * po/fi.po: Update.
32522         * po/fr.po: Update.
32523         * po/gl.po: Update.
32524         * po/hr.po: Update.
32525         * po/hu.po: Update.
32526         * po/ia.po: Update.
32527         * po/id.po: Update.
32528         * po/it.po: Update.
32529         * po/ja.po: Update.
32530         * po/ko.po: Update.
32531         * po/lt.po: Update.
32532         * po/nb.po: Update.
32533         * po/nl.po: Update.
32534         * po/pl.po: Update.
32535         * po/pt_BR.po: Update.
32536         * po/ru.po: Update.
32537         * po/rw.po: Update.
32538         * po/sk.po: Update.
32539         * po/sl.po: Update.
32540         * po/sv.po: Update.
32541         * po/tr.po: Update.
32542         * po/uk.po: Update.
32543         * po/vi.po: Update.
32544         * po/zh_CN.po: Update.
32545         * po/zh_TW.po: Update.
32547         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
32548         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
32549         * sysdeps/hppa/dl-irel.h: Remove #warning.
32550         * sysdeps/hppa/entry.h: Provide prototype for
32551         __canonicalize_funcptr_for_compare and cast argument.
32552         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
32553         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
32554         * sysdeps/hppa/sotruss-lib.c: New file.
32555         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
32556         (atomic_compare_and_exchange_val_acq): Use __typeof__.
32557         (atomic_compare_and_exchange_bool_acq): Likewise.
32558         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
32559         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
32561         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
32562         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
32563         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
32565 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
32567         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
32568         called function in non-PIC case.
32570 2015-01-31  David S. Miller  <davem@davemloft.net>
32572         * sysdeps/sparc/sparc32/bits/atomic.h
32573         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
32574         unlock not after it.
32575         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
32576         volatile register usage warnings from the compiler.
32578         * sysdeps/sparc/nptl/sem_init.c: Delete.
32579         * sysdeps/sparc/nptl/sem_post.c: Delete.
32580         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
32581         * sysdeps/sparc/nptl/sem_wait.c: Delete.
32582         * sysdeps/sparc/sparc32/sem_init.c: New file.
32583         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
32584         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
32585         padding explicitly initialized.
32586         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
32587         padding for in-semaphore spinlock.
32588         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
32589         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
32590         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
32591         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
32592         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
32593         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
32594         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
32595         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
32596         version.
32597         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
32598         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
32600 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
32602         [BZ #17801]
32603         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32604         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
32605         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
32606         New.
32607         (index_AVX_Fast_Unaligned_Load): Likewise.
32608         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
32609         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
32610         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
32611         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
32612         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
32613         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
32614         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
32615         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
32616         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
32618 2015-01-29  Andreas Schwab  <schwab@suse.de>
32620         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
32622 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
32624         [BZ #17892]
32625         * nscd/nscd_stat.c (send_stats): Initialize DATA.
32627 2015-01-28  Martin Sebor  <msebor@redhat.com>
32629         * math/README.libm-test: Clarify. Add "How to read the test output."
32631 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
32633         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
32634         Define to 0.
32636 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
32638         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
32639         (__HAVE_64B_ATOMICS): Define to 0.
32641 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32643         [BZ #17885]
32644         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
32645         value to set as new flag.
32647         [BZ #16576]
32648         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
32649         and use _ARCH_PPCSQ instead.
32650         (__ieee754_sqrt): Likewise.
32651         (__ieee754_sqrtf): Likewise.
32652         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
32653         _ARCH_PPCSQ is defined.
32654         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
32655         fsqrt instruction.
32656         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
32657         _ARCH_PPCSQ is defined.
32658         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
32659         fsqrts instruction.
32660         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
32662 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32664         * iconv/loop.c: Suppress array out of bound warning caused by GCC
32665         bug (GCC BZ #64739).
32667 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
32669         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
32670         Mark _retval as used.
32671         (lll_futex_wake_unlock): Likewise.
32672         (lll_futex_timed_wait_requeue_pi): Likewise.
32674         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
32675         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
32676         register variables.
32678         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
32679         libm_hidden_def.
32681         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
32682         (__bswap_64): Mark as __always_inline.
32684 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
32686         [BZ #15378]
32687         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
32688         when none of the search directories exist.
32690 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32692         [BZ #17869]
32693         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
32694         power8 in .machine directive.
32696         [BZ #17868]
32697         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
32698         set dependency from opd value.
32700 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
32702         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32703         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
32704         architecture.
32706 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
32708         [BZ #17870]
32709         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
32710         with uint64_t.
32711         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
32712         (uint64_t) 1.
32713         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
32714         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
32715         Replace 1UL with (uint64_t) 1.
32716         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
32717         int with uint64_t.
32719 2015-01-23  Roland McGrath  <roland@hack.frob.com>
32721         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
32722         (if_freenameindex): Likewise.
32724         * resource/getrlimit64.c: Add missing libc_hidden_def.
32726 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
32728         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
32729         __label__.
32730         (_FP_FMA): Likewise.
32731         (_FP_TO_INT_ROUND): Likewise.
32732         (_FP_FROM_INT): Likewise.
32734 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32736         [BZ #16418]
32737         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
32738         Make code racy and cancel safe.
32740 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
32742         * sysdeps/arm/unwind-resume.h: Fix copyright year.
32743         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
32744         attribution.
32746         * pwd/tst-getpw.c: Rewrite.
32748         [BZ #17702]
32749         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
32750         (modules-names): Add moddummy1 and moddummy2.
32751         ($(objpfx)tst-rec-dlopen): Define.
32752         * dlfcn/moddummy1.c: New file.
32753         * dlfcn/moddummy2.c: New file.
32754         * dlfcn/tst-rec-dlopen.c: New file.
32755         * elf/dl-cache.c (_dl_load_cache_lookup):
32756         Return char*. Copy result with alloca/strcpy/strdup.
32757         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
32758         returns char*. Free cached. If not saving realname
32759         free cached.
32760         * elf/dl-open.c (dl_open_worker): Do not assert that
32761         _r_debug->r_state is RT_CONSISTENT.
32762         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
32763         returns char*.
32765 2015-01-21  Torvald Riegel  <triegel@redhat.com>
32766             Carlos O'Donell  <carlos@redhat.com>
32768         [BZ #12674]
32769         * nptl/sem_waitcommon.c: New file.
32770         * nptl/sem_wait.c: Include sem_waitcommon.c.
32771         (__sem_wait_cleanup, do_futex_wait): Remove.
32772         (__new_sem_wait): Adapt.
32773         (__new_sem_trywait): New function.
32774         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
32775         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
32776         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
32777         (sem_timedwait): Adapt.
32778         * nptl/sem_post.c (__new_sem_post): Adapt.
32779         (futex_wake): New function.
32780         (__old_sem_post): Add release MO fence.
32781         * nptl/sem_open.c (sem_open): Adapt.
32782         * nptl/sem_init.c (__new_sem_init): Adapt.
32783         (futex_private_if_supported): New function.
32784         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
32785         (__old_sem_getvalue): Add using previous code.
32786         * sysdeps/nptl/internaltypes.h: Adapt.
32787         * nptl/tst-sem13.c (do_test): Adapt.
32788         * nptl/tst-sem11.c (main): Adapt.
32789         * nptl/sem_trywait.c: Remove.
32790         * nptl/DESIGN-sem.txt: Remove.
32791         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
32792         (gen-as-const-headers): Remove structsem.sym.
32793         * nptl/structsem.sym: Remove.
32794         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
32795         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
32796         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
32797         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
32798         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
32799         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
32800         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
32801         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
32802         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
32803         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
32804         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
32805         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
32806         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
32807         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
32808         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
32809         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
32810         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
32811         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
32812         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
32813         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
32814         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
32815         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
32817 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
32819         * INSTALL: Regenerated.
32821         * po/libc.pot: Regenerated.
32823 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
32824             Sandra Loosemore  <sandra@codesourcery.com>
32825             Andrew Jenner  <andrew@codesourcery.com>
32826             Joseph Myers  <joseph@codesourcery.com>
32827             Nathan Sidwell  <nathan@codesourcery.com>
32829         * NEWS: Mention new Nios II port.
32830         * sysdeps/nios2/Implies: New file.
32831         * sysdeps/nios2/Makefile: New file.
32832         * sysdeps/nios2/Subdirs: New file.
32833         * sysdeps/nios2/Versions: New file.
32834         * sysdeps/nios2/__longjmp.S: New file.
32835         * sysdeps/nios2/abort-instr.h: New file.
32836         * sysdeps/nios2/backtrace.c: New file.
32837         * sysdeps/nios2/bits/endian.h: New file.
32838         * sysdeps/nios2/bits/fenv.h: New file.
32839         * sysdeps/nios2/bits/link.h: New file.
32840         * sysdeps/nios2/bits/setjmp.h: New file.
32841         * sysdeps/nios2/bsd-_setjmp.S: New file.
32842         * sysdeps/nios2/bsd-setjmp.S: New file.
32843         * sysdeps/nios2/configure: New generated file.
32844         * sysdeps/nios2/configure.ac: New file.
32845         * sysdeps/nios2/crti.S: New file.
32846         * sysdeps/nios2/crtn.S: New file.
32847         * sysdeps/nios2/dl-init.c: New file.
32848         * sysdeps/nios2/dl-machine.h: New file.
32849         * sysdeps/nios2/dl-sysdep.h: New file.
32850         * sysdeps/nios2/dl-tls.h: New file.
32851         * sysdeps/nios2/dl-trampoline.S: New file.
32852         * sysdeps/nios2/gccframe.h: New file.
32853         * sysdeps/nios2/gmp-mparam.h: New file.
32854         * sysdeps/nios2/jmpbuf-offsets.h: New file.
32855         * sysdeps/nios2/jmpbuf-unwind.h: New file.
32856         * sysdeps/nios2/ldsodefs.h: New file.
32857         * sysdeps/nios2/libc-tls.c: New file.
32858         * sysdeps/nios2/libm-test-ulps: New file.
32859         * sysdeps/nios2/machine-gmon.h: New file.
32860         * sysdeps/nios2/math-tests.h: New file.
32861         * sysdeps/nios2/math_private.h: New file.
32862         * sysdeps/nios2/memusage.h: New file.
32863         * sysdeps/nios2/nptl/Makefile: New file.
32864         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
32865         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
32866         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
32867         * sysdeps/nios2/nptl/pthreaddef.h: New file.
32868         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
32869         * sysdeps/nios2/nptl/tls.h: New file.
32870         * sysdeps/nios2/preconfigure: New file.
32871         * sysdeps/nios2/s_fma.c: New file.
32872         * sysdeps/nios2/s_fmaf.c: New file.
32873         * sysdeps/nios2/setjmp.S: New file.
32874         * sysdeps/nios2/sfp-machine.h: New file.
32875         * sysdeps/nios2/sotruss-lib.c: New file.
32876         * sysdeps/nios2/stackguard-macros.h: New file.
32877         * sysdeps/nios2/stackinfo.h: New file.
32878         * sysdeps/nios2/start.S: New file.
32879         * sysdeps/nios2/sysdep.h: New file.
32880         * sysdeps/nios2/tls-macros.h: New file.
32881         * sysdeps/nios2/tst-audit.h: New file.
32882         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
32883         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
32884         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
32885         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
32886         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
32887         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
32888         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
32889         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
32890         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
32891         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
32892         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
32893         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
32894         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
32895         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
32896         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
32897         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
32898         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
32899         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
32900         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
32901         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
32902         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
32903         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
32904         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
32905         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
32906         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
32907         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
32908         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
32909         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
32910         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
32911         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
32912         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
32913         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
32914         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
32915         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
32916         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
32917         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
32918         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
32919         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
32920         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
32921         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
32922         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
32923         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
32924         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
32925         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
32927 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
32929         [BZ #17844]
32930         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
32931         (getutent): Use weak_alias in non SHARED case
32932         and default_symbol_version in SHARED case.
32933         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
32934         (getutent_r, pututline): Likewise.
32935         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
32936         (getutid): Likewise.
32937         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
32938         (getutid_r): Likewise.
32939         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
32940         (getutline): Likewise.
32941         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
32942         (getutline_r): Likewise.
32943         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
32944         (updwtmp): Likewise.
32946 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
32948         [BZ #17848]
32949         * sysdeps/s390/s390-32/memcmp.S
32950         (memcmp_g5): Rename to __memcmp_g5.
32951         * sysdeps/s390/s390-32/memcpy.S
32952         (memcpy_g5): Rename to __memcpy_g5.
32953         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32954         (memcpy_mvcle) Rename to __memcpy_mvcle.
32955         * sysdeps/s390/s390-32/memset.S
32956         (memset_g5): Rename to __memset_g5.
32957         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
32958         (IFUNC_RESOLVE): Prefix ifunc-resolve function
32959         and use prefixed functions.
32960         * sysdeps/s390/s390-32/multiarch/memcmp.S
32961         (memcmp_z196): Rename to __memcmp_z196.
32962         (memcmp_z10): Rename to __memcmp_z10.
32963         (memcmp): Set alias to __memcmp_g5.
32964         (bcmp): Set alias to __memcmp_g5.
32965         * sysdeps/s390/s390-32/multiarch/memcpy.S
32966         (memcpy_z196): Rename to __memcpy_z196.
32967         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32968         (memcpy_z10): Rename to __memcpy_z10.
32969         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32970         (memcpy): Set alias to __memcpy_g5.
32971         * sysdeps/s390/s390-32/multiarch/memset.S
32972         (memset_z196): Rename to __memset_z196.
32973         Jump to __memset_mvcle instead of memset_mvcle.
32974         (memset_z10): Rename to __memset_z10.
32975         Jump to __memset_mvcle instead of memset_mvcle.
32976         (memset_mvcle) Rename to __memset_mvcle.
32977         (memset): Set alias to __memset_g5.
32978         * sysdeps/s390/s390-64/memcmp.S
32979         (memcmp_z900): Rename to __memcmp_z900.
32980         * sysdeps/s390/s390-64/memcpy.S
32981         (memcpy_z900): Rename to __memcpy_z900.
32982         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32983         (memcpy_mvcle) Rename to __memcpy_mvcle.
32984         * sysdeps/s390/s390-64/memset.S
32985         (memset_z900): Rename to __memset_z900.
32986         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
32987         (IFUNC_RESOLVE): Prefix ifunc-resolve function
32988         and use prefixed functions.
32989         * sysdeps/s390/s390-64/multiarch/memcmp.S
32990         (memcmp_z196): Rename to __memcmp_z196.
32991         (memcmp_z10): Rename to __memcmp_z10.
32992         (memcmp): Set alias to __memcmp_z900.
32993         (bcmp): Set alias to __memcmp_z900.
32994         * sysdeps/s390/s390-64/multiarch/memcpy.S
32995         (memcpy_z196): Rename to __memcpy_z196.
32996         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32997         (memcpy_z10): Rename to __memcpy_z10.
32998         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32999         (memcpy): Set alias to __memcpy_z900.
33000         * sysdeps/s390/s390-64/multiarch/memset.S
33001         (memset_z196): Rename to __memset_z196.
33002         Jump to __memset_mvcle instead of memset_mvcle.
33003         (memset_z10): Rename to __memset_z10.
33004         Jump to __memset_mvcle instead of memset_mvcle.
33005         (memset_mvcle) Rename to __memset_mvcle.
33006         (memset): Set alias to __memset_z900.
33008 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
33010         [BZ #17748]
33011         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
33012         __fesetenv instead of fesetenv.
33014 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33016         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
33017         macro.
33019 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33021         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
33022         regression on LE.
33024         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
33025         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
33026         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
33027         strncmp-power8 object.
33028         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33029         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
33030         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
33031         * NEWS: Update.
33033 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33034             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33036         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
33037         trailing byte check.
33039 2015-01-13  David S. Miller  <davem@davemloft.net>
33041         * include/signal.h (__sigreturn): Guard with __USE_MISC.
33043 2015-01-13  Roland McGrath  <roland@hack.frob.com>
33045         * login/logout.c (logout): Use memset rather than bzero.
33046         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
33047         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
33048         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
33049         (_gethtbyaddr): Likewise.
33050         * locale/programs/simple-hash.c (bcopy): Macro removed.
33052 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33054         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33055         Add strcmp-power8 object.
33056         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33057         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
33058         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
33059         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
33060         __strcmp_power8 implementation.
33061         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
33062         * NEWS: Update.
33064         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33065         Add strncpy-power8 and stpncpy-power8 objects.
33066         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33067         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
33068         implementations.
33069         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
33070         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
33071         __stpncpy_power8 implementation.
33072         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
33073         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
33074         __strncpy_power8 implementation.
33075         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
33076         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
33077         * NEWS: Update.
33079         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
33080         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
33081         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
33083         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
33084         strncat-power8 object.
33085         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
33086         __strcat_power8 implementation.
33087         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33088         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
33089         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
33090         optimized strcat for power8.
33092         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
33093         strcpy-power8 and stpcpy-power8 objects.
33094         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33095         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
33096         implementations.
33097         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
33098         multiarch stpcpy implementation for POWER8.
33099         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
33100         multiarch strcpy implementation for POWER8.
33101         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
33102         __strcpy_power8 function.
33103         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
33104         stpcpy for POWER8.
33105         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
33106         strcpy for POWER8.
33107         * NEWS: Update.
33109 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
33111         [BZ #16009]
33112         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
33113         weights and rules. Use do_xfrm_cached if data fits in cache,
33114         do_xfrm otherwise.  Moved former main loop to...
33115         * (do_xfrm_cached): New function.
33116         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
33117         find_idx, find_position and stack_push.
33118         * (find_idx): New function.
33119         * (find_position): Likewise.
33120         * localedata/sort-test.sh: Added test run for do_xfrm.
33121         * localedata/xfrm-test.c (main): Added command line option
33122         -nocache to run the test with strings that are too large for
33123         the STRXFRM cache.
33125 2015-01-13  Torvald Riegel  <triegel@redhat.com>
33127         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
33128         variable to lll_futex_wake call, not the value itself.
33130 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
33132         [BZ #17803]
33133         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
33134         twom64.  Adjust value to 0x1p-64L.
33135         (__scalblnl): Only return standard underflowing result for K <=
33136         -64 not K <= -63; adjust exponent for underflowing result by 64
33137         not 63.
33138         * math/libm-test.inc (scalbn_test_data): Add more tests.
33139         (scalbln_test_data): Likewise.
33141         [BZ #17834]
33142         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
33143         0x1p63L.
33144         (__scalblnl): Get new exponent of adjusted subnormal value from ES
33145         not HX.
33146         * math/libm-test.inc (scalbn_test_data): Add more tests.
33147         (scalbln_test_data): Likewise.
33149 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33150             Stefani Seibold  <stefani@seibold.net>
33152         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
33153         (sysdep_routines): Add dl-vdso here, ...
33154         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
33155         (sysdep_routines): ... not here.
33156         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
33157         fallback when vDSO is not presented.
33158         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
33159         Define with libc_hidden_proto/libc_hidden_data_def definitions.
33160         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
33161         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
33162         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
33163         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
33164         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
33165         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
33166         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
33167         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
33168         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
33169         fallback configurable symbol when vDSO is not available.
33170         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
33171         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
33172         be able to redefine fallback symbol when vDSO is not available.
33173         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
33174         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
33176 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33178         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
33179         (TLS_INIT_TP): Add tm_capable initialization.
33180         (TLS_DEFINE_INIT_TP): Likewise.
33181         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
33182         TCB.
33183         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
33184         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
33185         calculation.
33186         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
33187         transactoion is lock elision is built and TCB tm_capable is set.
33188         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
33189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33190         (INTERNAL_SYSCALL_NCS): Likewise.
33191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33192         (INTERNAL_SYSCALL_NCS): Likewise.
33193         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
33195         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
33196         for powerpc.
33197         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
33198         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
33199         and remove it for 32 bits case.
33200         [pthread_rwlock_t] (__rwelision): New field for lock elision.
33201         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
33202         initialization.
33203         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
33204         Disable lock elision with rdlocks if elision is not available.
33206         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
33207         (sysdep_routines): Add lock elision objects.
33208         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
33209         [pthread_mutex_t] (__spins): Rework to add lock elision field.
33210         [pthread_mutex_t] (__elision): Add field.
33211         [__PTHREAD_SPINS]: Adjust to init lock elision field.
33212         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
33213         elision definitions for powerpc.
33214         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
33215         implementation of lock elision for powerpc.
33216         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
33217         implementation of timed lock elision for powerpc.
33218         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
33219         implementation of trylock with lock elision for powerpc.
33220         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
33221         implementaion of unlock for lock elision for powerpc.
33222         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
33223         automatic enable lock elision for mutexes.
33224         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
33225         transaction execution definitions for powerpc.
33226         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
33227         definitions.
33228         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
33229         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
33230         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
33231         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
33232         * NEWS: Update.
33234 2015-01-09  Roland McGrath  <roland@hack.frob.com>
33236         * sysdeps/posix/shm-directory.c: Use <> rather than ""
33237         for #include of <shm-directory.h>.
33239 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
33241         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
33242         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
33244 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
33246         [BZ #17791]
33247         * NEWS: Mention bug fix.
33248         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
33249         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
33250         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
33252 2015-01-09  Torvald Riegel <triegel@redhat.com>
33254         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
33256 2015-01-09  Torvald Riegel <triegel@redhat.com>
33258         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
33260 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
33262         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
33263         pointer and cast to uintptr_t.
33265 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
33267         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
33268         removed.
33269         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
33271 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
33273         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
33274         of 0.
33276 2015-01-08  Roland McGrath  <roland@hack.frob.com>
33278         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
33279         <nptl/pthreadP.h> instead.
33280         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
33282         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
33283         already defined.
33284         [__SIGRTMIN] (init): Function removed.
33285         [__SIGRTMIN] (initialized): Variable removed.
33286         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
33287         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
33288         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
33289         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
33290         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
33291         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
33292         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
33293         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
33294         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
33295         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
33296         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
33297         * sysdeps/nptl/allocrtsig.c: New file.
33298         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
33299         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
33300         * sysdeps/generic/testrtsig.h: File removed.
33302         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
33303         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
33305         * nptl/nptl-init.c (pthread_functions): Conditionalize
33306         .ptr__nptl_setxid initialization on [SIGSETXID].
33308         * sysdeps/nptl/sys/procfs.h: New file.
33309         * nptl_db/Makefile (headers): Add it.
33310         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
33312         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
33313         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
33314         * nptl/pthread_attr_setaffinity.c: Include it.
33315         * nptl/pthread_setattr_default_np.c: Likewise.
33316         * nptl/check-cpuset.h: New file.
33318 2015-01-08  Richard Henderson  <rth@redhat.com>
33320         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
33321         (CFLAGS-tst-execstack-prog.c): Likewise.
33322         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
33324 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
33325             Sandra Loosemore  <sandra@codesourcery.com>
33326             Andrew Jenner  <andrew@codesourcery.com>
33327             Joseph Myers  <joseph@codesourcery.com>
33328             Nathan Sidwell  <nathan@codesourcery.com>
33330         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
33331         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
33332         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
33333         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
33334         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
33335         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
33336         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
33337         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
33338         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
33339         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
33340         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
33341         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
33342         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
33343         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
33344         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
33345         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
33346         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
33348 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33350         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
33351         timespec struct member in syscall macro.
33352         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
33353         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
33354         first timeval struct member in syscall macro.
33355         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
33357 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
33359         [BZ #17748]
33360         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
33361         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
33362         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
33363         __feupdateenv and define as weak alias of __feupdateenv.  Use
33364         libm_hidden_weak.
33365         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
33366         libm_hidden_def.
33367         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
33368         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
33369         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
33370         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
33371         libm_hidden_def.
33372         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
33373         __feupdateenv and define as weak alias of __feupdateenv.  Use
33374         libm_hidden_weak.
33375         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
33376         libm_hidden_def.
33377         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
33378         __feupdateenv and define as weak alias of __feupdateenv.  Use
33379         libm_hidden_weak.
33380         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
33381         libm_hidden_def.
33382         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
33383         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
33384         (__feupdateenv): Likewise.
33385         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
33386         __feupdateenv and define as weak alias of __feupdateenv.  Use
33387         libm_hidden_weak.
33388         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33389         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
33390         libm_hidden_def.
33391         * sysdeps/tile/math_private.h (__feupdateenv): New inline
33392         function.
33393         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
33394         libm_hidden_def.
33395         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
33396         __feupdateenv instead of feupdateenv.
33397         (default_libc_feupdateenv_test): Likewise.
33398         (libc_feresetround_ctx): Likewise.
33400 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33402         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
33403         prototype.
33405 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
33407         * posix/regcomp.c (parse_bracket_exp): Initialize type to
33408         COLL_SYM in a couple of places to avoid uninitialized variable
33409         wanings on tilegx gcc 4.8.2.
33411 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
33413         * sysdeps/aarch64/strcpy.S: New file.
33414         * sysdeps/aarch64/stpcpy.S: New file.
33415         * NEWS: Updated.
33417 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
33419         * sysdeps/aarch64/strrchr.S: New file.
33420         * NEWS: Updated.
33422 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
33424         [BZ #17658]
33425         * stdlib/setenv.c: Fix memory leak when setting large,
33426         duplicate string.
33428 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
33430         [BZ #17273]
33431         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
33432         and tabs from buffer before parsing fstab entry.
33433         * misc/tst-mntent.c (main): Add test for mount entry with
33434         trailing spaces and tabs.
33436 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
33438         [BZ #17748]
33439         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
33440         * math/fesetround.c (fesetround): Rename to __fesetround and
33441         define as weak alias of __fesetround.  Use libm_hidden_weak.
33442         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
33443         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
33444         * sysdeps/arm/fesetround.c (fesetround): Likewise.
33445         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
33446         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
33447         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
33448         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
33449         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
33450         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
33451         __fesetround_inline.
33452         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
33453         __fesetround_inline instead of __fesetround.
33454         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
33455         __fesetround and define as weak alias of __fesetround.  Use
33456         libm_hidden_weak.  Call __fesetround_inline instead of
33457         __fesetround.
33458         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
33459         __fesetround and define as weak alias of __fesetround.  Use
33460         libm_hidden_weak.
33461         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
33462         Likewise.
33463         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
33464         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33465         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
33466         * sysdeps/tile/math_private.h (__fesetround): New inline function.
33467         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
33468         __fesetround and define as weak alias of __fesetround.  Use
33469         libm_hidden_weak.
33470         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
33471         __fesetround instead of fesetround.
33472         (default_libc_feholdexcept_setround): Likewise.
33473         (libc_feholdsetround_ctx): Likewise.
33474         (libc_feholdsetround_noex_ctx): Likewise.
33476         [BZ #17748]
33477         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
33478         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
33479         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
33480         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
33481         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
33482         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
33483         define as weak alias of __fesetenv.  Use libm_hidden_weak.
33484         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
33485         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
33486         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
33487         define as weak alias of __fesetenv.  Use libm_hidden_weak.
33488         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
33489         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
33490         define as weak alias of __fesetenv.  Use libm_hidden_weak.
33491         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
33492         libm_hidden_def.
33493         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
33494         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
33495         Likewise.
33496         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
33497         define as weak alias of __fesetenv.  Use libm_hidden_weak.
33498         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33499         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
33500         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
33501         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
33502         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
33503         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
33504         __fesetenv instead of fesetenv.
33505         (libc_feresetround_noex_ctx): Likewise.
33506         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
33507         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
33508         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
33509         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
33510         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
33511         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
33512         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
33513         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
33514         (__feupdateenv): Likewise.
33515         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33516         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33517         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
33518         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
33520 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
33522         [BZ #17806]
33523         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
33524         addresses have been freed.
33526 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
33528         * resolv/res_init.c (__res_vinit): Improve comments about nserv
33529         and nservall.
33531 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
33533         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
33534         Clean up check_pf allocation pattern. addresses
33536 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33538         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
33539         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
33540         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
33541         * nptl/pthread_exit.c (__pthread_exit): Likewise.
33542         * nptl/pthread_join.c (pthread_join): Likewise.
33543         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
33544         * sysdeps/posix/waitid.c (__waitid): Likewise.
33545         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
33546         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
33547         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
33548         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
33549         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
33550         Likewise.
33551         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
33552         (__libc_pread64): Likewise.
33553         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
33554         (__libc_pwrite): Likewise.
33555         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
33556         (__libc_pwrite64): Likewsie.
33557         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
33558         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
33559         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
33560         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
33561         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
33562         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
33563         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
33564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
33565         Likewise.
33566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33567         (__libc_pread64): Likewise.
33568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
33569         Likewise.
33570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33571         (__libc_pwrite64): Likewise.
33572         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
33573         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
33574         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
33575         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
33576         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
33577         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
33578         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
33579         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
33580         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
33581         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
33582         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
33583         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
33584         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
33585         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
33586         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
33587         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
33588         Likewise.
33590 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
33592         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
33593         (CFLAGS-test-double.c): Likewise.
33594         (CFLAGS-test-ldouble.c): Likewise.
33595         (CPPFLAGS-test-ifloat.c): Likewise.
33596         (CPPFLAGS-test-idouble.c): Likewise.
33597         (CPPFLAGS-test-ildoubl.c): Likewise.
33598         (CFLAGS-test-test-fenv.c): Remove variable.
33599         (CFLAGS-test-misc.c): Likewise.
33601 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
33603         [BZ #17797]
33604         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
33605         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
33606         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
33607         CLOCKS_PER_SEC == 1000000.
33608         * time/clocktest.c (main): Replace %ld with %jd and cast to
33609         intmax_t.
33611 2015-01-05  Roland McGrath  <roland@hack.frob.com>
33613         * sysdeps/generic/unwind-resume.h: New file.
33614         * sysdeps/gnu/unwind-resume.c: Include it.
33615         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
33616         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
33617         argument list.
33618         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
33619         global rather than static.
33620         (_Unwind_Resume): Update user.
33621         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
33622         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
33623         rather than static.  Add __attribute__ ((cold)).
33624         (_Unwind_Resume, __gcc_personality_v0): Update callers.
33625         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
33626         * sysdeps/arm/arm-unwind-resume.S: New file.
33627         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
33628         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
33629         * sysdeps/arm/Makefile [$(subdir) = csu]
33630         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
33631         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
33632         Add rt-arm-unwind-resume.
33633         [$(subdir) = nptl]
33634         (libpthread-sysdep_routines, libpthread-shared-only-routines):
33635         Add pt-arm-unwind-resume.
33636         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
33637         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
33639 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
33641         [BZ #17748]
33642         * include/fenv.h (__feholdexcept): Declare.  Use
33643         libm_hidden_proto.
33644         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
33645         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
33646         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33647         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
33648         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
33649         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
33650         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
33651         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33652         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
33653         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
33654         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
33655         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
33656         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
33657         (feholdexcept): Likewise.
33658         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
33659         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33660         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
33661         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33662         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
33663         __feholdexcept instead of feholdexcept.
33664         (default_libc_feholdexcept_setround): Likewise.
33666 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
33668         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
33669         to avoid using stl/str to align destination.
33671 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
33673         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
33675 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
33677         [BZ #17796]
33678         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
33679         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
33680         Define as weak alias not strong alias.
33682 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
33684         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
33685         bltzal with addiupc.
33686         (RTLD_START): Ditto.
33688 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
33690         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
33691         for __vdso_* functions in declarations.
33692         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
33693         definitions.
33694         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
33695         INTERNAL_VSYSCALL): Use struct return types to check for error.
33697         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
33698         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
33699         function with cast from llround().
33700         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
33701         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
33702         Define.
33704 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
33706         [BZ #17793]
33707         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
33708         Define as weak alias not strong alias.
33710         [BZ #17635]
33711         * ctype/ctype-c99.c: New file.  isblank implementation moved from
33712         ...
33713         * ctype/ctype-extn.c: ... here.
33714         (__isblank_l): Move to ...
33715         * ctype/ctype-c99_l.c: ... here.  New file.
33716         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
33717         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
33718         Remove variable.
33719         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
33720         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
33721         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
33722         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
33723         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
33725         [BZ #17777]
33726         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
33727         (posix_fadvise64): Define as weak alias not strong alias.
33728         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33729         (posix_fallocate64): Likewise.
33730         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
33731         Remove variable.
33732         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
33733         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
33734         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
33735         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
33736         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
33738 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
33740         [BZ #16191]
33741         * NEWS: Mention bug fix.
33742         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
33743         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
33744         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
33745         (HOST_STACK_END_ADDR): Likewise.
33747 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
33749         [BZ #17748]
33750         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
33751         * math/fegetround.c (fegetround): Rename to __fegetround and
33752         define as weak alias of __fegetround.  Use libm_hidden_weak.
33753         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
33754         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
33755         * sysdeps/arm/fegetround.c (fegetround): Likewise.
33756         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
33757         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
33758         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
33759         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
33760         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
33761         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
33762         Undefine after rather than before function definition; use
33763         parentheses around function name in definition.
33764         (__fegetround): Also undefine macro after function definition.
33765         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
33766         __fegetround and define as weak alias of __fegetround.  Use
33767         libm_hidden_weak.  Do not undefine as macro.
33768         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
33769         Likewise.
33770         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
33771         __fegetround and define as weak alias of __fegetround.  Use
33772         libm_hidden_weak.
33773         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33774         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
33775         * sysdeps/tile/math_private.h (__fegetround): New inline function.
33776         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
33777         __fegetround and define as weak alias of __fegetround.  Use
33778         libm_hidden_weak.
33779         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
33780         __fegetround instead of fegetround.
33782         [BZ #17782]
33783         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
33784         Condition macro definition on [__USE_MISC].
33786         [BZ #17781]
33787         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
33788         (struct sigaction): Change type of sa_flags field to int.
33790         [BZ #17780]
33791         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
33792         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
33793         __glibc_reserved0.
33795         * nptl/version.c (banner): Use single year in copyright notice.
33797         * NEWS: Update copyright dates.
33798         * catgets/gencat.c (print_version): Likewise.
33799         * csu/version.c (banner): Likewise.
33800         * debug/catchsegv.sh: Likewise.
33801         * debug/pcprofiledump.c (print_version): Likewise.
33802         * debug/xtrace.sh (do_version): Likewise.
33803         * elf/ldconfig.c (print_version): Likewise.
33804         * elf/ldd.bash.in: Likewise.
33805         * elf/pldd.c (print_version): Likewise.
33806         * elf/sotruss.sh: Likewise.
33807         * elf/sprof.c (print_version): Likewise.
33808         * iconv/iconv_prog.c (print_version): Likewise.
33809         * iconv/iconvconfig.c (print_version): Likewise.
33810         * locale/programs/locale.c (print_version): Likewise.
33811         * locale/programs/localedef.c (print_version): Likewise.
33812         * login/programs/pt_chown.c (print_version): Likewise.
33813         * malloc/memusage.sh (do_version): Likewise.
33814         * malloc/memusagestat.c (print_version): Likewise.
33815         * malloc/mtrace.pl: Likewise.
33816         * manual/libc.texinfo: Likewise.
33817         * nptl/version.c (banner): Likewise.
33818         * nscd/nscd.c (print_version): Likewise.
33819         * nss/getent.c (print_version): Likewise.
33820         * nss/makedb.c (print_version): Likewise.
33821         * posix/getconf.c (main): Likewise.
33822         * scripts/test-installation.pl: Likewise.
33823         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
33825 2015-01-02  Will Newton  <will.newton@linaro.org>
33827         * sysdeps/arm/armv7/configure: Removed.
33828         * sysdeps/arm/armv7/configure.ac: Likewise.
33830 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
33832         * All files with FSF copyright notices: Update copyright dates
33833         using scripts/update-copyrights.
33834         * intl/plural.c: Regenerated.
33835         * locale/programs/charmap-kw.h: Likewise.
33836         * locale/programs/locfile-kw.h: Likewise.
33838 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33840         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
33842 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
33844         [BZ #17748]
33845         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
33846         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
33847         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
33848         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
33849         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
33850         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
33851         define as weak alias of __fegetenv.  Use libm_hidden_weak.
33852         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
33853         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
33854         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
33855         define as weak alias of __fegetenv.  Use libm_hidden_weak.
33856         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
33857         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
33858         define as weak alias of __fegetenv.  Use libm_hidden_weak.
33859         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
33860         libm_hidden_def.
33861         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
33862         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
33863         Likewise.
33864         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
33865         define as weak alias of __fegetenv.  Use libm_hidden_weak.
33866         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33867         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
33868         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
33869         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
33870         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
33871         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
33872         __fegetenv instead of fegetenv.
33873         (libc_feholdsetround_noex_ctx): Likewise.
33875 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
33877         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
33878         (Elf_MIPS_ABIFlags_v0): New structure.
33879         (EF_MIPS_FP64): Define.
33880         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
33881         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
33882         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
33883         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
33884         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
33885         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
33886         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
33887         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
33888         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
33889         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
33890         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
33891         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
33892         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
33893         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
33894         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
33895         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
33896         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
33897         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
33898         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
33899         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
33900         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
33901         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
33902         field.
33903         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
33904         EF_MIPS_FP64.
33905         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
33906         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
33907         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
33908         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
33909         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
33910         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
33911         * sysdeps/mips/tst-abi-interlink.c: Likewise.
33912         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
33913         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
33914         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
33915         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
33916         record the current FP ABI extension.
33917         (mips-mode-switch): Define to show if kernel headers support mode
33918         switching.
33919         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
33920         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
33921         supported SYSV ABI version to 3.
33922         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
33923         feature.
33925 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33926             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33928         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
33929         path.
33930         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
33932 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
33934         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
33935         __fegetround and redefine to call __fegetround.  Remove condition
33936         on [!__NO_MATH_INLINES].
33937         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
33938         function.
33939         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
33940         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
33941         Remove macro.
33942         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
33943         instead of <fenv_libc.h>.
33944         (__llrintl): Call fegetround instead of __fegetround.
33945         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
33946         instead of <fenv_libc.h>.
33947         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
33948         (__lrintl): Call fegetround instead of __fegetround.
33949         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
33950         instead of <fenv_libc.h>.
33951         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
33952         (__rintl): Call fegetround instead of __fegetround.
33954 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
33956         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
33957         arrays.
33959 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
33961         [BZ #17775]
33962         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
33963         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
33964         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
33966 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
33968         * sysdeps/i386/tls-macros.h: Include <features.h>.
33969         (TLS_LE): Use non-PIC version for GCC >= 5.0.
33970         (TLS_IE): Likewise.
33971         (TLS_LD): Likewise.
33972         (TLS_GD): Likewise.
33973         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
33974         define for GCC >= 5.0.
33976 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
33978         * math/test-fenv.c (test_single_exception, set_single_exc,
33979         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
33980         feexcp_mask_test, feenable_test, fe_single_test): Add
33981         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
33982         case where they are not used.
33983         * math/libm-test.inc: Likewise.
33984         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
33985         unused in the absence of FP rounding/exception support.
33986         * stdio-common/tst-printf-round.c: Likewise.
33987         * stdlib/tst-strtod-round.c: Likewise.
33988         * stdlib/tst-strtod-underflow.c: Likewise.
33990 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
33992         [BZ #17723]
33993         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
33994         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
33995         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
33996         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
33997         libm_hidden_weak.
33998         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
33999         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
34000         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
34001         libm_hidden_def.
34002         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
34003         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
34004         libm_hidden_weak.
34005         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
34006         Likewise.
34007         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
34008         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
34009         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
34010         libm_hidden_weak.
34011         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
34012         libm_hidden_def.
34013         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
34014         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
34015         (__feraiseexcept): Likewise.
34016         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
34017         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
34018         libm_hidden_weak.
34019         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
34020         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
34021         libm_hidden_def.
34022         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
34023         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
34024         Use libm_hidden_def.
34025         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
34026         libm_hidden_def.
34027         (feraiseexcept): Define as weak not strong alias.  Use
34028         libm_hidden_weak.
34029         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
34030         New inline function.  Factored out of ...
34031         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
34032         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
34033         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
34034         feraiseexcept.
34035         * math/w_acos.c (__acos): Likewise.
34036         * math/w_asin.c (__asin): Likewise.
34037         * math/w_ilogb.c (__ilogb): Likewise.
34038         * math/w_j0.c (y0): Likewise.
34039         * math/w_j1.c (y1): Likewise.
34040         * math/w_jn.c (yn): Likewise.
34041         * math/w_log.c (__log): Likewise.
34042         * math/w_log10.c (__log10): Likewise.
34043         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
34044         * sysdeps/aarch64/fpu/math_private.h
34045         (libc_feupdateenv_test_aarch64): Likewise.
34046         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
34047         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
34048         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
34049         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
34050         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
34051         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
34052         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
34053         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34054         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34055         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
34057 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
34059         [BZ #17732]
34060         * io/test-utime.c (main): Replace %ld with %jd and cast to
34061         intmax_t.
34062         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
34063         * nptl/tst-mutex5.c: Include <stdint.h>.
34064         (do_test): Replace %ld with %jd and cast to intmax_t.
34065         * posix/tst-regex.c (run_test): Likewise.
34066         (run_test_backwards): Likewise.
34067         * rt/tst-clock.c: Include <stdint.h>.
34068         (clock_test): Replace %ld with %jd and cast to intmax_t.
34069         * rt/tst-cpuclock1.c: Include <stdint.h>.
34070         (do_test): Replace %lu with %ju and cast to uintmax_t.
34071         * rt/tst-cpuclock2.c: Include <stdint.h>.
34072         (do_test): Replace %lu with %ju and cast to uintmax_t.
34073         * rt/tst-mqueue1.c: Include <stdint.h>.
34074         (check_attrs): Replace %ld with %jd and cast to intmax_t.
34075         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
34076         intmax_t.
34077         * rt/tst-mqueue4.c (do_test): Likewise.
34078         * rt/tst-timer4.c: Include <stdint.h>.
34079         (check_ts): Replace %ld with %jd and cast to intmax_t.
34080         (do_test): Likewise.
34081         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
34082         and cast to intmax_t.
34083         * sysdeps/pthread/tst-timer.c (main): Likewise.
34084         * time/clocktest.c (main): Likewise.
34085         * time/tst-posixtz.c (do_test): Likewise.
34086         * timezone/tst-timezone.c (main): Likewise.
34088 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
34089             H.J. Lu  <hongjiu.lu@intel.com>
34091         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
34092         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
34093         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
34094         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
34095         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
34096         version if bit_Fast_Unaligned_Load is set.
34097         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34098         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34099         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34100         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34101         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34102         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34103         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34104         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
34105         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
34106         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
34107         to 4.
34108         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
34109         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
34110         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
34111         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
34113 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
34115         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
34116         instead of #if to avoid a Wundef warning.
34117         * stdlib/tst-limits.c (do_test): Likewise.
34119         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
34120         parallel other exception macros.
34121         (fegetenv): Convert from macro to extern inline so that it applies
34122         retroactively to inline functions already seen by the compiler.
34123         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
34125         * posix/Makefile (before-compile): Use $(objpfx) for
34126         posix-conf-vars-def.h.
34128 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34130         * posix/getconf.c (main): Use size_t for type of I.
34131         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
34132         NSPEC.
34134         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
34135         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
34136         * posix/posix-envs.def: Likewise.
34137         * sysdeps/posix/sysconf.c: Likewise.
34138         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
34139         (specs): Remove array.
34140         * scripts/gen-posix-conf-vars.awk: Support generation of specs
34141         array.
34143         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
34144         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
34145         (__sysconf): Use CONF_IS_* macros.
34147         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
34148         ($(objpfx)posix-conf-vars-def.h): New target.
34149         * posix/posix-conf-vars.list: New file.
34150         * posix/posix-conf-vars.h: New file.
34151         * posix/confstr.c: Include posix-conf-vars.h.
34152         (confstr): Use CONF_IS_* macros.
34153         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
34154         CONF_IS_* macros.
34155         * scripts/gen-posix-conf-vars.awk: New file.
34157 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
34159         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
34160         fegetround): Add no-op macros to avoid linknamespace issues.
34162         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
34163         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
34165         * sysdeps/unix/sysv/linux/tile/sysdep.h
34166         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
34167         assembly-specific section to avoid a redefinition warning.
34169         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
34170         long before casting to pointer to avoid a cast warning.
34172 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
34174         * sysdeps/tile/tilegx/Implies: New file.
34176 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
34178         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
34180 2014-12-23  Florian Weimer  <fweimer@redhat.com>
34182         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
34184 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
34186         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
34187         not define.
34188         * sysdeps/unix/sysv/linux/utimes.c: Do not include
34189         <kernel-features.h>.
34190         (__utimes) [__NR_utimes]: Make code unconditional.
34191         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
34192         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34193         (__ASSUME_UTIMES): Do not undefine.
34194         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34195         (__ASSUME_UTIMES): Likewise.
34196         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
34197         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
34198         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
34199         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
34201 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
34203         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
34205 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
34207         [BZ #17747]
34208         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
34209         alias to weak alias for j0l, y0l.
34210         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
34211         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
34213         [BZ #17746]
34214         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
34215         conversion.
34217 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
34219         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
34220         to zero if not already defined.
34222 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
34224         [BZ #17724]
34225         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
34226         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
34227         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
34228         (char *) casts added.
34229         * sysdeps/ieee754/k_standardf.c: New file.
34230         * sysdeps/ieee754/k_standardl.c: Likewise.
34231         * math/Makefile (libm-support): Remove k_standard.
34232         (libm-calls): Add k_standard.
34234 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
34236         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
34237         Optimize to avoid an unnecessary FPCR read.
34239 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
34241         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
34242         Optimize to reduce FPCR/FPSR accesses.
34244 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
34246         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
34247         Call libc_fetestexcept_aarch64.
34249 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
34251         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
34252         Call libc_fesetround_aarch64.
34254 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
34256         [BZ #17733]
34257         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
34258         (__bind): Do not define as weak alias.
34259         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
34260         define.
34261         (__getsockname): Do not define as weak alias.
34263 2014-12-22  Will Newton  <will.newton@linaro.org>
34265         * manual/install.texi: Document that we require bison 2.7
34266         or above.
34267         * INSTALL: Regenerate.
34268         * configure.ac: Use AC_CHECK_PROG_VER instead of
34269         AC_PATH_PROG when checking for bison and check for
34270         version 2.7 or above.
34271         * configure: Regenerate.
34273 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
34275         [BZ #17745]
34276         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
34277         * sysdeps/tile/ffsll.c (ffsll): To here.
34279         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
34281 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
34283         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
34284         if not defined.
34285         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
34286         definition.
34287         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
34288         hidden ___tls_get_addr.
34289         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
34290         hidden __tls_get_addr.
34291         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
34292         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
34293         Likewise.
34295 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
34297         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
34298         _dl_init call.
34300 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
34302         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
34303         from "call _dl_init@PLT".
34304         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
34306 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
34308         * manual/search.texi: (Array Sort Function): Clarify stable sorting
34309         guarantees.
34311 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
34313         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
34315 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
34317         [BZ #17744]
34318         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
34319         strnlen.
34321 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
34323         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
34324         of multu on MIPSr6.
34325         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
34326         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
34327         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
34328         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
34329         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
34331 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
34333         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
34334         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
34335         (PTR_SUBU): Use subu for mips32r6/mips64r6.
34336         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
34337         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
34338         mips32r6/mips64r6.
34339         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
34341 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
34343         * string/strncat.c (STRNCAT): Simplify implementation.
34345 2014-12-19  David S. Miller  <davem@davemloft.net>
34347         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
34348         access the quad as both a long double and as a series of 4 words.
34350         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
34351         link_map->l_info array access.
34353 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
34355         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
34357         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
34358         * math/atest-exp2.c (TIMEOUT): Likewise.
34359         * math/atest-sincos.c (TIMEOUT): Likewise.
34361 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
34363         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
34364         -Wno-error with -fno-builtin-lround.
34366 2014-12-19  Torvald Riegel  <triegel@redhat.com>
34368         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
34369         Contains futex constants and functions moved over from ...
34370         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
34371         <lowlevellock-futex.h>.
34372         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
34373         (lll_timedwait_tid): Add comments and parentheses around macro
34374         arguments.
34376 2014-12-19  Torvald Riegel  <triegel@redhat.com>
34378         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
34379         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
34380         (__lll_private_flag): Remove.
34381         (lll_futex_wait): Likewise.
34382         (lll_futex_timed_wait): Likewise.
34383         (lll_futex_wake): Likewise.
34384         (lll_futex_requeue): Likewise.
34385         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
34386         (__lll_timedwait_tid): Spell out argument names.
34387         (lll_timedwait_tid): Add comments and parentheses around macro
34388         arguments.
34389         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
34390         LLL_SHARED and LLL_PRIVATE usable from assembly code.
34392 2014-12-19  Torvald Riegel  <triegel@redhat.com>
34394         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
34395         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
34396         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34397         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
34398         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
34399         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
34400         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
34401         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
34402         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
34403         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
34404         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
34405         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
34406         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
34407         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
34408         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
34409         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
34410         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
34411         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
34412         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
34414 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
34416         * sysdeps/x86_64/x32/Makefile: New file.
34418 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
34420         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
34421         1L with (mp_limb_t) 1.
34423 2014-12-17  Roland McGrath  <roland@hack.frob.com>
34425         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
34426         * nptl/libc_pthread_init.c: ... here.
34427         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
34428         * nptl/register-atfork.c: ... here.
34430         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
34431         Use pthread_sigmask rather than INTERNAL_SYSCALL.
34432         Use assert_perror to check its return value.
34433         (__gai_create_helper_thread): Likewise.
34435         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
34437         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
34439 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
34441         [BZ #17725]
34442         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
34443         __profil_counter.
34444         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
34445         Likewise.
34446         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
34447         Likewise.
34448         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
34449         Likewise.
34450         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
34451         (profil_counter): Likewise.
34452         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
34453         (profil_counter): Likewise.
34454         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
34455         Likewise.
34456         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
34457         Likewise.
34458         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
34459         (profil_counter): Likewise.
34460         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
34461         Likewise.
34462         [!__profil_counter] (profil_counter): Define as weak alias of
34463         __profil_counter.
34464         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
34465         (profil_counter): Rename to __profil_counter.
34466         [!__profil_counter] (profil_counter): Define as weak alias of
34467         __profil_counter.
34468         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
34469         (profil_counter): Rename to __profil_counter.
34470         [!__profil_counter] (profil_counter): Define as weak alias of
34471         __profil_counter.
34472         * sysdeps/posix/profil.c: Update comment referring to
34473         profil_counter.
34474         (__profil): Use __profil_counter instead of profil_counter.
34475         * sysdeps/posix/sprofil.c (profil_counter): Rename to
34476         __profil_counter.  Use __profil_counter_ushort and
34477         __profil_counter_uint in definitions.
34478         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
34479         instead of profil_counter_uint and profil_counter_ushort.
34481         [BZ #17722]
34482         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
34483         define as weak alias of __inet_makeaddr.
34484         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
34485         as weak alias of __inet_addr.
34486         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
34487         as weak alias of __inet_pton.  Use libc_hidden_weak.
34488         * include/arpa/inet.h (__inet_pton): Declare.  Use
34489         libc_hidden_proto.
34490         (inet_makeaddr): Don't use libc_hidden_proto.
34491         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
34492         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
34493         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
34494         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
34495         Remove variable.
34496         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
34497         (test-xfail-POSIX/time.h/linknamespace): Likewise.
34499 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
34501         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
34503 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
34505         * stdio-common/bug-vfprintf-nargs.c (do_test):
34506         Cast value to intptr_t to avoid format warning
34507         for usage with PRIdPTR printing macro.
34509 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
34511         * libio/tst-widetext.c (do_test):
34512         Use format type %td instead of %Zd for ptrdiff_t
34513         in order to avoid format warning.
34515 2014-12-17  Andreas Schwab  <schwab@suse.de>
34517         * nscd/mem.c (gc): Add size_t cast to match printf format.
34519 2014-12-16  Roland McGrath  <roland@hack.frob.com>
34521         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
34522         (init): Apply PTR_MANGLE to pointers before storing them.
34523         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
34524         before using them.
34526 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
34528         [BZ #17719]
34529         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
34530         define as weak alias of __memrchr.
34531         (__memrchr): Do not define as strong alias of memrchr.
34532         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
34533         Remove variable.
34534         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
34535         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
34536         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
34538         [BZ #17717]
34539         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
34540         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
34541         (if_indextoname): Rename to __if_indextoname and define as weak
34542         alias of __if_indextoname.  Use libc_hidden_weak.
34543         (if_freenameindex): Rename to __if_freenameindex and define as
34544         weak alias of __if_freenameindex.
34545         (if_nameindex): Rename to __if_nameindex and define as weak alias
34546         of __if_nameindex.
34547         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
34548         __if_nametoindex and define as weak alias of __if_nametoindex.
34549         Use libc_hidden_weak.
34550         (if_freenameindex): Rename to __if_freenameindex and define as
34551         weak alias of __if_freenameindex.
34552         (if_nameindex): Rename to __if_nameindex and define as weak alias
34553         of __if_nameindex.
34554         (if_indextoname): Rename to __if_indextoname and define as weak
34555         alias of __if_indextoname.  Use libc_hidden_weak.
34556         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
34557         __if_nametoindex and define as weak alias of __if_nametoindex.
34558         Use libc_hidden_weak.
34559         (if_freenameindex): Rename to __if_freenameindex and define as
34560         weak alias of __if_freenameindex.  Use libc_hidden_weak.
34561         (if_nameindex_netlink): Use __if_freenameindex instead of
34562         if_freenameindex.
34563         (if_nameindex): Rename to __if_nameindex and define as weak alias
34564         of __if_nameindex.  Use libc_hidden_weak.
34565         (if_indextoname): Rename to __if_indextoname and define as weak
34566         alias of __if_indextoname.  Use libc_hidden_weak.
34567         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
34568         libc_hidden_proto.
34569         [!_ISOMAC] (__if_freenameindex): Likewise.
34570         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
34571         if_nametoindex.
34572         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
34573         variable.
34574         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
34575         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
34576         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
34577         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
34578         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
34579         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
34580         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
34582         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
34583         Remove variable.
34584         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
34585         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
34587 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34589         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
34590         subscript above bounds'
34592         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
34593         bounds.
34595 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
34597         * libio/tst-fopenloc.c: Use test-skeleton.c.
34599         * stdlib/tst-bsearch.c: Use test-skeleton.c.
34600         (entry): Rename to ITEM.
34601         (do_test, comp): Adjust.
34603         * stdio-common/tst-fseek.c: Use test-skeleton.c.
34605 2014-12-16  Torvald Riegel  <triegel@redhat.com>
34607         * string/tester.c: Include <libc-internal.h>.
34608         (test_memset): Ignore -Wmemset-transposed-args.
34610 2014-12-16  Torvald Riegel  <triegel@redhat.com>
34612         * misc/tst-mntent2.c (do_test): Fix warning.
34614 2014-12-16  Torvald Riegel  <triegel@redhat.com>
34616         * elf/tst-unique4lib.cc(a): Mark as used.
34618 2014-12-16  Florian Weimer  <fweimer@redhat.com>
34620         [BZ #17630]
34621         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
34622         names.
34624 2014-12-16  Allan McRae  <allan@archlinux.org>
34626         * stdio-common/Makefile (tests): Re-add bug26.
34628 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
34630         [BZ #17657]
34631         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
34632         static array.
34634 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
34636         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
34637         (__lll_lock_wait): Likewise.
34638         (__lll_timedlock_wait): Likewise.
34639         (__lll_timedwait_tid): Likewise.
34640         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
34641         (__lll_robust_timedlock_wait): Likewise.
34642         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
34643         (lll_cond_trylock): Likewise.
34644         (__lll_lock): Likewise.
34645         (__lll_robust_lock): Likewise.
34646         (__lll_cond_lock): Likewise.
34647         (lll_robust_cond_lock): Likewise.
34648         (__lll_timedlock): Likewise.
34649         (__lll_robust_timedlock): Likewise.
34650         (__lll_unlock): Likewise.
34651         (__lll_robust_unlock): Likewise.
34652         (lll_wait_tid): Likewise.
34653         (lll_timedwait_tid): Likewise.
34655 2014-12-15  Torvald Riegel  <triegel@redhat.com>
34657         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
34659 2014-12-15  Torvald Riegel  <triegel@redhat.com>
34661         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
34663 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
34665         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
34666         * stdio-common/tst-sprintf.c: Likewise.
34668 2014-12-15  Torvald Riegel  <triegel@redhat.com>
34670         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
34672 2014-12-15  Jeff Law  <law@redhat.com>
34674         [BZ #16617]
34675         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
34676         on the heap.  (CVE-2012-3406)
34677         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
34678         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
34679         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
34681 2014-12-15  Will Newton  <will.newton@linaro.org>
34683         * manual/install.texi: Bump required version of texinfo
34684         to 4.7 from 4.5.
34685         * INSTALL: Regenerated.
34686         * configure.ac: Check for makeinfo version 4.7 and above.
34687         * configure: Regenerated.
34689 2014-12-12  Roland McGrath  <roland@hack.frob.com>
34691         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
34692         PREFIX, string constant to insert between directory and name.
34693         * sysdeps/posix/shm_open.c: Update caller.
34694         * sysdeps/posix/shm_unlink.c: Likewise.
34695         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
34696         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
34697         (SEM_SHM_PREFIX): New macro.
34698         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
34699         [$(have-thread-library) = no].
34700         * nptl/Makefile (libpthread-routines): Add shm-directory.
34701         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
34702         * sysdeps/nptl/shm-directory.h: New file.
34703         * sysdeps/posix/shm-directory.c
34704         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
34705         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
34706         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
34707         INTERNAL_SYSCALL.
34708         (__where_is_shmfs): Function removed.
34709         (mountpoint, defaultmount, defaultdir, __namedsem_once):
34710         Variables removed.
34711         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
34712         Use SHM_GET_NAME.
34713         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
34715         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
34716         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
34717         unconditional for use inside libpthread.
34718         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
34720 2014-12-12  Roland McGrath  <roland@hack.frob.com>
34722         * nptl/pthread_getaffinity.c: New file.
34723         * nptl/pthread_setaffinity.c: New file.
34724         * nptl/pthread_getname.c: New file.
34725         * nptl/pthread_setname.c: New file.
34727         * nptl/pthread_create.c (START_THREAD_DEFN)
34728         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
34730 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
34731             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34733         * resolv/res_send.c (send_vc): Disable warning resplen may
34734         be used uninitialized.
34736 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
34738         * nptl/tst-mutex6.c
34739         (ATTR_NULL): New define checks ATTR against NULL.
34740         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
34741         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
34743 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
34745         [BZ #17581]
34746         * malloc/hooks.c
34747         (mem2mem_check): Revert my previous change.
34748         (malloc_check_get_size): Revert my previous change.
34749         (mem2chunk_check): Revert my previous change.
34751 2014-12-11  Roland McGrath  <roland@hack.frob.com>
34753         * sysdeps/posix/shm-directory.c: New file.
34754         * sysdeps/posix/shm-directory.h: New file.
34755         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
34756         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
34757         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
34758         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
34759         Transmute EPERM to EACCES.
34760         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
34761         from ...
34762         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
34763         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
34765 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34767         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
34768         pointer and cast to uintptr_t.
34769         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
34770         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
34771         Add cast to avoid warning.
34772         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
34774 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
34776         * nptl/semaphore.h: Move to ...
34777         * sysdeps/pthread/semaphore.h: ... here.
34778         * Makefile (installed-headers): Change nptl/semaphore.h to
34779         sysdeps/pthread/semaphore.h.
34781 2014-12-11  Roland McGrath  <roland@hack.frob.com>
34783         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
34784         generated error format strings.
34786         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
34787         -Wformat-extra-args warnings for scanf formats.
34788         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
34789         test of zero-length format (duh).
34790         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
34791         corner-case scanf format test.
34792         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
34793         generated fprintf format string.
34794         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
34795         corner-case sprintf format tests.
34796         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
34797         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
34798         -Wformat-extra-args warnings throughout.
34799         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
34800         (CFLAGS-scanf4.c): Likewise.
34801         (CFLAGS-scanf7.c): Likewise.
34802         (CFLAGS-tst-sprintf.c): Likewise.
34803         (CFLAGS-tst-printf.c): Likewise.
34804         (CFLAGS-tst-printfsz.c): Likewise.
34806 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
34808         * include/cpio.h: New file.
34809         * include/fmtmsg.h: Likewise.
34811         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
34812         corresponding format argument to size_t.
34813         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
34814         arguments.
34815         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
34816         corresponding format argument to size_t.
34817         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
34818         arguments.
34819         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
34820         corresponding format argument to size_t.
34821         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
34822         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
34823         (CFLAGS-tst-mbswcs2.c): Likewise.
34824         (CFLAGS-tst-mbswcs3.c): Likewise.
34825         (CFLAGS-tst-mbswcs4.c): Likewise.
34826         (CFLAGS-tst-mbswcs5.c): Likewise.
34827         (CFLAGS-tst-trans.c): Likewise.
34829 2014-12-11  Roland McGrath  <roland@hack.frob.com>
34831         * posix/regexbug1.c (main): Use "%s" format with regerror results,
34832         rather than assuming they won't contain any '%'s.
34834 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
34836         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
34837         inhibit_loop_to_libcall to avoid recursive calls.
34838         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
34839         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
34841 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
34843         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
34844         prototype.
34846 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
34848         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
34849         integer value instead of boolean.
34851 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
34853         * malloc/malloc.c: Fix powerof2 check.
34855 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
34857         * locale/programs/locfile.h (maybe_swap_uint32):
34858         Remove inline and add unused attribute.
34860 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
34862         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
34863         Truncating assembler expression to a .long expression.
34865 2014-12-11  Andreas Schwab  <schwab@suse.de>
34867         * elf/rtld.c (struct map_args): Constify str member.
34868         (do_preload): Constify fname argument.
34870 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34872         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
34873         constants definition.
34875 2014-12-11  Andreas Schwab  <schwab@suse.de>
34877         [BZ #16657]
34878         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
34879         FORCE_ELISION instead of DO_ELISION.
34880         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
34881         Remove.
34882         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
34883         Likewise.
34885         * iconvdata/gconv-modules: Remove duplicate entry.
34887 2014-12-11  Will Newton  <will.newton@linaro.org>
34889         Merge gettext 0.19.3 into intl/.
34891         This involves a number of cosmetic changes to comments
34892         and ANSI function definitions and prototypes throughout
34893         all the files. The gettext copyright header is used but
34894         with the date ranges taken from the glibc copy.
34896         * NEWS: Add gettext merge to 2.21.
34897         * intl/bindtextdom.c: Switch to gettext copyright.
34898         Use ANSI definitions and prototypes.
34899         Use gl_* locking primitives rather than __libc_* ones.
34900         Use __builtin_expect rather than __glibc_likely/unlikely.
34901         * intl/dcgettext.c: Switch to gettext copyright.
34902         Use ANSI definitions and prototypes.
34903         * intl/dcigettext.c: Switch to gettext copyright.
34904         Use ANSI definitions and prototypes.
34905         (INTDIV0_RAISES_SIGFPE): New define.
34906         Use gl_* locking primitives rather than __libc_* ones.
34907         Include eval-plural.h instead of plural-eval.c.
34908         Use __builtin_expect rather than __glibc_likely/unlikely.
34909         * intl/dcngettext.c: Switch to gettext copyright.
34910         Use ANSI definitions and prototypes.
34911         * intl/dgettext.c: Likewise.
34912         * intl/dngettext.c: Likewise.
34913         * intl/plural-eval.c: Renamed to...
34914         * intl/eval-plural.h: ...this.
34915         * intl/explodename.c: Switch to gettext copyright.
34916         Use ANSI definitions and prototypes.
34917         (_nl_explode_name): Use strchr instead of __rawmemchr.
34918         * intl/finddomain.c: Switch to gettext copyright.
34919         Use ANSI definitions and prototypes.
34920         Use gl_* locking primitives rather than __libc_* ones.
34921         (_nl_find_domain): Use malloc rather than alloca for
34922         allocation of temporary locale name.
34923         * intl/gettext.c: Switch to gettext copyright.
34924         Use ANSI definitions and prototypes.
34925         * intl/gettextP.h: Switch to gettext copyright.
34926         Use ANSI definitions and prototypes.
34927         Use gl_* locking primitives rather than __libc_* ones.
34928         * intl/gmo.h: Switch to gettext copyright.
34929         (struct sysdep_string): Move struct segment_pair outside of
34930         struct definition.
34931         * intl/hash-string.c: Use ANSI definitions and prototypes.
34932         * intl/hash-string.h: Switch to gettext copyright.
34933         Use ANSI definitions and prototypes.
34934         * intl/l10nflist.c: Switch to gettext copyright.
34935         Use ANSI definitions and prototypes.
34936         (_nl_normalize_codeset): Avoid integer overflow.
34937         * intl/loadinfo.h: Switch to gettext copyright.
34938         Use ANSI definitions and prototypes.
34939         (LIBINTL_DLL_EXPORTED): New define.
34940         (PATH_SEPARATOR): New define.
34941         * intl/loadmsgcat.c: Switch to gettext copyright.
34942         * intl/localealias.c: Switch to gettext copyright.
34943         Use ANSI definitions and prototypes.
34944         (_nl_expand_alias): Use PATH_SEPARATOR.
34945         * intl/ngettext.c: Switch to gettext copyright.
34946         Use ANSI definitions and prototypes.
34947         * intl/plural-exp.c: Likewise.
34948         * intl/plural-exp.h: Switch to gettext copyright.
34949         Use ANSI definitions and prototypes.
34950         (struct expression): Move definition of enum operator outside
34951         of struct definition.
34952         * intl/plural.c: Regenerate.
34953         * intl/plural.y: Switch to gettext copyright.
34954         Use ANSI definitions and prototypes.
34955         Port to bison 3.0.
34956         * intl/textdomain.c: Switch to gettext copyright.
34957         Use ANSI definitions and prototypes.
34958         Use gl_* locking primitives rather than __libc_* ones.
34960 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
34962         * debug/warning-nop.c: Add used atrribute.
34964 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
34966         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
34968         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
34969         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
34970         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
34972 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
34973             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34975         [BZ #17634]
34976         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
34977         Undefine after defining function.  Define as weak alias of
34978         __wcschr.  Use libc_hidden_weak.
34979         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
34980         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
34981         (libc_hidden_def): Also define __GI___wcschr alias.
34982         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
34983         __wcschr and define as weak alias of __wcschr.
34984         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
34985         __wcschr.
34986         [!WCSCHR] (DEFAULT_WCSCHR): Define.
34987         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
34988         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
34989         libc_hidden_weak.  Do not use libc_hidden_def.
34990         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
34991         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
34992         __GI___wcschr alias.
34993         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
34994         [IS_IN (libc)] (wcschr): Define as macro expanding to
34995         __redirect_wcschr.
34996         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
34997         [IS_IN (libc)] (__wcschr_power6): Likewise.
34998         [IS_IN (libc)] (__wcschr_power7): Likewise.
34999         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
35000         instead of wcschr.
35001         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
35002         __libc_wcschr.
35003         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
35004         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
35005         __wcschr and define as weak alias of __wcschr.  Use
35006         libc_hidden_builtin_def.
35007         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
35008         as weak alias of __wcschr.  Use libc_hidden_weak.
35009         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
35010         wcschr.
35011         * time/era.c (_nl_init_era_entries): Likewise.
35012         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
35013         variable.
35014         (test-xfail-XPG3/time.h/linknamespace): Likewise.
35015         (test-xfail-XPG4/time.h/linknamespace): Likewise.
35017 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
35019         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
35020         format for long int variable.
35022 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
35024         [BZ #10672]
35025         * manual/search.texi: (Array Sort Function): Remove claim how to make
35026         qsort stable.
35028 2014-12-10  Andreas Schwab  <schwab@suse.de>
35030         [BZ #12847]
35031         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
35032         user-controlled locks.
35034 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
35036         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
35037         register.
35039 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
35041         * configure.ac (--disable-werror): New configure option.
35042         (enable_werror): New AC_SUBST.
35043         * configure: Regenerated.
35044         * config.make.in (enable-werror): New variable.
35045         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
35046         -Wno-error=undef.
35047         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
35048         * manual/install.texi (Configuring and compiling): Document
35049         --disable-werror.
35050         * INSTALL: Regenerated.
35051         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
35052         (CFLAGS-tst-chk2.c): Likewise.
35053         (CFLAGS-tst-chk3.c): Likewise.
35054         (CFLAGS-tst-chk4.cc): Likewise.
35055         (CFLAGS-tst-chk5.cc): Likewise.
35056         (CFLAGS-tst-chk6.cc): Likewise.
35057         (CFLAGS-tst-lfschk1.c): Likewise.
35058         (CFLAGS-tst-lfschk2.c): Likewise.
35059         (CFLAGS-tst-lfschk3.c): Likewise.
35060         (CFLAGS-tst-lfschk4.cc): Likewise.
35061         (CFLAGS-tst-lfschk5.cc): Likewise.
35062         (CFLAGS-tst-lfschk6.cc): Likewise.
35064         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
35065         (main): Disable -Wdeprecated-declarations around calls to
35066         register_printf_function.
35068         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
35069         (do_test): Disable -Wdiv-by-zero around some calls to
35070         fwrite_unlocked and fread_unlocked.
35072         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
35073         (DIAG_POP_NEEDS_COMMENT): Likewise.
35074         (_DIAG_STR1): Likewise.
35075         (_DIAG_STR): Likewise.
35076         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
35077         * stdio-common/bug21.c: Include <libc-internal.h>.
35078         (do_test): Disable -Wformat around call to sscanf.
35079         * stdio-common/scanf14.c: Include <libc-internal.h>.
35080         (main): Disable -Wformat around some calls to scanf functions.
35082 2014-12-09  Torvald Riegel  <triegel@redhat.com>
35084         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
35086 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35088         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
35089         stack variable alignment.
35091 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
35093         [BZ #17682]
35094         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
35095         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
35096         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
35097         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
35098         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
35099         __getrlimit instead of getrlimit.
35100         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
35101         __gettimeofday instead of gettimeofday.
35102         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
35103         Likewise.
35104         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
35105         Likewise.
35106         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35107         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
35108         Remove variable.
35109         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
35110         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
35112 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35114         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
35115         for wide-character tests.
35117 2014-12-04  Roland McGrath  <roland@hack.frob.com>
35119         * io/openat64.c: #include <libc-internal.h>
35120         (__openat64): Prototypify.  Use ignore_value on MODE.
35121         * io/openat.c: Likewise.
35122         * misc/reboot.c: #include <libc-internal.h>
35123         (reboot): Prototypify.  Use ignore_value on HOWTO.
35124         * misc/ptrace.c: #include <libc-internal.h>
35125         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
35127 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
35129         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
35130         XPG4, UNIX98 and XOPEN2K.
35131         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
35132         Remove variable.
35133         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
35135 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35137         * libio/fileops.c: Use ISO C style for function definitions.
35138         * libio/iofopen.c: Likewise.
35139         * libio/wfileops.c: Likewise.
35141         [BZ #17653]
35142         * libio/fileops.c (_IO_new_file_underflow): Unset cached
35143         offset on EOF.
35144         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
35145         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
35146         (fgets_func): Function pointer to fgets and fgetws.
35147         (do_ftell_test): Add test to verify ftell value after read
35148         EOF.
35149         (do_test): Set fgets_func.
35151         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
35152         O_TRUNC flag for w and w+ modes.
35153         (do_rewind_test): Likewise.
35154         (do_ftell_test): Likewise.
35155         (do_write_test): Likewise.
35157         [BZ #17647]
35158         * libio/fileops.c (do_ftell): Seek only when there are
35159         unflushed writes.
35160         * libio/wfileops.c (do_ftell_wide): Likewise.
35161         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
35162         test case.
35163         (do_one_test): Call it.
35165 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
35167         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
35168         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
35169         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
35170         Remove variable.
35171         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
35172         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
35173         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
35175 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
35177         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
35178         Remove variable.
35179         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
35181         [BZ #17668]
35182         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
35183         as weak alias of __getifaddrs.  Use libc_hidden_weak.
35184         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
35185         __freeifaddrs.  Use libc_hidden_weak.
35186         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
35187         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
35188         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
35189         __freeifaddrs.  Use libc_hidden_weak.
35190         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
35191         __getifaddrs and define as weak alias of __getifaddrs.  Use
35192         libc_hidden_weak.
35193         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
35194         __freeifaddrs.  Use libc_hidden_weak.
35195         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
35196         Remove variable.
35197         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
35198         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
35200 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
35202         [BZ #17601]
35203         * sysdeps/mips/start.S (__start): Use indirect jump to call
35204         __libc_start_main.
35206 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
35208         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
35210         * nptl/tst-mutex1.c: Include <stdbool.h>.
35211         [!ATTR] (ATTR_NULL): New macro.
35212         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
35213         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
35214         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
35216         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
35217         to char *.
35219         [BZ #17665]
35220         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
35221         Change conditional to [__USE_MISC].
35223         [BZ #17664]
35224         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
35225         fgets_unlocked.
35226         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
35227         __fgets_unlocked.
35228         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
35229         fgets_unlocked.
35230         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
35231         Remove variable.
35232         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
35233         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
35234         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
35235         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
35236         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
35237         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
35238         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
35239         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
35240         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
35242         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
35244 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35246         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35247         Remove strpbrk objects.
35248         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35249         (__libc_ifunc_impl_list): Remove strpbrk implementation.
35250         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
35251         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
35252         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
35253         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
35255         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35256         Remove strcspn objects.
35257         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35258         (__libc_ifunc_impl_list): Remove strcspn implementation.
35259         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
35260         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
35261         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
35262         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
35264         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35265         Remove strspn objetcs.
35266         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35267         (__libc_ifunc_impl_list): Remove strspn implementation.
35268         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
35269         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
35270         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
35271         * sysdeps/powerpc/powerpc64/strspn.S: New file.
35273 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
35275         [BZ #17581]
35276         * malloc/hooks.c
35277         (mem2mem_check): Add a terminator to the chain of checking blocks.
35278         (malloc_check_get_size): Use it here.
35279         (mem2chunk_check): Ditto.
35281 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
35283         * sysdeps/powerpc/powerpc64/strtok.S: New file.
35284         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
35286 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
35288         * bits/ioctl-types.h: Indent preprocessor directives correctly.
35290         * nptl/nptl-init.c: Include libc-internal.h.
35291         (__pthread_initialize_minimal_internal): Use ROUND_UP.
35293         * elf/ldconfig.c (search_dir): Expand comment.
35295 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
35297         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
35298         variable.
35299         (linknamespace-symlist-stdlibs-tests): Likewise.
35300         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
35301         instead of $(objpfx)symlist-stdlibs.
35302         (linknamespace-libs-isoc): New variable.
35303         (linknamespace-libs): Use $(linknamespace-libs-isoc).
35304         (linknamespace-libs-ISO): New variable.
35305         (linknamespace-libs-ISO99): Likewise.
35306         (linknamespace-libs-ISO11): Likewise.
35307         (linknamespace-libs-XPG3): Likewise.
35308         (linknamespace-libs-XPG4): Likewise.
35309         (linknamespace-libs-POSIX): Likewise.
35310         (linknamespace-libs-UNIX98): Likewise.
35311         (linknamespace-libs-XOPEN2K): Likewise.
35312         (linknamespace-libs-POSIX2008): Likewise.
35313         (linknamespace-libs-XOPEN2K8): Likewise.
35314         ($(objpfx)symlist-stdlibs): Replace by
35315         $(linknamespace-symlist-stdlibs-tests).  Use
35316         $(linknamespace-libs-$*) as set of libraries.
35317         ($(linknamespace-header-tests)): Update dependencies.  Use
35318         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
35319         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
35320         * conform/linknamespace.pl: Remove comment about considering
35321         definitions of symbols from irrelevant libraries.
35323 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
35325         [BZ #13862]
35326         * elf/dl-tls.c: Include <atomic.h>.
35327         (oom): Remove #ifdef SHARED/#endif.
35328         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
35329         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
35330         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
35331         big enough.
35332         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
35333         * nptl/Makefile (tests): Add tst-stack4.
35334         (modules-names): Add tst-stack4mod.
35335         ($(objpfx)tst-stack4): New.
35336         (tst-stack4mod.sos): Likewise.
35337         ($(objpfx)tst-stack4.out): Likewise.
35338         ($(tst-stack4mod.sos)): Likewise.
35339         (clean): Likewise.
35340         * nptl/tst-stack4.c: New file.
35341         * nptl/tst-stack4mod.c: Likewise.
35343 2014-11-27  J. Brown  <jb999@gmx.de>
35345         * sysdeps/x86/bits/string.h: Add recent CPUs.
35347 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
35349         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
35350         sigblock.
35352         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
35353         feof.
35355         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
35356         variable.
35358 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
35360         * nscd/connections.c: Include libc-internal.h because of macro
35361         usage ignore_value.
35363 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35365         * string/bits/string3.h (__warn_memset_zero_len): Don't
35366         declare for gcc newer than 5.0.
35367         (memset): Don't test for zero-length __LEN for gcc newer than
35368         5.0.
35370 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
35372         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
35373         size_t for %zu format.
35375         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
35376         difference, not %ju.
35378 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
35380         * include/libc-internal.h (ignore_value): New macro.
35381         * nscd/connections.c (restart): Wrap calls to setuid and setgid
35382         with ignore_value.
35384         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
35385         definition.
35387         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
35388         pthread_cleanup_push to void *.
35390         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
35391         Undefine.
35393         [BZ #16619]
35394         [BZ #16740]
35395         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
35396         instead of 1L << 52.
35398         * libio/bug-rewind.c (do_test): Check fwscanf return values.
35399         * libio/bug-rewind2.c (do_test): Likewise.
35401         * debug/test-stpcpy_chk-ifunc.c: Remove file.
35402         * debug/test-strcpy_chk-ifunc.c: Likewise.
35403         * wcsmbs/test-wcschr-ifunc.c: Likewise.
35404         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
35405         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
35406         * wcsmbs/test-wcslen-ifunc.c: Likewise.
35407         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
35408         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
35409         * Rules [$(multi-arch) = no] (tests): Do not filter out
35410         $(tests-ifunc).
35411         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
35412         * debug/Makefile (tests-ifunc): Remove variable.
35413         (tests): Do not add $(tests-ifunc).
35414         * wcsmbs/Makefile (tests-ifunc): Remove variable.
35415         (tests): Do not add $(tests-ifunc).
35416         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
35417         [TEST_IFUNC]: Remove conditionals.
35418         * string/test-string.h (TEST_IFUNC): Remove macro.
35419         [TEST_IFUNC]: Remove conditionals.
35421         * string/test-strchr.c [!WIDE] (L): New macro.
35422         [WIDE] (L): Likewise.
35423         (check1): Use CHAR instead of char.  Use L on string and character
35424         constants.
35426 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
35428         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
35429         tests.
35430         * sysdeps/powerpc/bits/atomic.h
35431         (__arch_atomic_exchange_and_add_32_acq): Add definition.
35432         (__arch_atomic_exchange_and_add_32_rel): Likewise.
35433         (atomic_exchange_and_add_acq): Likewise.
35434         (atomic_exchange_and_add_rel): Likewise.
35435         * sysdeps/powerpc/powerpc32/bits/atomic.h
35436         (__arch_atomic_exchange_and_add_64_acq): Add definition.
35437         (__arch_atomic_exchange_and_add_64_rel): Likewise.
35438         * sysdeps/powerpc/powerpc64/bits/atomic.h
35439         (__arch_atomic_exchange_and_add_64_acq): Add definition.
35440         (__arch_atomic_exchange_and_add_64_rel): Likewise.
35442 2014-11-26  Torvald Riegel  <triegel@redhat.com>
35444         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
35445         Change synchronization of __sched_fifo_min_prio and
35446         __sched_fifo_max_prio.
35447         * nptl/pthread_mutexattr_getprioceiling.c
35448         (pthread_mutexattr_getprioceiling): Likewise.
35449         * nptl/pthread_mutexattr_setprioceiling.c
35450         (pthread_mutexattr_setprioceiling): Likewise.
35451         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
35452         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
35453         Likewise.
35455 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
35457         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
35458         void.
35460 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
35462         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
35463         third argument const.
35465 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
35467         fnmatch: work around GCC compiler warning bug with uninit var
35468         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
35469         This works around a bug with x86-64 GCC 4.9.2 and earlier
35470         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
35471         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
35472         used uninitialized in this function [-Wmaybe-uninitialized]".
35474 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
35476         * posix/bug-regex31.c (main): Return RES not 0.
35478 2014-11-25  Anton Blanchard <anton@samba.org>
35480         * sysdeps/powerpc/bits/atomic.h
35481         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
35483 2014-11-24  Sterling Augustine  <saugustine@google.com>
35485         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
35487 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
35489         [BZ #17608]
35490         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
35492 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
35494         [BZ #17633]
35495         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
35496         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
35497         variable.
35498         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
35499         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
35501 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
35503         * string/strncpy.c (strncpy): Improve performance by using memset.
35505 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
35507         * string/strcpy.c (strcpy):
35508         Improve performance by using strlen and memcpy.
35510 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
35512         * string/strcoll_l.c (get_next_seq): __always_inline.
35513         * string/strcoll_l.c (do_compare): __always_inline.
35515 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35517         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
35518         defined.
35519         * include/mqueue.h: Likewise.
35520         * include/stdlib.h: Likewise.
35522         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
35523         (get_null_defines): Adjust.
35524         * sunrpc/Makefile: Adjust comment.
35525         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
35526         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
35527         (CFLAGS-interp.c): Likewise.
35528         (CFLAGS-ldconfig.c): Likewise.
35529         (CPPFLAGS-.os): Likewise.
35530         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
35531         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
35532         * extra-modules.mk (extra-modules.mk): Likewise.
35533         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
35534         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
35535         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
35536         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
35537         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
35538         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
35539         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
35540         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
35541         * iconvdata/Makefile (CPPFLAGS): Likewise.
35542         (cpp-srcs-left): Add libof for all iconvdata routines.
35543         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
35544         * include/assert.h: Likewise.
35545         * include/ctype.h: Likewise.
35546         * include/errno.h: Likewise.
35547         * include/libc-symbols.h: Likewise.
35548         * include/math.h: Likewise.
35549         * include/netdb.h: Likewise.
35550         * include/resolv.h: Likewise.
35551         * include/stdio.h: Likewise.
35552         * include/stdlib.h: Likewise.
35553         * include/string.h: Likewise.
35554         * include/sys/stat.h: Likewise.
35555         * include/wctype.h: Likewise.
35556         * intl/l10nflist.c: Likewise.
35557         * libidn/idn-stub.c: Likewise.
35558         * libio/libioP.h: Likewise.
35559         * nptl/libc_multiple_threads.c: Likewise.
35560         * nptl/pthreadP.h: Likewise.
35561         * posix/regex_internal.h: Likewise.
35562         * resolv/res_hconf.c: Likewise.
35563         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
35564         * sysdeps/arm/memmove.S: Likewise.
35565         * sysdeps/arm/sysdep.h: Likewise.
35566         * sysdeps/generic/_itoa.h: Likewise.
35567         * sysdeps/generic/symbol-hacks.h: Likewise.
35568         * sysdeps/gnu/errlist.awk: Likewise.
35569         * sysdeps/gnu/errlist.c: Likewise.
35570         * sysdeps/i386/i586/memcpy.S: Likewise.
35571         * sysdeps/i386/i586/memset.S: Likewise.
35572         * sysdeps/i386/i686/memcpy.S: Likewise.
35573         * sysdeps/i386/i686/memmove.S: Likewise.
35574         * sysdeps/i386/i686/mempcpy.S: Likewise.
35575         * sysdeps/i386/i686/memset.S: Likewise.
35576         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35577         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35578         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
35579         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
35580         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35581         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35582         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
35583         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35584         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35585         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35586         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35587         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35588         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35589         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35590         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35591         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35592         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
35593         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
35594         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
35595         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35596         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35597         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35598         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35599         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35600         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35601         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35602         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
35603         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35604         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
35605         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
35606         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35607         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35608         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35609         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35610         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35611         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35612         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35613         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35614         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35615         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35616         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35617         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35618         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35619         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
35620         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35621         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35622         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
35623         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
35624         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35625         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
35626         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35627         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
35628         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
35629         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35630         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
35631         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
35632         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35633         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
35634         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
35635         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35636         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
35637         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35638         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
35639         * sysdeps/nptl/bits/libc-lock.h: Likewise.
35640         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
35641         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
35642         * sysdeps/posix/closedir.c: Likewise.
35643         * sysdeps/posix/opendir.c: Likewise.
35644         * sysdeps/posix/readdir.c: Likewise.
35645         * sysdeps/posix/rewinddir.c: Likewise.
35646         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
35647         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
35648         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
35649         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
35650         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
35651         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
35652         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
35653         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
35654         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
35655         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
35656         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
35657         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
35658         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
35659         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
35660         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
35661         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
35662         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
35663         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
35664         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
35665         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
35666         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
35667         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
35668         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
35669         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
35670         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
35671         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
35672         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
35673         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
35674         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
35675         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
35676         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
35677         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
35678         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
35679         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
35680         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
35681         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
35682         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
35683         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
35684         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
35685         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
35686         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
35687         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
35688         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
35689         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
35690         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
35691         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
35692         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
35693         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
35694         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
35695         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
35696         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
35697         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
35698         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
35699         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
35700         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
35701         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
35702         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
35703         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
35704         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
35705         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
35706         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
35707         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
35708         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
35709         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
35710         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
35711         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
35712         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
35713         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
35714         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
35715         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
35716         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
35717         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
35718         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
35719         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
35720         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
35721         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
35722         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
35723         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
35724         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
35725         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
35726         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
35727         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
35728         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
35729         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
35730         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
35731         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
35732         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
35733         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
35734         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
35735         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35736         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
35737         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
35738         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
35739         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35740         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35741         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
35742         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35743         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35744         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
35745         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
35746         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35747         * sysdeps/unix/alpha/sysdep.S: Likewise.
35748         * sysdeps/unix/alpha/sysdep.h: Likewise.
35749         * sysdeps/unix/make-syscalls.sh: Likewise.
35750         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
35751         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
35752         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
35753         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
35754         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
35755         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
35756         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
35757         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
35758         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
35759         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
35760         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
35761         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
35762         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35763         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
35764         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
35765         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
35766         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
35767         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
35768         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
35769         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
35770         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
35771         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
35772         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
35773         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
35774         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
35775         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
35776         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
35777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
35778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
35779         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
35780         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
35781         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
35782         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
35783         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35784         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
35785         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
35786         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
35787         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35788         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
35789         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
35790         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
35791         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
35792         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35793         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
35794         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
35795         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
35796         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35797         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35798         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
35799         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35800         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
35801         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
35802         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
35803         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
35804         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
35805         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
35806         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
35807         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35808         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
35809         * sysdeps/x86_64/memcpy.S: Likewise.
35810         * sysdeps/x86_64/memmove.c: Likewise.
35811         * sysdeps/x86_64/memset.S: Likewise.
35812         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
35813         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
35814         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
35815         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
35816         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
35817         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35818         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35819         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
35820         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
35821         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
35822         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
35823         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
35824         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
35825         * sysdeps/x86_64/multiarch/memset.S: Likewise.
35826         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35827         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
35828         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
35829         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
35830         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
35831         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
35832         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
35833         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
35834         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35835         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35836         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
35837         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
35838         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
35839         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
35840         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
35841         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
35842         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
35843         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
35844         * sysdeps/x86_64/strcmp.S: Likewise.
35846         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
35848         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
35849         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
35850         * elf/rtld-Rules: Likewise.
35851         * elf/setup-vdso.h: Likewise.
35852         * include/assert.h: Likewise.
35853         * include/bits/stdlib-float.h: Likewise.
35854         * include/errno.h: Likewise.
35855         * include/sys/stat.h: Likewise.
35856         * include/unistd.h: Likewise.
35857         * sysdeps/aarch64/setjmp.S: Likewise.
35858         * sysdeps/alpha/setjmp.S: Likewise.
35859         * sysdeps/arm/__longjmp.S: Likewise.
35860         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
35861         * sysdeps/arm/setjmp.S: Likewise.
35862         * sysdeps/arm/sysdep.h: Likewise.
35863         * sysdeps/generic/_itoa.h: Likewise.
35864         * sysdeps/generic/dl-sysdep.h: Likewise.
35865         * sysdeps/generic/ldsodefs.h: Likewise.
35866         * sysdeps/i386/dl-tls.h: Likewise.
35867         * sysdeps/i386/setjmp.S: Likewise.
35868         * sysdeps/m68k/setjmp.c: Likewise.
35869         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
35870         * sysdeps/mach/hurd/opendir.c: Likewise.
35871         * sysdeps/posix/getcwd.c: Likewise.
35872         * sysdeps/posix/opendir.c: Likewise.
35873         * sysdeps/posix/profil.c: Likewise.
35874         * sysdeps/powerpc/dl-procinfo.h: Likewise.
35875         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
35876         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
35877         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
35878         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
35879         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
35880         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
35881         * sysdeps/s390/dl-tls.h: Likewise.
35882         * sysdeps/s390/s390-32/setjmp.S: Likewise.
35883         * sysdeps/s390/s390-64/setjmp.S: Likewise.
35884         * sysdeps/sh/sh3/setjmp.S: Likewise.
35885         * sysdeps/sh/sh4/setjmp.S: Likewise.
35886         * sysdeps/unix/alpha/sysdep.h: Likewise.
35887         * sysdeps/unix/arm/sysdep.S: Likewise.
35888         * sysdeps/unix/i386/sysdep.S: Likewise.
35889         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
35890         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
35891         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
35892         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
35893         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35894         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
35895         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
35896         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
35897         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
35898         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
35899         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
35900         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
35901         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
35902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35904         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
35905         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35906         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35907         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
35908         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35909         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
35910         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35911         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35912         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
35913         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
35914         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
35915         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35916         * sysdeps/unix/x86_64/sysdep.S: Likewise.
35917         * sysdeps/x86_64/setjmp.S: Likewise.
35919         * include/math.h: Use IS_IN instead of IS_IN_libm.
35920         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
35921         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35922         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35923         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
35924         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35925         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35926         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35927         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35928         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35929         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35930         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
35931         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
35932         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
35933         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
35934         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
35935         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
35936         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
35937         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
35938         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
35939         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
35940         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
35941         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
35942         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
35943         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
35944         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
35945         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
35946         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
35947         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
35948         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
35949         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
35950         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
35951         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
35952         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
35953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
35954         Likewise.
35955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
35956         Likewise.
35957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
35958         Likewise.
35959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
35960         Likewise.
35961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
35962         Likewise.
35963         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
35964         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
35965         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
35966         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
35967         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
35968         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
35969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
35970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
35971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
35972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
35973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
35974         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
35975         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
35976         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
35977         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
35978         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35979         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
35980         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
35981         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35982         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
35983         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
35984         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
35985         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
35986         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
35987         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
35988         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
35989         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
35991         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
35992         * nptl/pthreadP.h: Likewise.
35993         * nptl_db/structs.def: Likewise.
35994         * sysdeps/arm/sysdep.h: Likewise.
35995         * sysdeps/nptl/bits/libc-lock.h: Likewise.
35996         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
35997         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
35998         * sysdeps/unix/alpha/sysdep.h: Likewise.
35999         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
36000         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
36001         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
36002         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
36003         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
36004         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
36005         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36006         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
36007         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36008         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
36009         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
36010         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
36011         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
36012         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
36013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
36014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
36015         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
36016         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
36017         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
36018         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
36019         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36020         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
36021         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
36022         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
36023         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
36024         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
36026         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
36027         * nptl/pthreadP.h: Likewise.
36028         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
36029         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
36030         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
36031         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
36032         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
36033         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
36034         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36035         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
36036         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
36037         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
36038         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
36039         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
36040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
36041         Likewise.
36042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
36043         Likewise.
36044         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
36045         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
36046         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
36047         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
36048         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36049         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
36050         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
36051         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
36053         * dlfcn/dladdr.c: Use IS_IN.
36054         * dlfcn/dladdr1.c: Likewise.
36055         * dlfcn/dlclose.c: Likewise.
36056         * dlfcn/dlerror.c: Likewise.
36057         * dlfcn/dlinfo.c: Likewise.
36058         * dlfcn/dlmopen.c: Likewise.
36059         * dlfcn/dlopen.c: Likewise.
36060         * dlfcn/dlsym.c: Likewise.
36061         * dlfcn/dlvsym.c: Likewise.
36063         * include/ifaddrs.h: Use IS_IN.
36064         * inet/check_pf.c: Likewise.
36065         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
36066         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
36068         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
36069         IS_IN_ldconfig.
36070         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
36071         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
36073         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
36074         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
36075         IS_IN (libc).
36077         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
36079         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
36080         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36081         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
36082         * include/libc-symbols.h (IS_IN_LIB): New macro.
36083         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
36084         * include/netdb.h: Likewise.
36085         * include/stap-probe.h: Remove all uses of IN_LIB.
36087         * Makeconfig (module-cppflags-real): Define MODULE_NAME
36088         instead of IN_MODULE.
36089         * include/libc-symbols.h (IN_MODULE): Define using
36090         MODULE_NAME.
36091         (PASTE_NAME, PASTE_NAME1): New macros.
36092         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
36093         of IN_LIB.
36094         (STAP_PROBE_ASM): Likewise.
36096 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36098         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
36099         __mach_init in dlopened libc.
36101 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
36103         * sysdeps/arm/preconfigure.ac: Delete EABI check.
36104         * sysdeps/arm/preconfigure: Regenerate.
36106 2014-11-21  Roland McGrath  <roland@hack.frob.com>
36108         * nptl/pthread_create.c (__pthread_create_2_1): Set
36109         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
36110         when copying values from IATTR into PD.
36112 2014-11-21  Will Newton  <will.newton@linaro.org>
36113             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
36115         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
36116         Refactor inline-asm.  Also add comment.
36118         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
36119         ElfW macro instead of hardcoded Elf64 types.
36120         (la_aarch64_gnu_pltenter): Likewise.
36121         * sysdeps/aarch64/dl-machine.h
36122         (elf_machine_runtime_setup): Use ElfW(Addr).
36124         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
36125         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
36126         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
36127         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
36128         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
36129         (R_AARCH64_TLS_DTPMOD64): Rename to ..
36130         (R_AARCH64_TLS_DTPMOD): This.
36131         (R_AARCH64_TLS_DTPREL64): Rename to ...
36132         (R_AARCH64_TLS_DTPREL): This.
36133         (R_AARCH64_TLS_TPREL64): Rename to ...
36134         (R_AARCH64_TLS_TPREL): This.
36135         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
36136         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
36137         R_AARCH64_TLS_TPREL64.
36138         (elf_machine_rela): Likewise.
36140 2014-11-21  Torvald Riegel  <triegel@redhat.com>
36142         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
36143         by setting it to 0.  64b atomics are not supported currently.
36145 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36147         [BZ #16469]
36148         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
36149         search domain names.
36151 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36153         [BZ #16469]
36154         * NEWS: Update.
36155         * resolv/res_query.c (__libc_res_nquerydomain): Retain
36156         trailing dot.
36157         * posix/tst-getaddrinfo5.c: New.
36158         * posix/Makefile (tests): Add it.
36160 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36162         [BZ #14498]
36163         * NEWS: Fixed.
36164         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
36165         after parsing line but before break_if_match.
36166         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
36167         if there is a protocol mismatch.
36169 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
36171         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
36172         because the potential race is on the user-supplied stream.
36174 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36176         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
36177         string literal if not passed a buffer.
36178         * manual/job.texi (ctermid): Update reasoning, note deviation
36179         from posix, suggest mtasurace when not passed a buffer, for
36180         future non-preliminary safety notes.
36182 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36184         * manual/users.texi (cuserid): Fix MT-Safety note for the case
36185         of not passing it a buffer.
36186         Reported by Peng Haitao.
36188 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36190         * manual/Makefile ($(objpfx)stamp-summary): Require
36191         check-safety.sh to pass.
36192         * manual/check-safety.sh: Wish for verification that every
36193         @deftypefn and @deftypefun is followed by a @safety remark.
36195 2014-11-20  Roland McGrath  <roland@hack.frob.com>
36197         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
36199         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
36200         PTHREAD_CANCEL_ASYNCHRONOUS.
36201         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
36202         send SIGCANCEL.
36204         * nptl/default-sched.h: New file.
36205         * sysdeps/unix/sysv/linux/default-sched.h: New file.
36206         * nptl/pthread_create.c: Include it.
36207         (__pthread_create_2_1): Use collect_default_sched instead of making
36208         Linux syscalls here directly.
36210 2014-11-20  Torvald Riegel  <triegel@redhat.com>
36212         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
36213         __pthread_once): Use C11 atomics.
36215 2014-11-20  Torvald Riegel  <triegel@redhat.com>
36217         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
36219 2014-11-20  Torvald Riegel  <triegel@redhat.com>
36221         * include/atomic.h (__atomic_link_error, __atomic_check_size,
36222         atomic_thread_fence_acquire, atomic_thread_fence_release,
36223         atomic_thread_fence_seq_cst, atomic_load_relaxed,
36224         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
36225         atomic_compare_exchange_weak_relaxed,
36226         atomic_compare_exchange_weak_acquire,
36227         atomic_compare_exchange_weak_release,
36228         atomic_exchange_acquire, atomic_exchange_release,
36229         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
36230         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
36231         atomic_fetch_and_acquire,
36232         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
36234 2014-11-20  Torvald Riegel  <triegel@redhat.com>
36236         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
36237         USE_ATOMIC_COMPILER_BUILTINS): Define.
36238         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
36239         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36240         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
36241         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36242         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
36243         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36244         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
36245         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36246         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
36247         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36248         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
36249         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36250         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
36251         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36252         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
36253         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36254         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
36255         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36256         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
36257         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36258         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
36259         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36260         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
36261         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36262         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
36263         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36264         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
36265         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36266         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
36267         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36268         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
36269         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36270         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
36271         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36272         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
36273         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36274         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
36275         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36276         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
36277         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36279 2014-11-19  Roland McGrath  <roland@hack.frob.com>
36281         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
36282         the sched_priority value here.  It was already checked when the user
36283         called pthread_attr_setschedparam.
36285         * nptl/tst-bad-schedattr.c: New file.
36286         * nptl/Makefile (tests): Add it.
36288 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
36289             Florian Weimer  <fweimer@redhat.com>
36290             Joseph Myers  <joseph@codesourcery.com>
36291             Adam Conrad  <adconrad@0c3.net>
36292             Andreas Schwab  <schwab@suse.de>
36293             Brooks  <bmoses@google.com>
36295         [BZ #17625]
36296         * wordexp-test.c (__dso_handle): Add prototype.
36297         (__register_atfork): Likewise.
36298         (__app_register_atfork): New function.
36299         (registered_forks): New global.
36300         (register_fork): New function.
36301         (test_case): Add 3 new tests for WRDE_CMDSUB.
36302         (main): Call __app_register_atfork.
36303         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
36304         fork count is non-zero fail the test.
36305         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
36306         is set.
36307         (parse_dollars): Remove check for WRDE_NOCMD.
36308         (parse_dquote): Likewise.
36310 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36312         * Makeconfig (built-modules): List non-library modules to be
36313         built.
36314         (module-cppflags): Include libc-modules.h for
36315         everything except shlib-versions.v.i.
36316         (CPPFLAGS): Use it.
36317         (before-compile): Add libc-modules.h.
36318         ($(common-objpfx)libc-modules.h,
36319         $(common-objpfx)libc-modules.stmp): New targets.
36320         (common-generated): Add libc-modules.h and libc-modules.stmp.
36321         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
36322         * include/libc-symbols.h: Don't include libc-modules.h.
36323         * include/libc-modules.h: Remove file.
36324         * scripts/gen-libc-modules.awk: New script to generate
36325         libc-modules.h.
36326         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
36327         Depend on libc-modules.stmp.
36329         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
36331         * Makeconfig (in-module): Get value of libof set for the
36332         translation unit.
36333         (CPPFLAGS): Use $(in-module).
36334         * Makerules: Don't suffix routine names for nonlib.
36335         * include/libc-modules.h: New file.
36336         * include/libc-symbols.h: Include libc-modules.h
36337         (IS_IN): New macro to replace IS_IN_* macros.
36338         * elf/Makefile: Set libof-* for each routine.
36339         * elf/rtld-Rules: Likewise.
36340         * extra-modules.mk: Likewise.
36341         * iconv/Makefile: Likewise.
36342         * iconvdata/Makefile: Likewise.
36343         * locale/Makefile: Likewise.
36344         * malloc/Makefile: Likewise.
36345         * nss/Makefile: Likewise.
36346         * sysdeps/gnu/Makefile: Likewise.
36347         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
36348         * sysdeps/unix/sysv/linux/Makefile: Likewise.
36349         * sysdeps/s390/s390-64/Makefile: Likewise.
36350         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
36351         CPPFLAGS for nscd instead of nonlib.
36353 2014-11-18  Roland McGrath  <roland@hack.frob.com>
36355         * nptl/createthread.c: New file.
36357         * nptl/createthread.c: Moved ...
36358         * sysdeps/unix/sysv/linux/createthread.c: ... here.
36360         * nptl/createthread.c: Add proper top-line comment.
36361         (do_clone): Folded into ...
36362         (create_thread): ... here.  Take new arguments STOPPED_START and
36363         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
36364         increment __nptl_threads, do event-reporting logic, do
36365         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
36366         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
36367         resource cleanup if sched_setaffinity or sched_setscheduler fails,
36368         just send SIGCANCEL.
36369         * nptl/pthread_create.c: Forward-declare create_thread before
36370         including createthread.c.
36371         (start_thread): Use new macro START_THREAD_DEFN to replace defining
36372         declaration, and new macro START_THREAD_SELF to replace argument.
36373         Remove return statement.
36374         (report_thread_creation): New function.
36375         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
36376         synchronization logic, and __nptl_nthreads increment here, around
36377         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
36378         PD->parent_cancelhandling here, before create_thread.  When
36379         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
36380         __deallocate_stack, and ENOMEM translation here.
36382 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
36384         [BZ #17616]
36385         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
36386         (mptwo): Rename to __mptwo.
36387         (__inv): Use __mptwo instead of mptwo.
36388         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
36389         (mptwo): Rename to __mptwo.
36390         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
36391         of mpone and __mptwo instead of mptwo.
36392         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
36393         instead of mpone.
36394         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36395         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
36396         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
36397         of mpone and __mptwo instead of mptwo.
36398         (__mpranred): Use __mpone instead of mpone.
36399         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
36400         variable.
36401         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
36402         (test-xfail-ISO99/math.h/linknamespace): Likewise.
36403         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
36404         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
36405         (test-xfail-ISO11/math.h/linknamespace): Likewise.
36406         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
36407         (test-xfail-XPG3/math.h/linknamespace): Likewise.
36408         (test-xfail-XPG4/math.h/linknamespace): Likewise.
36409         (test-xfail-POSIX/math.h/linknamespace): Likewise.
36410         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
36411         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
36412         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
36413         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
36414         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
36415         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
36416         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
36417         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
36418         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
36419         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
36421 2014-11-18  Tom de Vries  <tom@codesoucery.com>
36423         * manual/signal.texi (Primitives Interrupted by Signals): In section,
36424         replace BSD Handler xref with BSD Signal Handling.
36426 2014-11-17  Richard Henderson  <rth@redhat.com>
36428         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
36429         (_FP_PACK_RAW_2): Remove.
36430         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
36431         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
36432         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
36433         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
36434         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
36435         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
36436         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
36437         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
36438         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
36439         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
36440         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
36441         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
36442         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
36443         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
36444         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
36445         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
36447 2014-11-14  Roland McGrath  <roland@hack.frob.com>
36449         * signal/signal.h [__USE_MISC]
36450         (struct sigvec): Remove type.
36451         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
36452         (sigvec): Remove declaration.
36453         * sysdeps/posix/sigvec.c: Moved ...
36454         * signal/sigvec.c: ... here, replacing old file.
36455         (struct sigvec): New type, copied from old signal.h definition.
36456         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
36457         (__sigvec): Convert definition to prototype.
36458         (sigvec): Replace weak_alias with compat_symbol.
36459         * signal/Versions (libc: GLIBC_2.21): New version set.
36460         * include/signal.h: Remove __sigvec declaration.
36461         * sysdeps/unix/bsd/sigvec.c: Remove file.
36462         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
36463         * manual/signal.texi (BSD Handler): Remove subsection.
36464         Move siginterrupt up to ...
36465         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
36466         (Blocking in BSD): Fold subsection into its parent.
36467         * NEWS: Mention sigvec removal.
36469 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
36471         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
36472         (DLA_FMS): Make definition conditional only on [__FMA4__].
36473         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
36474         definition.
36476         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
36477         Make definition conditional only on [PROF].
36478         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
36479         definition.
36480         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
36481         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
36483         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
36484         !__GNUC__].
36485         * include/signal.h (__sigpause): Move declaration above call to
36486         libc_hidden_proto.
36487         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
36488         variable.
36489         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
36490         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
36492 2014-11-14  David S. Miller  <davem@davemloft.net>
36494         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
36495         Define before including <string/memcpy.c> and <string/mempcpy.c>.
36497 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
36499         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
36500         * configure: Regenerated.
36501         * manual/install.texi (Tools for Compilation): Document a
36502         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
36503         compiler verified to work.
36504         * INSTALL: Regenerated.
36506         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
36507         redeclare with asm name.
36508         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
36509         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
36510         including <string.h>.
36511         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
36512         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
36513         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
36514         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
36515         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
36516         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
36517         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
36519 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
36521         * stdlib/strtol.c (__strtol): Use prototype definition.
36523         [BZ #17594]
36524         * stdlib/strtol.c (SYM__): New macro.
36525         (SYM__1): Likewise.
36526         (__strtol): Likewise.
36527         (strtol): Rename to __strtol and define as weak alias of
36528         __strtol.  Use libc_hidden_weak.
36530 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36532         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
36533         Use numbered labels in inline assembly.
36535 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36537         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
36538         Add setjmp LIBC_PROBE.
36539         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
36540         Likewise.
36541         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
36542         Add longjmp, longjmp_target LIBC_PROBE.
36543         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
36544         Likewise.
36546 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36548         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
36549         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
36550         to get rid of unused variable warning.
36552 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36554         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
36555         Check for unwind_backtrace ==  NULL only in SHARED case.
36556         (__backchain_backtrace): Compile only in SHARED case.
36557         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
36558         Likewise.
36559         (__backchain_backtrace): Declare as static.
36561 2014-11-12  Roland McGrath  <roland@hack.frob.com>
36563         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
36564         (__libc_multiple_threads_ptr): Variable moved ...
36565         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
36567 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
36569         * conform/GlibcConform.pm: New file.
36570         * conform/conformtest.pl: Use GlibcConform module.
36571         * conform/linknamespace.pl: New file.
36572         * conform/list-header-symbols.pl: Likewise.
36573         * conform/Makefile (linknamespace-symlists-base): New variable.
36574         (linknamespace-symlists-tests): Likewise.
36575         (linknamespace-header-base): Likewise.
36576         (linknamespace-header-tests): Likewise.
36577         (tests-special): Add new tests.
36578         ($(linknamespace-symlists-tests)): New rule.
36579         (linknamespace-libs): New variable.
36580         ($(objpfx)symlist-stdlibs): New rule.
36581         ($(linknamespace-header-tests)): Likewise.
36582         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
36583         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
36584         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
36585         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
36586         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
36587         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
36588         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
36589         (test-xfail-ISO/math.h/linknamespace): Likewise.
36590         (test-xfail-ISO/signal.h/linknamespace): Likewise.
36591         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
36592         (test-xfail-ISO/time.h/linknamespace): Likewise.
36593         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
36594         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
36595         (test-xfail-ISO99/math.h/linknamespace): Likewise.
36596         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
36597         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
36598         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
36599         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
36600         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
36601         (test-xfail-ISO11/math.h/linknamespace): Likewise.
36602         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
36603         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
36604         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
36605         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
36606         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
36607         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
36608         (test-xfail-XPG3/math.h/linknamespace): Likewise.
36609         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
36610         (test-xfail-XPG3/search.h/linknamespace): Likewise.
36611         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
36612         (test-xfail-XPG3/time.h/linknamespace): Likewise.
36613         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
36614         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
36615         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
36616         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
36617         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
36618         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
36619         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
36620         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
36621         (test-xfail-XPG4/math.h/linknamespace): Likewise.
36622         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
36623         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
36624         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
36625         (test-xfail-XPG4/search.h/linknamespace): Likewise.
36626         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
36627         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
36628         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
36629         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
36630         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
36631         (test-xfail-XPG4/time.h/linknamespace): Likewise.
36632         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
36633         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
36634         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
36635         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
36636         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
36637         (test-xfail-POSIX/math.h/linknamespace): Likewise.
36638         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
36639         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
36640         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
36641         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
36642         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
36643         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
36644         (test-xfail-POSIX/time.h/linknamespace): Likewise.
36645         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
36646         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
36647         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
36648         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
36649         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
36650         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
36651         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
36652         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
36653         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
36654         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
36655         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
36656         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
36657         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
36658         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
36659         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
36660         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
36661         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
36662         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
36663         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
36664         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
36665         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
36666         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
36667         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
36668         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
36669         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
36670         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
36671         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
36672         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
36673         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
36674         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
36675         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
36676         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
36677         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
36678         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
36679         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
36680         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
36681         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
36682         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
36683         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
36684         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
36685         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
36686         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
36687         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
36688         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
36689         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
36690         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
36691         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
36692         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
36693         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
36694         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
36695         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
36696         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
36697         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
36698         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
36699         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
36700         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
36701         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
36702         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
36703         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
36704         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
36705         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
36706         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
36707         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
36708         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
36709         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
36710         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
36711         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
36712         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
36713         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
36714         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
36715         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
36716         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
36717         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
36718         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
36719         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
36720         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
36721         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
36722         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
36723         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
36724         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
36725         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
36726         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
36727         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
36728         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
36729         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
36730         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
36731         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
36732         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
36733         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
36734         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
36735         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
36736         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
36737         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
36738         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
36739         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
36740         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
36741         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
36742         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
36744         [BZ #17589]
36745         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
36746         of fgets_unlocked.
36748         [BZ #17585]
36749         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
36750         (memmem): Rename to __memmem and define as weak alias of
36751         __memmem.  Use libc_hidden_weak.
36752         (__memmem): Use libc_hidden_def.
36753         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
36754         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
36755         memmem.
36757         [BZ #17582]
36758         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
36759         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
36760         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
36761         and define as weak alias of __fgets_unlocked.  Use
36762         libc_hidden_weak.
36763         (__fgets_unlocked): Use libc_hidden_def.
36764         * include/stdio.h (__fgets_unlocked): Declare.  Use
36765         libc_hidden_proto.
36766         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
36767         __fgets_unlocked instead of fgets_unlocked.
36768         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
36769         (GET_NPROCS_CONF_PARSER): Likewise.
36770         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
36771         (GET_NPROCS_CONF_PARSER): Likewise.
36773         [BZ #17574]
36774         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
36775         weak alias of __wmemset.  Use libc_hidden_weak.
36776         (__wmemset): Use libc_hidden_def.
36777         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
36778         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
36779         of wmemset.
36781         [BZ #17573]
36782         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
36783         with asm name __mempcpy.
36784         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
36786         [BZ #17572]
36787         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
36788         and define as weak alias of __rawmemchr.
36789         (__rawmemchr): Do not define as strong alias of rawmemchr.
36791         [BZ #17571]
36792         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
36793         alias of __qsort_r.
36794         (qsort): Call __qsort_r instead of qsort_r.
36795         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
36796         (__qsort_r): Declare.  Call libc_hidden_proto.
36797         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
36798         instead of qsort_r.
36799         * nscd/gai.c (__qsort_r): Define to qsort_r.
36800         * posix/tst-rfc3484.c (__qsort_r): Likewise.
36801         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
36802         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
36804         [BZ #17570]
36805         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
36806         define as weak alias of __malloc_info.
36808         [BZ #17584]
36809         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
36810         as weak alias of __rewinddir.  Don't use libc_hidden_def.
36811         (__rewinddir): Use libc_hidden_def.
36812         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
36813         as weak alias of __rewinddir.  Don't use libc_hidden_def.
36814         (__rewinddir): Use libc_hidden_def.
36815         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
36816         weak alias of __rewinddir.  Don't use libc_hidden_def.
36817         (__rewinddir): Use libc_hidden_def.
36818         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
36819         (__rewinddir): Use libc_hidden_proto.
36820         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
36821         rewinddir.
36822         (__getcwd): Use __rewinddir instead of rewinddir.
36824         [BZ #17583]
36825         * libio/fileno.c (fileno): Rename to __fileno and define as weak
36826         alias of __fileno.  Use libc_hidden_weak.
36827         (__fileno): Use libc_hidden_def.
36828         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
36829         * libio/ftello.c (ftello): Rename to __ftello and define as weak
36830         alias of __ftello.
36831         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
36832         __ftello.
36833         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
36834         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
36835         libc_hidden_def.
36836         (fread_unlocked): Don't use libc_hidden_ver.
36837         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
36838         and define as weak alias of __fread_unlocked.  Don't use
36839         libc_hidden_def.
36840         (__fread_unlocked): Use libc_hidden_def.
36841         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
36842         (ftello): Don't use libc_hidden_proto.
36843         (__ftello): Declare.  Use libc_hidden_proto.
36844         (fread_unlocked): Don't use libc_hidden_proto.
36845         (__fread_unlocked): Declare.  Use libc_hidden_proto.
36846         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
36847         and __ftello instead of fileno, fread_unlocked and ftello.
36849 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36851         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
36852         GOT12.
36853         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
36854         Likewise.
36855         (_dl_start_user): Likewise.
36856         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
36858 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
36859             Siddhesh Poyarekar  <siddhesh@redhat.com>
36861         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
36862         Move argv and envp down instead of moving argc up.
36863         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
36865 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
36867         [BZ #17506]
36868         * test-skeleton.c (main): Return successful if one of
36869         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
36870         * string/tst-strcoll-overflow.c: Define expected status.
36872 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
36874         [BZ #17475]
36875         * locale/iso-639.def: Define Bhili and Tulu language codes.
36877 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
36879         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
36881 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
36883         [BZ #17555]
36884         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
36886 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
36888         * configure.ac: Updated check of minimal required version to
36889         2.22.
36890         * manual/install.texi (Tools for Compilation): Updated version
36891         number.
36892         * configure: Regenerated.
36893         * INSTALL: Likewise.
36895 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
36897         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
36898         __tls_get_addr.
36900 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
36902         * include/sys/wait.h (__libc_waitpid): Remove declaration.
36903         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
36904         (__waitpid): Don't define as alias.  Use libc_hidden_def not
36905         libc_hidden_weak.
36906         (waitpid): Define as alias of __waitpid.
36907         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
36908         __waitpid.
36909         (__waitpid): Don't define as alias.  Use libc_hidden_def not
36910         libc_hidden_weak.
36911         (waitpid): Define as alias of __waitpid.
36912         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
36913         __libc_waitpid alias.
36914         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
36915         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
36916         Likewise.
36917         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
36918         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
36919         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
36920         alias.
36921         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
36922         __waitpid.
36923         (__waitpid): Don't define as alias.  Use libc_hidden_def not
36924         libc_hidden_weak.
36925         (waitpid): Define as alias of __waitpid.
36927 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
36929         * manual/llio.texi: Add comment that write safety has been
36930         fixed in Linux.
36932         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
36933         (localplt-build-dso): Add elf/ld.so.
36934         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
36935         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
36936         and free for ld.so.
36937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
36938         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
36939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
36940         Likewise.
36941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
36942         Likewise.
36943         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
36944         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
36945         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
36946         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
36947         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
36948         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
36949         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
36950         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
36951         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
36952         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
36953         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
36955 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
36957         [BZ #14132]
36958         * include/libc-symbols.h (INTUSE): Remove macro.
36959         (INTDEF): Likewise.
36960         (INTVARDEF): Likewise.
36961         (_INTVARDEF): Likewise.
36962         (INTDEF2): Likewise.
36963         (INTVARDEF2): Likewise.
36964         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
36965         rtld_hidden_def instead of INTVARDEF.
36966         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
36967         (_dl_starting_up_internal): Remove declaration.
36968         (_dl_starting_up): Use rtld_hidden_proto.
36969         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
36970         declaration.
36971         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
36972         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
36973         _dl_starting_up.
36974         * elf/dl-writev.h (_dl_writev): Likewise.
36975         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
36976         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
36977         _dl_starting_up_internal.
36979 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36981         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
36982         test-skeleton.c.
36984 2014-11-05  Will Newton  <will.newton@linaro.org>
36986         * benchtests/Makefile: (bench-malloc): Add malloc thread
36987         scalability benchmark.
36988         * benchtests/bench-malloc-threads.c: New file.
36990 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
36992         * sysdeps/aarch64/strchrnul.S: New file.
36994 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36996         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
36997         definition.
36998         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
36999         Likewise.
37000         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
37001         Likewise.
37002         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
37003         Likewise.
37004         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
37005         Likewise.
37006         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
37007         Likewise.
37009 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
37011         * catgets/test-gencat.c: Use test-skeleton.c.
37012         * catgets/tst-catgets.c: Likewise.
37013         * csu/tst-empty.c: Likewise.
37014         * elf/tst-audit2.c: Likewise.
37015         * elf/tst-global1.c: Likewise.
37016         * elf/tst-pathopt.c: Likewise.
37017         * elf/tst-piemod1.c: Likewise.
37018         * elf/tst-tls10.c: Likewise.
37019         * elf/tst-tls11.c: Likewise.
37020         * elf/tst-tls12.c: Likewise.
37021         * gnulib/tst-gcc.c: Likewise.
37022         * iconvdata/tst-e2big.c: Likewise.
37023         * iconvdata/tst-loading.c: Likewise.
37024         * iconv/tst-iconv1.c: Likewise.
37025         * iconv/tst-iconv2.c: Likewise.
37026         * inet/test-inet6_opt.c: Likewise.
37027         * inet/tst-gethnm.c: Likewise.
37028         * inet/tst-network.c: Likewise.
37029         * inet/tst-ntoa.c: Likewise.
37030         * intl/tst-codeset.c: Likewise.
37031         * intl/tst-gettext2.c: Likewise.
37032         * intl/tst-gettext3.c: Likewise.
37033         * intl/tst-ngettext.c: Likewise.
37034         * intl/tst-translit.c: Likewise.
37035         * io/test-stat.c: Likewise.
37036         * libio/test-fmemopen.c: Likewise.
37037         * libio/tst-freopen.c: Likewise.
37038         * libio/tst-sscanf.c: Likewise.
37039         * libio/tst-ungetwc1.c: Likewise.
37040         * libio/tst-ungetwc2.c: Likewise.
37041         * libio/tst-widetext.c: Likewise.
37042         * localedata/tst-ctype.c: Likewise.
37043         * localedata/tst-digits.c: Likewise.
37044         * localedata/tst-leaks.c: Likewise.
37045         * localedata/tst-mbswcs1.c: Likewise.
37046         * localedata/tst-mbswcs2.c: Likewise.
37047         * localedata/tst-mbswcs3.c: Likewise.
37048         * localedata/tst-mbswcs4.c: Likewise.
37049         * localedata/tst-mbswcs5.c: Likewise.
37050         * localedata/tst-setlocale.c: Likewise.
37051         * localedata/tst-trans.c: Likewise.
37052         * localedata/tst-wctype.c: Likewise.
37053         * localedata/tst-xlocale1.c: Likewise.
37054         * login/tst-grantpt.c: Likewise.
37055         * malloc/tst-calloc.c: Likewise.
37056         * malloc/tst-malloc.c: Likewise.
37057         * malloc/tst-mallocstate.c: Likewise.
37058         * malloc/tst-mcheck.c: Likewise.
37059         * malloc/tst-mtrace.c: Likewise.
37060         * malloc/tst-obstack.c: Likewise.
37061         * math/atest-exp2.c: Likewise.
37062         * math/atest-exp.c: Likewise.
37063         * math/atest-sincos.c: Likewise.
37064         * math/test-matherr.c: Likewise.
37065         * math/test-misc.c: Likewise.
37066         * math/test-powl.c: Likewise.
37067         * math/tst-definitions.c: Likewise.
37068         * misc/tst-dirname.c: Likewise.
37069         * misc/tst-efgcvt.c: Likewise.
37070         * misc/tst-fdset.c: Likewise.
37071         * misc/tst-hsearch.c: Likewise.
37072         * misc/tst-mntent2.c: Likewise.
37073         * nptl/tst-sem7.c: Likewise.
37074         * nptl/tst-sem8.c: Likewise.
37075         * nptl/tst-sem9.c: Likewise.
37076         * nss/test-netdb.c: Likewise.
37077         * posix/tst-fnmatch.c: Likewise.
37078         * posix/tst-getlogin.c: Likewise.
37079         * posix/tst-gnuglob.c: Likewise.
37080         * posix/tst-mmap.c: Likewise.
37081         * pwd/tst-getpw.c: Likewise.
37082         * resolv/tst-inet_ntop.c: Likewise.
37083         * rt/tst-timer.c: Likewise.
37084         * stdio-common/test-fseek.c: Likewise.
37085         * stdio-common/test-popen.c: Likewise.
37086         * stdio-common/test-vfprintf.c: Likewise.
37087         * stdio-common/tst-cookie.c: Likewise.
37088         * stdio-common/tst-fileno.c: Likewise.
37089         * stdio-common/tst-gets.c: Likewise.
37090         * stdio-common/tst-obprintf.c: Likewise.
37091         * stdio-common/tst-perror.c: Likewise.
37092         * stdio-common/tst-sprintf2.c: Likewise.
37093         * stdio-common/tst-sprintf3.c: Likewise.
37094         * stdio-common/tst-sprintf.c: Likewise.
37095         * stdio-common/tst-swprintf.c: Likewise.
37096         * stdio-common/tst-tmpnam.c: Likewise.
37097         * stdio-common/tst-unbputc.c: Likewise.
37098         * stdio-common/tst-wc-printf.c: Likewise.
37099         * stdlib/tst-environ.c: Likewise.
37100         * stdlib/tst-fmtmsg.c: Likewise.
37101         * stdlib/tst-limits.c: Likewise.
37102         * stdlib/tst-rand48-2.c: Likewise.
37103         * stdlib/tst-rand48.c: Likewise.
37104         * stdlib/tst-random2.c: Likewise.
37105         * stdlib/tst-random.c: Likewise.
37106         * stdlib/tst-strtol.c: Likewise.
37107         * stdlib/tst-strtoll.c: Likewise.
37108         * stdlib/tst-tls-atexit.c: Likewise.
37109         * stdlib/tst-xpg-basename.c: Likewise.
37110         * string/test-ffs.c: Likewise.
37111         * string/tst-bswap.c: Likewise.
37112         * string/tst-inlcall.c: Likewise.
37113         * string/tst-strtok.c: Likewise.
37114         * string/tst-strxfrm.c: Likewise.
37115         * sysdeps/x86_64/tst-audit10.c: Likewise.
37116         * sysdeps/x86_64/tst-audit3.c: Likewise.
37117         * sysdeps/x86_64/tst-audit4.c: Likewise.
37118         * sysdeps/x86_64/tst-audit5.c: Likewise.
37119         * time/tst-ftime_l.c: Likewise.
37120         * time/tst-getdate.c: Likewise.
37121         * time/tst-mktime3.c: Likewise.
37122         * time/tst-mktime.c: Likewise.
37123         * time/tst-posixtz.c: Likewise.
37124         * time/tst-strptime2.c: Likewise.
37125         * time/tst-strptime3.c: Likewise.
37126         * wcsmbs/tst-btowc.c: Likewise.
37127         * wcsmbs/tst-mbrtowc.c: Likewise.
37128         * wcsmbs/tst-mbsrtowcs.c: Likewise.
37129         * wcsmbs/tst-wchar-h.c: Likewise.
37130         * wcsmbs/tst-wcpncpy.c: Likewise.
37131         * wcsmbs/tst-wcrtomb.c: Likewise.
37132         * wcsmbs/tst-wcsnlen.c: Likewise.
37133         * wcsmbs/tst-wcstof.c: Likewise.
37135 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
37137         [BZ #14132]
37138         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
37139         INTDEF.
37140         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
37141         declaration.
37142         (_dl_mcount): Use rtld_hidden_proto.
37143         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
37144         _dl_mcount.
37145         * elf/rtld.c (_rtld_global_ro): Likewise.
37147         [BZ #14132]
37148         * elf/dl-init.c (_dl_init): Don't use INTDEF.
37149         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
37150         of _dl_init_internal.
37151         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
37152         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
37153         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
37154         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
37155         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
37156         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
37157         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
37158         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
37159         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
37160         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
37161         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
37162         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
37163         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
37164         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
37165         * sysdeps/tile/dl-start.S (_start): Likewise.
37166         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
37167         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
37169         [BZ #14132]
37170         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
37171         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
37172         (rtld_progname): Make macro definition unconditional.
37173         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
37174         INTDEF.
37175         (dlmopen_doit): Do not use INTUSE with _dl_argv.
37176         (dl_main): Likewise.
37177         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
37178         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
37179         instead of _dl_argv_internal.
37180         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37181         __GI__dl_argv instead of INTUSE(_dl_argv).
37182         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
37183         __GI__dl_argv instead of _dl_argv_internal.
37185         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
37186         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
37187         macro.
37188         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
37189         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
37190         New macro.
37191         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
37192         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
37193         macro.
37194         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
37195         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
37197 2014-11-04  Andreas Schwab  <schwab@suse.de>
37199         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
37201 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37203         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
37204         mtvsrd instruction in binary form.
37206 2014-11-03  Andreas Schwab  <schwab@suse.de>
37208         [BZ #17522]
37209         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
37210         for less than MB_LEN_MAX use a local buffer of that size.
37211         * libio/tst-fputws.c: New file.
37212         * libio/Makefile (tests): Add tst-fputws.
37214 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
37216         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
37217         the size of the fpu_fr.fpu_dregs[] array.
37219 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
37221         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
37222         (__nanosleep): Do not define as alias.
37223         (nanosleep): Define as alias of __nanosleep.
37224         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
37225         __libc_nanosleep name.
37227 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
37229         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
37230         install.texi in comment.
37232 2014-10-31  Torvald Riegel  <triegel@redhat.com>
37234         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
37235         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
37236         ... add here and use lwsync or sync ...
37237         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
37238         ... and add here using lwsync.
37240 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
37242         * elf/dl-machine-reject-phdr.h: New file.
37243         * elf/dl-load.c: #include that.
37244         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
37245         if that returned true.
37247 2014-10-31  Roland McGrath  <roland@hack.frob.com>
37249         [BZ #17496]
37250         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
37251         gen-as-const-headers chunk.  Add a big scare comment after the last
37252         safe place to touch before-compile.
37254 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
37256         * manual/install.texi (Tools for Compilation): Update autoconf
37257         version requirements.
37258         * INSTALL: Regenerated.
37260         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
37261         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
37262         (__libc_pselect): Likewise.
37264         [BZ #14138]
37265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
37266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37270 2014-10-31  Torvald Riegel  <triegel@redhat.com>
37272         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
37273         correct barrier instruction.
37274         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
37275         Likewise.
37276         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
37277         Likewise.
37279 2014-10-30  Roland McGrath  <roland@hack.frob.com>
37281         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
37282         after defining inlines.  Instead, just use parens to defeat macro
37283         expansion of __isctype in its declaration.
37285 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
37287         * include/sys/uio.h (__libc_readv): Remove declaration.
37288         (__libc_writev): Likewise.
37289         * misc/readv.c (__libc_readv): Rename to __readv.
37290         (__readv): Do not define as alias.
37291         (readv): Define as alias of __readv.
37292         * misc/writev.c (__libc_writev): Rename to __writev.
37293         (__writev): Do not define as alias.
37294         (writev): Define as alias of __writev.
37295         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
37296         (__readv): Do not define as alias.
37297         (readv): Define unconditionally as alias of __readv.
37298         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
37299         (__writev): Do not define as alias.
37300         (writev): Define unconditionally as alias of __writev.
37301         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
37302         name.
37303         (writev): Do not define __libc_writev name.
37305 2014-10-30  Roland McGrath  <roland@hack.frob.com>
37307         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
37308         (convert_charseq): New function, broken out of ...
37309         (use_from_charmap): ... here.  Call it.
37310         (use_to_charmap): Use convert_charseq and free instead of duplicating
37311         its code with a variable-length stack struct.
37313 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
37315         * include/fcntl.h (__libc_creat): Remove declaration.
37316         * io/creat.c (__libc_creat): Rename to creat.
37317         (creat): Do not define as alias.
37318         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
37319         of creat instead of __libc_creat.
37320         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
37321         to creat.
37322         (creat): Do not define as alias.
37323         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
37324         __libc_creat.
37325         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
37326         __libc_creat name.
37327         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
37328         Likewise.
37330 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
37332         * manual/llio.texi: Add comments discussing why write() may be
37333         considered MT-unsafe on Linux.
37335 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
37337         * dl-load.c (local_strdup): Remove.
37338         (expand_dynamic_string_token): Use __strdup.
37339         (decompose_rpath): Likewise.
37340         (_dl_map_object): Likewise.
37342 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
37344         [BZ #14132]
37345         * sysdeps/generic/unwind-dw2-fde.c
37346         (__register_frame_info_bases_internal): Do not declare.
37347         (__register_frame_info_table_bases_internal): Likewise.
37348         (__deregister_frame_info_bases_internal): Likewise.
37349         (__register_frame_info_bases): Declare and use hidden_proto before
37350         definition.  Use hidden_def instead of INTDEF.
37351         (__register_frame_info_table_bases): Likewise.
37352         (__deregister_frame_info_bases): Likewise.
37353         (__register_frame_info): Do not use INTUSE.
37354         (__register_frame): Likewise.
37355         (__register_frame_info_table): Likewise.
37356         (__register_frame_table): Likewise.
37357         (__deregister_frame_info): Likewise.
37358         (__deregister_frame): Likewise.
37360 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
37362         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37363         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
37364         not undefine.
37365         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
37366         Likewise.
37367         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
37368         Likewise.
37370 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
37372         [BZ #14138]
37373         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
37374         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
37375         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
37376         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
37377         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
37378         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
37379         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
37380         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
37381         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
37382         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
37383         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
37384         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
37385         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
37386         syscall.
37387         (setfsuid): Likewise.
37388         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
37389         (setfsuid): Likewise.
37390         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
37391         (setfsuid): Likewise.
37392         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
37393         Likewise.
37394         (setfsuid): Likewise.
37395         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
37396         (setfsuid): Likewise.
37397         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
37398         Likewise.
37399         (setfsuid): Likewise.
37401 2014-10-27  Andreas Schwab  <schwab@suse.de>
37403         [BZ #17501]
37404         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
37405         check for Slow_SSE4_2 feature bit.
37406         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
37407         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
37408         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
37409         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
37411 2014-10-24  Roland McGrath  <roland@hack.frob.com>
37413         * configure.ac: Validate compiler version with a empirical test of
37414         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
37415         $CC -v output.
37416         * configure: Regenerated.
37418         * inet/htons.c (htons): Prototypify.
37419         * inet/htonl.c (htonl): Likewise.
37421 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37423         * string/strncat.c (strncat): Improve performance by using strlen.
37425 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37427         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
37429 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37431         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
37432         Call libc_fetestexcept_aarch64.
37434 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37436         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
37437         Call libc_feholdexcept_aarch64.
37439 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37441         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
37442         Call get_rounding_mode.
37444 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37446         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
37447         Simplify logic.
37449 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37451         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
37452         Simplify logic.
37454 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
37456         [BZ #14138]
37457         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
37458         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
37459         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
37460         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
37461         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
37462         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
37463         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
37464         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
37465         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
37466         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
37467         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
37468         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
37469         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
37470         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
37471         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
37472         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
37473         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
37474         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
37475         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
37476         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
37477         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
37478         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
37479         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
37480         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
37481         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
37482         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
37483         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
37484         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
37485         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
37486         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
37487         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
37488         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
37489         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
37490         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
37491         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
37492         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
37493         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
37494         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
37495         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
37496         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
37497         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
37498         syscall.
37499         (geteuid): Likewise.
37500         (getgid): Likewise.
37501         (getuid): Likewise.
37502         (getresgid): Likewise.
37503         (getresuid): Likewise.
37504         (getgroups): Likewise.
37505         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
37506         (geteuid): Likewise.
37507         (getgid): Likewise.
37508         (getuid): Likewise.
37509         (getresgid): Likewise.
37510         (getresuid): Likewise.
37511         (getgroups): Likewise.
37512         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
37513         (geteuid): Likewise.
37514         (getgid): Likewise.
37515         (getuid): Likewise.
37516         (getresgid): Likewise.
37517         (getresuid): Likewise.
37518         (getgroups): Likewise.
37519         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
37520         Likewise.
37521         (geteuid): Likewise.
37522         (getgid): Likewise.
37523         (getuid): Likewise.
37524         (getresgid): Likewise.
37525         (getresuid): Likewise.
37526         (getgroups): Likewise.
37527         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
37528         (geteuid): Likewise.
37529         (getgid): Likewise.
37530         (getuid): Likewise.
37531         (getresgid): Likewise.
37532         (getresuid): Likewise.
37533         (getgroups): Likewise.
37534         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
37535         Likewise.
37536         (geteuid): Likewise.
37537         (getgid): Likewise.
37538         (getuid): Likewise.
37539         (getgroups): Likewise.
37541         [BZ #14138]
37542         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
37543         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
37544         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
37545         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
37546         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
37547         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
37548         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
37549         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
37550         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
37551         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
37552         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
37553         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
37554         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
37555         __chown.
37556         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
37557         (lchown): Likewise.
37558         (fchown): Likewise.
37559         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
37560         Likewise.
37561         (lchown): Likewise.
37562         (fchown): Likewise.
37563         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
37564         (lchown): Likewise.
37565         (fchown): Likewise.
37566         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
37567         Likewise.
37568         (lchown): Likewise.
37569         (fchown): Likewise.
37571 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
37573         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
37574         Simplify logic.
37576 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
37578         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
37579         Cleanup logic.
37581 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
37583         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
37584         Remove unused include.
37586 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
37588         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
37589         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
37590         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
37591         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
37593 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
37594             Helge Deller <deller@gmx.de>
37596         [BZ #17508]
37597         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
37598         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
37599         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
37601 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
37603         [BZ #14132]
37604         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
37605         Remove macro definition.
37606         (__ashrdi3_v_glibc20): Likewise.
37607         (__lshrdi3_v_glibc20): Likewise.
37608         (__cmpdi2_v_glibc20): Likewise.
37609         (__ucmpdi2_v_glibc20): Likewise.
37610         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
37611         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
37612         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
37613         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
37614         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
37615         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
37617 2014-10-22  Roland McGrath  <roland@hack.frob.com>
37619         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
37620         old GNU extension [0] syntax.
37621         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
37622         alloca rather than an array member with variable length.
37623         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
37624         * nscd/nscd.c (invalidate_db): New function, broken out of ...
37625         (parse_opt): ... here.  Likewise use alloca there.
37626         Validate the -i argument before checking for rootness.
37627         (send_shutdown): New function, broken out of ...
37628         (parse_opt): ... here.
37630 2014-10-22  Roland McGrath  <roland@hack.frob.com>
37632         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
37633         macro to get at the _rt_local_ro field.
37634         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
37635         ([PIC] case) or _dl_hwcap ([!PIC] case).
37636         * sysdeps/arm/setjmp.S: Likewise.
37638         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
37639         * sysdeps/arm/configure.ac: New check to define it.
37640         * sysdeps/arm/configure: Regenerated.
37641         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
37642         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
37643         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
37644         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
37645         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
37646         Use move/movt pair instead of a load.
37647         (LDST_GLOBAL): Macro removed.
37648         (LDR_GLOBAL): New macro replaces it.
37649         (LDR_HIDDEN): New macro.
37650         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
37651         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
37653         * setjmp/tst-setjmp-static.c: New file.
37654         * setjmp/Makefile (tests): Add it.
37655         (tests-static): New variable.
37657 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
37659         [BZ #17485]
37660         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
37662 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
37664         [BZ #14132]
37665         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
37667 2014-10-21  Roland McGrath  <roland@hack.frob.com>
37669         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
37671 2014-10-20  Roland McGrath  <roland@hack.frob.com>
37673         * io/fts.c (dirent_not_directory): New function.
37674         (fts_build): Call it.
37676 2014-10-20  Roland McGrath  <roland@hack.frob.com>
37678         * nptl/version.c (__nptl_main): Use normal __write rather than
37679         INTERNAL_SYSCALL.
37680         (banner): Update copyright years.
37682         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
37683         gettimeofday.
37684         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
37685         * nptl/pthread_cond_timedwait.c: Likewise.
37686         * nptl/pthread_mutex_timedlock.c: Likewise.
37687         * nptl/sem_timedwait.c: Likewise.
37689         * sysdeps/nptl/bits/libc-lock.h
37690         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
37691         (__libc_lock_init_recursive): Return void, not 0.
37692         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
37693         (__libc_rwlock_init): Likewise.
37694         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
37696 2014-10-20  Torvald Riegel  <triegel@redhat.com>
37698         [BZ #15215]
37699         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
37700         (__pthread_once_slow): ... here.
37701         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
37702         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
37704 2014-10-20  Torvald Riegel  <triegel@redhat.com>
37706         [BZ #15215]
37707         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
37708         __PTHREAD_ONCE_FORK_GEN_INCR): New.
37709         * sysdeps/nptl/fork.c (__libc_fork): Use them.
37710         * nptl/pthread_once.c (__pthread_once): Likewise.
37711         Update comments.
37713 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
37715         [BZ #14138]
37716         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
37717         name.
37718         (writev): Use __libc_writev as strong name.
37719         * sysdeps/unix/sysv/linux/readv.c: Remove file.
37720         * sysdeps/unix/sysv/linux/writev.c: Likewise.
37722 2014-10-17  Roland McGrath  <roland@hack.frob.com>
37724         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
37726         * sysdeps/i386/nptl/tls.h
37727         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
37728         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
37729         New macros.
37730         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
37731         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
37732         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
37733         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
37734         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
37735         Call CHECK_THREAD_SYSINFO instead of doing an assert.
37737         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
37738         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
37739         on [__NR_futex].
37740         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
37741         broken out of ...
37742         (__pthread_mutex_init): ... here.  Call it.
37743         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
37744         Conditionalize PI cases on [__NR_futex].
37745         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
37746         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
37747         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
37749         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
37750         conditional on [SIGSETXID].
37751         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
37752         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
37753         is defined.  Likewise for SIGSETXID.
37754         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
37755         Conditionalize definitions on [SIGSETXID].
37756         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
37757         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
37758         unblocking on [SIGCANCEL].
37760         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
37761         [__NR_set_robust_list].
37763 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
37765         * string/strcoll_l.c (get_next_seq): Fix up formatting.
37766         (do_compare): Likewise.
37768 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
37770         [BZ #15884]
37771         * string/strcoll_l.c: Don't include stdio.h.
37772         (coll_seq): Remove members idxarr and rulearr.
37773         (get_next_seq_cached): Remove function.
37774         (get_next_seq): Likewise.
37775         (get_next_seq_nocache): Rename to get_next_seq.
37776         (do_compare): Remove function.
37777         (do_compare_nocache): Rename to do_compare.
37778         (STRCOLL): Remove weight and rules cache.
37780 2014-10-16  Roland McGrath  <roland@hack.frob.com>
37782         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
37783         * sysdeps/arm/sfp-machine.h: ... to here.
37784         * sysdeps/arm/Implies: Remove arm/soft-fp.
37786 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
37788         * conform/data/sys/utsname.h-data (*_t): Allow.
37789         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
37790         [POSIX] (WEXITED): Do not expect constant.
37791         [POSIX] (WSTOPPED): Likewise.
37792         [POSIX] (WNOHANG): Likewise.
37793         [POSIX] (WNOWAIT): Likewise.
37794         [POSIX] (siginfo_t): Do not expect type or elements.
37795         [POSIX] (pid_t): Do not expect type.
37796         [POSIX] (signal.h): Do not allow header.
37797         [POSIX] (sys/resource.h): Likewise.
37798         [POSIX] (si_*): Do not allow pattern.
37799         [POSIX] (W*): Likewise.
37800         [POSIX] (P_*): Likewise.
37801         [POSIX] (BUS_*): Likewise.
37802         [POSIX] (CLD_*): Likewise.
37803         [POSIX] (FPE_*): Likewise.
37804         [POSIX] (ILL_*): Likewise.
37805         [POSIX] (POLL_*): Likewise.
37806         [POSIX] (SEGV_*): Likewise.
37807         [POSIX] (SI_*): Likewise.
37808         [POSIX] (TRAP_*): Likewise.
37809         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
37810         variable.
37812 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
37814         [BZ #12926]
37815         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
37816         infinite loop when __recvmsg returns 0.
37818 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
37820         * CANCEL-FCT-WAIVE: Remove file.
37821         * CANCEL-FILE-WAIVE: Likewise.
37823         [BZ #14132]
37824         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
37825         instead of INTVARDEF.
37826         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
37827         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
37828         rtld_hidden_data_def instead of INTVARDEF.
37829         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
37830         * elf/dl-deps.c (expand_dst): Likewise.
37831         * elf/dl-load.c (_dl_dst_count): Likewise.
37832         (_dl_dst_substitute): Likewise.
37833         (decompose_rpath): Likewise.
37834         (_dl_init_paths): Likewise.
37835         (open_path): Likewise.
37836         (_dl_map_object): Likewise.
37837         * elf/rtld.c (dl_main): Likewise.
37838         (process_dl_audit): Likewise.
37839         (process_envvars): Likewise.
37840         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
37841         Remove declaration.
37842         (__libc_enable_secure): Use rtld_hidden_proto.
37844 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37846         * elf/dl-load.c
37847         (add_path): New function broken out of _dl_rtld_di_serinfo.
37848         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
37850 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
37852         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
37853         parentheses around macro arguments.
37854         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
37855         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
37856         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
37857         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
37858         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
37859         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
37860         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
37861         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
37862         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
37863         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
37864         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
37865         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
37866         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
37867         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
37868         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
37869         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
37870         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
37871         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
37872         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
37873         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
37874         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
37875         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
37876         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
37877         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
37878         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
37879         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
37880         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
37881         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
37882         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
37883         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
37884         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
37885         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
37886         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
37887         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
37888         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
37889         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
37890         Likewise.
37891         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
37892         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
37893         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
37894         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
37895         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
37896         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
37897         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
37898         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
37899         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
37900         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
37901         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
37902         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
37903         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
37904         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
37905         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
37906         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
37907         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
37908         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
37909         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
37910         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
37911         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
37912         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
37913         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
37914         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
37915         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
37916         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
37917         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
37918         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
37919         (_FP_FRAC_SRS_1): Likewise.
37920         (_FP_FRAC_CLZ_1): Likewise.
37921         (_FP_MUL_MEAT_1_imm): Likewise.
37922         (_FP_MUL_MEAT_1_wide): Likewise.
37923         (_FP_MUL_MEAT_1_hard): Likewise.
37924         (_FP_SQRT_MEAT_1): Likewise.
37925         (_FP_FRAC_ASSEMBLE_1): Likewise.
37926         (_FP_FRAC_DISASSEMBLE_1): Likewise.
37927         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
37928         (__FP_CLZ_2): Likewise.
37929         (_FP_MUL_MEAT_2_wide): Likewise.
37930         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
37931         (_FP_MUL_MEAT_2_gmp): Likewise.
37932         (_FP_MUL_MEAT_2_120_240_double): Likewise.
37933         (_FP_SQRT_MEAT_2): Likewise.
37934         (_FP_FRAC_ASSEMBLE_2): Likewise.
37935         (_FP_FRAC_DISASSEMBLE_2): Likewise.
37936         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
37937         (_FP_FRAC_CLZ_4): Likewise.
37938         (_FP_MUL_MEAT_4_wide): Likewise.
37939         (_FP_MUL_MEAT_4_gmp): Likewise.
37940         (_FP_SQRT_MEAT_4): Likewise.
37941         (_FP_FRAC_ASSEMBLE_4): Likewise.
37942         (_FP_FRAC_DISASSEMBLE_4): Likewise.
37943         * soft-fp/op-common.h (_FP_CMP): Likewise.
37944         (_FP_CMP_EQ): Likewise.
37945         (_FP_CMP_UNORD): Likewise.
37946         (_FP_TO_INT): Likewise.
37947         (_FP_FROM_INT): Likewise.
37948         [!__FP_CLZ] (__FP_CLZ): Likewise.
37949         (_FP_DIV_HELP_imm): Likewise.
37950         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
37951         Likewise.
37952         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
37953         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
37954         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
37955         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
37956         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
37957         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
37958         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
37959         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
37960         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
37961         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
37962         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
37963         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
37964         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
37965         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
37966         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
37967         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
37968         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
37969         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
37970         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
37971         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
37972         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
37973         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
37974         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
37975         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
37976         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
37977         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
37978         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
37979         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
37980         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
37981         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
37982         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
37983         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
37984         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
37985         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
37986         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
37987         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
37988         (FP_UNPACK_RAW_SP): Likewise.
37989         (FP_PACK_RAW_S): Likewise.
37990         (FP_PACK_RAW_SP): Likewise.
37991         (FP_UNPACK_S): Likewise.
37992         (FP_UNPACK_SP): Likewise.
37993         (FP_UNPACK_SEMIRAW_S): Likewise.
37994         (FP_UNPACK_SEMIRAW_SP): Likewise.
37995         (FP_PACK_S): Likewise.
37996         (FP_PACK_SP): Likewise.
37997         (FP_PACK_SEMIRAW_S): Likewise.
37998         (FP_PACK_SEMIRAW_SP): Likewise.
37999         (_FP_SQRT_MEAT_S): Likewise.
38000         (FP_CMP_S): Likewise.
38001         (FP_CMP_EQ_S): Likewise.
38002         (FP_CMP_UNORD_S): Likewise.
38003         (FP_TO_INT_S): Likewise.
38004         (FP_FROM_INT_S): Likewise.
38006         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
38008         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
38009         (FP_EX_INVALID_IMZ): Likewise.
38010         (FP_EX_INVALID_IMZ_FMA): Likewise.
38011         (FP_EX_INVALID_ISI): Likewise.
38012         (FP_EX_INVALID_ZDZ): Likewise.
38013         (FP_EX_INVALID_IDI): Likewise.
38014         (FP_EX_INVALID_SQRT): Likewise.
38015         (FP_EX_INVALID_CVI): Likewise.
38016         (FP_EX_INVALID_VC): Likewise.
38017         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
38018         "invalid" exceptions.
38019         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
38020         (_FP_ADD_INTERNAL): Likewise.
38021         (_FP_MUL): Likewise.
38022         (_FP_FMA): Likewise.
38023         (_FP_DIV): Likewise.
38024         (_FP_CMP_CHECK_NAN): Likewise.
38025         (_FP_SQRT): Likewise.
38026         (_FP_TO_INT): Likewise.
38027         (FP_EXTEND): Likewise.
38029 2014-10-09  Allan McRae  <allan@archlinux.org>
38031         * po/fr.po: Update French translation from translation project.
38033 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
38035         [BZ #14132]
38036         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
38037         of INTDEF.
38038         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
38039         (__cxa_atexit): Use libc_hidden_proto.
38040         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
38042         [BZ #14132]
38043         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
38044         declaration.
38045         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
38046         [!_ISOMAC] (__iswspace_l_internal): Likewise.
38047         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
38048         [!_ISOMAC] (__iswctype_internal): Likewise.
38049         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
38050         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
38051         alias.
38052         (fcntl): Remove __fcntl_internal alias.
38053         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
38054         __connect_internal alias.
38055         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
38056         Likewise.
38058         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
38059         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
38060         FP_DENORM_ZERO.
38061         (_FP_CHECK_FLUSH_ZERO): New macro.
38062         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
38063         (_FP_CMP): Likewise.
38064         (_FP_CMP_EQ): Likewise.
38065         (_FP_TO_INT): Do not set inexact for subnormal arguments if
38066         FP_DENORM_ZERO.
38067         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
38068         (FP_TRUNC): Likewise.
38070         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
38071         treated as invalid conversion, not as normal exponent.
38073         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
38074         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
38075         (_FP_CMP_EQ): Likewise.
38076         (_FP_CMP_UNORD): Likewise.
38077         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
38078         (FP_CMP_EQ_D): Likewise.
38079         (FP_CMP_UNORD_D): Likewise.
38080         * soft-fp/extended.h (FP_CMP_E): Likewise.
38081         (FP_CMP_EQ_E): Likewise.
38082         (FP_CMP_UNORD_E): Likewise.
38083         * soft-fp/quad.h (FP_CMP_Q): Likewise.
38084         (FP_CMP_EQ_Q): Likewise.
38085         (FP_CMP_UNORD_Q): Likewise.
38086         * soft-fp/single.h (FP_CMP_S): Likewise.
38087         (FP_CMP_EQ_S): Likewise.
38088         (FP_CMP_UNORD_S): Likewise.
38089         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
38090         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
38091         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
38092         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
38093         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
38094         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
38095         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
38096         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
38097         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
38098         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
38099         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
38100         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
38101         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
38102         to FP_CMP_Q.
38103         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
38104         FP_CMP_Q.
38105         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
38106         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
38107         FP_CMP_EQ_Q.
38108         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
38109         FP_CMP_Q.
38110         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
38111         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
38112         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
38113         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
38114         FP_CMP_EQ_Q.
38115         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
38116         FP_CMP_Q.
38117         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
38118         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
38119         FP_CMP_EQ_Q.
38120         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
38121         FP_CMP_Q.
38122         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
38123         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
38124         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
38125         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
38126         FP_CMP_EQ_Q.
38128         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
38129         a subnormal result, set the underflow exception if trapping on
38130         underflow is enabled.
38131         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
38132         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
38133         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
38134         redefine to 0.
38135         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
38136         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
38137         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
38138         * soft-fp/extendxftf2.c (__extendxftf2): Use
38139         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
38141         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
38142         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
38143         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
38144         FP_HANDLE_EXCEPTIONS.
38145         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
38146         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
38147         FP_HANDLE_EXCEPTIONS.
38148         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
38149         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
38150         FP_HANDLE_EXCEPTIONS.
38151         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
38152         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
38153         FP_HANDLE_EXCEPTIONS.
38155 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
38157         [BZ #14132]
38158         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
38159         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
38160         use INTUSE.
38161         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
38162         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
38163         Remove alias.
38164         (__adjtimex): Define using libc_hidden_ver.
38165         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
38166         Remove declaration.
38167         (ntp_gettime): Call __adjtimex directly.
38168         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
38169         Remove declaration.
38170         (ntp_gettimex): Call __adjtimex directly.
38171         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
38172         __adjtimex_internal alias.
38174 2014-10-08  Roland McGrath  <roland@hack.frob.com>
38176         [BZ #17460]
38177         * nscd/nscd.c (more_help): Rewrite list of tables collection
38178         using xstrdup and asprintf.
38180         * nscd/nscd_conf.c: Remove local xstrdup declaration.
38182 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38183             Roland McGrath  <roland@hack.frob.com>
38185         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
38186         (do_lookup_unique): ... local function 'enter' here; update callers.
38188 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
38190         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
38191         compat_symbol calls on [SHARED].
38192         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
38193         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
38194         Remove.
38195         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
38196         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
38197         (oldsetrlimit): Remove.
38198         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
38199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
38200         (lchown): New syscall entry.
38201         (oldsetrlimit): Remove.
38202         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
38203         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
38204         (oldsetrlimit): Remove.
38205         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
38207         [BZ #14138]
38208         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
38209         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
38210         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
38211         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
38212         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
38213         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
38214         (fchown): Likewise.
38215         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
38216         (fchown): Likewise.
38217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
38218         Likewise.
38220 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38222         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
38223         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
38224         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
38225         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
38226         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
38227         Likewise.
38228         (__old_sem_post): Likewise.
38230 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
38232         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
38233         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
38234         HAVE_CLOCK_GETTIME_VSYSCALL macros.
38235         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
38236         Use INLINE_VSYSCALL macro.
38237         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
38238         __vdso_clock_gettime.
38239         * sysdeps/unix/sysv/linux/tile/init-first.c
38240         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
38241         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
38242         __vdso_clock_gettime.
38244         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
38245         to set up frame more cleanly.
38247         * sysdeps/tile/memcmp.c: New file.
38249         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
38251         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
38252         * sysdeps/tile/tilegx/strcasestr.c: New file.
38253         * sysdeps/tile/tilegx/strnlen.c: New file.
38254         * sysdeps/tile/tilegx/strstr.c: New file.
38256         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
38258 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
38260         * nptl/tst-setuid3.c: Write errors to stdout.
38262 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38264         * elf/dl-deps.c
38265         (preload): New functions broken out of _dl_map_object_deps.
38266         (_dl_map_object_deps):  Remove a nested function. Update call sites.
38268 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
38270         [BZ #14138]
38271         * sysdeps/unix/sysv/linux/execve.c: Remove file.
38272         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
38274 2014-10-01  Steve Ellcey  <sellcey@mips.com>
38276         * sysdeps/mips/strcmp.S: New.
38278 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
38280         [BZ #14138]
38281         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
38282         (linkat): Likewise.
38283         (mkdirat): Likewise.
38284         (readlinkat): Likewise.
38285         (renameat): Likewise.
38286         (symlinkat): Likewise.
38287         (unlinkat): Likewise.
38288         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
38289         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
38290         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
38291         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
38292         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
38293         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
38294         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
38296 2014-09-30  Will Newton  <will.newton@linaro.org>
38298         * math/math.h: Define long double math functions if
38299         _LIBC_TEST is defined.
38300         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
38302         * localedata/Makefile: Move assignment to tests-special
38303         into an ifdef testing run-built-tests.
38304         * timezone/Makefile: Likewise.
38306 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
38308         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
38309         with $(BASH) not $(SHELL).
38311 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
38312             Matthew LeGendre  <legendre1@llnl.gov>
38314         [BZ #17411]
38315         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
38316         l_reloc_result.
38318 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38320         * stdio-common/printf_fp.c
38321         (hack_digit): New function, broken out of ...
38322         (__printf_fp): ... local function here.  Update call sites.
38323         hack_digit now takes an additional parameter that is a pointer
38324         to a struct of the referenced locals.  Those locals moved inside
38325         the struct and references updated.
38327 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
38329         * aclocal.m4: Require autoconf 2.69.
38330         * configure: Regenerated.
38331         * sysdeps/aarch64/configure: Likewise.
38332         * sysdeps/alpha/configure: Likewise.
38333         * sysdeps/arm/armv7/configure: Likewise.
38334         * sysdeps/arm/configure: Likewise.
38335         * sysdeps/ia64/configure: Likewise.
38336         * sysdeps/mach/configure: Likewise.
38337         * sysdeps/mips/configure: Likewise.
38338         * sysdeps/s390/configure: Likewise.
38339         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
38340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
38342         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
38343         file.
38344         * sysdeps/ia64/configure.ac: Likewise.
38346 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
38348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
38349         specify symbol version for ld.so.  Do not include entry for
38350         libpthread.
38351         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
38352         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
38353         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
38355         [BZ #14171]
38356         * Makeconfig [$(build-shared) = yes]
38357         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
38358         makefiles.
38359         [$(build-shared) = yes && $(soversions.mk-done) = t]
38360         ($(common-objpfx)gnu/lib-names.h): Remove rule.
38361         [$(build-shared) = yes && $(soversions.mk-done) = t]
38362         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
38363         to Makerules.
38364         [$(build-shared) = yes && $(soversions.mk-done) = t]
38365         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
38366         here.
38367         [$(build-shared) = yes && $(soversions.mk-done) = t]
38368         (common-generated): Don't append gnu/lib-names.h and
38369         gnu/lib-names.stmp here.
38370         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
38371         (lib-names-h-abi): New variable.
38372         [$(build-shared) = yes && $(soversions.mk-done) = t]
38373         (lib-names-stmp-abi): Likewise.
38374         [$(build-shared) = yes && $(soversions.mk-done) = t &&
38375         abi-variants] (before-compile): Append
38376         $(common-objpfx)$(lib-names-h-abi).
38377         [$(build-shared) = yes && $(soversions.mk-done) = t &&
38378         abi-variants] (common-generated): Append gnu/lib-names.h.
38379         [$(build-shared) = yes && $(soversions.mk-done) = t &&
38380         abi-variants] (install-others-nosubdir): Depend on
38381         $(inst_includedir)/$(lib-names-h-abi).
38382         [$(build-shared) = yes && $(soversions.mk-done) = t &&
38383         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
38384         [$(build-shared) = yes && $(soversions.mk-done) = t]
38385         ($(common-objpfx)$(lib-names-h-abi)): New rule.
38386         [$(build-shared) = yes && $(soversions.mk-done) = t]
38387         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
38388         [$(build-shared) = yes && $(soversions.mk-done) = t]
38389         (common-generated): Append $(lib-names-h-abi) and
38390         $(lib-names-stmp-abi).
38391         * scripts/lib-names.awk: Do not handle multi being set.
38392         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
38393         Remove variable.
38394         (abi-lp64_be-ld-soname): Likewise.
38395         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
38396         Likewise.
38397         (abi-hard-ld-soname): Likewise.
38398         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
38399         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
38400         Remove variable.
38401         (abi-o32_hard-ld-soname): Likewise.
38402         (abi-o32_soft_2008-ld-soname): Likewise.
38403         (abi-o32_hard_2008-ld-soname): Likewise.
38404         (abi-n32_soft-ld-soname): Likewise.
38405         (abi-n32_hard-ld-soname): Likewise.
38406         (abi-n32_soft_2008-ld-soname): Likewise.
38407         (abi-n32_hard_2008-ld-soname): Likewise.
38408         (abi-n64_soft-ld-soname): Likewise.
38409         (abi-n64_hard-ld-soname): Likewise.
38410         (abi-n64_soft_2008-ld-soname): Likewise.
38411         (abi-n64_hard_2008-ld-soname): Likewise.
38412         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
38413         Likewise.
38414         (abi-64-v2-ld-soname): Likewise.
38415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
38416         ld.so entries.
38417         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
38418         variable.
38419         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
38420         entry.
38421         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
38422         variable.
38423         (abi-64-ld-soname): Likewise.
38424         (abi-x32-ld-soname): Likewise.
38425         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
38426         entry.
38427         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
38429 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
38431         [BZ #14138]
38432         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
38433         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
38434         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
38435         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
38436         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
38437         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
38438         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
38439         syscall entry for GLIBC_2.2 symbol version.
38440         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
38441         Likewise.
38442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
38443         (setrlimit): Likewise.
38444         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
38445         Likewise.
38447 2014-09-23  Will Newton  <will.newton@linaro.org>
38449         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
38450         _LINUX_ARM_SYSDEP_H include guard too.
38451         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
38452         define.
38454 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
38456         * sysdeps/unix/sysv/linux/eventfd.c:
38457         Make first argument unsigned.
38458         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
38459         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
38461 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
38463         [BZ #16852]
38464         * socket/recvmmsg.c (recvmmsg): Drop const argument.
38465         * socket/sys/socket.h: Likewise.
38466         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
38468 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38470         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
38472 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
38474         * time/tst-ftime.c: New test.
38475         * time/Makefile (tests): Add tst-ftime.
38477 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
38479         * soft-fp/extended.h: Fix comment formatting.
38480         * soft-fp/op-1.h: Likewise.
38481         * soft-fp/op-2.h: Likewise.
38482         * soft-fp/op-4.h: Likewise.
38483         * soft-fp/op-8.h: Likewise.
38484         * soft-fp/op-common.h: Likewise.
38485         * soft-fp/soft-fp.h: Likewise.
38487         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
38489 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
38491         [BZ #6652]
38492         * Makeconfig (soversions-default-setname): Remove variable.
38493         ($(common-objpfx)soversions.i): Don't pass default_setname to
38494         soversions.awk.
38495         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
38496         oldest_abi to abi-versions.awk.
38497         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
38498         * config.make.in (oldest-abi): Remove variable.
38499         * configure.ac (--enable-oldest-abi): Remove configure option.
38500         * configure: Regenerated.
38501         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
38502         text.
38503         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
38504         * scripts/soversions.awk: Do not handle default_setname variable.
38505         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
38506         variable.
38507         * sysdeps/mach/hurd/configure: Regenerated.
38508         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
38509         variable.
38510         * sysdeps/unix/sysv/linux/configure: Regenerated.
38512 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38514         * elf/Makefile (CFLAGS-interp.c): Remove.
38515         ($(elf-objpfx)runtime-linker.h): Generate header with linker
38516         path string.
38517         * elf/interp.c: Include generated runtime-linker.h
38519         * Makerules (lib%.so): Don't include $(+interp) in
38520         prerequisites.
38521         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
38522         * dlfcn/eval.c: Remove file.
38524         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
38525         macros.
38527         [BZ #17266]
38528         * misc/sys/cdefs.h: Define __extern_always_inline for clang
38529         4.2 and newer.
38531         [BZ #17370]
38532         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
38534 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38535             Jakub Jelinek  <jakub@redhat.com>
38537         [BZ #17266]
38538         * libio/stdio.h: Check definition of __fortify_function
38539         instead of __extern_always_inline to include bits/stdio2.h.
38540         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
38541         check if __extern_always_inline is defined.
38542         [__USE_MISC || __USE_XOPEN]: Likewise.
38543         [__USE_ISOC99] Likewise.
38544         * misc/sys/cdefs.h (__fortify_function): Define only if
38545         __extern_always_inline is defined.
38546         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
38547         __extern_always_inline and __extern_inline only for g++-4.3
38548         and newer or a compatible gcc.
38550 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
38552         [BZ #17371]
38553         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
38554         last change to handle zero prefix length.
38556 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38558         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
38559         _SC_REGEX_VERSION.
38561         * posix/getconf.c (vars): Add _POSIX_IPV6 and
38562         _POSIX_RAW_SOCKETS.
38564 2014-09-13  Allan McRae  <allan@archlinux.org>
38566         * po/ru.po: Update Russian translation from translation project.
38568 2014-09-12  Roland McGrath  <roland@hack.frob.com>
38570         * locale/programs/locale.c (show_locale_vars): Inline local function
38571         into its sole call site.  Clean up some style nits.
38572         (print_item): New function, broken out of ...
38573         (show_info): ... local function here.  Clean up style nits.
38575         * locale/programs/ld-ctype.c (set_one_default): New function, broken
38576         out of ...
38577         (set_class_defaults): ... local function set_default here.
38578         Define set_default as a macro locally to pass constant parameters.
38579         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
38580         rather than a shared local.
38582         * stdlib/rpmatch.c (try): New function, broken out of ...
38583         (rpmatch): ... local function here.  Also, prototypify definition.
38585 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
38587         * scripts/soversions.awk: Do not handle configuration names.
38588         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
38589         vendor and os variables to soversions.awk.
38590         * configure.ac: Do not modify gnu-* host_os.
38591         * configure: Regenerated
38592         * shlib-versions: Remove first column with configuration names.
38593         * nptl/shlib-versions: Likewise.
38594         * nptl_db/shlib-versions: Likewise.
38595         * sysdeps/hppa/shlib-versions: Likewise.
38596         * sysdeps/m68k/shlib-versions: Likewise.
38597         * sysdeps/mach/hurd/shlib-versions: Likewise.
38598         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
38599         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
38600         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
38601         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
38602         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
38603         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
38604         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
38605         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
38606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
38607         Likewise.
38608         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
38609         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
38610         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
38611         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
38612         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
38613         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
38614         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
38615         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
38617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
38618         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
38619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
38620         Regenerated.
38621         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
38622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
38623         Condition symbol version definitions on [HAVE_ELFV2_ABI].
38625         * shlib-versions: Remove OS-specific entries.  Moved to files in
38626         sysdeps.
38627         * sysdeps/mach/hurd/shlib-versions: New file.
38628         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
38630         * nptl/shlib-versions: Remove architecture-specific entries.
38631         Moved to files in sysdeps.
38632         * shlib-versions: Likewise.
38633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
38634         file.
38635         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
38636         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
38637         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
38638         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
38640         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
38641         (UDP_NO_CHECK6_RX): Likewise.
38643 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38645         * sysdeps/posix/sysconf.c (__sysconf): Spell
38646         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
38648 2014-08-12  Florian Weimer  <fweimer@redhat.com>
38650         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
38651         loading.
38652         * iconv/Versions (__gconv_transliterate): Export for use from
38653         gconv modules.
38654         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
38655         (struct __gconv_trans_data, __gconv_trans_fct,
38656         __gconv_trans_context_fct, __gconv_trans_query_fct,
38657         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
38658         definitions.
38659         (struct __gconv_step_data): Remove __trans member.
38660         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
38661         longer hidden.  Remove unused trans_data argument.
38662         * iconv/gconv_int.h (struct trans_struct): Remove definition.
38663         (__gconv_translit_find): Remove declaration.
38664         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
38665         prototype.
38666         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
38667         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
38668         trans_data argument.  Add hidden definition.
38669         (__gconv_translit_find): Remove.
38670         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
38671         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
38672         * iconv/skeleton.c: Remove transliteration initialization.
38673         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
38674         __gconv_step_data initialization.
38675         * libio/iofwide.c (__libio_translit_): Remove.
38676         (_IO_fwide): Adjust struct __gconv_step_data initialization.
38677         * wcsmbs/btowc.c (__btowc): Likewise.
38678         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
38679         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
38680         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
38681         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
38682         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
38683         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
38684         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
38685         * wcsmbs/wctob.c (wctob): Likewise.
38687 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38689         [BZ #16194]
38690         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
38691         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
38692         register usage.
38693         * sysdeps/x86/Makefile: Adjust.
38695 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38696             Roland McGrath  <roland@hack.frob.com>
38698         * locale/weight.h: Add include guard.
38699         (findidx): Make static rather than auto; take new parameters
38700         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
38701         * locale/weightwc.h: Likewise.
38702         * posix/fnmatch_loop.c
38703         (FCT): Change type of EXTRA from int32_t to wint_t.
38704         Don't include either header inside the function.
38705         Call FINDIDX rather than findidx, and pass new arguments.
38706         #undef FINDIDX at the end of the file.
38707         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
38708         FINDIDX before including fnmatch_loop.c for the non-wide version.
38709         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
38710         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
38711         for the wide version.
38712         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
38713         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
38714         Pass new arguments to findidx.
38715         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
38716         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
38717         Don't #include it inside the function.  Pass new arguments to findidx.
38718         * posix/regex_internal.h
38719         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
38720         (re_string_elem_size_at): Don't #include it inside the function.
38721         Pass new arguments to findidx.
38722         * string/strcoll_l.c: #include WEIGHT_H at top level.
38723         (get_next_seq): Don't #include it inside the function.
38724         Pass new arguments to findidx.
38725         (get_next_seq_nocache): Likewise.
38726         * string/strxfrm_l.c: #include WEIGHT_H at top level.
38727         (STRXFRM): Don't #include it inside the function.
38728         Pass new arguments to findidx.
38730 2014-09-11  Florian Weimer  <fweimer@redhat.com>
38732         [BZ #17344]
38733         * malloc/malloc.c (unlink): Turn asserts into a call to
38734         malloc_printerr.
38736 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
38738         [BZ #17370]
38739         * libio/wfileops (do_ftell_wide): Free OUT.
38741 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
38743         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
38745 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38747         [BZ #17363]
38748         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
38749         group if the current group is empty.
38751 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38753         * benchtests/bench-memset.c (test_main): Add more test from size
38754         from 32 to 512 bytes.
38755         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38756         Add POWER8 memset object.
38757         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38758         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
38759         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
38760         implementation.
38761         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
38762         Likewise.
38763         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
38764         multiarch POWER8 memset optimization.
38765         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
38766         POWER8 memset optimization.
38768         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38769         Remove bzero multiarch objects.
38770         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
38771         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
38772         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
38773         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
38774         Remove define.
38775         [__bzero]: Redefine to specific name.
38776         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
38777         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
38778         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
38779         define.
38780         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
38781         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
38783 2014-09-10  Florian Weimer  <fweimer@redhat.com>
38785         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
38786         warnings into errors.
38788         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
38789         __cxa_thread_atexit_impl prototype.
38791 2014-09-09  Steve Ellcey  <sellcey@mips.com>
38793         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
38794         Fix capitalization of error message.
38796 2014-09-09  Steve Ellcey  <sellcey@mips.com>
38798         * sysdeps/mips/preconfigure: Modify ABI tests.
38800 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
38802         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
38804 2014-09-07  Roland McGrath  <roland@hack.frob.com>
38805             Carlos O'Donell  <carlos@systemhalted.org>
38807         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
38808         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
38809         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
38810         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
38811         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
38812         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
38813         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
38814         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
38815         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
38816         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
38817         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
38818         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
38819         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
38820         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
38821         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
38822         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
38823         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
38824         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
38825         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
38826         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
38827         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
38828         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
38829         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
38830         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
38831         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
38832         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
38833         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
38834         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
38835         Deconditionalize the code that was previously under [RESET_PID].
38836         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
38837         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
38838         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
38839         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
38840         include sysdep.h.
38842 2014-09-08  Allan McRae  <allan@archlinux.org>
38844         * version.h (RELEASE): Set to "development".
38845         (VERSION): Set to "2.20.90"
38847 2014-09-07  Allan McRae  <allan@archlinux.org
38849         * version.h (RELEASE): Set to "stable".
38850         (VERSION): Set to "2.20"
38851         * include/features.h (__GLIBC_MINOR__): Set to 20.
38853         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
38854         Liebler.
38856         * po/ko.po: Update Korean translation from translation project.
38858 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
38860         [BZ #17354]
38861         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
38862         macro for handling signed relocations.
38864 2014-09-03  Florian Weimer  <fweimer@redhat.com>
38866         [BZ #17325]
38867         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
38868         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
38869         assert.
38870         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
38871         * iconvdata/ibm935.c (BODY): Likewise.
38872         * iconvdata/ibm937.c (BODY): Likewise.
38873         * iconvdata/ibm939.c (BODY): Likewise.
38874         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
38875         assert.
38876         * iconvdata/Makefile (iconv-test.out): Pass module list to test
38877         script.
38878         * iconvdata/run-iconv-test.sh: New test loop for checking for
38879         decoder crashers.
38881 2014-09-02  Khem Raj  <raj.khem@gmail.com>
38883         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
38884         libm_hidden_ver.
38886 2014-09-01  Allan McRae  <allan@archlinux.org>
38888         * po/eo.po: Update Esperanto translation from translation project.
38890         * po/ca.po: Update Catalan translation from translation project.
38892 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38894         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
38895         __proc_dostop call.
38897 2014-08-27  Mark Wielaard  <mjw@redhat.com>
38899         [BZ #17319]
38900         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
38901         to call set_thread_area instead of hand written asm.
38902         (__NR_set_thread_area): Removed define.
38903         (TLS_FLAG_WRITABLE): Likewise.
38904         (__ASSUME_SET_THREAD_AREA): Remove check.
38905         (TLS_EBX_ARG): Remove define.
38906         (TLS_LOAD_EBX): Likewise.
38908 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38910         Simplify atomicity of socket creation in bind.
38912         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
38913         looking up the name after linking the file.
38915 2014-08-27  Allan McRae  <allan@archlinux.org>
38917         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38919 2014-08-26  Florian Weimer  <fweimer@redhat.com>
38921         [BZ #17187]
38922         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
38923         trans_compare, open_translit, __gconv_translit_find):
38924         Remove module loading code.
38926 2014-08-26  Allan McRae  <allan@archlinux.org>
38928         * po/vi.po: Update Vietnamese translation from translation project.
38930         * po/uk.po: Update Ukrainian translation from translation project.
38932         * po/fr.po: Update French translation from translation project.
38934         * po/ru.po: Update Russian translation from translation project.
38936         * po/pl.po: Update Polish translation from translation project.
38938         * po/cs.po: Update Czech translation from translation project.
38940         * po/de.po: Update German translation from translation project.
38942         * po/bg.po: Update Bulgarian translation from translation project.
38944         * po/sv.po: Update Sweedish translation from translation project.
38946         * po/nl.po: Update Dutch translation from translation project.
38948         * po/es.po: Update Spanish translation from translation project.
38950 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38952         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
38954         * catgets/Makefile (CPPFLAGS-gencat): Remove.
38955         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
38956         (CPPFLAGS-iconvconfig): Likewise.
38957         * timezone/Makefile (CPPFLAGS-zic): Likewise.
38959         * include/libc-symbols.h: Remove unnecessary check for
38960         NOT_IN_libc.
38961         * nptl/pthreadP.h: Likewise.
38962         * sysdeps/aarch64/setjmp.S: Likewise.
38963         * sysdeps/alpha/setjmp.S: Likewise.
38964         * sysdeps/arm/sysdep.h: Likewise.
38965         * sysdeps/i386/setjmp.S: Likewise.
38966         * sysdeps/m68k/setjmp.c: Likewise.
38967         * sysdeps/posix/getcwd.c: Likewise.
38968         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
38969         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
38970         * sysdeps/s390/s390-32/setjmp.S: Likewise.
38971         * sysdeps/s390/s390-64/setjmp.S: Likewise.
38972         * sysdeps/sh/sh3/setjmp.S: Likewise.
38973         * sysdeps/sh/sh4/setjmp.S: Likewise.
38974         * sysdeps/unix/alpha/sysdep.h: Likewise.
38975         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
38976         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38977         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
38978         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
38979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38981         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38982         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38983         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38984         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38985         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38986         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
38987         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38988         * sysdeps/x86_64/setjmp.S: Likewise.
38990 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
38992         [BZ #17263]
38993         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
38994         <stdint.h>.
38995         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
38996         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
38998 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39000         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
39002         [BZ #17262]
39003         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
39004         and __x86_64__ when disabling x87 inline functions.
39006 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
39008         [BZ #17259]
39009         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
39010         asm statement with __cpuid_count.
39012 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
39014         * configure.ac: Change __ehdr_start code to dereference the struct.
39015         Run readelf on the output to look for relocations.
39016         * configure: Regenerated.
39018 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
39020         [BZ #17261]
39021         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
39022         value to 0.
39023         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
39025 2014-08-12  Roland McGrath  <roland@hack.frob.com>
39027         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
39029 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
39031         [BZ #16892]
39032         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
39033         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
39035 2014-08-12  Sean Anderson  <seanga2@gmail.com>
39037         * malloc/malloc.c: Fix typo in comment.
39039 2014-08-09  Allan McRae  <allan@archlinux.org>
39041         * Regenerate libc.po.
39043 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
39045         * intl/tst-gettext2.sh: Check every lang file for creation.
39047 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
39049         * sysdeps/aarch64/fpu/math_private.h
39050         (libc_feholdsetround_noex_aarch64_ctx): New function.
39052 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
39054         * sysdeps/arm/armv6/strcpy.S (strcpy):
39055         Fix performance issue in misaligned cases.
39057 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39059         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
39060         Move definition from termios.h.
39061         (struct termio): Likewise.
39062         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
39063         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
39064         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
39065         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
39066         Likewise.
39067         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
39068         Move definition to ioctl-types.h
39069         (struct termio): Likewise.
39070         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
39071         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
39072         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
39073         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
39074         Likewise.
39076 2014-08-05  Richard Henderson  <rth@redhat.com>
39078         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
39079         exceptions.
39080         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
39081         Add fraiseexcpt.
39082         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
39083         Use __feraiseexcept.
39084         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
39085         Protect libm symbols with IS_IN_libm.
39087         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
39089 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
39091         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
39093 2014-08-04  Will Newton  <will.newton@linaro.org>
39095         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
39096         file.
39098 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
39100         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
39101         variants for each function.
39103 2014-08-04  Roland McGrath  <roland@hack.frob.com>
39105         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
39106         appended ...
39107         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
39108         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
39109         appended ...
39110         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
39111         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
39112         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
39113         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
39114         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
39115         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
39116         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
39117         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
39118         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
39119         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
39120         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
39121         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
39122         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
39123         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
39124         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
39125         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
39126         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
39127         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
39128         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
39129         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
39130         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
39131         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
39132         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
39133         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
39134         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
39135         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
39136         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
39137         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
39138         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
39139         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
39140         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
39141         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
39142         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
39143         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
39144         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
39145         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
39146         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
39147         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
39148         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
39149         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
39150         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
39151         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
39152         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
39153         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
39154         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
39155         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
39156         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
39157         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
39158         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
39159         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
39160         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
39161         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
39162         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
39163         Update #include.
39164         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
39165         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
39167 2014-08-04  Roland McGrath  <roland@hack.frob.com>
39169         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
39170         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
39171         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
39172         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
39173         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
39174         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
39176 2014-08-04  Roland McGrath  <roland@hack.frob.com>
39178         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
39179         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
39180         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39181         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
39183 2014-08-04  Roland McGrath  <roland@hack.frob.com>
39185         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
39186         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
39187         (__libc_vfork): Define function under this name.
39188         (__vfork): Define as an alias.
39189         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
39190         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
39192 2014-08-04  Roland McGrath  <roland@hack.frob.com>
39194         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
39195         that was previously under [RESET_PID].
39196         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
39198 2014-08-04  Andreas Schwab  <schwab@suse.de>
39200         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
39202 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
39204         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
39205         (main): Likewise.
39207 2014-08-01  Roland McGrath  <roland@hack.frob.com>
39209         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
39211 2014-08-01  Richard Henderon  <rth@redhat.com>
39213         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
39214         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
39215         typo in exact zero test.
39216         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39217         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39218         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39220 2014-08-01  Roland McGrath  <roland@hack.frob.com>
39222         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
39223         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
39224         * sysdeps/arm/sysdep.h: ... here.
39225         [!__ASSEMBLER__]: Include <stdint.h>.
39227 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
39229         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
39230         (HAVE_WCTYPE_H): Likewise.
39231         (HAVE_ISWCTYPE): Likewise.
39232         (ENABLE_NLS): Likewise.
39233         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
39234         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
39236         * posix/regex_internal.c: Check if DEBUG is defined and is
39237         set.
39239         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
39240         (HAVE_MBSRTOWCS): Likewise.
39241         * posix/fnmatch.c: Include string.h unconditionally.
39243 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
39245         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
39246         reversal.
39248 2014-07-31  Roland McGrath  <roland@hack.frob.com>
39250         * sysdeps/generic/safe-fatal.h: New file.
39251         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
39252         * nptl/forward.c: Include it.
39253         (__pthread_unwind): Use __safe_fatal as default action, rather
39254         than a bogus use of INTERNAL_SYSCALL that could never work.
39256         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
39257         * configure.ac (libc_cv_builtin_trap): New test.
39258         * configure: Regenerated.
39259         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
39260         (ABORT_INSTRUCTION): Define using __builtin_trap.
39262         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
39263         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
39264         * sysdeps/nptl/nptl-signals.h: New file.
39265         * nptl/pthreadP.h: Include <nptl-signals.h>.
39267 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
39269         * sysdeps/s390/s390-64/utf16-utf32-z9.c
39270         (ONE_DIRECTION): Define.
39271         * sysdeps/s390/s390-64/utf8-utf16-z9.c
39272         (ONE_DIRECTION): Define.
39273         * sysdeps/s390/s390-64/utf8-utf32-z9.c
39274         (ONE_DIRECTION): Define.
39276 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
39278         * sysdeps/s390/Makefile: Delete file.
39279         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
39280         * sysdeps/s390/__longjmp.c: Delete file.
39281         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
39282         Remove fields __flags and __reserved.
39283         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
39284         and add versioning.
39285         * sysdeps/s390/rtld-__longjmp.c: Delete file.
39286         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
39287         * sysdeps/s390/rtld-setjmp.S: Likewise.
39288         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
39289         * sysdeps/s390/s390-32/__longjmp.c: ... here.
39290         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
39291         * sysdeps/s390/s390-32/setjmp.S: ... here.
39292         Add versioning.
39293         (__sigsetjmp): Remove setting __flags field.
39294         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
39295         * sysdeps/s390/s390-64/__longjmp.c: ... here.
39296         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
39297         * sysdeps/s390/s390-64/setjmp.S: ... here.
39298         Add versioning.
39299         (__sigsetjmp): Remove setting __flags field.
39300         * sysdeps/s390/setjmp.S: Delete file.
39301         * sysdeps/s390/sigjmp.c: Likewise.
39302         * sysdeps/s390/v1-longjmp.c: Likewise.
39303         * sysdeps/s390/v1-setjmp.h: Likewise.
39304         * sysdeps/s390/v1-sigjmp.c: Likewise.
39305         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
39306         Remove v1-longjmp_chk.
39307         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
39308         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
39309         Include debug/longjmp_chk.c and add versioning.
39310         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
39311         Include nptl/pt-longjmp.c and add versioning.
39312         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
39313         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
39314         Include __longjmp.c.
39315         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
39316         Move to ...
39317         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
39318         (__getcontext): Remove setting __flags field.
39319         Add versioning.
39320         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
39321         Don't restore upper high grps.
39322         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
39323         Likewise.
39324         (__swapcontext): Remove setting uc_flags field.
39325         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
39326         Delete file.
39327         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
39328         Include __longjmp.c.
39329         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
39330         Move to ...
39331         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
39332         (__getcontext): Remove setting __flags field.
39333         Add versioning.
39334         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
39335         (__swapcontext): Remove setting uc_flags field.
39336         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
39337         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
39338         Remove fields uc_high_gprs and __reserved.
39339         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
39340         New file with reverted content.
39341         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
39342         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
39343         Regenerated.
39344         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
39345         Regenerated.
39347 2014-07-31  Andreas Schwab  <schwab@suse.de>
39349         * config.h.in (HAVE_IFUNC): Define to 0.
39350         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
39351         definedness.
39353 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
39355         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39356         memmove-avx-unaligned, memcpy-avx-unaligned and
39357         mempcpy-avx-unaligned.
39358         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39359         Add tests for AVX memcpy functions.
39360         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
39361         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
39362         memcpy_chk.
39363         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
39364         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
39365         memmove_chk.
39366         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
39367         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
39368         mempcpy_chk.
39369         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
39370         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
39371         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
39373 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39375         [BZ #17213]
39376         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
39377         powerpc64le.
39379 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
39381         [BZ #16839]
39382         * manual/llio.texi: Add section about open file description locks.
39383         * manual/examples/ofdlocks.c: Example of open file description
39384         lock usage.
39385         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
39386         F_OFD_SETLK, and F_OFD_SETLKW.
39388 2014-07-23  Allan McRae  <allan@archlinux.org>
39390         * po/es.po: Update Spanish translation from translation project.
39392 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
39394         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
39396 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
39398         [BZ #17078]
39399         * sysdeps/arm/dl-machine.h (elf_machine_rela)
39400         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
39401         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
39403 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
39405         [BZ #17088]
39406         * math/fesetenv.c (__fesetenv)
39407         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
39408         * math/feupdateenv.c (__feupdateenv)
39409         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
39411         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
39412         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
39413         (__ASSUME_SOCKETCALL): Do not define.
39415         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
39416         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
39417         (__ASSUME_SOCKETCALL): Do not define.
39418         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
39419         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
39420         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
39421         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
39422         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39423         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
39424         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39425         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39427         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
39428         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
39429         (__ASSUME_SOCKETCALL): Do not define.
39430         (__ASSUME_IPC64): Define unconditionally.
39431         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
39432         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
39433         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
39434         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39435         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
39436         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39437         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
39438         Likewise.
39440         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
39441         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
39442         (__ASSUME_SOCKETCALL): Do not define.
39443         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
39444         (__ASSUME_FUTEX_LOCK_PI): Likewise.
39445         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
39446         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
39447         (__ASSUME_REQUEUE_PI): Define unconditionally.
39448         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
39449         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
39450         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39451         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
39452         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39453         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39455         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
39456         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
39457         (__ASSUME_SOCKETCALL): Do not define.
39458         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
39459         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39460         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39461         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
39462         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39463         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39465         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
39466         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
39467         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
39468         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
39469         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39470         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
39471         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39472         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
39473         (__ASSUME_GETCPU_SYSCALL): Likewise.
39475         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
39476         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
39477         cases for individual architectures.
39478         * sysdeps/gnu/configure: Regenerated.
39479         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
39480         LIBC_SLIBDIR_RTLDDIR.
39481         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
39482         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
39483         LIBC_SLIBDIR_RTLDDIR.
39484         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
39485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
39486         LIBC_SLIBDIR_RTLDDIR.
39487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
39488         Regenerated.
39489         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
39490         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
39491         file.
39492         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
39493         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
39494         file.
39495         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
39496         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
39497         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
39498         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
39500         * sysdeps/aarch64/shlib-versions: Move to ...
39501         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
39502         * sysdeps/alpha/shlib-versions: Move to ...
39503         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
39504         * sysdeps/arm/shlib-versions: Move to ...
39505         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
39506         * sysdeps/hppa/shlib-versions: Move all contents except for
39507         libgcc_s entry to ...
39508         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
39509         entry from ...
39510         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
39511         * sysdeps/ia64/shlib-versions: Move to ...
39512         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
39513         entry from ...
39514         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
39515         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
39516         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
39517         * sysdeps/microblaze/shlib-versions: Move to ...
39518         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
39519         * sysdeps/mips/shlib-versions: Move to ...
39520         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
39521         entry from ...
39522         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
39523         * sysdeps/tile/shlib-versions: Move to ...
39524         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
39525         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
39526         from ...
39527         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
39528         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
39529         entry from ...
39530         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
39532 2014-07-17  Will Newton  <will.newton@linaro.org>
39534         * sysdeps/arm/bits/atomic.h
39535         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
39536         (__arch_compare_and_exchange_bool_16_int): Likewise.
39537         (__arch_compare_and_exchange_bool_64_int): Likewise.
39539         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
39540         into an #else block.
39542 2014-07-16  Roland McGrath  <roland@hack.frob.com>
39544         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
39545         just Linux configurations.  Test empirically that the compiler sets
39546         __ARM_EABI__, rather than using the tuple to decide.
39547         * sysdeps/arm/preconfigure: Regenerated.
39548         * sysdeps/unix/sysv/linux/arm/configure: File removed.
39549         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
39550         contents appended ...
39551         * sysdeps/arm/configure.ac: ... here.
39552         * sysdeps/arm/configure: Regenerated.
39554 2014-07-15  Roland McGrath  <roland@hack.frob.com>
39556         * nptl/pthread_kill.c: New file.
39557         * nptl/pthread_sigmask.c: New file.
39558         * nptl/pthread_sigqueue.c: New file.
39560         * sysdeps/nptl/lowlevellock.h: New file.
39561         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
39562         * sysdeps/nptl/lowlevellock-futex.h: New file.
39564         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
39565         Remove dead declarations.
39567 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
39569         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
39570         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
39571         config-cflags-avx2.
39572         * sysdeps/x86_64/configure.ac: Likewise.
39573         * sysdeps/i386/configure: Regenerated.
39574         * sysdeps/x86_64/configure: Likewise.
39575         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39576         memset-avx2 only if config-cflags-avx2 is yes.
39577         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39578         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
39579         defined.
39580         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
39581         only if HAVE_AVX2_SUPPORT is defined.
39582         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39584 2014-07-14  Alan Modra  <amodra@gmail.com>
39586         [BZ #17153]
39587         * elf/elf.h (DT_PPC64_NUM): Correct value.
39588         * NEWS: Add to fixed bug list.
39590 2014-07-13  Jim Meyering  <meyering@fb.com>
39592         [BZ 17150]
39593         regex: don't deref NULL upon heap allocation failure
39594         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
39595         failure in one more place.
39596         To trigger the segfault, configure grep -with-included-regex,
39597         build it, and run these commands:
39598         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
39600 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
39602         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
39604 2014-07-11  Richard Henderson  <rth@redhat.com>
39606         * sysdeps/aarch64/libm-test-ulps: Update.
39608 2014-07-10  Florian Weimer  <fweimer@redhat.com>
39610         [BZ #17135]
39611         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
39612         * nptl/allocatestack.c (__nptl_setxid_error): New function.
39613         (__nptl_setxid): Initialize error member.  Call
39614         __nptl_setxid_error.
39615         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
39616         * nptl/descr.h (struct xid_command): Add error member.
39617         * nptl/tst-setuid3.c: New file.
39618         * nptl/Makefile (tests): Add it.
39620 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39622         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
39623         New define.
39624         (__lll_trylock): Use __lll_base_trylock.
39625         (__lll_cond_trylock): Likewise.
39627 2014-07-10  Roland McGrath  <roland@hack.frob.com>
39629         * nptl/pthread_create.c (start_thread): Use atomic_or and
39630         lll_futex_wake directly rather than lll_robust_dead.
39631         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
39632         (lll_robust_dead): Macro removed.
39633         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
39634         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
39635         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
39636         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
39637         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
39638         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
39639         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
39640         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
39641         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
39642         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
39643         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
39644         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
39645         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
39646         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
39647         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
39649         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
39650         Use atomic_compare_and_exchange_val_acq directly rather than
39651         lll_robust_trylock.
39652         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
39653         (__lll_robust_trylock, lll_robust_trylock): Removed.
39654         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
39655         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
39656         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
39657         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
39658         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
39659         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
39660         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
39661         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
39662         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
39663         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
39664         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
39665         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
39666         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
39667         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
39669 2014-07-02  Florian Weimer  <fweimer@redhat.com>
39671         * manual/locale.texi (Locale Names): New section documenting
39672         locale name syntax.  Adjust menu and node chaining accordingly.
39673         (Choosing Locale): Reference Locale Names, Locale Categories.
39674         Mention setting LC_ALL=C.  Reflect that name syntax is now
39675         documented.
39676         (Locale Categories): New section title.  Reference Locale Names.
39677         LC_ALL is an environment variable, but not a category.
39678         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
39679         description, now in Locale Name.  Reference that section.  Locale
39680         name syntax is now documented.
39682 2014-07-02  Florian Weimer  <fweimer@redhat.com>
39684         [BZ #17137]
39685         * locale/findlocale.c (name_present, valid_locale_name): New
39686         functions.
39687         (_nl_find_locale): Use the loc_name variable to store name
39688         candidates.  Call name_present and valid_locale_name to check and
39689         validate locale names.  Return an error if the locale is invalid.
39691 2014-07-02  Florian Weimer  <fweimer@redhat.com>
39693         * locale/setlocale.c (setlocale): Use strdup for allocating
39694         composite name copy.
39696 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39698         Sync up with gnulib.
39699         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
39700         [!_LIBC && ENABLE_NLS]: Include gettext.h.
39701         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
39702         and _GL_ARG_NONNULL.
39703         [USE_UNLOCKED_IO]: Include unlocked-io.h.
39704         [!_LIBC]: Include code for Windows and Cygwin.
39705         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
39706         Include prototype for int strerror_r.
39707         [!_LIBC] (is_open): New function.
39708         (flush_stdout): New function.
39709         (print_errno_message): Use it.
39710         (error): Likewise.
39711         (error_at_line): Likewise.
39712         (error_tail) Add function attribute macros.  Use
39713         __builtin_expect.
39715         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
39717         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
39719         * io/ftw.c: Include sys/param.h unconditionally.
39721         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
39723         [BZ #17125]
39724         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
39725         libc_freeres_ptr.
39726         (freecache): New function to free CACHE on exit.
39728         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
39729         initialization.
39731 2014-07-09  David S. Miller  <davem@davemloft.net>
39733         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39735         * sysdeps/sparc/nptl/internaltypes.h: Delete.
39736         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
39737         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
39738         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
39739         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
39740         * sysdeps/sparc/nptl/sem_init.c: Likewise.
39741         * sysdeps/sparc/nptl/sem_post.c: Likewise.
39742         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
39743         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
39744         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
39745         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
39746         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
39747         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
39749 2014-07-09  Andreas Schwab  <schwab@suse.de>
39751         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
39752         output.
39753         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
39754         (do_test): Likewise.
39756         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39758 2014-07-09  Will Newton  <will.newton@linaro.org>
39760         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
39761         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
39762         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
39763         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
39764         * sysdeps/hppa/start.S (_start): Likewise.
39766 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
39768         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
39770         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
39771         defined.
39773 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
39775         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
39776         after checking that it is non-NULL.
39778         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
39780 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39782         * sysdeps/powerpc/memmove.c: Remove file.
39783         * sysdeps/powerpc/powerpc32/power4/memcopy.h
39784         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
39785         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
39786         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
39787         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
39788         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
39789         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
39790         string memmove instead of removed powerpc one.
39792         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
39793         [weak_alias]: Fix compiler warning due trailing data.
39794         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
39795         [weak_alias]: Likewise.
39796         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
39797         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
39799         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39800         (__libc_ifunc_impl_list): Add memmove functions.
39802 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
39804         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
39805         Remove code.
39806         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
39807         Likewise.
39808         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
39809         Likewise.
39810         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
39811         Likewise.
39812         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
39813         Likewise.
39814         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
39815         Likewise.
39816         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
39817         Likewise.
39818         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
39819         Likewise.
39820         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
39821         Likewise.
39822         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
39823         Likewise.
39824         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
39825         Likewise.
39826         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
39827         Likewise.
39828         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
39829         Likewise.
39830         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
39831         Likewise.
39832         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
39833         Likewise.
39834         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
39835         Likewise.
39836         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
39837         Likewise.
39839 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39841         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
39842         to avoid alignment traps in non-cacheable memory.
39843         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
39845         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
39846         multiarch objects.
39847         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
39848         file: multiarch power7 memmove.
39849         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
39850         multiarch default memmove.
39851         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
39852         multiarch memove for powerpc32/power4.
39854         * string/bcopy.c: Use full path to include memmove.c.
39855         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
39856         multiarch objects.
39857         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
39858         bcopy for powerpc64.
39859         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
39860         bcopy for powerpc64.
39861         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
39862         and memmove implementations.
39863         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
39864         optimized multiarch memmove for POWER7/powerpc64.
39865         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
39866         default multiarch memmove for powerpc64.
39867         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
39868         multiarch for powerpc64.
39869         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
39870         for POWER7/powerpc64.
39871         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
39872         memmove for POWER7/powerpc64.
39874         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
39875         glibc default one.
39877         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
39878         __ELF_NATIVE_CLASS equal to 64.
39880 2014-07-07  Roland McGrath  <roland@hack.frob.com>
39882         * sysdeps/nptl/lowlevellock.h: File removed.
39884         * NEWS: NPTL is no longer an add-on!
39885         * nptl/internaltypes.h: Moved ...
39886         * sysdeps/nptl/internaltypes.h: ... here.
39887         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
39888         * sysdeps/nptl/fork.c: Likewise.
39889         * sysdeps/nptl/gai_misc.h: Likewise.
39890         * sysdeps/nptl/librt-cancellation.c: Likewise.
39891         * sysdeps/nptl/jmp-unwind.c: Likewise.
39892         * sysdeps/nptl/setxid.h: Likewise.
39893         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
39894         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
39895         * sysdeps/unix/sysv/linux/arm/Implies: New file.
39896         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
39897         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
39898         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
39899         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
39900         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
39901         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
39902         * sysdeps/unix/sysv/linux/mips/Implies: New file.
39903         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
39904         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
39905         * sysdeps/unix/sysv/linux/sh/Implies: New file.
39906         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
39907         * sysdeps/unix/sysv/linux/tile/Implies: New file.
39908         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
39909         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
39910         * nptl/Makeconfig: Moved ...
39911         * sysdeps/nptl/Makeconfig: ... here.
39912         * nptl/configure: File removed.
39913         * nptl/ANNOUNCE: File removed.
39914         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
39915         * sysdeps/unix/sysv/linux/configure: Regenerated.
39917         * nptl/Makefile (routines): Add libc_pthread_init,
39918         libc_multiple_threads, register-atfork and unregister-atfork.
39919         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
39920         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
39921         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
39922         pthread-pi-defines.sym, structsem.sym.
39923         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
39924         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
39925         [$(subdir) = nptl] (tests): Add tst-setgetname.
39926         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
39927         * sysdeps/unix/sysv/linux/sigaction.c: Just include
39928         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
39929         [!LIBC_SIGACTION]: Remove aliases.
39930         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
39931         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
39932         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
39933         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
39934         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
39935         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
39936         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39937         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39938         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
39939         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
39940         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
39941         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
39942         __libc_allocate_rtsig_private.
39943         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
39944         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
39945         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
39946         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
39947         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
39948         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
39949         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
39950         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
39951         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
39952         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
39953         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
39954         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
39955         * nptl/internaltypes.h: ... here.
39956         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
39957         * sysdeps/nptl/jmp-unwind.c: ... here.
39958         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
39959         * nptl/libc-lowlevellock.c: ... here.
39960         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
39961         * nptl/libc_multiple_threads.c: ... here.
39962         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
39963         * nptl/libc_pthread_init.c: ... here.
39964         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
39965         * nptl/lowlevelbarrier.sym: ... here.
39966         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
39967         * nptl/lowlevelcond.sym: ... here.
39968         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
39969         * nptl/lowlevellock.c: ... here.
39970         * nptl/lowlevellock.h: Moved ...
39971         * sysdeps/nptl/lowlevellock.h: ... here.
39972         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
39973         * nptl/lowlevelrobustlock.c: ... here.
39974         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
39975         * nptl/lowlevelrobustlock.sym: ... here.
39976         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
39977         * nptl/lowlevelrwlock.sym: ... here.
39978         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
39979         * nptl/pt-fork.c: ... here.
39980         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
39981         * nptl/pthread-pi-defines.sym: ... here.
39982         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
39983         * nptl/pthread_attr_getaffinity.c: ... here.
39984         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
39985         * nptl/pthread_attr_setaffinity.c: ... here.
39986         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
39987         * nptl/pthread_mutex_cond_lock.c: ... here.
39988         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
39989         Update #include.
39990         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
39991         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
39992         * nptl/pthread_once.c: ... here, replacing old file.
39993         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
39994         * nptl/pthread_yield.c: ... here.
39995         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
39996         * nptl/register-atfork.c: ... here.
39997         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
39998         * nptl/sem_post.c: ... here.
39999         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
40000         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
40001         * nptl/sem_timedwait.c: ... here.
40002         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
40003         * nptl/sem_trywait.c: ... here.
40004         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
40005         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
40006         * nptl/sem_wait.c: ... here.
40007         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
40008         * nptl/structsem.sym: ... here.
40009         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
40010         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
40011         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
40012         * nptl/unregister-atfork.c: ... here.
40013         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
40014         * nptl/unwindbuf.sym: ... here.
40015         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
40016         * sysdeps/nptl/fork.c: ... here.
40017         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
40018         * sysdeps/nptl/fork.h: ... here.
40019         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
40020         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
40021         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
40022         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
40023         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
40024         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
40025         * sysdeps/unix/sysv/linux/getpid.c: ... here.
40026         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
40027         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
40028         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
40029         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
40030         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
40031         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
40032         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
40033         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
40034         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
40035         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
40036         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
40037         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
40038         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
40039         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
40040         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
40041         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
40042         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
40043         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
40044         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
40045         * sysdeps/unix/sysv/linux/raise.c: ... here.
40046         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
40047         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
40048         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
40049         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
40050         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
40051         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
40052         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
40053         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
40054         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
40055         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
40056         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
40057         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
40058         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
40059         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
40060         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
40062 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40064         * sysdeps/generic/memcopy.h: Add comment for
40065         MEMCPY_OK_FOR_FWD_MEMMOVE.
40067 2014-07-04  Will Newton  <will.newton@linaro.org>
40069         * string/memchr.c: Merge from gnulib.
40070         [_LIBC]: Remove conditionals.
40071         (__ptr_t): Remove define.
40072         (LONG_MAX_32_BITS): Likewise.
40073         (LONG_MAX): Likewise.
40074         (MEMCHR): Use ANSI prototype and optimize algorithm.
40076         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
40078 2014-07-03  Roland McGrath  <roland@hack.frob.com>
40080         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
40081         (lll_futex_timed_wait_bitset): Fix syscall argument count.
40083         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
40084         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
40085         in a bare environment with no <stdlib.h> installed.
40086         * sysdeps/nptl/configure: Regenerated.
40088         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
40090         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
40091         AC_EGREP_CPP for kernel header checks, so they only succeed if
40092         including <linux/version.h> actually works right.
40093         * sysdeps/unix/sysv/linux/configure: Regenerated.
40095         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
40096         value so it's not diagnosed as unused.
40098         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
40099         thing) with "ifeq ($(subdir),rt)".
40101 2014-07-03  Richard Henderson  <rth@redhat.com>
40103         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
40104         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
40105         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
40107         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
40108         (math_force_eval): New.
40110         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
40111         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
40113         * sysdeps/alpha/fpu/s_round.c: Remove file.
40114         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
40116         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
40117         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
40118         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
40119         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
40120         (_dl_start, print_statistics): Likewise.
40121         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
40122         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
40124         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40125         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40126         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40127         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40128         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
40129         (HP_SMALL_TIMING_AVAIL): Define.
40130         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40131         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
40132         (HP_SMALL_TIMING_AVAIL): Define.
40133         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40134         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40136         * sysdeps/aarch64/hp-timing.h: New file.
40138         * sysdeps/generic/hp-timing.h: Remove dead comment.
40139         * sysdeps/generic/hp-timing-common.h: New file.
40140         * sysdeps/alpha/hp-timing.h: Include it.
40141         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
40142         * sysdeps/i386/i686/hp-timing.h: Likewise.
40143         * sysdeps/ia64/hp-timing.h: Likewise.
40144         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40145         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40146         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
40147         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
40148         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
40149         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
40150         (hp_timing_t): New.
40152         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
40153         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
40154         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
40155         * elf/rtld.c (_dl_start_final): Likewise.
40156         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
40157         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40158         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40159         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40160         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40161         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
40162         (HP_TIMING_DIFF_INIT): Remove.
40163         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40164         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
40165         (HP_TIMING_DIFF_INIT): Remove.
40166         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40167         * sysdeps/i386/i686/hp-timing.c: Remove file.
40168         * sysdeps/x86_64/hp-timing.c: Remove file.
40169         * sysdeps/ia64/hp-timing.c: Remove file.
40170         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
40171         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
40172         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
40173         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
40175         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
40176         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
40177         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
40178         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
40179         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
40180         (HP_TIMING_ACCUM): Remove.
40181         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
40182         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
40183         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
40185         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
40186         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
40187         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
40188         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
40189         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
40190         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
40191         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
40192         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
40194         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
40196 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
40198         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
40200 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40202         Sync up with gettext.
40203         * intl/loadmsgcat.c: Define O_BINARY if not defined.
40204         [_MSC_VER]: Include malloc.h
40205         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
40206         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
40207         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
40208         TEMP_FAILURE_RETRY.  Cast return of alloca.
40209         [!_LIBC] Call gl_rwlock_init.
40210         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
40212 2014-07-02  Roland McGrath  <roland@hack.frob.com>
40214         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
40215         before checking its value.
40217 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40219         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
40221         * debug/memcpy_chk.c: Don't include pagecopy.h.
40222         * debug/mempcpy_chk.c: Likewise.
40223         * string/memcpy.c: Likewise.
40224         * string/memmove.c: Likewise.
40225         * sysdeps/powerpc/memmove.c: Likewise.
40226         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
40227         definition of PAGE_COPY_FWD_MAYBE here...
40228         * sysdeps/generic/pagecopy.h: ... from here.
40229         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
40231 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40232             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40234         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
40235         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
40236         optimizations.
40237         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40238         (__libc_ifunc_impl_list): Likewise.
40239         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
40240         multiarch strcat for PPC64.
40241         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
40242         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
40244 2014-07-02  Roland McGrath  <roland@hack.frob.com>
40246         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
40248 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40250         * intl/loadmsgcat.c: Remove declaration of
40251         get_sysdep_segment_value.
40252         (get_sysdep_segment_value): Use ISO C style.
40253         (_nl_load_domain): Use ISO C style.  Get rid of redundant
40254         semicolon.  Fix typo and formatting in comment.
40255         (_nl_unload_domain): Use ISO C style.
40257         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
40259 2014-07-02  Will Newton  <will.newton@linaro.org>
40261         * malloc/obstack.c: Merge from gnulib master.
40262         [HAVE_CONFIG_H]: Remove conditional code.
40263         [!_LIBC]: Include config.h.
40264         [!ELIDE_CODE]: Don't include inttypes.h, include
40265         stdint.h unconditionally.
40266         (print_and_abort): Mark as _Noreturn.
40267         (_obstack_allocated_p): Mark as __attribute_pure__.
40268         (obstack_free): Rename to __obstack_free.
40269         [!__attribute__]: Remove conditional code.
40270         * malloc/obstack.h: Merge from gnulib master.
40271         [__cplusplus]: Move conditional down.
40272         [!__attribute_pure__]: Define __attribute_pure__ here
40273         if it is not already defined.
40274         (_obstack_memory_used): Mark as __attribute_pure__.
40275         [!__obstack_free]: Define as obstack_free.
40276         [__GNUC__]: Remove check for ancient NeXT gcc.
40278 2014-07-02  Will Newton  <will.newton@linaro.org>
40279             Paul Eggert  <eggert@cs.ucla.edu>
40281         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
40283 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40285         * resolv/gethnamaddr.c: Add comment warning that the file is
40286         not maintained.
40288 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
40290         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
40291         entries.
40293         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
40294         entry for aio_cancel and aio_cancel64.
40295         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
40296         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
40297         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
40298         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
40299         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
40300         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
40301         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
40302         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
40303         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
40304         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
40305         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
40306         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
40307         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
40309 2014-07-01  Roland McGrath  <roland@hack.frob.com>
40311         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
40312         * nptl/pthread_mutex_lock.c: Likewise.
40313         * nptl/pthread_mutex_timedlock.c: Likewise.
40314         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
40316 2014-07-01  Richard henderson  <rth@redhat.com>
40318         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
40319         (__isnan, __isnanl): Remove.
40320         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
40322         * sysdeps/alpha/fpu/libm-test-ulps: Update.
40324 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
40326         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40328 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
40330         * resolv/nss_dns/dns-host.c (getanswer_r)
40331         [MULTI_PTRS_ARE_ALIASES]: Remove code.
40333 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
40335         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40336         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
40337         undefine.
40338         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
40339         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
40341 2014-07-01  Roland McGrath <roland@hack.frob.com>
40343         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
40344         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
40346         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
40347         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
40349         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
40350         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
40351         ... here.
40352         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
40353         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
40355         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
40356         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
40357         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
40358         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
40360         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
40361         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
40362         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
40363         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
40364         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
40365         Moved ...
40366         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
40367         ... here.
40368         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
40369         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
40370         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
40371         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
40372         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
40373         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
40374         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
40375         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
40376         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
40377         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
40378         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
40379         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
40380         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
40381         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
40382         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
40383         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
40384         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
40385         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
40386         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
40387         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
40388         ... here.
40389         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
40390         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
40391         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
40392         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
40393         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
40394         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
40395         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
40396         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
40398 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
40400         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
40401         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
40402         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
40403         Add sysdep.
40405 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40407         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40409 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
40411         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
40412         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
40414         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
40416         * sysdeps/arm/libm-test-ulps: Regenerated.
40418 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
40419             Roland McGrath <roland@hack.frob.com>
40421         * test-skeleton.c (signal_handler): Kill the whole process group
40422         before killing the child individually.
40423         (main): Report any failure on `setpgid'.
40425 2014-06-30  Roland McGrath  <roland@hack.frob.com>
40427         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
40428         from _TLS_H to _ARM_NPTL_TLS_H.
40429         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
40430         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
40432 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
40434         [BZ #16539]
40435         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
40436         (__expm1l): Return argument unchanged when small but not
40437         subnormal.
40439         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
40440         include macro name.
40441         (_FP_UNPACK_RAW_1_P): Likewise.
40442         (_FP_PACK_RAW_1): Likewise.
40443         (_FP_PACK_RAW_1_P): Likewise.
40444         (_FP_MUL_MEAT_1_wide): Likewise.
40445         (_FP_MUL_MEAT_DW_1_hard): Likewise.
40446         (_FP_MUL_MEAT_1_hard): Likewise.
40447         (_FP_DIV_MEAT_1_imm): Likewise.
40448         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
40449         (_FP_DIV_MEAT_1_udiv): Likewise.
40450         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
40451         (_FP_UNPACK_RAW_2): Likewise.
40452         (_FP_UNPACK_RAW_2_P): Likewise.
40453         (_FP_PACK_RAW_2): Likewise.
40454         (_FP_PACK_RAW_2_P): Likewise.
40455         (_FP_MUL_MEAT_DW_2_wide): Likewise.
40456         (_FP_MUL_MEAT_2_wide): Likewise.
40457         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
40458         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
40459         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
40460         (_FP_MUL_MEAT_2_gmp): Likewise.
40461         (_FP_DIV_MEAT_2_udiv): Likewise.
40462         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
40463         (_FP_FRAC_SRL_4): Likewise.
40464         (_FP_FRAC_SRST_4): Likewise.
40465         (_FP_FRAC_SRS_4): Likewise.
40466         (_FP_UNPACK_RAW_4): Likewise.
40467         (_FP_UNPACK_RAW_4_P): Likewise.
40468         (_FP_PACK_RAW_4): Likewise.
40469         (_FP_PACK_RAW_4_P): Likewise.
40470         (_FP_MUL_MEAT_DW_4_wide): Likewise.
40471         (_FP_MUL_MEAT_4_wide): Likewise.
40472         (_FP_MUL_MEAT_4_gmp): Likewise.
40473         (umul_ppppmnnn): Likewise.
40474         (_FP_DIV_MEAT_4_udiv): Likewise.
40475         (__FP_FRAC_ADD_4): Likewise.
40476         (__FP_FRAC_SUB_3): Likewise.
40477         (__FP_FRAC_SUB_4): Likewise.
40478         (__FP_FRAC_DEC_3): Likewise.
40479         (__FP_FRAC_DEC_4): Likewise.
40480         (__FP_FRAC_ADDI_4): Likewise.
40481         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
40482         (_FP_FRAC_SRL_8): Likewise.
40483         (_FP_FRAC_SRS_8): Likewise.
40485         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
40486         include macro name.
40487         (FP_UNPACK_RAW_EP): Likewise.
40488         (FP_PACK_RAW_E): Likewise.
40489         (FP_PACK_RAW_EP): Likewise.
40490         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
40491         (_FP_ISSIGNAN): Likewise.
40492         (_FP_ADD_INTERNAL): Likewise.
40493         (_FP_FMA): Likewise.
40494         (_FP_CMP): Likewise.
40495         (_FP_SQRT): Likewise.
40496         (_FP_TO_INT): Likewise.
40497         (_FP_FROM_INT): Likewise.
40498         (FP_EXTEND): Likewise.
40499         (_FP_DIV_MEAT_N_loop): Likewise.
40501 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
40503         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
40504         throughout.
40506 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
40508         [BZ #17097]
40509         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
40510         result with correct sign in case of exponents that produce
40511         overflow except for X very close to 1.
40513 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
40515         mktime: merge #if/#ifdef usage from glibc
40516         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
40517         as that works with both Glibc's and Gnulib's style.
40518         See thread starting at Siddhesh Poyarekar's bug report at:
40519         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
40521 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40523         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
40524         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
40525         * sysdeps/tile/tilegx/memmove.c: Remove file.
40527 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
40529         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
40530         abi-name definition.
40531         * scripts/soversions.awk: Do not handle or generate ABI lines.
40532         * shlib-versions: Remove ABI entries.
40533         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
40534         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
40536 2014-06-27  Roland McGrath  <roland@hack.frob.com>
40538         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
40539         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
40540         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
40541         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
40542         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
40543         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
40544         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
40545         Moved ...
40546         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
40547         ... here.
40548         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
40549         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
40550         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
40551         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
40552         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
40553         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
40554         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
40555         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
40556         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
40557         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
40558         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
40559         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
40560         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
40561         Moved ...
40562         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
40563         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
40564         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
40565         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
40566         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
40567         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
40568         Moved ...
40569         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
40570         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
40571         Moved ...
40572         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
40573         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
40574         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
40575         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
40576         Moved ...
40577         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
40578         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
40579         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
40580         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
40581         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
40582         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
40583         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
40584         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
40585         Moved ...
40586         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
40587         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
40588         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
40589         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
40590         Moved ...
40591         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
40592         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
40593         Moved ...
40594         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
40595         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
40596         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
40597         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
40598         Moved ...
40599         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
40600         ... here.
40601         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
40602         Identical file removed.
40603         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
40604         Moved ...
40605         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
40606         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
40607         Identical file removed.
40608         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
40609         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
40610         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
40611         Moved ...
40612         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
40613         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
40614         Identical file removed.
40615         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
40616         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
40617         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
40618         Identical file removed.
40619         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
40620         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
40621         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
40622         Identical file removed.
40623         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
40624         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
40625         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
40626         Identical file removed.
40627         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
40628         Moved ...
40629         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
40630         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
40631         Identical file removed.
40632         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
40633         Moved ...
40634         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
40635         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
40636         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
40637         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
40638         Identical file removed.
40639         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
40640         Moved ...
40641         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
40642         ... here.
40643         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
40644         Identical file removed.
40645         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
40646         Moved ...
40647         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
40648         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
40649         Identical file removed.
40650         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
40651         Moved ...
40652         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
40653         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
40654         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
40655         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
40656         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
40657         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
40658         Moved ...
40659         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
40660         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
40661         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
40663         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
40664         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
40665         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
40666         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
40667         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
40669 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
40671         [BZ #17092]
40672         * nscd/nscd.c (monitor_child): Return exit status of child
40673         instead of return value from wait syscall.
40675 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
40677         * configure.ac (libc_commonpagesize): Remove variable.
40678         (libc_relro_required): Likewise.
40679         (libc_cv_z_relro): Remove configure test.
40680         * configure: Regenerated.
40681         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
40682         variable.
40683         (libc_relro_required): Likewise.
40684         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
40685         (libc_relro_required): Likewise.
40686         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
40687         (libc_relro_required): Likewise.
40688         * sysdeps/arm/preconfigure: Regenerated.
40689         * sysdeps/ia64/preconfigure: Remove file.
40690         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
40691         variable.
40692         (libc_relro_required): Likewise.
40694         [BZ #16561]
40695         [BZ #16562]
40696         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
40697         (__ieee754_yn): Set FE_TONEAREST mode internally and then
40698         recompute overflowing results in original rounding mode.
40699         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
40700         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
40701         recompute overflowing results in original rounding mode.
40702         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
40703         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
40704         recompute overflowing results in original rounding mode.
40705         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
40706         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
40707         recompute overflowing results in original rounding mode.
40708         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
40709         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
40710         recompute overflowing results in original rounding mode.
40711         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
40712         (libc_feholdsetround_ctx): New macro.
40713         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
40714         * sysdeps/i386/fpu/libm-test-ulps: Update.
40715         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
40717 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
40719         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
40720         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
40721         corresponding .cpsetup call.
40723 2014-06-26  Roland McGrath  <roland@hack.frob.com>
40725         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
40726         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
40727         * sysdeps/arm/Makefile [$(subdir) = csu]
40728         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
40729         (static-only-routines): Add aeabi_read_tp here.
40730         (shared-only-routines): Add libc-aeabi_read_tp here.
40731         (CFLAGS-libc-start.c): Add -fexceptions here.
40732         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
40733         (sysdep_routines, static-only-routines, shared-only-routines):
40734         Don't add to these here.
40735         (CFLAGS-libc-start.c): Likewise.
40737         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
40738         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
40739         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
40740         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
40741         * sysdeps/arm/Makefile [$(subdir) = rt]
40742         (librt-sysdep_routines, librt-shared-only-routines):
40743         Append rt-aeabi_unwind_cpp_pr1 here.
40744         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
40745         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
40746         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
40747         (libpthread-sysdep_routines, libpthread-shared-only-routines):
40748         Append nptl-aeabi_unwind_cpp_pr1 here.
40749         (tests): Filter out tst-cleanupx4 here.
40750         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
40751         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
40752         Don't do those here.
40754 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
40756         * scripts/list-sources.sh: Do not handle ports specially.
40758 2014-06-26  Roland McGrath  <roland@hack.frob.com>
40760         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
40761         * sysdeps/arm/feupdateenv.c: Likewise.
40763         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
40765 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
40767         * manual/texinfo.tex: Update to version 2014-05-05.10 with
40768         trailing whitespace removed.
40769         * scripts/config.guess: Update to version 2014-03-23.
40770         * scripts/config.sub: Update to version 2014-05-01
40771         * scripts/install-sh: Update to version 2013-12-25.23.
40772         * scripts/move-if-change: Update from gnulib.
40774 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40776         * debug/memmove_chk.c: Remove pagecopy.h include.
40778 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
40780         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
40781         identical to gnulib mktime.
40783 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
40785         * configure.ac: Do not test for machine being rs6000.  Do not test
40786         for powerpc*-*soft.
40787         * configure: Regenerated.
40789         [BZ #11505]
40790         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
40791         test.
40792         * configure: Regenerated.
40793         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
40794         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
40795         Remove configure test.
40796         * sysdeps/arm/configure: Regenerated.
40797         * sysdeps/nptl/configure.ac: Do not check
40798         libc_cv_asm_cfi_directives.
40799         * sysdeps/nptl/configure: Regenerated.
40800         * sysdeps/x86_64/nptl/configure.ac: Remove file.
40801         * sysdeps/x86_64/nptl/configure: Remove generated file.
40802         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
40803         unconditional.
40804         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
40806 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40808         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
40809         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
40810         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
40811         it is defined.
40813         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
40814         instead of whether it is defined.
40815         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
40816         * sysdeps/hppa/dl-machine.h: Likewise.
40817         * sysdeps/ia64/dl-machine.h: Likewise.
40818         * sysdeps/m68k/dl-machine.h: Likewise.
40819         * sysdeps/microblaze/dl-machine.h: Likewise.
40820         * sysdeps/mips/dl-machine.: Likewise.
40821         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40822         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40823         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40824         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40825         * sysdeps/sh/dl-machine.h: Likewise.
40826         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40827         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40828         * sysdeps/tile/dl-machine.h: Likewise.
40829         * sysdeps/x86_64/dl-machine.h: Likewise.
40831         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
40832         code.
40833         (verify_persistent_db): Likewise.
40835 2014-06-26  Roland McGrath  <roland@hack.frob.com>
40837         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
40838         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
40839         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
40840         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
40841         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
40842         Moved ...
40843         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
40844         ... here.
40845         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
40846         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
40847         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
40848         Identical file removed.
40849         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
40850         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
40851         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
40852         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
40853         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
40854         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
40855         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
40856         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
40857         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
40858         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
40859         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40860         Moved ...
40861         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
40862         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
40863         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
40864         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
40865         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
40866         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
40867         Moved ...
40868         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
40869         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
40870         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
40871         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
40872         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
40873         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
40874         Identical file removed.
40875         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
40876         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
40877         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
40878         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
40879         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
40880         Moved ...
40881         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
40882         ... here.
40883         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
40884         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
40885         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
40886         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
40887         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
40888         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
40889         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
40890         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
40891         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
40892         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
40893         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40894         Moved ...
40895         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
40896         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
40897         Moved ...
40898         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
40899         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
40900         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
40901         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
40902         Moved ...
40903         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
40904         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
40905         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
40907         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
40908         folded into ...
40909         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
40910         * sysdeps/unix/sysv/linux/s390/Versions
40911         (libpthread: GLIBC_2.19): New version set.
40912         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
40913         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
40914         (librt: GLIBC_2.3.3): New version set.
40915         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
40916         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
40917         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
40918         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
40919         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
40920         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
40921         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
40922         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
40923         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
40924         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
40925         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
40926         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
40927         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
40928         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
40929         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
40930         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
40931         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
40932         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
40933         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
40934         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
40935         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
40936         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
40937         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
40938         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
40939         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
40940         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
40941         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
40942         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
40943         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
40944         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
40945         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
40946         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
40947         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
40948         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
40949         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
40950         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
40951         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
40952         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
40953         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
40954         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
40955         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
40956         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
40957         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
40958         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
40959         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
40961         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
40962         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
40963         (__libc_vfork): Define the function under this name.
40964         [!NOT_IN_libc] (__vfork): Make this an alias.
40965         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
40966         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
40967         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
40968         (__libc_vfork): Define the function under this name.
40969         [!NOT_IN_libc] (__vfork): Make this an alias.
40970         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
40971         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
40972         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
40973         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
40974         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
40975         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40977         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
40978         code that was previously under [RESET_PID].
40979         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
40980         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
40981         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
40983         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
40984         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
40985         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
40986         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
40987         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
40988         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
40989         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
40990         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
40991         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
40992         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
40993         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
40994         Moved ...
40995         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
40996         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
40997         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
40998         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
40999         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
41000         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
41001         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
41002         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
41003         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
41004         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
41005         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
41006         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
41007         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
41008         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
41009         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
41010         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
41011         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
41012         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
41013         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
41014         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
41015         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
41016         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
41017         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
41018         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
41019         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
41020         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
41021         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
41022         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
41023         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
41025 2014-06-25  Roland McGrath  <roland@hack.frob.com>
41027         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
41028         that was previously under [RESET_PID].
41029         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
41031 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
41033         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
41034         not undefine and redefine.
41035         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
41036         [O_CLOEXEC]: Make code unconditional.
41037         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
41038         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
41039         <kernel-features.h>.
41040         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
41041         conditional variable definition.
41042         (shm_open) [O_CLOEXEC]: Make code unconditional.
41043         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
41044         code.
41046         * configure.ac (USE_REGPARMS): Don't define here.
41047         * configure: Regenerated.
41048         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
41049         * sysdeps/i386/configure: Regenerated.
41051         * nptl/createthread.c: Don't include kernel-features.h.
41052         * nptl/pthread_cancel.c: Likewise.
41053         * nptl/pthread_condattr_setclock.c: Likewise.
41054         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
41055         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
41056         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
41057         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
41058         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
41059         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
41060         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
41061         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
41062         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
41063         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
41064         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
41065         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
41066         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
41067         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
41068         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
41069         * nscd/gai.c: Likewise.
41070         * nss/nss_db/db-open.c: Likewise.
41071         * sysdeps/generic/ldsodefs.h: Likewise.
41072         * sysdeps/sh/nptl/tls.h: Likewise.
41073         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
41074         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
41075         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
41076         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
41077         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
41078         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
41079         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
41080         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
41081         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
41082         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
41083         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
41084         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
41085         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
41086         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
41087         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
41088         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
41089         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
41090         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
41091         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
41092         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
41093         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
41094         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
41095         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
41096         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
41097         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
41098         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
41099         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
41100         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
41101         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
41102         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
41103         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
41104         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
41105         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
41106         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
41107         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
41108         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
41109         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
41110         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
41111         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
41112         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
41113         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
41114         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
41115         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
41116         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41117         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
41118         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
41119         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
41120         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
41121         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
41122         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
41123         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
41124         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
41125         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
41126         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
41127         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
41128         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
41129         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
41130         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
41131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
41132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
41133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
41134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
41135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
41136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
41137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
41138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
41139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
41140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
41141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
41142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
41143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
41144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
41145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
41146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
41147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
41151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
41152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
41153         * sysdeps/unix/sysv/linux/pread.c: Likewise.
41154         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
41155         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
41156         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
41157         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
41158         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
41159         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
41160         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
41161         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
41162         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
41163         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
41164         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
41165         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
41166         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
41167         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
41168         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
41169         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
41170         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
41171         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
41172         * sysdeps/unix/sysv/linux/system.c: Likewise.
41173         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
41174         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
41175         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
41176         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
41177         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
41178         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
41179         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
41181         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
41182         * configure: Regenerated.
41183         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
41185         * configure.ac (base_machine): Do not set specially for particular
41186         machines here.
41187         * configure: Regenerated.
41188         * sysdeps/powerpc/preconfigure: Move machine and base_machine
41189         settings from configure.ac.
41190         * sysdeps/i386/preconfigure: New file.
41191         * sysdeps/s390/preconfigure: Likewise.
41192         * sysdeps/sh/preconfigure: Likewise.
41193         * sysdeps/sparc/preconfigure: Likewise.
41195 2014-06-25  Roland McGrath  <roland@hack.frob.com>
41197         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
41198         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
41199         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
41200         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
41201         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
41202         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
41203         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
41204         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
41205         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
41206         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
41207         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
41208         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
41209         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
41210         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
41211         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
41212         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
41213         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
41214         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
41215         * sysdeps/sparc/sparc64/Makefile: ... appended here.
41217         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
41218         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
41219         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
41220         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
41221         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
41222         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
41223         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
41224         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
41225         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
41226         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
41227         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
41228         * sysdeps/sparc/sparc32/sem_post.c: ... here.
41229         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
41230         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
41231         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
41232         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
41233         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
41234         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
41235         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
41236         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
41237         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
41238         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
41239         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
41240         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
41241         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
41242         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
41243         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
41244         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
41245         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
41246         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
41247         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
41248         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
41249         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
41250         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
41251         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
41252         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
41253         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
41254         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
41256         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
41257         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
41258         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
41259         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
41260         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
41261         Moved ...
41262         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
41263         ... here.
41264         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
41265         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
41266         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
41267         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
41268         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
41269         Moved ...
41270         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
41271         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
41272         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
41273         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
41274         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
41275         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
41276         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
41277         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41278         Moved ...
41279         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
41280         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
41281         Moved ...
41282         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
41283         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
41284         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
41285         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
41286         Moved ...
41287         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
41288         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
41289         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
41290         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
41291         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
41292         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
41293         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
41294         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
41295         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
41296         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
41297         Moved ...
41298         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
41299         ... here.
41300         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
41301         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
41302         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
41303         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
41304         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
41305         Moved ...
41306         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
41307         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
41308         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
41309         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
41310         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
41311         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
41312         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
41313         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41314         Moved ...
41315         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
41316         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
41317         Moved ...
41318         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
41319         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
41320         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
41321         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
41322         Moved ...
41323         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
41324         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
41325         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
41326         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
41327         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
41329 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
41331         * timezone/checktab.awk: Update from tzcode 2014e.
41332         * timezone/private.h: Likewise.
41333         * timezone/tzfile.h: Likewise.
41334         * timezone/zdump.c: Likewise.
41335         * timezone/zic.c: Likewise.
41337         * sysdeps/unix/sysv/linux/kernel-features.h
41338         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
41339         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
41340         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
41341         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
41342         Remove conditional code.
41344 2014-06-25  Will Newton  <will.newton@linaro.org>
41346         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
41347         (_dl_arm_cap_flags): Add HWCAP2 values.
41348         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
41349         (_DL_HWCAP_COUNT): Increase to 37.
41350         (_DL_HWCAP_LAST): New define.
41351         (_DL_HWCAP2_LAST): New define.
41352         (_dl_procinfo): Add support for printing
41353         AT_HWCAP2 entries.
41354         (_dl_string_hwcap): Use _dl_hwcap_string.
41356 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41358         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41360 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
41362         * README: Do not mention ports directory.
41364         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
41365         Remove macro.
41366         * sysdeps/unix/sysv/linux/futimes.c: Do not include
41367         <kernel-features.h>.
41368         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
41369         conditional variable definition.
41370         (__futimes): Update comment.
41371         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
41372         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
41374         [BZ #16560]
41375         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
41376         arguments close to 0.
41377         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
41378         Likewise.
41379         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
41380         Likewise.
41381         * math/auto-libm-test-in: Add more tests of exp10.
41382         * math/auto-libm-test-out: Regenerated.
41383         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41385         * sysdeps/unix/sysv/linux/kernel-features.h
41386         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
41387         * sysdeps/unix/sysv/linux/readv.c: Do not include
41388         <kernel-features.h>.
41389         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
41390         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
41391         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
41392         unconditional.
41393         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
41394         conditional code.
41395         * sysdeps/unix/sysv/linux/writev.c: Do not include
41396         <kernel-features.h>.
41397         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
41398         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
41399         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
41400         unconditional.
41401         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
41402         conditional code.
41404 2014-06-25  Will Newton  <will.newton@linaro.org>
41406         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
41407         comment changes throughout the file.  Remove checks
41408         for HAVE_*_H definitions that are not required.
41409         (__gen_tempname): Call abort if an unknown kind value is
41410         passed.
41412 2014-06-25  Andreas Schwab  <schwab@suse.de>
41414         [BZ #17086]
41415         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
41416         scalbln, scalblnf, scalblnl in libc.
41418 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
41420         [BZ #17086]
41421         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
41422         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
41423         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
41425 2014-06-24  Roland McGrath  <roland@hack.frob.com>
41427         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
41428         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
41429         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
41430         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
41431         Update #include.
41432         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
41433         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
41434         Update #include.
41435         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
41436         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
41437         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
41438         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
41439         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
41440         * sysdeps/x86/bits/pthreadtypes.h: ... here.
41441         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
41442         * sysdeps/x86/bits/semaphore.h: ... here.
41443         * sysdeps/x86/nptl/elide.h: Moved ...
41444         * sysdeps/x86/elide.h: ... here.
41445         * sysdeps/x86_64/nptl/Implies: File removed.
41446         * sysdeps/i386/nptl/Implies: File removed.
41448 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
41450         [BZ #16539]
41451         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
41452         return the argument for normal arguments with exponent below -64.
41453         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
41454         Likewise.
41455         * math/auto-libm-test-in: Add another test of expm1.
41456         * math/auto-libm-test-out: Regenerated.
41458         [BZ #16287]
41459         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
41460         calling __erfcl for arguments at least 16.
41461         * math/auto-libm-test-in: Add more tests of erf.
41462         * math/auto-libm-test-out: Regenerated.
41464         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
41465         individual architectures.
41466         * sysdeps/unix/sysv/linux/configure: Regenerated.
41467         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
41468         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
41469         * sysdeps/unix/sysv/linux/powerpc/configure.ac
41470         (ldd_rewrite_script): Define variable.
41471         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
41472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
41473         file.
41474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
41475         generated file.
41476         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
41477         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
41478         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
41479         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
41480         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
41481         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
41482         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
41483         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
41485 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41487         [BZ #17084]
41488         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
41489         Rename member __data.d to __data.__elision_data.
41491 2014-06-24  Wilco  <wdijkstr@arm.com>
41493         * NEWS: Add 16918 to fixed bug list.
41495 2014-06-24  Wilco  <wdijkstr@arm.com>
41497         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
41499 2014-06-24  Wilco  <wdijkstr@arm.com>
41501         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
41502         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
41503         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
41504         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
41505         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
41506         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
41507         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
41508         Use _FPU_MASK_RM.
41510 2014-06-24  Wilco  <wdijkstr@arm.com>
41512         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
41514 2014-06-24  Wilco  <wdijkstr@arm.com>
41516         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
41517         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
41518         * sysdeps/arm/fesetround.c (fesetround): Remove space.
41519         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
41521 2014-06-24  Wilco  <wdijkstr@arm.com>
41523         [BZ #16918]
41524         * sysdeps/arm/feupdateenv.c (feupdateenv):
41525         Rewrite to reduce FPSCR accesses and fix return value.
41527 2014-06-24  Wilco  <wdijkstr@arm.com>
41529         * sysdeps/arm/fclrexcpt.c (feclearexcept):
41530         Optimize to avoid unnecessary FPSCR writes.
41531         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
41532         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
41533         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
41534         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
41536 2014-06-24  Wilco  <wdijkstr@arm.com>
41538         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
41539         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
41540         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
41541         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
41542         Call libc_fetestexcept_vfp.
41543         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
41544         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
41545         __SOFTFP__ ifdef so that they can be built for softfp.
41547 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41549         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
41550         argument type signed char.
41552         * Makerules (check-abi): Dump diff of symlist if the test
41553         fails.
41555 2014-06-23  Roland McGrath  <roland@hack.frob.com>
41557         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
41558         using abort.
41560         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
41561         Remove unused variable ST.
41563 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
41565         [BZ #16354]
41566         [BZ #17061]
41567         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
41568         small arguments before calling __expm1.
41569         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
41570         small arguments before calling __expm1f.
41571         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
41572         small arguments before calling __expm1l.
41573         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
41574         Likewise.
41575         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
41576         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
41577         spurious underflow for some cosh tests.
41578         * math/auto-libm-test-out: Regenerated.
41579         * sysdeps/i386/fpu/libm-test-ulps: Update.
41581         [BZ #17050]
41582         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
41583         (__ieee754_y1): Set errno if return value overflows.
41584         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
41585         (__ieee754_y1f): Set errno if return value overflows.
41586         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
41587         (__ieee754_y1l): Set errno if return value overflows.
41588         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
41589         (__ieee754_y1l): Set errno if return value overflows.
41590         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
41591         * math/auto-libm-test-out: Regenerated.
41593         * math/gen-auto-libm-tests.c: Document use of
41594         ignore-zero-inf-sign.
41595         (input_flag_type): Add value flag_ignore_zero_inf_sign.
41596         (input_flags): Add ignore-zero-inf-sign.
41597         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
41598         * math/gen-libm-test.pl (generate_testfile): Handle
41599         ignore-zero-inf-sign.
41600         * math/auto-libm-test-in: Mark some cpow tests with
41601         ignore-zero-inf-sign and some with xfail-rounding.
41602         * math/auto-libm-test-out: Regenerated.
41603         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
41604         * sysdeps/i386/fpu/libm-test-ulps: Update.
41605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41607         [BZ #16315]
41608         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
41609         overflowing or underflowing operations take place with sign of
41610         result.
41611         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41612         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
41613         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
41614         (__ieee754_pow): Recompute overflowing and underflowing results in
41615         original rounding mode.
41616         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
41617         (__powl_helper): Allow negative argument X and scale negated value
41618         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
41619         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
41620         overflowing or underflowing operations take place with sign of
41621         result.
41622         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
41623         Include <math.h>.
41624         * math/auto-libm-test-in: Add more tests of pow.
41625         * math/auto-libm-test-out: Regenerated.
41626         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
41627         (pow_tonearest_test_data): Remove.
41628         (pow_test_tonearest): Likewise.
41629         (pow_towardzero_test_data): Likewise.
41630         (pow_test_towardzero): Likewise.
41631         (pow_downward_test_data): Likewise.
41632         (pow_test_downward): Likewise.
41633         (pow_upward_test_data): Likewise.
41634         (pow_test_upward): Likewise.
41635         (main): Don't call removed functions.
41636         * sysdeps/i386/fpu/libm-test-ulps: Update.
41637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41639 2014-06-23  Roland McGrath  <roland@hack.frob.com>
41641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
41642         Moved ...
41643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
41644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41645         Moved ...
41646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
41647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
41648         Moved ...
41649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
41650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
41651         Moved ...
41652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
41653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
41654         File removed.
41655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
41656         File removed.
41657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
41658         File removed.
41659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
41660         File removed.
41661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
41662         File removed.
41663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
41664         File removed.
41665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
41666         File removed.
41667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41668         File removed.
41669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
41670         File removed.
41671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
41672         File removed.
41673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
41674         File removed.
41675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
41676         File removed.
41677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
41678         Moved ...
41679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
41680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
41681         Moved ...
41682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
41683         ... here.
41684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
41685         Moved ...
41686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
41687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
41688         Moved ...
41689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
41690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
41691         Moved ...
41692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
41693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
41694         Moved ...
41695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
41696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
41697         Moved ...
41698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
41699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
41700         Moved ...
41701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
41702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
41703         Moved ...
41704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
41705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
41706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
41707         ... here.
41708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
41709         Moved ...
41710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
41711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
41712         Moved ...
41713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
41714         ... here.
41715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
41716         Moved ...
41717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
41718         ... here.
41719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
41720         Moved ...
41721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
41722         ... here.
41723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
41724         Moved ...
41725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
41726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
41727         Moved ...
41728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
41729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
41730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
41731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
41732         Moved ...
41733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
41734         ... here.
41735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
41736         Moved ...
41737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
41738         ... here.
41739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
41740         Moved ...
41741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
41742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
41743         Moved ...
41744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
41745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
41746         Moved ...
41747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
41748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41749         Moved ...
41750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
41751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
41752         Moved ...
41753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
41754         ... here.
41755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
41756         Moved ...
41757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
41758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
41759         Moved ...
41760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
41761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
41762         Moved ...
41763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
41764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
41765         Moved ...
41766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
41767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
41768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
41769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
41770         Moved ...
41771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
41772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
41773         Moved ...
41774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
41775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
41776         Moved ...
41777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
41778         ... here.
41779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41780         Moved ...
41781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
41782         ... here.
41783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
41784         Moved ...
41785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
41786         ... here.
41787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
41788         Moved ...
41789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
41790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
41791         Moved ...
41792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
41793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
41794         Moved ...
41795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
41796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
41797         Moved ...
41798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
41799         ... here.
41800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
41801         Moved ...
41802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
41803         ... here.
41804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
41805         Moved ...
41806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
41807         ... here.
41808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
41809         Moved ...
41810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
41811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
41812         Moved ...
41813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
41815 2014-06-23  Will Newton  <will.newton@linaro.org>
41816             Wilco  <wdijkstr@arm.com>
41818         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
41819         implementation.  Include get-rounding-mode.h.
41820         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
41821         [!libc_feholdsetround_noex_ctx]: Define
41822         libc_feholdsetround_noex_ctx.
41823         [!libc_feholdsetround_noexf_ctx]: Define
41824         libc_feholdsetround_noexf_ctx.
41825         [!libc_feholdsetround_noexl_ctx]: Define
41826         libc_feholdsetround_noexl_ctx.
41827         (libc_feholdsetround_ctx): New function.
41828         (libc_feresetround_ctx): New function.
41829         (libc_feholdsetround_noex_ctx): New function.
41830         (libc_feresetround_noex_ctx): New function.
41832 2014-06-23  Roland McGrath  <roland@hack.frob.com>
41834         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
41835         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
41836         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
41837         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
41838         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
41839         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
41841         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
41842         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
41843         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
41844         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
41845         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
41846         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
41847         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
41848         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
41849         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
41850         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
41851         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
41852         Moved ...
41853         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
41854         ... here.
41855         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
41856         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
41857         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
41858         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
41859         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
41860         Moved ...
41861         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
41862         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
41863         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
41864         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
41865         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
41866         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
41867         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
41868         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
41869         Moved ...
41870         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
41871         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
41872         Moved ...
41873         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
41874         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
41875         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
41876         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
41877         Moved ...
41878         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
41879         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
41880         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
41881         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
41882         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
41883         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
41884         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
41885         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
41886         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
41887         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
41888         Moved ...
41889         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
41890         ... here.
41891         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
41892         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
41893         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
41894         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
41895         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
41896         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
41897         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
41898         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
41899         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
41900         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
41901         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
41902         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
41903         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
41904         Moved ...
41905         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
41906         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
41907         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
41908         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
41909         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
41910         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
41911         Moved ...
41912         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
41913         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
41914         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
41915         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
41916         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
41918         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
41919         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
41920         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
41921         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
41922         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
41923         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
41924         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
41925         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
41926         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
41927         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
41928         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
41929         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
41930         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
41931         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
41932         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
41933         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
41934         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
41935         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
41936         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
41937         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
41938         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
41939         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
41940         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
41941         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
41942         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
41943         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
41944         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
41945         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
41947 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
41949         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
41950         (FALLOC_FL_COLLAPSE_RANGE): New macro.
41951         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
41952         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
41953         (IPV6_PMTUDISC_INTERFACE): Likewise.
41954         (IPV6_PMTUDISC_OMIT): Likewise.
41956 2014-06-23  Andreas Schwab  <schwab@suse.de>
41958         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
41959         Remove unused errout label.
41961 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41963         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
41964         macro: hardware supports Vector Crypto instructions.
41966 2014-06-23  Will Newton  <will.newton@linaro.org>
41968         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
41969         rather than __builtin_expect.
41971         * elf/dl-lookup.c (undefined_msg): Remove variable.
41972         (_dl_lookup_symbol_x): Replace undefined_msg with string
41973         literal.
41975         * elf/dl-lookup.c (do_lookup_unique): New function.
41976         (do_lookup_x): Move STB_GNU_UNIQUE handling code
41977         to a separate function.
41979 2014-06-23  Andreas Schwab  <schwab@suse.de>
41981         [BZ #17079]
41982         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
41983         before reading the next line.
41985 2014-06-23  Will Newton  <will.newton@linaro.org>
41987         * test-skeleton.c (signal_handler): Use printf and %m
41988         rather than perror.  Use printf rather than fprintf to
41989         stderr.  Use puts rather than fputs to stderr.
41990         (main): Likewise.
41992 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
41994         * nscd/nscd.c (thread_info_t): Remove typedef.
41995         (thread_info): Remove variable.
41997 2014-06-21  Allan McRae  <allan@archlinux.org>
41999         * NEWS: Mention CVE-2014-4043.
42001 2014-06-20  Roland McGrath  <roland@hack.frob.com>
42003         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
42004         * nptl/smp.h: ... here.
42006         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
42008         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
42009         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
42010         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
42011         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
42013         * nptl/allocatestack.c: Include <stack-aliasing.h>.
42014         * nptl/stack-aliasing.h: New file.
42015         * sysdeps/i386/i686/stack-aliasing.h: New file.
42016         * sysdeps/i386/i686/nptl/Makefile: File removed.
42017         * sysdeps/x86_64/stack-aliasing.h: New file.
42018         * sysdeps/x86_64/nptl/Makefile
42019         (CFLAGS-pthread_create.c): Variable removed.
42021         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
42022         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
42023         old file.
42024         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
42025         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
42026         old file.
42028 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
42030         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42031         (__ASSUME_SIGFRAME_V2): Remove macro.
42032         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
42033         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
42034         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
42035         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
42036         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
42037         Declare as function.  Remove conditional macro definitions.
42038         (__default_rt_sa_restorer): Likewise.
42039         (__default_sa_restorer_v1): Remove declaration.
42040         (__default_sa_restorer_v2): Likewise.
42041         (__default_rt_sa_restorer_v1): Likewise.
42042         (__default_rt_sa_restorer_v2): Likewise.
42043         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
42044         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
42045         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
42047 2014-06-20  Roland McGrath  <roland@hack.frob.com>
42049         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
42050         (libpthread-routines): Add sysdep.
42051         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
42052         * sysdeps/unix/sysv/linux/sparc/Versions
42053         (libpthread: GLIBC_2.3.3): New version set.
42054         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
42055         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
42056         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
42057         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
42058         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
42059         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
42060         Moved ...
42061         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
42062         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
42063         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
42064         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
42065         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
42066         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
42067         * sysdeps/sparc/nptl/sem_init.c: ... here.
42068         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
42069         * sysdeps/sparc/nptl/sem_post.c: ... here.
42070         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
42071         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
42072         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
42073         * sysdeps/sparc/nptl/sem_wait.c: ... here.
42074         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
42075         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
42076         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
42077         (libpthread-routines): Add cpu_relax.
42078         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
42079         File removed.
42080         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
42081         (librt: GLIBC_2.3.3): New version set.
42082         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
42083         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
42084         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
42085         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
42086         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
42087         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
42088         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
42089         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
42090         Moved ...
42091         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
42092         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
42093         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
42094         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
42095         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
42096         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
42097         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
42098         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
42099         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
42100         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
42101         Moved ...
42102         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
42103         Update #include.
42104         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
42105         Moved ...
42106         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
42107         Update #include.
42108         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
42109         Moved ...
42110         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
42111         Update #include.
42112         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
42113         Moved ...
42114         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
42115         Update #include.
42116         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
42117         Moved ...
42118         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
42119         Update #include.
42120         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
42121         Moved ...
42122         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
42123         Update #include.
42124         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
42125         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
42126         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
42127         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
42128         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
42129         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
42130         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
42131         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
42132         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
42133         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
42134         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
42135         Moved ...
42136         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
42137         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
42138         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
42139         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
42140         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
42142 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
42144         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
42145         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
42146         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
42147         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
42148         * nscd/nscd.c: Likewise.
42149         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
42150         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
42151         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
42152         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
42154         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
42155         <kernel-features.h>.
42156         (init_mq_netlink): Remove conditional have_sock_cloexec
42157         definitions.  Remove code conditional on have_sock_cloexec < 0.
42158         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
42159         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
42160         * sysdeps/unix/sysv/linux/opensock.c: Do not include
42161         <kernel-features.h>.
42162         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
42163         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
42165 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
42167         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42168         Add tests for memset_chk and memset.
42170         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
42171         with AVX2_Usable.
42173 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
42175         [BZ #16046]
42176         * elf/tst-dl-iter-static.c: New file.
42177         * elf/Makefile (tests-static): Add tst-dl-iter-static.
42179         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
42180         error.
42182 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
42184         * sysdeps/unix/sysv/linux/kernel-features.h
42185         (__ASSUME_F_GETOWN_EX): Remove macro.
42186         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
42187         <kernel-features.h>.
42188         (miss_F_GETOWN_EX): Remove variable or macro.
42189         (do_fcntl): Do not check miss_F_GETOWN_EX.
42190         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
42192         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
42193         Remove macro.
42194         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
42195         [!__ASSUME_AT_RANDOM]: Remove conditional code.
42196         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
42198         * sysdeps/unix/sysv/linux/kernel-features.h
42199         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
42200         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
42201         [ADJ_OFFSET_SS_READ]: Make code unconditional.
42202         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
42204 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
42206         [BZ #17075]
42207         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
42208         Fix calculation of the symbol's value.
42209         * sysdeps/arm/tst-armtlsdescloc.c: New file.
42210         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
42211         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
42212         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
42213         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
42214         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
42215         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
42216         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
42217         (modules-names): Add `tst-armtlsdescmod',
42218         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
42219         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
42220         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
42221         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
42222         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
42223         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
42224         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
42225         ($(objpfx)tst-armtlsdescloc): New dependency.
42226         ($(objpfx)tst-armtlsdescextnow): Likewise.
42227         ($(objpfx)tst-armtlsdescextlazy): Likewise.
42228         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
42229         TLS scheme support.
42230         * sysdeps/arm/configure: Regenerate.
42232 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
42234         * include/fcntl.h (__atfct_seterrno): Remove prototype.
42235         (__atfct_seterrno_2): Likewise.
42236         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
42237         <kernel-features.h>.
42238         (__ASSUME_ATFCTS): Do not undefine and redefine.
42239         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
42240         (__have_atfcts): Remove conditional definition.
42241         (__fxstatat([__NR_fstatat64]: Make code unconditional.
42242         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
42243         unreachable if [__ASSUME_ATFCTS].
42244         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
42245         not undefine and redefine.
42246         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
42247         <kernel-features.h>.
42248         (faccessat) [__NR_faccessat]: Make code unconditional.
42249         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
42250         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
42251         <kernel-features.h>.
42252         (fchmodat) [__NR_fchmodat]: Make code unconditional.
42253         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
42254         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
42255         <kernel-features.h>.
42256         (fchownat) [__NR_fchownat]: Make code unconditional.
42257         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
42258         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
42259         <kernel-features.h>.
42260         (futimesat) [__NR_futimesat]: Make code unconditional.
42261         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
42262         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
42263         <kernel-features.h>.
42264         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
42265         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
42266         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
42267         <kernel-features.h>.
42268         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
42269         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
42270         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
42271         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
42272         <kernel-features.h>.
42273         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
42274         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
42275         * sysdeps/unix/sysv/linux/linkat.c: Do not include
42276         <kernel-features.h>.
42277         (linkat) [__NR_linkat]: Make code unconditional.
42278         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
42279         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
42280         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
42281         <kernel-features.h>.
42282         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
42283         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
42284         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
42285         <kernel-features.h>.
42286         (mkdirat) [__NR_mkdirat]: Make code unconditional.
42287         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
42288         * sysdeps/unix/sysv/linux/openat.c: Do not include
42289         <kernel-features.h>.
42290         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
42291         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
42292         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
42293         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
42294         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
42295         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
42296         <kernel-features.h>.
42297         (readlinkat) [__NR_readlinkat]: Make code unconditional.
42298         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
42299         result of INLINE_SYSCALL directly, not via int variable.
42300         * sysdeps/unix/sysv/linux/renameat.c: Do not include
42301         <kernel-features.h>.
42302         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
42303         (renameat) [__NR_renameat]: Make code unconditional.
42304         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
42305         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
42306         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
42307         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
42308         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
42309         (__ASSUME_ATFCTS): Do not undefine and redefine.
42310         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
42311         <kernel-features.h>.
42312         (symlinkat) [__NR_symlinkat]: Make code unconditional.
42313         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
42314         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
42315         <kernel-features.h>.
42316         (unlinkat) [__NR_unlinkat]: Make code unconditional.
42317         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
42318         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
42319         (__ASSUME_ATFCTS): Do not undefine and redefine.
42320         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
42321         <kernel-features.h>.
42322         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
42323         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
42324         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
42325         <kernel-features.h>.
42326         (__xmknodat) [__NR_mknodat]: Make code unconditional.
42327         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
42329 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
42331         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
42333 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
42335         [BZ #17069]
42336         * posix/regcomp.c (parse_reg_exp): Deallocate partially
42337         constructed tree before returning error.
42338         * posix/bug-regexp36.c: Expand test case.
42340 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
42342         [BZ #6803]
42343         * math/libm-test.inc (scalbln_test_date):
42344         Add errno expectations.
42345         * math/w_scalblnf.c: New File.
42346         Add wrapper which checks for setting errno to ERANGE.
42347         Add weak_alias for corresponding scalbln function.
42348         * math/w_scalbln.c: Likewise.
42349         * math/w_scalblnl.c: Likewise.
42350         * math/Makefile (libm-calls): Add w_scalbln.
42351         * sysdeps/ieee754/flt-32/s_scalblnf.c:
42352         Remove weak_alias for corresponding scalbln function.
42353         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42354         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
42355         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42356         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42357         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
42358         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
42359         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
42360         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
42361         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
42362         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
42363         Remove long_double_symbol for scalblnl function in libm, libc.
42364         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
42365         Add wrapper which checks for setting errno to ERANGE.
42366         Add long_double_symbol for scalblnl function in libm, libc.
42367         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
42368         Remove long_double_symbol for scalblnl in libm.
42369         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
42370         Add wrapper which checks for setting errno to ERANGE.
42371         Add long_double_symbol for scalblnl function in libm.
42372         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
42373         Do not use wrapper because of own implementation.
42375 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
42377         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
42378         3 bytes for __pad1 for x32.
42379         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
42381 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
42382             H.J. Lu  <hongjiu.lu@intel.com>
42384         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
42385         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
42386         * sysdeps/x86_64/multiarch/memset.S: Likewise.
42387         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42388         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
42390 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
42392         [BZ #17069]
42393         * posix/regcomp.c (parse_expression): Deallocate partially
42394         constructed tree before returning error.
42395         * posix/Makefile.c (tests): Add bug-regex36.
42396         (generated): Add bug-regex36.mtrace.
42397         (tests-special): Add $(objpfx)bug-regex36-mem.out
42398         (bug-regex36-ENV): New variable.
42399         ($(objpfx)bug-regex36-mem.out): New rule.
42400         * posix/bug-regex36.c: New file.
42402 2014-06-19  Will Newton  <will.newton@linaro.org>
42404         * malloc/malloc.c (systrim): If extra is zero then return
42405         early.
42407 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42409         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
42411 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
42413         * sysdeps/aarch64/strchr.S: New file.
42415 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
42417         [BZ #17022]
42418         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
42419         from arguments -2 or below.
42420         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
42421         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
42423 2014-06-18  Andreas Schwab  <schwab@suse.de>
42425         [BZ #17062]
42426         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
42427         of a bracket expr not to run off the end of the string.
42428         * posix/Makefile (tests): Add tst-fnmatch3.
42429         * posix/tst-fnmatch3.c: New file.
42431 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
42433         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
42434         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
42435         [$(cross-compiling) = no]: Likewise.
42436         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
42437         [$(cross-compiling) = no]: Likewise.
42439 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
42441         [BZ #17031]
42442         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
42443         double, adjusted for any remainder from the high double.
42444         * math/libm-test.inc (nearbyint): Add tests.
42445         (rint): Likewise.
42447 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42449         * nptl/sysdeps/powerpc/Makefile: Moved ...
42450         * sysdeps/powerpc/nptl/Makefile: ... here.
42451         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
42452         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
42453         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
42454         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
42455         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
42456         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
42457         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
42458         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
42459         * nptl/sysdeps/powerpc/tls.h: Moved ...
42460         * sysdeps/powerpc/nptl/tls.h: ... here.
42462 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
42464         [BZ #16681]
42465         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
42466         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
42467         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
42468         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
42469         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
42470         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
42471         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
42472         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
42473         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
42475 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
42477         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
42479 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
42481         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
42482         defined operator.
42484         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
42485         $TIMEOUTFACTOR.
42487 2014-06-16  Florian Weimer  <fweimer@redhat.com>
42489         [BZ #17058]
42490         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
42491         non-executed part of the test.
42493 2014-06-16  Andreas Schwab  <schwab@suse.de>
42495         * string/bits/string2.h (strdup, strndup): Update feature guard.
42497 2014-06-14  David S. Miller  <davem@davemloft.net>
42499         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42501 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
42503         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
42504         that was previously under [RESET_PID].
42505         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
42507         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
42508         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
42509         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
42510         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
42511         (__libc_vfork): New strong alias.
42512         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
42514 2014-06-14 Andi Kleen  <ak@linux.intel.com>
42516         * sysdeps/generic/elide.h: New file.
42518 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42520         * Makefile (installed-headers): Adjust path of pthread.h header.
42522 2014-06-13  Roland McGrath  <roland@hack.frob.com>
42524         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
42525         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
42526         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
42527         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
42529         * nptl/sysdeps/s390/Makefile: Moved ...
42530         * sysdeps/s390/nptl/Makefile: ... here.
42531         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
42532         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
42533         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
42534         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
42535         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
42536         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
42537         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
42538         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
42539         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
42540         * sysdeps/s390/nptl/pthreaddef.h: ... here.
42541         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
42542         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
42543         * nptl/sysdeps/s390/tls.h: Moved ...
42544         * sysdeps/s390/nptl/tls.h: ... here.
42546         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
42547         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
42549 2014-06-13  David S. Miller  <davem@davemloft.net>
42551         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
42552         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
42553         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
42554         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
42555         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
42556         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
42557         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
42558         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
42559         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
42560         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
42561         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
42562         Remove RESET_PID cpp guards.
42563         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
42564         Remove RESET_PID cpp guards.
42565         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
42567 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
42569         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
42570         __sp to uintptr_t.
42572 2014-06-13  Andi Kleen  <ak@linux.intel.com>
42574         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
42575         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
42576         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
42577         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
42578         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
42579         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
42580         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
42581         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
42582         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
42583         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
42584         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
42585         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
42586         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
42587         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
42588         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
42589         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
42590         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
42591         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
42592         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
42593         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
42595         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
42596         (pthread_rwlock_rdlock): Add elision.
42597         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
42598         (pthread_rwlock_wrlock): Add elision.
42599         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
42600         (pthread_rwlock_trywrlock): Add elision.
42601         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
42602         (pthread_rwlock_tryrdlock): Add elision.
42603         * nptl/pthread_rwlock_unlock.c: Include elide.h.
42604         (pthread_rwlock_tryrdlock): Add elision unlock.
42605         * nptl/sysdeps/pthread/pthread.h:
42606         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
42607         (PTHREAD_RWLOCK_INITIALIZER,
42608         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
42609         Handle new elision field.
42610         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
42611         * sysdeps/arm/nptl/bits/pthreadtypes.h
42612         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42613         * sysdeps/sh/nptl/bits/pthreadtypes.h
42614         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42615         * sysdeps/tile/nptl/bits/pthreadtypes.h
42616         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42617         * sysdeps/a/nptl/bits/pthreadtypes.h
42618         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42619         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
42620         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42621         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
42622         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42623         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
42624         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42625         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
42626         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42627         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
42628         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42629         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
42630         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42631         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
42632         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42633         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
42634         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42635         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
42636         (elision_init): Set try_xbegin to zero when no RTM.
42637         * sysdeps/x86/nptl/bits/pthreadtypes.h
42638         (pthread_rwlock_t): Change __pad1 to __rwelision.
42639         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42641 2014-06-13  Andi Kleen  <ak@linux.intel.com>
42643         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
42644         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
42645         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
42646         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
42648 2014-06-13  Meador Inge  <meadori@codesourcery.com>
42650         [BZ #16996]
42651         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
42652         that the cached result has been set before returning it.
42654 2014-06-12  Roland McGrath  <roland@hack.frob.com>
42656         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
42657         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
42658         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
42659         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
42660         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
42661         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
42663         * nptl/sysdeps/sparc/Makefile: Moved ...
42664         * sysdeps/sparc/nptl/Makefile: ... here.
42665         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
42666         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
42667         * nptl/sysdeps/sparc/tls.h: Moved ...
42668         * sysdeps/sparc/nptl/tls.h: ... here.
42669         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
42670         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
42671         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
42672         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
42673         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
42674         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
42675         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
42676         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
42677         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
42678         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
42679         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
42680         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
42681         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
42682         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
42683         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
42684         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
42685         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
42686         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
42687         Update #include.
42688         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
42689         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
42690         Update #include.
42691         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
42692         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
42693         Update #include.
42694         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
42695         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
42696         Update #include.
42698         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
42700         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
42701         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
42703         * sysdeps/pthread/posix-timer.h: Include <list.h>.
42704         (struct list_links): Type removed.
42705         (struct thread_node, struct timer_node): Replace struct list_links
42706         with struct list_head.
42707         (list_unlink_ip): Likewise.
42708         * sysdeps/pthread/timer_routines.c
42709         (timer_free_list, thread_free_list, thread_active_list): Likewise.
42710         (list_append, list_insbefore): Likewise.
42711         (list_init): Function removed.
42712         (thread_init, init_module): Use INIT_LIST_HEAD instead.
42713         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
42714         * sysdeps/pthread/Makefile: ... here, new file.
42716         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
42717         * sysdeps/nptl/Implies: ... here.
42718         * sysdeps/unix/sysv/linux/Implies: Add nptl.
42719         * nptl/sysdeps/pthread/list.h: Moved ...
42720         * include/list.h: ... here.
42721         * nptl/sysdeps/pthread/createthread.c: Moved ...
42722         * nptl/createthread.c: ... here.
42723         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
42724         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
42725         * nptl/pt-longjmp.c: ... here.
42726         * nptl/sysdeps/pthread/Makefile: Moved ...
42727         * sysdeps/nptl/Makefile: ... here.
42728         * nptl/sysdeps/pthread/Subdirs: Moved ...
42729         * sysdeps/nptl/Subdirs: ... here.
42730         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
42731         * sysdeps/nptl/aio_misc.h: ... here.
42732         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
42733         * sysdeps/nptl/bits/libc-lock.h: ... here.
42734         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
42735         * sysdeps/nptl/bits/libc-lockP.h: ... here.
42736         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
42737         * sysdeps/nptl/bits/stdio-lock.h: ... here.
42738         * nptl/sysdeps/pthread/configure: Moved ...
42739         * sysdeps/nptl/configure: ... here.
42740         * nptl/sysdeps/pthread/configure.ac: Moved ...
42741         * sysdeps/nptl/configure.ac: ... here.
42742         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
42743         * sysdeps/nptl/gai_misc.h: ... here.
42744         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
42745         * sysdeps/nptl/librt-cancellation.c: ... here.
42746         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
42747         * sysdeps/nptl/malloc-machine.h: ... here.
42748         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
42749         * sysdeps/nptl/pthread-functions.h: ... here.
42750         * nptl/sysdeps/pthread/pthread.h: Moved ...
42751         * sysdeps/nptl/pthread.h: ... here.
42752         * nptl/sysdeps/pthread/setxid.h: Moved ...
42753         * sysdeps/nptl/setxid.h: ... here.
42754         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
42755         * sysdeps/nptl/sigfillset.c: ... here.
42756         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
42757         * sysdeps/nptl/tcb-offsets.h: ... here.
42758         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
42759         * sysdeps/nptl/tst-mqueue8x.c: ... here.
42760         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
42761         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
42762         * nptl/sysdeps/pthread/allocalim.h: Moved ...
42763         * sysdeps/pthread/allocalim.h: ... here.
42764         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
42765         * sysdeps/pthread/bits/sigthread.h: ... here.
42766         * nptl/sysdeps/pthread/flockfile.c: Moved ...
42767         * sysdeps/pthread/flockfile.c: ... here.
42768         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
42769         * sysdeps/pthread/ftrylockfile.c: ... here.
42770         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
42771         * sysdeps/pthread/funlockfile.c: ... here.
42772         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
42773         * sysdeps/pthread/posix-timer.h: ... here.
42774         * nptl/sysdeps/pthread/timer_create.c: Moved ...
42775         * sysdeps/pthread/timer_create.c: ... here.
42776         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
42777         * sysdeps/pthread/timer_delete.c: ... here.
42778         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
42779         * sysdeps/pthread/timer_getoverr.c: ... here.
42780         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
42781         * sysdeps/pthread/timer_gettime.c: ... here.
42782         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
42783         * sysdeps/pthread/timer_routines.c: ... here.
42784         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
42785         * sysdeps/pthread/timer_settime.c: ... here.
42786         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
42787         * sysdeps/pthread/tst-timer.c: ... here.
42788         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
42789         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
42791         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
42792         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
42794         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
42795         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
42796         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
42797         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
42798         Update #include target.
42799         * nptl/sysdeps/i386/i686/Makefile: Moved ...
42800         * sysdeps/i386/i686/nptl/Makefile: ... here.
42801         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
42802         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
42803         Update #include target.
42804         * nptl/sysdeps/i386/i686/tls.h: Moved ...
42805         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
42806         * nptl/sysdeps/i386/Makefile: Moved ...
42807         * sysdeps/i386/nptl/Makefile: ... here.
42808         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
42809         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
42810         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
42811         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
42812         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
42813         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
42814         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
42815         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
42816         * sysdeps/i386/nptl/pthreaddef.h: ... here.
42817         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
42818         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
42819         * nptl/sysdeps/i386/tls.h: Moved ...
42820         * sysdeps/i386/nptl/tls.h: ... here.
42822         * sysdeps/sh/Makefile [$(subdir) = csu]
42823         (gen-as-const-headers): Add tcb-offsets.sym.
42824         * nptl/sysdeps/sh/Makefile: File removed.
42825         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
42826         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
42827         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
42828         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
42829         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
42830         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
42831         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
42832         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
42833         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
42834         * sysdeps/sh/nptl/pthreaddef.h: ... here.
42835         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
42836         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
42837         * nptl/sysdeps/sh/tls.h: Moved ...
42838         * sysdeps/sh/nptl/tls.h: ... here.
42839         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
42840         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
42841         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
42842         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
42843         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
42844         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
42845         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
42846         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
42847         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
42848         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
42849         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
42850         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
42851         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
42852         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
42853         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
42854         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
42855         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
42856         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
42857         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
42858         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
42859         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
42860         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
42861         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
42862         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
42863         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
42864         Moved ...
42865         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
42866         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
42867         Moved ...
42868         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
42869         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
42870         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
42871         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
42872         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
42873         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
42874         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
42875         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
42876         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
42877         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
42878         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
42879         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
42880         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
42881         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
42882         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
42883         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
42884         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
42885         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
42886         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
42888 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
42890         * posix/spawn_faction_addopen.c: Include string.h.
42892 2014-06-11  Roland McGrath  <roland@hack.frob.com>
42894         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
42895         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
42896         * nptl/sysdeps/x86_64/Makefile: Moved ...
42897         * sysdeps/x86_64/nptl/Makefile: ... here.
42898         * nptl/sysdeps/x86_64/configure: Moved ...
42899         * sysdeps/x86_64/nptl/configure: ... here.
42900         * nptl/sysdeps/x86_64/configure.ac: Moved ...
42901         * sysdeps/x86_64/nptl/configure.ac: ... here.
42902         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
42903         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
42904         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
42905         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
42906         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
42907         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
42908         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
42909         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
42910         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
42911         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
42912         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
42913         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
42914         * nptl/sysdeps/x86_64/tls.h: Moved ...
42915         * sysdeps/x86_64/nptl/tls.h: ... here.
42916         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
42917         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
42918         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
42919         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
42921         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
42923 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42925         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42927 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
42929         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
42930         type.
42931         [POSIX] (off_t): Likewise.
42932         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
42933         [POSIX] (S_ISBLK): Require macro.
42934         [POSIX] (S_ISCHR): Likewise.
42935         [POSIX] (S_ISDIR): Likewise.
42936         [POSIX] (S_ISFIFO): Likewise.
42937         [POSIX] (S_ISREG): Likewise.
42938         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
42939         optional-macro.
42940         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
42941         type.
42942         [POSIX] (time_t): Likewise.
42943         [POSIX] (timer_t): Likewise.
42945 2014-06-11  Florian Weimer  <fweimer@redhat.com>
42947         [BZ #17048]
42948         * posix/spawn_int.h (struct __spawn_action): Make the path string
42949         non-const to support deallocation.
42950         * posix/spawn_faction_addopen.c
42951         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
42952         * posix/spawn_faction_destroy.c
42953         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
42954         path in all spawn_do_open actions.
42955         * posix/tst-spawn.c (do_test): Exercise the copy operation in
42956         posix_spawn_file_actions_addopen.
42958 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
42960         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
42961         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
42962         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
42963         conditional code always true.
42964         (__libc_vfork): New alias.
42966 2014-06-11  Roland McGrath  <roland@hack.frob.com>
42968         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42969         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
42971         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
42973         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42974         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
42976         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
42977         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
42979         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42980         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
42982 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
42984         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
42985         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
42986         multiarch strcmp for PPC64.
42987         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
42988         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
42989         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
42990         multiarch optimizations.
42991         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42992         (__libc_ifunc_impl_list): Likewise.
42994 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42996         * benchtests/scripts/validate_benchout.py: New script.
42997         * benchtests/Makefile (bench-func): Call it.
42998         * benchtests/scripts/benchout.schema.json: New file.
43000 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
43002         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
43003         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
43004         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
43005         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
43006         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
43007         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
43008         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
43009         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
43010         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
43011         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
43012         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
43013         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
43014         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
43015         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
43016         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
43017         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
43018         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
43019         Moved ...
43020         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
43021         ... here.
43022         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
43023         Moved ...
43024         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
43025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
43026         Moved ...
43027         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
43028         ... here.
43029         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
43030         Moved ...
43031         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
43032         ... here.
43033         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
43034         Moved ...
43035         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
43036         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
43037         Moved ...
43038         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
43039         ... here.
43040         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
43041         Moved ...
43042         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
43043         ... here.
43044         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
43045         Moved ...
43046         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
43047         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
43048         Moved ...
43049         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
43050         ... here.
43051         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
43052         Moved ...
43053         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
43054         ... here.
43055         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
43056         Moved ...
43057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
43058         ... here.
43059         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
43060         Moved ...
43061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
43062         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
43063         Moved ...
43064         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
43065         ... here.
43066         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
43067         Moved ...
43068         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
43069         ... here.
43070         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
43071         Moved ...
43072         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
43073         ... here.
43074         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
43075         Moved ...
43076         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
43077         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
43078         Moved ...
43079         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
43080         ... here.
43081         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
43082         Moved ...
43083         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
43084         ... here.
43085         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
43086         Moved ...
43087         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
43088         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
43089         Moved ...
43090         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
43091         ... here.
43092         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
43093         Moved ...
43094         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
43095         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
43096         Moved ...
43097         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
43098         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
43099         Moved ...
43100         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
43101         ... here.
43102         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
43103         Moved ...
43104         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
43105         ... here.
43106         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
43107         Moved ...
43108         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
43109         ... here.
43110         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
43111         Moved ...
43112         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
43113         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
43114         Moved ...
43115         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
43116         ... here.
43117         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
43118         Moved ...
43119         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
43120         ... here.
43121         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
43122         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
43123         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
43124         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
43125         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
43126         Moved ...
43127         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
43128         ... here.
43129         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
43130         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
43131         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
43132         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
43133         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
43134         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
43135         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
43136         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
43137         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
43138         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
43139         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
43140         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
43141         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
43142         Moved ...
43143         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
43144         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
43145         Moved ...
43146         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
43147         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
43148         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
43149         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
43150         Moved ...
43151         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
43152         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
43153         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
43154         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
43155         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
43156         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
43157         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
43159 2014-06-10  Wilco  <wdijkstr@arm.com>
43161         * math/test-fenv-return.c: New file.
43162         * math/Makefile: Add new test test-fenv-return.
43164 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
43166         [BZ #17042]
43167         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
43168         when x - 1 is zero.
43169         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
43170         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
43171         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
43172         0.0L for an argument of 1.0L.
43173         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
43174         Likewise.
43175         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
43176         value when x - 1 is zero.
43177         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
43178         * sysdeps/i386/fpu/libm-test-ulps: Update.
43179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43181 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
43183         [BZ #15119]
43184         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
43186 2014-06-09  Roland McGrath  <roland@hack.frob.com>
43188         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
43189         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
43191 2014-06-09  Roland McGrath  <roland@hack.frob.com>
43193         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43194         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
43196         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43197         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
43199         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43200         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
43202         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43203         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
43205         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
43206         if not already defined.
43207         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
43208         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
43209         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
43210         (TLS_INIT_TP): Use it.
43211         (TLS_DEFINE_INIT_TP): New macro.
43212         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
43214 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
43216         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
43217         constant.
43218         [POSIX] (IXANY): Likewise.
43219         [POSIX] (OLCUC): Likewise.
43220         [POSIX || POSIX2008] (CBAUD): Do not allow.
43221         [POSIX || POSIX2008] (DEFECHO): Likewise.
43222         [POSIX || POSIX2008] (ECHOCTL): Likewise.
43223         [POSIX || POSIX2008] (ECHOKE): Likewise.
43224         [POSIX || POSIX2008] (ECHOPRT): Likewise.
43225         [POSIX || POSIX2008] (EXTA): Likewise.
43226         [POSIX || POSIX2008] (EXTB): Likewise.
43227         [POSIX || POSIX2008] (FLUSHO): Likewise.
43228         [POSIX || POSIX2008] (LOBLK): Likewise.
43229         [POSIX || POSIX2008] (PENDIN): Likewise.
43230         [POSIX || POSIX2008] (SWTCH): Likewise.
43231         [POSIX || POSIX2008] (VDISCARD): Likewise.
43232         [POSIX || POSIX2008] (VDSUSP): Likewise.
43233         [POSIX || POSIX2008] (VLNEXT): Likewise.
43234         [POSIX || POSIX2008] (VREPRINT): Likewise.
43235         [POSIX || POSIX2008] (VSTATUS): Likewise.
43236         [POSIX || POSIX2008] (VWERASE): Likewise.
43237         (B*): Change to B[0123456789]*.
43238         * conform/data/time.h-data [POSIX || UNIX98]
43239         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
43240         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
43241         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
43242         [POSIX] (tm_*): Do not allow.
43244 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
43246         * Makefile (install): Don't set LANGUAGE.
43247         * Makefile.in (install): Likewise.
43248         * assert/Makefile (test-assert-ENV): Remove variable.
43249         (test-assert-perr-ENV): Likewise.
43250         * elf/Makefile (neededtest4-ENV): Likewise.
43251         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
43252         [$(cross-compiling) = no]: Don't set LANGUAGE.
43253         * io/ftwtest-sh (LANG): Remove variable.
43254         * libio/Makefile (tst-widetext-ENV): Likewise.
43255         * manual/install.texi (Running make install): Don't refer to
43256         environment settings for make install.
43257         * INSTALL: Regenerated.
43258         * nptl/tst-tls6.sh: Don't set LANG.
43259         * posix/globtest.sh (LANG): Remove variable.
43260         * string/Makefile (tester-ENV): Likewise.
43261         (inl-tester-ENV): Likewise.
43262         (noinl-tester-ENV): Likewise.
43263         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
43264         [$(cross-compiling) = no]: Don't set LANGUAGE.
43265         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
43266         without explicit environment settings.
43268 2014-06-06  Roland McGrath  <roland@hack.frob.com>
43270         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
43271         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
43272         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
43273         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
43275 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
43277         * crypt/crypt-private.h [DOS]: Add some includes taken from the
43278         other files in the crypt directory.
43279         * crypt/crypt.c: Remove duplicate includes.
43280         * crypt/crypt-entry.c: Likewise.
43281         * crypt/crypt_util.c: Likewise.
43283 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
43285         * Makeconfig (run-program-env): New variable.
43286         (run-program-prefix-before-env): Likewise.
43287         (run-program-prefix-after-env): Likewise.
43288         (run-program-prefix): Define in terms of new variables.
43289         (built-program-cmd-before-env): New variable.
43290         (built-program-cmd-after-env): Likewise.
43291         (built-program-cmd): Define in terms of new variables.
43292         (test-program-prefix-before-env): New variable.
43293         (test-program-prefix-after-env): Likewise.
43294         (test-program-prefix): Define in terms of new variables.
43295         (test-program-cmd-before-env): New variable.
43296         (test-program-cmd-after-env): Likewise.
43297         (test-program-cmd): Define in terms of new variables.
43298         * Rules (make-test-out): Use $(run-program-env).
43299         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
43300         (help): Do not mention environment variables.  Mention
43301         --timeoutfactor option.
43302         (timeoutfactor): New variable.
43303         (blacklist_exports): Remove function.
43304         (exports): Remove variable.
43305         (command): Do not include ${exports}.
43306         * manual/install.texi (Configuring and compiling): Do not mention
43307         test wrappers preserving environment variables.  Mention that last
43308         assignment to a variable must take precedence.
43309         * INSTALL: Regenerated.
43310         * benchtests/Makefile (run-bench): Use $(run-program-env).
43311         * catgets/Makefile ($(objpfx)test1.cat): Use
43312         $(built-program-cmd-before-env), $(run-program-env) and
43313         $(built-program-cmd-after-env).
43314         ($(objpfx)test2.cat): Do not specify environment variables
43315         explicitly.
43316         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
43317         $(run-program-env) and $(built-program-cmd-after-env).
43318         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
43319         $(run-program-env) and $(test-program-cmd-after-env).
43320         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
43321         explicitly.
43322         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
43323         run_program_env and test_program_cmd_after_env arguments.
43324         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
43325         * elf/tst-pathopt.sh: Use run_program_env argument.
43326         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
43327         $(test-wrapper-env) and $(run-program-env).
43328         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
43329         run_program_env arguments.
43330         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
43331         * intl/Makefile ($(objpfx)tst-gettext.out): Use
43332         $(test-program-prefix-before-env), $(run-program-env) and
43333         $(test-program-prefix-after-env).
43334         ($(objpfx)tst-gettext2.out): Likewise.
43335         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
43336         run_program_env and test_program_prefix_after_env arguments.
43337         * intl/tst-gettext2.sh: Likewise.
43338         * intl/tst-gettext4.sh: Do not set environment variables
43339         explicitly.
43340         * intl/tst-gettext6.sh: Likewise.
43341         * intl/tst-translit.sh: Likewise.
43342         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
43343         $(test-program-prefix-before-env), $(run-program-env) and
43344         $(test-program-prefix-after-env).
43345         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
43346         run_program_env and test_program_prefix_after_env arguments.
43347         * math/Makefile (run-regen-ulps): Use $(run-program-env).
43348         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
43349         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
43350         explicitly with each use of ${test_wrapper_env}.
43351         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
43352         $(test-program-prefix-before-env), $(run-program-env) and
43353         $(test-program-prefix-after-env).
43354         * posix/tst-getconf.sh: Do not set environment variables
43355         explicitly.
43356         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
43357         run_program_env and test_program_prefix_after_env arguments.
43358         * stdio-common/tst-printf.sh: Do not set environment variables
43359         explicitly.
43360         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
43361         $(test-program-prefix-before-env), $(run-program-env) and
43362         $(test-program-prefix-after-env).
43363         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
43364         run_program_env and test_program_prefix_after_env arguments.
43365         Split $test calls into $test_pre and $test.
43366         * timezone/Makefile (build-testdata): Use
43367         $(built-program-cmd-before-env), $(run-program-env) and
43368         $(built-program-cmd-after-env).
43370 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43372         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
43373         strlen for non SHARED builds.
43375 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43377         * nptl/allocatestack.c (check_list): Inlined function...
43378         (__reclaim_stacks): ... here.
43380 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
43382         [BZ #15698]
43383         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
43384         memory overrun.
43386 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
43388         * Rules (make-test-out): Include
43389         LOCPATH=$(common-objpfx)localedata in default environment.
43390         * debug/Makefile (tst-chk1-ENV): Remove variable.
43391         (tst-chk2-ENV): Likewise.
43392         (tst-chk3-ENV): Likewise.
43393         (tst-chk4-ENV): Likewise.
43394         (tst-chk5-ENV): Likewise.
43395         (tst-chk6-ENV): Likewise.
43396         (tst-lfschk1-ENV): Likewise.
43397         (tst-lfschk2-ENV): Likewise.
43398         (tst-lfschk3-ENV): Likewise.
43399         (tst-lfschk4-ENV): Likewise.
43400         (tst-lfschk5-ENV): Likewise.
43401         (tst-lfschk6-ENV): Likewise.
43402         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
43403         (tst-iconv7-ENV): Likewise.
43404         * intl/Makefile (LOCPATH-ENV): Likewise.
43405         (tst-codeset-ENV): Likewise.
43406         (tst-gettext3-ENV): Likewise.
43407         (tst-gettext5-ENV): Likewise.
43408         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
43409         (tst-fopenloc-ENV): Likewise.
43410         (tst-fgetws-ENV): Remove variable.
43411         (tst-ungetwc1-ENV): Likewise.
43412         (tst-ungetwc2-ENV): Likewise.
43413         (bug-ungetwc2-ENV): Likewise.
43414         (tst-swscanf-ENV): Likewise.
43415         (bug-ftell-ENV): Likewise.
43416         (tst-fgetwc-ENV): Likewise.
43417         (tst-fseek-ENV): Likewise.
43418         (tst-ftell-partial-wide-ENV): Likewise.
43419         (tst-ftell-active-handler-ENV): Likewise.
43420         (tst-ftell-append-ENV): Likewise.
43421         * posix/Makefile (tst-fnmatch-ENV): Likewise.
43422         (tst-regexloc-ENV): Likewise.
43423         (bug-regex1-ENV): Likewise.
43424         (tst-regex-ENV): Likewise.
43425         (tst-regex2-ENV): Likewise.
43426         (bug-regex5-ENV): Likewise.
43427         (bug-regex6-ENV): Likewise.
43428         (bug-regex17-ENV): Likewise.
43429         (bug-regex18-ENV): Likewise.
43430         (bug-regex19-ENV): Likewise.
43431         (bug-regex20-ENV): Likewise.
43432         (bug-regex22-ENV): Likewise.
43433         (bug-regex23-ENV): Likewise.
43434         (bug-regex25-ENV): Likewise.
43435         (bug-regex26-ENV): Likewise.
43436         (bug-regex30-ENV): Likewise.
43437         (bug-regex32-ENV): Likewise.
43438         (bug-regex33-ENV): Likewise.
43439         (bug-regex34-ENV): Likewise.
43440         (bug-regex35-ENV): Likewise.
43441         (tst-rxspencer-ENV): Likewise.
43442         (tst-rxspencer-no-utf8-ENV): Likewise.
43443         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
43444         (tst-sscanf-ENV): Likewise.
43445         (tst-swprintf-ENV): Likewise.
43446         (tst-swscanf-ENV): Likewise.
43447         (test-vfprintf-ENV): Likewise.
43448         (scanf13-ENV): Likewise.
43449         (bug14-ENV): Likewise.
43450         (tst-grouping-ENV): Likewise.
43451         * stdlib/Makefile (tst-strtod-ENV): Likewise.
43452         (tst-strtod3-ENV): Likewise.
43453         (tst-strtod4-ENV): Likewise.
43454         (tst-strtod5-ENV): Likewise.
43455         (testmb2-ENV): Likewise./
43456         * string/Makefile (tst-strxfrm-ENV): Likewise.
43457         (tst-strxfrm2-ENV): Likewise.
43458         (bug-strcoll1-ENV): Likewise.
43459         (test-strcasecmp-ENV): Likewise.
43460         (test-strncasecmp-ENV): Likewise.
43461         * time/Makefile (tst-strptime-ENV): Likewise.
43462         (tst-ftime_l-ENV): Likewise.
43463         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
43464         (tst-mbrtowc-ENV): Likewise.
43465         (tst-wcrtomb-ENV): Likewise.
43466         (tst-mbrtowc2-ENV): Likewise.
43467         (tst-c16c32-1-ENV): Likewise.
43468         (tst-mbsnrtowcs-ENV): Likewise.
43470 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
43472         * manual/resource.texi (How to get information about the memory
43473         subsystem?): Fix typo.
43474         Reported by Peon de la Parra Ivan <peon@keba.com>
43476 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
43478         [BZ #16882]
43479         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
43480         (pthread_spin_lock): Branch out of spin loop to proper location.
43481         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
43482         (pthread_spin_lock): Likewise.
43484         * nptl/tst-spin4.c: New test.
43485         * nptl/Makefile (tests): Add tst-spin4.
43487 2014-06-03  Andreas Schwab  <schwab@suse.de>
43489         [BZ #15946]
43490         * resolv/res_send.c (send_dg): Reload file descriptor after
43491         calling reopen.
43493 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
43495         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
43497 2014-06-03  Richard Henderson  <rth@redhat.com>
43499         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
43500         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
43501         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
43502         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
43503         in the SAVE_PID block.
43504         (__libc_vfork): New alias.
43505         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
43507         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
43508         child in registers, not on the stack.  Remove RESET_PID conditionals.
43509         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
43511 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
43513         * sysdeps/aarch64/libm-test-ulps: Regenerate.
43515 2014-06-03  Wilco  <wdijkstr@arm.com>
43517         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
43518         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
43519         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
43520         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
43521         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
43522         Likewise.
43524 2014-06-03  Wilco  <wdijkstr@arm.com>
43526         * sysdeps/aarch64/fpu/math_private.h
43527         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
43528         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
43529         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
43530         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
43531         Fix declarations.
43533 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
43535         * crypt/crypt-private.h: Include ufc-crypt.h.
43536         (__b64_from_24bit): Declare extern.
43537         * crypt/crypt_util.c(__b64_from_24bit): New function.
43538         (b64t): New static const variable.
43539         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
43540         (b64t): Remove variable.
43541         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
43542         * crypt/sha256-crypt.c: Include crypt-private.h.
43543         (b64t): Remove variable.
43544         (__sha256_crypt_r): Remove b64_from_24bit and replace
43545         with __b64_from_24bit.
43546         * crypt/sha512-crypt.c: Likewise.
43548 2014-06-02  Roland McGrath  <roland@hack.frob.com>
43550         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
43551         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
43552         Label the code __libc_vfork rather than __vfork.
43553         [!NOT_IN_libc] (vfork): Define as weak alias.
43554         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
43555         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
43556         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
43558 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43560         * malloc/malloc.c (malloc_info): Fix format specifier for
43561         n_mmaps.
43563 2014-06-02  Wilco  <wdijkstr@arm.com>
43565         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
43566         FPCR write.
43568 2014-06-02  Wilco  <wdijkstr@arm.com>
43570         [BZ #17009]
43571         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
43572         Rewrite to reduce FPCR/FPSR accesses.
43574 2014-06-01  David S. Miller  <davem@davemloft.net>
43576         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43578 2014-05-31  David S. Miller  <davem@davemloft.net>
43580         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
43581         to occur in round to nearest mode when |x| >= 2.0
43583 2014-05-30  Richard Henderson  <rth@twiddle.net>
43585         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
43586         (PSEUDO_RET_NOERRNO): Remove.
43587         (ret): Don't redefine.
43588         (ret_NOERRNO): Define in terms of ret.
43589         (ret_ERRVAL): Likewise.
43591         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
43592         use of PSEUDO_RET; perform the error check directly.
43594 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
43596         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
43597         with __int128_t.
43599 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43601         * malloc/malloc (malloc_info): Fix formatting.
43603 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43604             Roland McGrath  <roland@hack.frob.com>
43606         * malloc/malloc (malloc_info): Also print mmapped statistics.
43608 2014-05-30  Roland McGrath  <roland@hack.frob.com>
43610         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
43611         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
43613 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
43615         * malloc/malloc.c (malloc_info): Inline mi_arena.
43617 2014-05-29  Richard Henderson  <rth@twiddle.net>
43619         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
43620         Remove comma before expanding ASM_ARGS_##nr.
43621         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
43622         Make _x0 a strict output; make _x8 a strict input; adjust expansion
43623         of ASM_ARGS_##nr.
43624         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
43625         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
43626         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
43627         (ASM_ARGS_1): Add leading comma.
43629         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
43630         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
43631         to __errno_location.
43632         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
43633         Remove the expected plt for __errno_location.
43635         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
43636         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
43637         call to __read_tp.
43639         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
43640         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
43641         it and break it down.
43642         (DOCARGS_0, DOCARGS_1): Do nothing.
43643         (DOCARGS_2): Update to store into the new stack frame.
43644         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
43645         (UNDOCARGS_1): Update to restore from the new stack frame.
43646         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
43647         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
43649         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
43650         (SINGLE_THREAD_P): New parameter for result regno.
43651         (PSEUDO): Update to match; use cbz instead of beq.
43653         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
43654         Use ENTRY to define the _nocancel entry point.  Share the syscall
43655         and syscall error check paths with the cancel path.
43656         (PSEUDO_END): New.
43658         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
43659         whitespace; tabs before and after asm mnemonics.
43661 2014-05-29  Eric Wong  <normalperson@yhbt.net>
43663         [BZ #15132]
43664         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43665         Call fstat64 or stat64 internally, depending on arguments passed.
43666         Replace stat buffer argument with file descriptor argument.
43667         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
43668         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
43669         Pass fd to __internal_statvfs instead of calling fstat64.
43670         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
43671         Pass fd to __internal_statvfs64 instead of calling fstat64.
43672         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
43673         Pass -1 to __internal_statvfs instead of calling stat64.
43674         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
43675         Pass -1 to __internal_statvfs64 instead of calling stat64.
43677 2014-05-28  Roland McGrath  <roland@hack.frob.com>
43679         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
43680         that was previously under [RESET_PID].
43681         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
43683         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
43684         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
43686 2014-05-27  Roland McGrath  <roland@hack.frob.com>
43688         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
43690         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
43691         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
43693 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
43695         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
43697 2014-05-27  Andreas Schwab  <schwab@suse.de>
43699         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
43700         TLS_INIT_TP macro.
43701         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
43702         * elf/rtld.c (init_tls, dl_main): Likewise.
43703         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
43704         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
43705         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
43706         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
43707         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
43708         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
43709         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
43710         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
43711         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
43712         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
43713         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
43714         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
43715         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
43716         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
43717         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
43718         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
43719         * sysdeps/generic/tls.h: Update description.
43721 2014-05-27  Will Newton  <will.newton@linaro.org>
43723         [BZ #16990]
43724         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
43725         and restore r2 rather than just restoring.
43727 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43729         [BZ #16724]
43730         * libio/tst-ftell-append.c: New test case.
43731         * libio/Makefile (tests): Add test case.
43732         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
43733         append mode.
43734         * libio/wfileops.c (do_ftell_wide): Likewise.
43736 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43738         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43740         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
43741         ...
43742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
43743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
43744         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
43745         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
43746         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
43747         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
43748         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
43749         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
43750         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
43751         Moved ...
43752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
43753         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
43754         Moved ...
43755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
43756         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
43757         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
43758         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
43759         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
43760         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
43761         ...
43762         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
43763         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
43764         Moved ...
43765         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
43766         here.
43767         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
43768         ...
43769         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
43770         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
43771         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
43773         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
43774         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
43775         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
43776         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
43778         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
43779         merge into ...
43780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
43781         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
43782         ...
43783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
43784         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
43785         ...
43786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
43787         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
43788         Moved ...
43789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
43790         here.
43791         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
43792         Moved ...
43793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
43794         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
43795         Moved ...
43796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
43798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
43799         conditional [RESET_PID].
43800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
43801         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
43802         removed.
43803         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
43804         removed.
43806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
43807         <tcb-offsets.h>.
43808         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
43809         (__libc_vfork): New strong alias.
43810         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
43811         removed.
43812         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
43813         Removed.
43815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
43816         <tcb-offsets.h>.
43817         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
43818         (__libc_vfork): New strong alias.
43819         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
43820         removed.
43821         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
43822         removed.
43824 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
43826         * malloc/malloc.c (mi_arena): New function.
43827         (malloc_info): Remove nested function mi_arena. Call non-nosted
43828         function mi_arena.
43830 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43832         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
43833         by insrwi.
43834         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
43835         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
43836         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
43837         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
43838         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
43839         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
43840         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
43842 2014-05-26  Andreas Schwab  <schwab@suse.de>
43844         [BZ #16984]
43845         * locale/programs/repertoire.c (repertoire_read): Add slash
43846         between I18NPATH element and file name.
43847         * locale/programs/locfile.c (locfile_read): Likewise.
43849 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
43851         * nptl/pthread_mutexattr_settype.c
43852         (__pthread_mutexattr_settype):
43853         Disable lock elision for PTHREAD_MUTEX_NORMAL.
43855 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
43857         * nptl/tst-mutex5 (do_test):
43858         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
43860 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43862         * benchtests/README: Document 'init' directive.
43863         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
43864         BENCH_INIT.
43865         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
43866         (parse_file): Recognize 'init' directive.
43868 2014-05-26  Kyle McMartin  <kyle@redhat.com>
43870         [BZ #16796]
43871         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
43872         alignment of struct pthread.
43874 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43876         [BZ #16878]
43877         * nscd/netgroupcache.c (addgetnetgrentX): Look for
43878         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
43879         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
43880         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
43882 2014-05-25  Richard Henderson  <rth@twiddle.net>
43884         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
43885         (SINGLE_THREAD_P_PIC): Remove.
43886         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
43887         (SINGLE_THREAD_P_PIC): Remove.
43889         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
43890         branch to syscall error ...
43891         (PSEUDO): ... here.
43892         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
43893         from __local_syscall_error to .Lsyscall_error.
43894         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
43895         (SYSCALL_ERROR): Update label name.
43897         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
43898         Do not use DOARGS/UNDOARGS.
43899         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
43900         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
43901         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
43902         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
43903         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
43905         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
43906         block comment.
43908         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
43909         define if !NOT_IN_libc.
43910         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
43911         define with non-default symbol versions.
43913 2014-05-23  Richard Henderson  <rth@twiddle.net>
43915         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
43916         (vfork, __vfork): Define via compat_symbol.
43918         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
43919         [!HAVE_IFUNC] (vfork_compat): Remove.
43920         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
43922 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
43924         [BZ #16978]
43925         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
43926         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
43927         variable.
43929 2014-05-23  Richard Henderson  <rth@twiddle.net>
43931         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
43932         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
43933         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
43934         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
43936         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
43937         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
43938         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
43939         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
43940         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
43941         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
43942         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
43943         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
43944         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
43945         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
43946         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
43947         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
43948         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
43949         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
43950         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
43951         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
43952         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
43953         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
43954         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
43955         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
43956         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
43957         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
43958         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
43959         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
43960         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
43961         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
43962         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
43963         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
43964         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
43965         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
43966         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
43967         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
43968         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
43969         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
43970         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
43971         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
43972         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
43973         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
43974         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
43975         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
43976         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
43977         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
43978         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
43979         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
43980         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
43981         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
43982         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
43983         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
43984         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
43985         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
43986         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
43987         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
43988         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
43989         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
43990         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
43991         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
43993         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
43994         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
43995         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
43996         before exiting on error.
43997         (__libc_vfork): New strong alias.
43998         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
43999         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
44001         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
44002         that was previously under [RESET_PID].
44003         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
44005         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
44007 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
44009         [BZ #16977]
44010         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
44011         value when x - 1 is zero.
44012         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
44013         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
44014         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
44015         0.0L for an argument of 1.0L.
44016         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
44017         Likewise.
44018         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
44019         value when x - 1 is zero.
44020         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
44021         * sysdeps/i386/fpu/libm-test-ulps: Update.
44022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44024 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
44026         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
44027         alphasort and versionsort.
44029 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44031         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
44032         macro.
44033         [copysignf]: Likewise.
44035 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
44037         * crypt/md5-crypt.c: Fix formatting.
44039 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44041         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
44042         (b64_from_24bit): New function.
44044 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44046         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
44047         libc_hidden_builtin_def to ifunc.
44048         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
44049         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
44051 2014-05-21  Roland McGrath  <roland@hack.frob.com>
44053         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
44054         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
44056 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
44058         * nscd/Depend (linuxthreads): Remove.
44059         (nptl): Add.
44060         * resolv/Depend (linuxthreads): Remove.
44061         * rt/Depend (linuxthreads): Remove.
44063         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
44064         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
44065         $(common-objpfx)elf/.
44066         (link-libc-before-gnulib): Likewise.
44067         (elfobjdir): Remove variable.
44068         * Makefile (install): Use $(elf-objpfx) instead of
44069         $(common-objpfx)elf/.
44070         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
44071         $(elfobjdir)/.
44072         (link-libc-deps): Likewise.
44073         ($(common-objpfx)libc.so): Likewise.
44074         ($(common-objpfx)linkobj/libc.so): Likewise.
44075         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
44076         instead of $(common-objpfx)elf/.
44077         (symbolic-link-list): Likewise.
44078         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
44079         [$(cross-compiling) = no]: Likewise.
44080         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
44081         $(elfobjdir)/.
44082         (static-gnulib-arch): Likewise.
44083         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
44084         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
44085         $(common-objpfx)elf/.
44087 2014-05-21  Richard Henderson  <rth@redhat.com>
44089         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
44090         (SINGLE_THREAD_P): Use the correct width load.  Fold
44091         into the ldr offset.
44093         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
44094         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
44096 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
44098         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
44099         (libgcc_s_resume): Use __attribute_used__.
44100         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
44101         Likewise.
44103 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44105         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
44106         optimization when used with float constants.
44108         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44110 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
44112         [BZ #16915]
44113         * locale/nl_langinfo_l.c: Make direct reference to every
44114         _nl_current_CATEGORY symbol.
44115         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
44116         (tests-static): Add tst-langinfo-static.
44117         (tests-special): Add tst-langinfo-static.out.
44118         ($(objpfx)tst-langinfo.out): Redirect output.
44119         ($(objpfx)tst-langinfo-static.out): New.
44120         * localedata/tst-langinfo.sh: Send output to stdout.
44121         * localedata/tst-langinfo-static.c: New file.
44123         [BZ #16965]
44124         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
44125         when the shift amount is modulo the limb size.
44127 2014-05-20  Richard Henderson  <rth@redhat.com>
44129         [BZ #16967]
44130         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
44131         Change type of sa_flags from unsigned int to int.
44133         [BZ #16966]
44134         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
44136         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
44138 2014-05-20  Will Newton  <will.newton@linaro.org>
44140         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
44141         Test the return value of the system call in the nocancel case.
44143 2014-05-20  Will Newton  <will.newton@linaro.org>
44144             Yvan Roux  <yvan.roux@linaro.org>
44146         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
44147         #include of asm/ptrace.h.
44148         (PTRACE_GET_THREAD_AREA): Remove #undef.
44149         (PTRACE_GETHBPREGS): Likewise.
44150         (PTRACE_SETHBPREGS): Likewise.
44151         (struct user_regs_struct): New structure.
44152         (struct user_fpsimd_struct): New structure.
44153         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
44154         #include of asm/ptrace.h and second #include of sys/user.h.
44155         (PTRACE_GET_THREAD_AREA): Remove #undef.
44156         (PTRACE_GETHBPREGS): Likewise.
44157         (PTRACE_SETHBPREGS): Likewise.
44158         (ELF_NGREG): Use new struct user_regs_struct.
44159         (elf_fpregset_t): Use new struct user_fpsimd_struct.
44161 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44163         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
44164         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
44166 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
44168         [BZ #16958]
44169         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
44170         membar to avoid block loads/stores to overlap previous stores.
44172 2014-05-17  Richard Henderson  <rth@redhat.com>
44174         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
44175         Create the __##syscall_name##_nocancel entry point.
44176         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
44177         Remove; let the sysdep-cancel.h code create it.
44179 2014-05-17  David S. Miller  <davem@davemloft.net>
44181         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
44182         Protect with __USE_GNU.
44183         (TIOCSET_TEMPT): Likewise.
44184         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
44185         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
44186         these are already provided in bits/ioctl-types.h
44188 2014-05-16  Roland McGrath  <roland@hack.frob.com>
44190         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
44191         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
44193         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
44194         Use wait4 regardless of [__NR_waitpid].
44196 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
44198         PR libgcc/60166
44199         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
44200         (_FP_NANSIGN_Q): Set the quiet bit.
44202 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
44204         * benchtests/Makefile
44205         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
44206         not $(common-objpfx)math/libm.so.
44207         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
44208         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
44209         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
44210         $(common-objpfx)dlfcn/libdl.so.
44211         ($(objpfx)tst-audit8): Depend on $(libm), not
44212         $(common-objpfx)math/libm.so.
44213         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
44214         not $(common-objpfx)dlfcn/libdl.so.
44215         * math/Makefile
44216         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
44217         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
44218         [$(build-shared) = yes].
44219         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
44220         $(common-objpfx)nptl/libpthread.so.
44221         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
44222         $(common-objpfx)math/libm.so$(libm.so-version) or
44223         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
44224         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
44225         $(common-objpfx)dlfcn/libdl.so.
44226         * setjmp/Makefile (link-libm): Remove variable.
44227         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
44228         * stdio-common/Makefile (link-libm): Remove variable.
44229         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
44230         * stdlib/Makefile (link-libm): Remove variable.
44231         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
44232         ($(objpfx)tst-strtod-round): Likewise.
44233         ($(objpfx)tst-tininess): Likewise.
44234         ($(objpfx)tst-strtod-underflow): Likewise.
44235         ($(objpfx)tst-strtod6): Likewise.
44236         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
44237         $(libdl), not $(common-objpfx)nptl/libpthread.so and
44238         $(common-objpfx)dlfcn/libdl.so.
44240 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44242         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
44243         BSD terminal modes definitions.
44245 2014-05-16  Roland McGrath  <roland@hack.frob.com>
44247         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
44248         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
44250         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
44251         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
44252         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
44253         Don't do #include_next.
44254         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
44255         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
44256         Don't do #include_next.
44257         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
44258         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
44259         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
44260         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
44262 2014-05-16  Allan McRae  <allan@archlinux.org>
44264         * po/sv.po: Update Swedish translation from translation project.
44266         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
44267         in sed expression.
44269 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
44271         [BZ #16917]
44272         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
44273         errno if the TIOCGPTN ioctl fails with an error different than
44274         EINVAL.
44275         * login/tst-ptsname.c: New file.
44276         * login/Makefile (tests): Add tst-ptsname.
44278         [BZ #16943]
44279         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
44280         and prlimit64.
44282 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44284         [BZ #16849]
44285         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
44286         herrno to return EAI_AGAIN.
44288 2014-05-14  Roland McGrath  <roland@hack.frob.com>
44290         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
44291         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
44292         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
44293         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
44294         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
44295         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
44296         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
44297         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
44298         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
44299         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
44300         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
44301         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
44302         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
44303         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
44304         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
44305         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
44306         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
44307         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
44308         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
44309         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
44310         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
44311         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
44312         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
44313         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
44314         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
44315         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
44316         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
44317         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
44318         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
44319         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
44320         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
44321         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
44322         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
44323         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
44324         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
44325         Moved ...
44326         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
44327         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
44328         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
44329         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
44330         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
44331         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
44332         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
44333         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
44334         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
44335         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
44336         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
44337         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
44338         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
44339         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
44340         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
44341         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
44342         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
44343         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
44344         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
44345         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
44346         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
44347         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
44348         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
44349         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
44350         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
44351         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
44352         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
44353         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
44354         Moved ...
44355         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
44356         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
44357         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
44358         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
44359         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
44360         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
44361         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
44362         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
44363         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
44364         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
44365         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
44366         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
44367         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
44368         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
44369         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
44370         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
44371         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
44372         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
44373         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
44374         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
44375         Moved ...
44376         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
44377         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
44378         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
44380         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
44381         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
44382         (libpthread-sysdep_routines): Add elision-related stuff here instead.
44383         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
44384         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
44385         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
44386         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
44387         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
44388         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
44389         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
44390         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
44391         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
44392         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
44393         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
44394         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
44395         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
44396         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
44397         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
44398         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
44399         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
44400         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
44401         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
44402         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
44403         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
44404         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
44405         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
44406         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
44407         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
44408         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
44409         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
44410         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
44412         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
44413         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
44415         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
44416         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
44417         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
44418         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
44419         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
44420         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
44421         Moved ...
44422         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
44423         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
44424         Moved ...
44425         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
44426         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
44427         Moved ...
44428         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
44429         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
44430         Moved ...
44431         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
44432         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
44433         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
44434         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
44435         Moved ...
44436         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
44437         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
44438         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
44439         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
44440         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
44441         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
44442         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
44443         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
44444         Moved ...
44445         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
44446         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
44447         Moved ...
44448         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
44449         ... here.
44450         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
44451         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
44452         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
44453         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
44454         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
44455         Moved ...
44456         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
44457         ... here.
44458         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
44459         Moved ...
44460         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
44461         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
44462         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
44463         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
44464         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
44465         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
44466         Moved ...
44467         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
44468         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
44469         Moved ...
44470         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
44471         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
44472         Moved ...
44473         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
44474         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
44475         Moved ...
44476         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
44477         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
44478         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
44479         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
44480         Moved ...
44481         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
44482         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
44483         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
44484         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
44485         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
44486         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
44487         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
44488         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
44489         Moved ...
44490         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
44491         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
44492         Moved ...
44493         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
44494         ... here.
44495         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
44496         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
44497         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
44498         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
44499         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
44500         Moved ...
44501         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
44502         ... here.
44503         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
44504         Moved ...
44505         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
44506         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
44507         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
44508         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
44509         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
44510         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
44511         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
44512         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
44513         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
44514         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
44515         Moved ...
44516         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
44517         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
44518         Moved ...
44519         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
44520         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
44521         Moved ...
44522         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
44523         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
44524         Moved ...
44525         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
44526         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
44527         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
44528         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
44529         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
44530         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
44531         Moved ...
44532         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
44533         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
44534         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
44535         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
44536         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
44537         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
44538         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
44539         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
44540         Moved ...
44541         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
44542         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
44543         Moved ...
44544         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
44545         ... here.
44546         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
44547         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
44548         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
44549         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
44550         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
44551         Moved ...
44552         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
44553         ... here.
44554         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
44555         Moved ...
44556         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
44557         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
44558         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
44559         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
44560         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
44561         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
44562         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
44563         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
44564         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
44565         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
44566         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
44568         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
44569         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
44571         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
44572         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
44574         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
44575         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
44576         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
44577         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
44578         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
44579         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
44580         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
44581         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
44582         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
44583         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
44584         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
44585         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
44586         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
44587         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
44588         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
44589         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
44590         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
44591         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
44592         Moved ...
44593         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
44594         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
44595         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
44596         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
44597         Moved ...
44598         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
44599         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
44600         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
44601         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
44602         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
44603         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
44604         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
44605         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
44606         Moved ...
44607         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
44608         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
44609         Moved ...
44610         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
44611         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
44612         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
44613         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
44614         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
44615         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
44616         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
44617         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
44618         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
44619         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
44620         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
44621         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
44622         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
44623         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
44624         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
44625         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
44626         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
44628         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
44629         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
44630         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
44631         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
44632         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
44634         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
44635         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
44636         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
44637         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
44638         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
44639         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
44640         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
44641         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
44642         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
44643         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
44645         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
44646         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
44648         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
44649         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
44650         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
44651         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
44652         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
44653         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
44654         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
44655         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
44656         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
44657         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
44658         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
44659         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
44660         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
44661         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
44662         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
44663         Update #include.
44664         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
44665         Likewise.
44666         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
44667         Likewise.
44668         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
44669         Likewise.
44670         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
44671         Likewise.
44672         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
44673         Likewise.
44674         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
44675         Likewise.
44676         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
44677         Likewise.
44678         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
44679         Likewise.
44680         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
44681         Likewise.
44682         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
44683         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
44684         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
44685         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
44686         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
44687         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
44688         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
44689         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
44690         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
44691         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
44692         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
44693         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
44694         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
44695         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
44696         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
44698         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
44699         that was previously under [RESET_PID].
44700         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
44701         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
44702         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
44704         * sysdeps/i386/nptl/Implies: New file.
44705         * sysdeps/x86_64/nptl/Implies: New file.
44706         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
44707         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
44708         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
44709         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
44711         * sysdeps/unix/sysv/linux/i386/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         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
44715         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
44717         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
44718         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
44719         (__libc_vfork): New strong alias.
44720         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
44721         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
44723         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
44724         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
44725         (__libc_vfork): New strong alias.
44726         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
44727         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
44728         * nptl/pt-vfork.c: New file.
44729         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
44730         (libpthread: GLIBC_2.20): New version set (empty).
44732 2014-05-14  Will Newton  <will.newton@linaro.org>
44734         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
44735         rather than #if.
44737 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
44739         [BZ #16564]
44740         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
44741         arguments with exponent 65 or above.
44742         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
44743         arguments 0x1p113L or above.
44744         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
44745         to arguments 0x1p107L or above.
44746         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
44747         positive arguments with exponent 65 or above.
44748         * math/auto-libm-test-in: Add more tests of log1p.
44749         * math/auto-libm-test-out: Regenerated.
44751         [BZ #16928]
44752         * math/s_cacos.c (__cacos): Ensure zero real part of result from
44753         non-finite arguments is +0.
44754         * math/s_cacosf.c (__cacosf): Likewise.
44755         * math/s_cacosl.c (__cacosl): Likewise.
44756         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
44757         * sysdeps/i386/fpu/libm-test-ulps: Update.
44758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44760         [BZ #16927]
44761         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
44762         value.
44763         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
44764         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
44765         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
44766         for explicit high bit of mantissa when testing for argument equal
44767         to 1.
44768         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
44769         * sysdeps/i386/fpu/libm-test-ulps: Update.
44770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44772         [BZ #16516]
44773         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
44774         (__erf): Scale by 16 instead of 8 in potentially underflowing
44775         case.  Ensure exception if result actually underflows.
44776         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
44777         (__erff): Scale by 16 instead of 8 in potentially underflowing
44778         case.  Ensure exception if result actually underflows.
44779         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
44780         (efx8): Remove variable.
44781         (__erfl): Scale by 16 instead of 8 in potentially underflowing
44782         case.  Ensure exception if result actually underflows.
44783         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
44784         (efx8): Remove variable.
44785         (__erfl): Scale by 16 instead of 8 in potentially underflowing
44786         case.  Ensure exception if result actually underflows.
44787         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
44788         (efx8): Remove variable.
44789         (__erfl): Scale by 16 instead of 8 in potentially underflowing
44790         case.  Ensure exception if result actually underflows.
44791         * math/auto-libm-test-in: Add more tests of erf.
44792         * math/auto-libm-test-out: Regenerated.
44794 2014-05-14  Andreas Schwab  <schwab@suse.de>
44796         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
44797         Remove code conditionalized on USE___THREAD.
44799         * config.h.in (HAVE_PT_CHOWN): Define as 0.
44800         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
44801         not definedness.
44803 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
44805         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
44806         Define unconditionally.
44807         (__ASSUME_O_CLOEXEC): Likewise.
44808         (__ASSUME_SOCK_CLOEXEC): Likewise.
44809         (__ASSUME_IN_NONBLOCK): Likewise.
44810         (__ASSUME_PIPE2): Likewise.
44811         (__ASSUME_EVENTFD2): Likewise.
44812         (__ASSUME_SIGNALFD4): Likewise.
44813         (__ASSUME_DUP3): Likewise.
44814         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
44815         (__ASSUME_DUP3): Do not define.
44816         (__ASSUME_EVENTFD2): Likewise.
44817         (__ASSUME_IN_NONBLOCK): Likewise.
44818         (__ASSUME_O_CLOEXEC): Likewise.
44819         (__ASSUME_PIPE2): Likewise.
44820         (__ASSUME_SIGNALFD4): Likewise.
44821         (__ASSUME_SOCK_CLOEXEC): Likewise.
44822         (__ASSUME_UTIMES): Undefine.
44823         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
44824         (__ASSUME_UTIMES): Do not define.
44825         (__ASSUME_O_CLOEXEC): Likewise.
44826         (__ASSUME_SOCK_CLOEXEC): Likewise.
44827         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
44828         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
44829         0x020621].
44830         (__ASSUME_PIPE2): Likewise.
44831         (__ASSUME_EVENTFD2): Likewise.
44832         (__ASSUME_SIGNALFD4): Likewise.
44833         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
44834         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
44835         Do not define.
44836         (__ASSUME_EVENTFD2): Likewise.
44837         (__ASSUME_SIGNALFD4): Likewise.
44838         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
44839         (__ASSUME_32BITUIDS): Likewise.
44840         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
44841         (__ASSUME_IPC64): Likewise.
44842         (__ASSUME_ST_INO_64_BIT): Likewise.
44843         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
44844         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
44845         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
44846         (__ASSUME_UTIMES): Do not define.
44847         (__ASSUME_PSELECT): Likewise.
44848         (__ASSUME_PPOLL): Likewise.
44849         (__ASSUME_O_CLOEXEC): Likewise.
44850         (__ASSUME_SOCK_CLOEXEC): Likewise.
44851         (__ASSUME_IN_NONBLOCK): Likewise.
44852         (__ASSUME_PIPE2): Likewise.
44853         (__ASSUME_EVENTFD2): Likewise.
44854         (__ASSUME_SIGNALFD4): Likewise.
44855         (__ASSUME_DUP3): Likewise.
44856         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
44857         (__ASSUME_UTIMES): Likewise.
44858         (__ASSUME_O_CLOEXEC): Likewise.
44859         (__ASSUME_SOCK_CLOEXEC): Likewise.
44860         (__ASSUME_IN_NONBLOCK): Likewise.
44861         (__ASSUME_PIPE2): Likewise.
44862         (__ASSUME_EVENTFD2): Likewise.
44863         (__ASSUME_SIGNALFD4): Likewise.
44864         (__ASSUME_DUP3): Likewise.
44865         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44866         (__ASSUME_UTIMES): Likewise.
44867         (__ASSUME_O_CLOEXEC): Likewise.
44868         (__ASSUME_SOCK_CLOEXEC): Likewise.
44869         (__ASSUME_IN_NONBLOCK): Likewise.
44870         (__ASSUME_PIPE2): Likewise.
44871         (__ASSUME_EVENTFD2): Likewise.
44872         (__ASSUME_SIGNALFD4): Likewise.
44873         (__ASSUME_DUP3): Likewise.
44874         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
44875         Likewise.
44876         (__ASSUME_UTIMES): Likewise.
44877         (__ASSUME_EVENTFD2): Likewise.
44878         (__ASSUME_SIGNALFD4): Likewise.
44879         * sysdeps/unix/sysv/linux/tile/kernel-features.h
44880         (__ASSUME_O_CLOEXEC): Likewise.
44881         (__ASSUME_SOCK_CLOEXEC): Likewise.
44882         (__ASSUME_IN_NONBLOCK): Likewise.
44883         (__ASSUME_PIPE2): Likewise.
44884         (__ASSUME_EVENTFD2): Likewise.
44885         (__ASSUME_SIGNALFD4): Likewise.
44886         (__ASSUME_DUP3): Likewise.
44887         (__ASSUME_UTIMES): Undefine.
44889         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
44890         feclearexcept.  Remove symbol versioning code.
44891         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
44892         symbol versioning code.
44893         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
44894         symbol versioning code.
44895         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
44896         feupdateenv.  Remove symbol versioning code.
44897         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
44898         fegetexceptflag.  Remove symbol versioning code.
44899         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
44900         fesetexceptflag.  Remove symbol versioning code.
44901         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
44902         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
44903         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
44904         (__posix_fadvise64_l32): Remove prototype.
44905         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
44906         code.
44908 2014-05-13  Roland McGrath  <roland@hack.frob.com>
44910         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
44911         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
44912         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
44913         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
44915 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
44917         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
44918         current working directory
44920 2014-05-13  Roland McGrath  <roland@hack.frob.com>
44922         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
44923         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
44924         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
44925         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
44926         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
44927         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
44928         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
44929         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
44930         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
44931         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
44932         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
44933         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
44934         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
44935         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
44936         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
44937         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
44938         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
44939         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
44940         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
44941         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
44942         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
44943         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
44944         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
44945         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
44946         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
44947         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
44948         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
44949         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
44950         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
44951         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
44952         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
44953         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
44954         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
44955         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
44956         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
44957         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
44958         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
44959         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
44960         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
44961         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
44962         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
44963         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
44965         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
44966         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
44968         * sysdeps/unix/sysv/linux/arm/Makefile
44969         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
44970         Add rt-aeabi_unwind_cpp_pr1.
44971         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
44972         Add nptl-aeabi_unwind_cpp_pr1.
44973         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
44974         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
44975         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
44976         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
44977         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
44978         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
44980         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
44981         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
44982         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
44983         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
44985         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
44986         Deconditionalize the code that was previously under [RESET_PID].
44987         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
44989         * sysdeps/generic/exit-thread.h: New file.
44990         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
44991         * include/unistd.h (__exit_thread): Remove declaration.
44992         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
44993         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
44994         * csu/libc-start.c: Include <exit-thread.h>.
44995         (LIBC_START_MAIN): Pass no argument to __exit_thread.
44996         * nptl/pthread_create.c: Include <exit-thread.h>.
44997         (start_thread): Call __exit_thread in place of __exit_thread_inline.
44998         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
44999         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
45000         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
45001         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
45002         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
45003         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
45004         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
45005         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
45006         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
45007         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
45008         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
45009         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
45010         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
45011         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
45012         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
45013         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
45015 2014-05-13  Andreas Schwab  <schwab@suse.de>
45017         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
45019 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
45021         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
45022         (__ASSUME_UTIMES): Do not condition on kernel version.
45023         (__ASSUME_PSELECT): Define unconditionally.
45024         (__ASSUME_PPOLL): Likewise.
45025         (__ASSUME_ATFCTS): Likewise.
45026         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
45027         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
45028         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
45029         (__ASSUME_UTIMENSAT): Define unconditionally.
45030         (__ASSUME_PRIVATE_FUTEX): Likewise.
45031         (__ASSUME_FALLOCATE): Likewise.
45032         (__ASSUME_O_CLOEXEC): Likewise.
45033         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
45034         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
45035         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
45036         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
45037         (__ASSUME_IN_NONBLOCK): Likewise.
45038         (__ASSUME_PIPE2): Likewise.
45039         (__ASSUME_EVENTFD2): Likewise.
45040         (__ASSUME_SIGNALFD4): Likewise.
45041         (__ASSUME_DUP3): Likewise.
45042         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
45043         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
45044         (__ASSUME_AT_RANDOM): Likewise.
45045         (__ASSUME_PREADV): Likewise.
45046         (__ASSUME_PWRITEV): Likewise.
45047         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
45048         (__ASSUME_F_GETOWN_EX): Define unconditionally.
45049         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
45050         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
45051         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
45052         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45053         (__ASSUME_O_CLOEXEC): Define unconditionally.
45054         (__ASSUME_PSELECT): Do not undefine conditionally.
45055         (__ASSUME_PPOLL): Likewise.
45056         (__ASSUME_ATFCTS): Likewise.
45057         (__ASSUME_SET_ROBUST_LIST): Likewise.
45058         (__ASSUME_UTIMENSAT): Likewise.
45059         (__ASSUME_FDATASYNC): Define unconditionally.
45060         * sysdeps/unix/sysv/linux/arm/kernel-features.h
45061         (__ASSUME_SIGFRAME_V2): Likewise.
45062         )__ASSUME_EVENTFD2): Likewise.
45063         (__ASSUME_SIGNALFD4): Likewise.
45064         (__ASSUME_PSELECT): Do not undefine conditionally.
45065         (__ASSUME_PPOLL): Likewise.
45066         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45067         (__ASSUME_PSELECT): Define unconditionally.
45068         (__ASSUME_PPOLL): Likewise.
45069         (__ASSUME_O_CLOEXEC): Likewise.
45070         (__ASSUME_SOCK_CLOEXEC): Likewise.
45071         (__ASSUME_IN_NONBLOCK): Likewise.
45072         (__ASSUME_PIPE2): Likewise.
45073         (__ASSUME_EVENTFD2): Likewise.
45074         (__ASSUME_SIGNALFD4): Likewise.
45075         (__ASSUME_DUP3): Likewise.
45076         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
45077         (__ASSUME_O_CLOEXEC): Likewise.
45078         (__ASSUME_SOCK_CLOEXEC): Likewise.
45079         (__ASSUME_IN_NONBLOCK): Likewise.
45080         (__ASSUME_PIPE2): Likewise.
45081         (__ASSUME_EVENTFD2): Likewise.
45082         (__ASSUME_SIGNALFD4): Likewise.
45083         (__ASSUME_DUP3): Likewise.
45084         * sysdeps/unix/sysv/linux/mips/kernel-features.h
45085         (__ASSUME_EVENTFD2): Likewise.
45086         (__ASSUME_SIGNALFD4): Likewise.
45087         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
45089 2014-05-12  Andreas Schwab  <schwab@suse.de>
45091         [BZ #16932]
45092         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
45093         (_nss_nis_gethostbyname4_r): Return error if item length is larger
45094         than maximum RPC packet size.
45095         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
45096         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
45097         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
45098         (_nss_nis_getservbyport_r): Likewise.
45100 2014-05-12  Will Newton  <will.newton@linaro.org>
45102         * malloc/Makefile (tests): Add tst-mallopt.
45103         * malloc/tst-mallopt.c: New file.
45105 2014-05-09  Roland McGrath  <roland@hack.frob.com>
45107         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
45108         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
45110 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45112         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
45113         (tst-tlsmod6.so): Likewise.
45115 2014-05-09  Roland McGrath  <roland@hack.frob.com>
45117         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
45119 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
45121         [BZ #16064]
45122         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
45123         and <dl-procinfo.h>.
45124         (__fegetenv): Save SSE state in envp->__eip if supported.
45125         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
45126         envp->__eip if supported.
45127         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
45128         and <dl-procinfo.h>.
45129         (__fesetenv): Always set __eip, __cs_selector, __opcode,
45130         __data_offset and __data_selector in environment to 0.  Set SSE
45131         state if supported.
45132         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
45133         test-fenv-sse.
45134         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
45135         -mfpmath=sse.
45136         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
45138 2014-05-09  Will Newton  <will.newton@linaro.org>
45140         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
45141         and libc_relro_required for ARM.
45142         * sysdeps/arm/preconfigure: Regenerate.
45144 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
45145             Stefan Liebler  <stli@linux.vnet.ibm.com>
45147         * config.make.in (enable-lock-elision): New Makefile variable.
45148         * configure.ac: Likewise.
45149         * configure: Regenerate.
45150         * sysdeps/s390/configure.ac:
45151         Add check for gcc transactions support.
45152         * sysdeps/s390/configure: Regenerate.
45153         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
45154         Build elision files if enabled.
45155         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
45156         Add lock elision support for s390.
45157         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
45158         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
45159         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
45160         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
45161         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
45162         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
45163         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
45164         Likewise.
45165         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
45166         Likewise.
45167         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
45168         Likewise.
45169         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
45170         Likewise.
45171         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
45172         (__lll_timedlock_elision, __lll_lock_elision)
45173         (__lll_unlock_elision, __lll_trylock_elision)
45174         (lll_timedlock_elision, lll_lock_elision)
45175         (lll_unlock_elision, lll_trylock_elision): Add.
45176         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
45177         (pthread_mutex_t): Add lock elision support for s390.
45179 2014-05-14  Wilco  <wdijkstr@arm.com>
45181         * sysdeps/arm/fclrexcpt.c: Cleanup.
45182         * sysdeps/arm/fedisblxcpt.c: Cleanup.
45183         * sysdeps/arm/feenablxcpt.c: Cleanup.
45184         * sysdeps/arm/fegetenv.c: Cleanup.
45185         * sysdeps/arm/fegetexcept.c: Cleanup.
45186         * sysdeps/arm/fegetround.c: Cleanup.
45187         * sysdeps/arm/feholdexcpt.c: Cleanup.
45188         * sysdeps/arm/fesetenv.c: Cleanup.
45189         * sysdeps/arm/fesetround.c: Cleanup.
45190         * sysdeps/arm/feupdateenv.c: Cleanup.
45191         * sysdeps/arm/fgetexcptflg.c: Cleanup.
45192         * sysdeps/arm/fraiseexcpt.c: Cleanup.
45193         * sysdeps/arm/fsetexcptflg.c: Cleanup.
45194         * sysdeps/arm/ftestexcept.c: Cleanup.
45195         * sysdeps/arm/get-rounding-mode.h: Cleanup.
45196         * sysdeps/arm/setfpucw.c: Cleanup.
45198 2014-05-09  Will Newton  <will.newton@linaro.org>
45200         * sysdeps/arm/armv7/strcmp.S: New file.
45201         * NEWS: Mention addition of ARMv7 optimized strcmp.
45203 2014-05-08  Roland McGrath  <roland@hack.frob.com>
45205         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
45206         look for %.ac rather than %.in.
45208         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
45209         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
45210         * sysdeps/mach/hurd/configure: Regenerated.
45211         * sysdeps/unix/sysv/linux/configure: Regenerated.
45213         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
45215 2014-05-07  Steve Ellcey  <sellcey@mips.com>
45217         [BZ# 16922]
45218         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
45219         (LONG_SUB): Ditto.
45220         (PTR_SUB): Ditto.
45222 2014-05-07  Andreas Schwab  <schwab@suse.de>
45224         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
45225         when skipping over non-matching result from nscd.
45227 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
45229         [BZ #16876]
45230         * nptl/sockperf.c (client): Check socket return value.
45232         [BZ #16877]
45233         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
45234         nscd security class.
45236 2014-05-06  Roland McGrath  <roland@hack.frob.com>
45238         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
45239         * sysdeps/arm/unwind.h: ... here.
45241 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
45243         [BZ# 16916]
45244         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
45245         Define.
45247 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
45249         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
45250         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
45251         multiarch strncpy for PPC64.
45252         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
45253         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
45254         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
45255         multiarch optimizations.
45256         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45257         (__libc_ifunc_impl_list): Likewise.
45258         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
45259         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
45260         multiarch stpncpy for PPC64.
45261         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
45262         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
45264 2014-05-06  Andreas Schwab  <schwab@suse.de>
45266         [BZ #16912]
45267         * gmon/mcount.c (_MCOUNT_DECL): Use
45268         atomic_compare_and_exchange_bool_acq instead of
45269         catomic_compare_and_exchange_bool_acq.
45271 2014-05-05  Roland McGrath  <roland@hack.frob.com>
45273         * elf/Makefile (others, install-bin): Remove pldd.
45274         (pldd-modules): Variable removed.
45275         ($(objpfx)pldd): Target removed.
45276         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
45277         (others, install-bin): Append pldd here.
45278         ($(objpfx)pldd): New target.
45280         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
45281         to 0, so the first #if test emitted later doesn't see it undefined.
45282         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
45283         * sysdeps/gnu/errlist.c: Regenerated.
45285 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45287         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
45288         [libc_hidden_builtin_def]: Define to empty value.
45289         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
45290         [libc_hidden_builtin_def]: Likewise.
45291         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
45292         [libc_hidden_builtin_def]: Likewise.
45293         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
45294         [libc_hidden_builtin_def]: Likewise.
45295         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
45296         __redirect_memcpy and define ifunc as default hidden symbol.
45297         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
45298         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
45300 2014-05-04  Adam Conrad  <adconrad@0c3.net>
45302         * locale/iso-4217.def: Reintroduce XDR currency.
45304 2014-05-04  Allan McRae  <allan@archlinux.org>
45306         * po/eo.po: Update Esperanto translation from translation project.
45308 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
45310         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
45311         and FEATURE_INDEX_MAX to 1.
45312         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
45314 2014-05-01  Steve Ellcey  <sellcey@mips.com>
45316         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
45317         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
45318         * iconvdata/big5.c (ONE_DIRECTION): Define.
45319         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
45320         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
45321         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
45322         * iconvdata/cp932.c (ONE_DIRECTION): Define.
45323         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
45324         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
45325         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
45326         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
45327         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
45328         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
45329         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
45330         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
45331         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
45332         * iconvdata/gbk.c (ONE_DIRECTION): Define.
45333         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
45334         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
45335         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
45336         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
45337         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
45338         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
45339         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
45340         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
45341         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
45342         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
45343         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
45344         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
45345         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
45346         * iconvdata/iso646.c (ONE_DIRECTION): Define.
45347         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
45348         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
45349         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
45350         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
45351         * iconvdata/johab.c (ONE_DIRECTION): Define.
45352         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
45353         * iconvdata/sjis.c (ONE_DIRECTION): Define.
45354         * iconvdata/t.61.c (ONE_DIRECTION): Define.
45355         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
45356         * iconvdata/tscii.c (ONE_DIRECTION): Define.
45357         * iconvdata/uhc.c (ONE_DIRECTION): Define.
45358         * iconvdata/unicode.c (ONE_DIRECTION): Define.
45359         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
45360         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
45361         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
45363 2014-05-01  Roland McGrath  <roland@hack.frob.com>
45365         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
45366         (_IO_JUMPS_OFFSET): Define to 0.
45368         * nptl/sysdeps/pthread/bits/libc-lock.h
45369         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
45370         (__libc_lock_define_initialized_recursive): Always define using
45371         initializer.  Modern compilers treat uninitialized (implicit zero) and
45372         explicit zero initializers the same (i.e. put the datum in bss).
45374 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
45376         * nscd/nscd-client.h: Include <string.h>.
45378 2014-05-01  David S. Miller  <davem@davemloft.net>
45380         [BZ #16885]
45381         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
45382         multiple zero bytes exist at the end of a string.
45383         Reported by Aurelien Jarno <aurelien@aurel32.net>
45385         * string/test-strcmp.c (check): Add explicit test for situations where
45386         there are multiple zero bytes after the first.
45388 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
45390         [BZ #16890]
45391         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
45392         when compiling wprintf.
45393         * stdio-common/tstdiomisc.c (t3): New function.
45394         (main): Call it.
45396 2014-05-01  Steve Ellcey  <sellcey@mips.com>
45398         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
45399         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
45400         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
45401         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
45403 2014-05-01  Steve Ellcey  <sellcey@mips.com>
45405         * stdlib/longlong.h: Updated from GCC.
45407 2014-05-01  Will Newton  <will.newton@linaro.org>
45408             Bernard Ogden  <bernie.ogden@linaro.org>
45410         * NEWS: Update fixed bug list.
45412         [BZ #15119]
45413         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
45415 2014-04-30  David S. Miller  <davem@davemloft.net>
45417         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
45418         (libc_feholdexcept_setround_sparc_ctx): New function.
45419         (libc_fesetenv_sparc_ctx): Likewise.
45420         (libc_feupdateenv_sparc_ctx): Likewise.
45421         (libc_feholdsetround_sparc_ctx): Likewise.
45422         (libc_feholdexcept_setround_ctx): Define.
45423         (libc_feholdexcept_setroundf_ctx): Likewise.
45424         (libc_feholdexcept_setroundl_ctx): Likewise.
45425         (libc_fesetenv_ctx): Likewise.
45426         (libc_fesetenvf_ctx): Likewise.
45427         (libc_fesetenvl_ctx): Likewise.
45428         (libc_feupdateenv_ctx): Likewise.
45429         (libc_feupdateenvf_ctx): Likewise.
45430         (libc_feupdateenvl_ctx): Likewise.
45431         (libc_feresetround_ctx): Likewise.
45432         (libc_feresetroundf_ctx): Likewise.
45433         (libc_feresetroundl_ctx): Likewise.
45434         (libc_feholdsetround_ctx): Likewise.
45435         (libc_feholdsetroundf_ctx): Likewise.
45436         (libc_feholdsetroundl_ctx): Likewise.
45438         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
45439         with __USE_GNU instead of XOPEN cpp guards.
45441         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
45442         0.
45444         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
45445         with XOPEN cpp guards.
45447 2014-04-30  Julian Brown  <julian@codesourcery.com>
45449         [BZ #16888]
45450         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
45451         handling.
45453 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
45455         [BZ #9894]
45456         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
45457         Change to 2.6.32.
45458         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
45459         * sysdeps/unix/sysv/linux/configure: Regenerated.
45460         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
45461         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
45462         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
45463         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
45464         * README: Update reference to required Linux kernel version.
45465         * manual/install.texi (Linux): Update reference to required Linux
45466         kernel headers version.
45467         * INSTALL: Regenerated.
45469         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
45470         header inclusion.
45471         [POSIX] (limits.h): Likewise.
45472         [POSIX] (math.h): Likewise.
45473         [POSIX] (sys/wait.h): Likewise.
45474         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
45475         function.
45476         [POSIX] (stddef.h): Do not allow header inclusion.
45478 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45480         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
45482 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
45484         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
45485         Return immediately after lll_futex_wake.
45487 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45489         [BZ #16791]
45490         * nscd/nscd-client.h (datahead_init_common): Initialize entire
45491         structure.
45492         (datahead_init_pos): Call datahead_init_common early.
45493         (datahead_init_neg): Likewise.
45495         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
45496         datahead_init_neg): New functions.
45497         * nscd/aicache.c (addhstaiX): Use them.
45498         * nscd/grpcache.c (cache_addgr): Likewise.
45499         * nscd/hstcache.c (cache_addhst): Likewise.
45500         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45501         * nscd/netgroupcache.c (do_notfound): Likewise.
45502         (addgetnetgrentX): Likewise.
45503         (addinnetgrX): Likewise.
45504         * nscd/pwdcache.c (cache_addpw): Likewise.
45505         * nscd/servicescache.c (cache_addserv): Likewise.
45507 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45508             Atsushi Onoe  <atsushi@onoe.org>
45510         [BZ #14308]
45511         [BZ #12994]
45512         [BZ #13651]
45513         * resolv/res_query.c (__libc_res_nsearch): Return if at least
45514         one response is valid.
45515         * resolv/res_send.c (send_dg): Check for validity of other
45516         response if the current response is a referral.
45518 2014-04-29  Steve Ellcey  <sellcey@mips.com>
45520         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
45522 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
45524         [BZ #16823]
45525         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
45526         Always divide by positive zero when computing -Inf result.
45527         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
45528         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
45530 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45532         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
45533         FPSCR if value do not change.
45534         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
45535         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
45536         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
45537         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
45538         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
45539         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
45540         function.
45542 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
45544         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
45545         * sysdeps/unix/sysv/linux/hppa: Move directory from
45546         ports/systeps/unix/sysv/linux/hppa.
45547         * README: Update listing for hppa-*-linux-gnu.
45549 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
45551         [BZ #16754]
45552         * manual/stdio.texi (Hook functions): Fix types of stream hook
45553         functions.
45554         [BZ #16854]
45555         * socket/sys/socket.h: Fix typo in comment.
45557 2014-04-28  Wilco  <wdijkstr@arm.com>
45559         * sysdeps/arm/fenv_private.h: New file.
45560         * sysdeps/arm/math_private.h: New file.
45561         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
45563 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
45565         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
45566         with __int128_t.
45567         (La_x86_64_retval): Likewise.
45569 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
45571         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
45572         fpsr if value didn't change.
45573         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
45574         to fpcr if value didn't change.
45575         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
45576         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
45577         fpsr or fpcr if value didn't change.
45578         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
45579         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
45580         fpcr if value didn't change.
45581         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
45582         to fpsr if value didn't change.
45584 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
45586         * nptl/tst-sem3.c: Use test-skeleton.c
45587         (main): Rename to do_test.  Use return instead of
45588         exit.
45589         * nptl/tst-sem4.c: Use test-skeleton.c
45590         (main): Rename to do_test.
45592 2014-04-22  David S. Miller  <davem@davemloft.net>
45594         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
45595         (struct sigaction): New struct member __glibc_reserved0, change
45596         type of sa_flags to int.
45598 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
45600         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
45601         (COUNT_LEADING_ZEROS_0): Define for AArch64.
45603 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45605         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
45606         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
45608 2014-04-22  Will Newton  <will.newton@linaro.org>
45609             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
45611         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
45612         (__longjmp): Add longjmp and longjmp_target SystemTap
45613         probes.
45614         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
45615         (__sigsetjmp): Add setjmp SystemTap probe.
45617 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
45619         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
45620         match manual order.
45622 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45624         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
45626         * sysdeps/powerpc/fpu/fenv_private.h
45627         (libc_feholdexcept_setroundl_ctx): Define to
45628         libc_feholdexcept_setround_ppc_ctx.
45629         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
45630         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
45631         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
45632         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
45634 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
45636         * sysdeps/aarch64/math-tests.h: New file.
45638 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
45640         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
45641         New.
45642         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45643         Check and set bit_AVX2_Usable.
45644         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
45645         macro.
45646         (bit_AVX2): Likewise.
45647         (index_AVX2_Usable): Likewise.
45648         (CPUID_AVX2): Likewise.
45649         (HAS_AVX2): Likewise.
45651 2014-04-17  Will Newton  <will.newton@linaro.org>
45653         * manual/setjmp.texi (System V contexts): Add note that
45654         calling setcontext on a context created by a call to a
45655         signal handler is undefined.  Update text to note that
45656         setcontext from a signal handler is possible but not
45657         recommended.
45659         [BZ #16629]
45660         * stdlib/tst-setcontext.c: Include signal.h.
45661         (main): Check that the signal stack before and
45662         after swapcontext is the same.
45664         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
45665         Re-implement to restore registers in user code and avoid
45666         rt_sigreturn system call.
45668 2014-04-17  Wilco  <wdijkstr@arm.com>
45670         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
45671         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
45672         * math/test-fenv.c: Skip exception trap tests on targets which only
45673         support non-stop mode.
45675 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
45676             Wilco Dijkstra  <wilco.dijkstra@arm.com>
45678         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
45679         (libc_feholdsetround_aarch64_ctx)
45680         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
45681         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
45682         (libc_feresetround_ctx, libc_feresetroundf_ctx)
45683         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
45684         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
45685         (libc_feresetround_noexl_ctx): Define.
45687 2014-04-16  Richard Henderson  <rth@redhat.com>
45689         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
45691         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
45692         unwind tables.
45694         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
45695         const from the non-libc, non-ldso copy.
45697         * sysdeps/alpha/libm-test-ulps: Regenerate.
45699 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
45700             Wilco Dijkstra  <wilco.dijkstra@arm.com>
45702         * sysdeps/aarch64/fpu/math_private.h: New file.
45704 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
45706         * sysdeps/aarch64/libm-test-ulps: Regenerate.
45708 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
45710         [BZ #16275]
45711         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
45712         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
45713         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
45714         Intel MPX bound registers before _dl_profile_fixup.
45715         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
45716         registers after _dl_profile_fixup.  Save and restore bound
45717         registers bnd0/bnd1 when calling _dl_call_pltexit.
45718         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
45719         (LR_BND_OFFSET): Likewise.
45720         (LRV_BND0_OFFSET): Likewise.
45721         (LRV_BND1_OFFSET): Likewise.
45723 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45725         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
45726         to...
45727         * sysdeps/mach/hurd/i386/tls.h: ... here.
45728         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
45729         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
45730         fields.
45732 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45734         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
45736 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
45738         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45740 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
45742         [BZ #14770]
45743         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
45744         * sysdeps/s390/configure: Regenerate.
45746         [BZ #16824]
45747         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
45748         Set round-to-nearest internally to reduce error accumulation.
45750 2014-04-16  Alan Modra  <amodra@gmail.com>
45752         [BZ #16740]
45753         [BZ #16619]
45754         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
45755         * math/libm-test.inc (frexp_test_data): Add tests.
45756         * NEWS: Update fixed bug list.
45758 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45760         * benchtests/Makefile: Depend on libraries in build directory.
45761         (bench-math): Separate out math tests.
45762         (bench-pthread): Separate out pthread tests.
45763         (bench): Include math and pthread tests.
45765 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
45767         [BZ #16831]
45768         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
45769         _dl_debug_initialize.
45771         * configure.ac: Remove SELinux header check.
45772         * configure: Regenerate.
45773         * nscd/selinux.c (perms): Array of const char* to permission names.
45774         (nscd_request_avc_has_perm): Call security_deny_unknown to find
45775         default policy. Call string_to_security_class and string_to_av_perm to
45776         translate strings. Enforce default policy and call avs_has_perm with
45777         results of translated strings.
45779 2014-04-13  David S. Miller  <davem@davemloft.net>
45781         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45783 2014-04-12  Allan McRae  <allan@archlinux.org>
45785         [BZ #16838]
45786         * manual/string.texi (Collation Functions): Fix qsort argument
45787         order in example.
45788         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
45790 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
45792         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
45793         Make the test a no-op if there are no exceptions defined.
45795 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
45797         * elf/Makefile (tests): make tst-dlopen-aout conditional on
45798         enable-hardcoded-path-in-tests
45800 2014-04-11  Will Newton  <will.newton@linaro.org>
45802         * benchtests/Makefile (extra-objs): Add json-lib.o.
45803         (bench-func): Tidy up JSON output.
45804         * benchtests/bench-skeleton.c: Include json-lib.h.
45805         (main): Use JSON library functions to do output of
45806         benchmark results.
45807         * benchtests/bench-timing-type.c (main): Output the
45808         timing type simply, leaving formatting to the user.
45809         * benchtests/json-lib.c: New file.
45810         * benchtests/json-lib.h: Likewise.
45812 2014-04-11  Torvald Riegel  <triegel@redhat.com>
45814         [BZ #15215]
45815         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
45816         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
45817         memory barriers.  Add comments.
45818         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
45819         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
45820         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
45821         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
45822         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
45823         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
45825 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
45827         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
45828         * sysdeps/s390/s390-64/configure.ac: ... this ...
45829         * sysdeps/s390/configure.ac: ... to here.
45830         * sysdeps/s390/s390-32/configure: Delete file.
45831         * sysdeps/s390/s390-64/configure: Delete file.
45832         * sysdeps/s390/configure: Regenerate.
45834 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
45836         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
45838 2014-04-11  Will Newton  <will.newton@linaro.org>
45840         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
45841         to zero if it is not defined elsewhere.  (mtrim): Test
45842         the value of MALLOC_DEBUG with #if rather than #ifdef.
45844 2014-04-10 Torvald Riegel  <triegel@redhat.com>
45846         * benchtests/pthread_once-inputs: New file.
45847         * benchtests/pthread_once-source.c: New file.
45848         * benchtests/README: Update documentation.
45850 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
45851             H.J. Lu  <hongjiu.lu@intel.com>
45853         [BZ #16275]
45854         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
45855         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
45856         * sysdeps/x86_64/configure: Regenerated.
45857         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
45858         macro.
45859         (REGISTER_SAVE_RAX): Likewise.
45860         (REGISTER_SAVE_RCX): Likewise.
45861         (REGISTER_SAVE_RDX): Likewise.
45862         (REGISTER_SAVE_RSI): Likewise.
45863         (REGISTER_SAVE_RDI): Likewise.
45864         (REGISTER_SAVE_R8): Likewise.
45865         (REGISTER_SAVE_R9): Likewise.
45866         (REGISTER_SAVE_BND0): Likewise.
45867         (REGISTER_SAVE_BND1): Likewise.
45868         (REGISTER_SAVE_BND2): Likewise.
45869         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
45870         bound registers when calling _dl_fixup.
45872 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45874         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
45875         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
45876         of its definition.
45877         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
45878         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
45879         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
45880         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
45881         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
45882         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
45883         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
45885 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
45887         [BZ #15514]
45888         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
45889         pathconf(_PC_NAME_MAX).
45891 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45893         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
45894         Remove macro usage.
45895         (__PTHREAD_SPINS): Move definition to ...
45896         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
45897         (__PTHREAD_SPINS): ... here.
45898         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
45899         (__PTHREAD_SPIN): Likewise.
45900         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
45901         (__PTHREAD_SPIN): Likewise.
45902         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
45903         (__PTHREAD_SPIN): Likewise.
45904         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
45905         (__PTHREAD_SPIN): Likewise.
45906         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
45907         (__PTHREAD_SPIN): Likewise.
45908         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
45909         (__PTHREAD_SPIN): Likewise.
45910         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
45911         (__PTHREAD_SPIN): Likewise.
45912         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
45913         (__PTHREAD_SPIN): Likewise.
45914         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
45915         (__PTHREAD_SPIN): Likewise.
45916         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
45917         (__PTHREAD_SPIN): Likewise.
45918         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
45919         (__PTHREAD_SPIN): Likewise.
45920         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
45921         (__PTHREAD_SPIN): Likewise.
45923         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
45924         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
45925         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
45926         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
45927         imply folder.
45928         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
45929         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
45930         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
45931         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
45932         correct imply path.
45933         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
45934         strlen symbol for non multi-arch builds.
45935         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
45936         missing hidden_def and weak_alias.
45938 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
45940         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
45942 2014-04-07  Will Newton  <will.newton@linaro.org>
45944         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
45945         and contents.  [!_LIBC] Remove #ifndef and contents.
45946         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
45947         * string/memccpy.c (__memccpy): Use ANSI prototype.
45948         * string/memfrob.c (memfrob): Likewise.
45949         * string/strcoll.c (STRCOLL): Likewise.
45950         * string/strlen.c (strlen): Likewise.
45951         * string/strtok.c (STRTOK): Likewise.
45952         * string/strcat.c: Remove unused #include of memcopy.h.
45953         (strcat): Use ANSI prototype.
45954         * string/strchr.c: Remove unused #include of memcopy.h.
45955         (strchr): Use ANSI prototype.
45956         * string/strcmp.c: Remove unused #include of memcopy.h.
45957         (strcmp): Use ANSI prototype.
45958         * string/strcpy.c: Remove unused #include of memcopy.h.
45959         (strcpy): Use ANSI prototype.
45961 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45963         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
45964         * config.make.in (config-extra-cppflags): Set it from
45965         libc_extra_cppflags.
45966         * configure.ac (libc_extra_cflags): Make it accumulate over
45967         configure fragments.
45968         (libc_extra_cppflags): New flag.
45969         * configure. Regenerate.
45970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
45971         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
45972         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
45973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
45975         [BZ #16815]
45976         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
45977         result for FE_DOWNWARD rounding mode.
45978         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
45979         Likewise.
45980         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45982 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
45984         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
45985         in function argument name.
45987 2014-04-03  David Svoboda  <svoboda@cert.org>
45989         [BZ #5666]
45990         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
45991         explicitly.
45993 2014-04-03  Roland McGrath  <roland@hack.frob.com>
45995         * elf/dl-unmap-segments.h: New file.
45996         * sysdeps/generic/ldsodefs.h
45997         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
45998         * elf/dl-close.c: Include <dl-unmap-segments.h>.
45999         * elf/dl-fptr.c: Likewise.
46000         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
46001         * sysdeps/aarch64/tlsdesc.c: Likewise.
46002         * sysdeps/arm/tlsdesc.c: Likewise.
46003         * sysdeps/i386/tlsdesc.c: Likewise.
46004         * sysdeps/tile/dl-runtime.c: Likewise.
46005         * sysdeps/x86_64/tlsdesc.c: Likewise.
46006         * elf/dl-load.h: New file.
46007         * elf/dl-load.c: Include it.
46008         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
46009         Macros moved to dl-load.h.
46010         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
46011         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
46012         Use _dl_unmap_segments in place of __munmap.
46013         Break out segment-mapping loop into ...
46014         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
46016 2014-04-03  Will Newton  <will.newton@linaro.org>
46018         * elf/dl-lookup.c (do_lookup_x): Remove comment
46019         referring to nested function and move variable
46020         declarations down to before first use.
46022 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
46024         [BZ #16799]
46025         [BZ #16800]
46026         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
46027         with 0 numerator.
46028         * math/s_catanf.c (__catanf): Likewise.
46029         * math/s_catanh.c (__catanh): Likewise.
46030         * math/s_catanhf.c (__catanhf): Likewise.
46031         * math/s_catanhl.c (__catanhl): Likewise.
46032         * math/s_catanl.c (__catanl): Likewise.
46033         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
46034         by positive zero when computing -Inf result.
46035         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
46036         (catanh_test): Likewise.
46037         * sysdeps/i386/fpu/libm-test-ulps: Update.
46038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46040         [BZ #16789]
46041         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
46042         instead of using underflowing value in computing result.
46043         * math/s_clog10.c (__clog10): Likewise.
46044         * math/s_clog10f.c (__clog10f): Likewise.
46045         * math/s_clog10l.c (__clog10l): Likewise.
46046         * math/s_clogf.c (__clogf): Likewise.
46047         * math/s_clogl.c (__clogl): Likewise.
46048         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
46049         (clog10_test): Likewise.
46050         * sysdeps/i386/fpu/libm-test-ulps: Update.
46051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46053 2014-04-02  Alan Modra  <amodra@gmail.com>
46055         [BZ #16739]
46056         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
46057         output when value is near a power of two.  Use int64_t for lx and
46058         remove casts.  Use decimal rather than hex exponent constants.
46059         Don't use long double multiplication when double will suffice.
46060         * math/libm-test.inc (nextafter_test_data): Add tests.
46061         * NEWS: Add 16739 and 16786 to bug list.
46063         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
46065         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
46067 2014-04-01  Will Newton  <will.newton@linaro.org>
46069         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
46070         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
46072 2014-04-01  Florian Weimer  <fweimer@redhat.com>
46074         [BZ #13347]
46075         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
46076         * nptl/tst-setuid2.c: New file.
46077         * nptl/Makefile (xtests): Add tst-setuid2.
46079 2014-04-01  Alan Modra  <amodra@gmail.com>
46081         [BZ #16786]
46082         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
46084 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
46086         [BZ #6803]
46087         [BZ #6804]
46088         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
46089         set errno as appropriate.
46090         * math/w_scalbf.c (__scalbf): Likewise.
46091         * math/w_scalbl.c (__scalbl): Likewise.
46092         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
46093         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
46094         * math/libm-test.inc (scalb_test_data): Add errno expectations.
46095         Add more NaN tests.
46097         [BZ #16349]
46098         * math/w_atan2.c: Include <errno.h>.
46099         (__atan2): Set errno for result underflowing to zero.
46100         * math/w_atan2f.c: Include <errno.h>.
46101         (__atan2f): Set errno for result underflowing to zero.
46102         * math/w_atan2l.c: Include <errno.h>.
46103         (__atan2l): Set errno for result underflowing to zero.
46104         * math/auto-libm-test-in: Don't allow missing errno for some atan2
46105         tests.
46106         * math/auto-libm-test-out: Regenerated.
46108 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46110         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
46111         Encode instruction correctly in little endian.
46112         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
46113         Likewise.
46114         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
46115         Likewise.
46116         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
46117         Likewise.
46118         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
46119         Likewise.
46121 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
46123         [BZ #9894]
46124         * sysdeps/unix/sysv/linux/kernel-features.h
46125         [__sparc__ && !__arch64__ && !__sparc_v9__]
46126         (__ASSUME_SET_ROBUST_LIST): Do not define.
46127         [__sparc__ && !__arch64__ && !__sparc_v9__]
46128         (__ASSUME_FUTEX_LOCK_PI): Likewise.
46129         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
46130         Likewise.
46131         * sysdeps/unix/sysv/linux/arm/kernel-features.h
46132         (__ASSUME_FUTEX_LOCK_PI): Undefine.
46133         (__ASSUME_REQUEUE_PI): Likewise.
46134         (__ASSUME_SET_ROBUST_LIST): Likewise.
46135         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
46136         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
46137         Undefine.
46138         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46139         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
46140         Likewise.
46141         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
46142         Likewise.
46143         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
46144         Likewise.
46145         * sysdeps/unix/sysv/linux/mips/kernel-features.h
46146         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
46147         Undefine.
46148         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
46149         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
46150         Likewise.
46152         [BZ #16648]
46153         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46154         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
46155         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
46157 2014-03-31  Will Newton  <will.newton@linaro.org>
46159         * benchtests/Makefile (bench): Add ffs and ffsll to list
46160         of tests.
46161         * benchtests/ffs-inputs: New file.
46162         * benchtests/ffsll-inputs: Likewise.
46164 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
46166         [BZ #16770]
46167         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
46168         too large before casting to int.
46169         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
46170         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
46171         * math/libm-test.inc (scalb_test_data): Add more tests.
46173 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
46175         * benchtests/Makefile (DETAILED_OPT): New make option.
46176         (bench-func): Run benchmark program with -d if DETAILED_OPT is
46177         set.
46178         * benchtests/bench-skeleton.c: Include stdbool.h.
46179         (main): Store and print timings per input.
46180         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
46181         member to each argument value.
46182         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
46183         (_print_arg_data): Initialize per-input timing to 0.
46185         * benchtests/Makefile (timing-type): New binary.
46186         (bench-clean): Also remove bench-timing-type.
46187         (bench): New target for timing-type.
46188         (bench-func): Print output in JSON format.
46189         * benchtests/bench-skeleton.c (main): Print output in JSON
46190         format.
46191         * benchtests/bench-timing-type.c: New file.
46192         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
46193         (TIMING_PRINT_STATS): Remove.
46194         * benchtests/scripts/bench.py (_print_arg_data): Store variant
46195         name separately.
46197         * benchtests/bench-modf.c: Remove.
46198         * benchtests/modf-inputs: New inputs file.
46200 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
46202         [BZ #16362]
46203         * math/s_clog10.c (M_PI_LOG10E): New macro.
46204         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
46205         imaginary parts are 0.
46206         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
46207         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
46208         imaginary parts are 0.
46209         * math/s_clog10l.c (M_PI_LOG10El): New macro.
46210         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
46211         imaginary parts are 0.
46212         * math/libm-test.inc (clog10_test_data): Update expected results
46213         for when real and imaginary parts are 0.
46215 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
46217         * elf/dl-load.c: Finish conversion of __builtin_expect into
46218         __glibc_{un}likely.
46220 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
46222         [BZ #16348]
46223         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
46224         1+x for argument with exponent below -67.
46225         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
46226         Likewise.
46227         * math/auto-libm-test-in: Add more tests of exp.
46228         * math/auto-libm-test-out: Regenerated.
46230 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46232         [BZ #16759]
46233         * inet/getnetgrent_r.c (get_nonempty_val): New function.
46234         (nscd_getnetgrent): Use it.
46236         [BZ #16760]
46237         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
46238         of stpcpy.
46240 2014-03-27  Andi Kleen  <ak@linux.intel.com>
46242         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
46243         (lll_robust_lock, lll_cond_lock, lll_timedlock)
46244         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
46245         (lll_robust_unlock): Remove out of line section. Use cfi
46246         intrinsics.
46247         (LLL_STUB_UNWIND_INFO*): Remove.
46248         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
46249         (lll_robust_lock, lll_cond_lock, lll_timedlock)
46250         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
46251         (lll_robust_unlock): Remove out of line section. Use cfi
46252         intrinsics.
46253         (LLL_STUB_UNWIND_INFO*): Remove.
46255 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46257         [BZ #16758]
46258         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
46259         blank values.
46261 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
46263         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
46265 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
46267         [BZ #16198]
46268         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
46269         fnstenv.
46270         * math/test-fenv-preserve.c: New file.
46271         * math/Makefile (tests): Add test-fenv-preserve.
46273 2014-03-26  Will Newton <will.newton@linaro.org>
46275         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
46277 2014-03-25  Roland McGrath  <roland@hack.frob.com>
46279         * scripts/versionlist.awk: Partition the version sets and emit all
46280         GLIBC_* (sorted) before all others (sorted).
46282 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
46284         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
46285         GLIBC_2.2.5 version.
46287 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46289         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
46290         calls.
46292         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
46293         previous change.
46295         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46297 2014-03-25  Andreas Schwab  <schwab@suse.de>
46299         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
46300         label to be used after in6ailist is initialized.
46302 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46304         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
46305         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
46307 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
46309         [BZ #16357]
46310         [BZ #16599]
46311         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
46312         min_plus_half.
46313         (fp_formats): Update initializers.
46314         (init_fp_formats): Initialize new field.
46315         (output_for_one_input_case): Allow underflow for results up to
46316         min_plus_half.
46317         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
46318         * math/auto-libm-test-in: Don't mark some underflows from asin and
46319         atanh as spurious.
46320         * math/auto-libm-test-out: Regenerated.
46321         * sysdeps/i386/fpu/libm-test-ulps: Update.
46322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46324 2014-03-25  Andreas Schwab  <schwab@suse.de>
46326         * libio/Makefile (tst-ftell-partial-wide-ENV)
46327         (tst-ftell-active-handler-ENV): Define.
46329 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
46331         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
46333 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
46335         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
46337 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
46339         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
46340         * sysdeps/x86_64/fpu/multiarch/e_exp.c
46341         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
46343 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
46345         [BZ #16634]
46346         * elf/dl-load.c (open_verify): Add mode parameter.
46347         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
46348         (open_path): Change from boolean 'secure' to complete flag 'mode'
46349         (_dl_map_object): Adjust.
46350         * elf/Makefile (tests): Add tst-dlopen-aout.
46351         * elf/tst-dlopen-aout.c: New test.
46353 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
46355         [BZ #16714]
46356         * sysdeps/unix/sysv/linux/s390/bits/stat.h
46357         (struct stat): Rename member pad0 to __glibc_reserved0.
46359         [BZ #16712]
46360         * sysdeps/s390/s390-32/bits/wordsize.h
46361         (__WORDSIZE32_SIZE_ULONG): New define.
46362         * sysdeps/s390/s390-64/bits/wordsize.h
46363         (__WORDSIZE32_SIZE_ULONG): Likewise.
46364         * sysdeps/generic/stdint.h (SIZE_MAX):
46365         Define as UL if __WORDSIZE32_SIZE_ULONG.
46367         [BZ #16713]
46368         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
46369         (__glibc_reserved0): New variable.
46370         (sa_flags): Change type to int.
46372         * posix/Makefile (before-compile): Use += before-compile instead
46373         of a :=.
46375         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
46376         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
46378 2014-03-20  Andreas Schwab  <schwab@suse.de>
46380         [BZ #16743]
46381         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
46382         non-matching result from nscd.
46384 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
46386         * scripts/bench.py: Moved to ...
46387         * benchtests/scripts/bench.py: ... here.
46388         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
46390 2014-03-24  Andreas Schwab  <schwab@suse.de>
46392         [BZ #16002]
46393         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
46394         alloca_account and account alloca use for struct in6ailist.
46396 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
46398         [BZ #16284]
46399         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
46400         rounding mode to recompute results that overflow to infinity or
46401         underflow to zero.
46402         * math/auto-libm-test-in: Don't mark tests as expected to fail for
46403         bug 16284.
46404         * math/auto-libm-test-out: Regenerated.
46405         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
46406         (ccosh_test): Likewise.
46407         (csin_test_data): Use plus_oflow.
46408         (csin_test): Use ALL_RM_TEST.
46409         (csinh_test_data): Use plus_oflow.
46410         (csinh_test): Use ALL_RM_TEST.
46411         * sysdeps/i386/fpu/libm-test-ulps: Update.
46412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46414 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
46416         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
46417         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
46418         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
46420         [BZ #16731]
46421         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
46422         when x - 1 is zero.
46423         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
46424         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
46425         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
46426         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
46427         argument is 1.
46428         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
46429         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
46430         zero.
46431         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
46432         * sysdeps/i386/fpu/libm-test-ulps: Update.
46433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46435 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46437         * scripts/bench.pl: Remove file.
46438         * scripts/bench.py: New benchmark script.
46439         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
46440         * benchtests/README: Mention python dependency.
46441         * scripts/pylintrc: New file.
46442         * scripts/pylint: New file.
46444         * bits/mathdef.h: Use #ifdef instead of #if.
46445         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
46446         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
46447         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
46448         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
46449         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
46450         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
46452 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46453             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46455         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
46456         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
46457         and strpbrk-ppc64 objects.
46458         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46459         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
46460         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
46461         multiarch strpbrk for POWER7.
46462         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
46463         multiarch strpbrk for PPC64.
46464         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
46465         ifunc selector.
46466         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
46467         strpbrk for POWER7.
46469 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
46471         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
46472         (atan_test): Likewise.
46473         (atanh_test_data): Use NO_TEST_INLINE for two tests.
46474         (atanh_test): Use ALL_RM_TEST.
46475         (atan2_test_data): Likewise.
46476         (cabs_test): Likewise.
46477         (cacosh_test): Likewise.
46478         (carg_test): Likewise.
46479         (casin_test): Likewise.
46480         (casinh_test): Likewise.
46481         (cbrt_test): Likewise.
46482         (csqrt_test): Likewise.
46483         (erf_test): Likewise.
46484         (erfc_test): Likewise.
46485         (pow10_test): Likewise.
46486         (exp2_test): Likewise.
46487         (hypot_test): Likewise.
46488         (j0_test): Likewise.
46489         (j1_test): Likewise.
46490         (lgamma_test): Likewise.
46491         (gamma_test): Likewise.
46492         (sincos_test): Likewise.
46493         (tanh_test): Likewise.
46494         (y0_test): Likewise.
46495         (y1_test): Likewise.
46496         * sysdeps/i386/fpu/libm-test-ulps: Update.
46497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46499 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46501         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
46502         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
46503         and strcspn-ppc64 objects.
46504         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46505         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
46506         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
46507         multiarch strcspn for POWER7.
46508         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
46509         multiarch strcspn for PPC64.
46510         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
46511         ifunc selector.
46512         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
46513         strcspn for POWER7.
46515 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
46517         * math/gen-libm-test.pl (generate_testfile): Expect only function
46518         name as argument to AUTO_TESTS_* and pass results for all rounding
46519         modes to parse_args.
46520         (parse_auto_input): Separate inputs of automatic tests from
46521         outputs before storing in %auto_tests.
46522         * math/libm-test.inc (acos_test_data): Update call to
46523         AUTO_TESTS_f_f.
46524         (acos_test): Use ALL_RM_TEST.
46525         (acos_tonearest_test_data): Remove.
46526         (acos_test_tonearest): Likewise.
46527         (acos_towardzero_test_data): Likewise.
46528         (acos_test_towardzero): Likewise.
46529         (acos_downward_test_data): Likewise.
46530         (acos_test_downward): Likewise.
46531         (acos_upward_test_data): Likewise.
46532         (acos_test_upward): Likewise.
46533         (acosh_test_data): Update call to AUTO_TESTS_f_f.
46534         (asin_test_data): Likewise.
46535         (asin_test): Use ALL_RM_TEST.
46536         (asin_tonearest_test_data): Remove.
46537         (asin_test_tonearest): Likewise.
46538         (asin_towardzero_test_data): Likewise.
46539         (asin_test_towardzero): Likewise.
46540         (asin_downward_test_data): Likewise.
46541         (asin_test_downward): Likewise.
46542         (asin_upward_test_data): Likewise.
46543         (asin_test_upward): Likewise.
46544         (asinh_test_data): Update call to AUTO_TESTS_f_f.
46545         (atan_test_data): Likewise.
46546         (atanh_test_data): Likewise.
46547         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
46548         (cabs_test_data): Update call to AUTO_TESTS_c_f.
46549         (carg_test_data): Likewise.
46550         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
46551         (ccos_test_data): Update call to AUTO_TESTS_c_c.
46552         (ccosh_test_data): Likewise.
46553         (cexp_test_data): Likewise.
46554         (clog_test_data): Likewise.
46555         (clog10_test_data): Likewise.
46556         (cos_test_data): Update call to AUTO_TESTS_f_f.
46557         (cos_test): Use ALL_RM_TEST.
46558         (cos_tonearest_test_data): Remove.
46559         (cos_test_tonearest): Likewise.
46560         (cos_towardzero_test_data): Likewise.
46561         (cos_test_towardzero): Likewise.
46562         (cos_downward_test_data): Likewise.
46563         (cos_test_downward): Likewise.
46564         (cos_upward_test_data): Likewise.
46565         (cos_test_upward): Likewise.
46566         (cosh_test_data): Update call to AUTO_TESTS_f_f.
46567         (cosh_test): Use ALL_RM_TEST.
46568         (cosh_tonearest_test_data): Remove.
46569         (cosh_test_tonearest): Likewise.
46570         (cosh_towardzero_test_data): Likewise.
46571         (cosh_test_towardzero): Likewise.
46572         (cosh_downward_test_data): Likewise.
46573         (cosh_test_downward): Likewise.
46574         (cosh_upward_test_data): Likewise.
46575         (cosh_test_upward): Likewise.
46576         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
46577         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
46578         (ctan_test_data): Likewise.
46579         (ctan_test): Use ALL_RM_TEST.
46580         (ctan_tonearest_test_data): Remove.
46581         (ctan_test_tonearest): Likewise.
46582         (ctan_towardzero_test_data): Likewise.
46583         (ctan_test_towardzero): Likewise.
46584         (ctan_downward_test_data): Likewise.
46585         (ctan_test_downward): Likewise.
46586         (ctan_upward_test_data): Likewise.
46587         (ctan_test_upward): Likewise.
46588         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
46589         (ctanh_test): Use ALL_RM_TEST.
46590         (ctanh_tonearest_test_data): Remove.
46591         (ctanh_test_tonearest): Likewise.
46592         (ctanh_towardzero_test_data): Likewise.
46593         (ctanh_test_towardzero): Likewise.
46594         (ctanh_downward_test_data): Likewise.
46595         (ctanh_test_downward): Likewise.
46596         (ctanh_upward_test_data): Likewise.
46597         (ctanh_test_upward): Likewise.
46598         (erf_test_data): Update call to AUTO_TESTS_f_f.
46599         (erfc_test_data): Likewise.
46600         (exp_test_data): Likewise.
46601         (exp_test): Use ALL_RM_TEST.
46602         (exp_tonearest_test_data): Remove.
46603         (exp_test_tonearest): Likewise.
46604         (exp_towardzero_test_data): Likewise.
46605         (exp_test_towardzero): Likewise.
46606         (exp_downward_test_data): Likewise.
46607         (exp_test_downward): Likewise.
46608         (exp_upward_test_data): Likewise.
46609         (exp_test_upward): Likewise.
46610         (exp10_test_data): Update call to AUTO_TESTS_f_f.
46611         (exp10_test): Use ALL_RM_TEST.
46612         (exp10_tonearest_test_data): Remove.
46613         (exp10_test_tonearest): Likewise.
46614         (exp10_towardzero_test_data): Likewise.
46615         (exp10_test_towardzero): Likewise.
46616         (exp10_downward_test_data): Likewise.
46617         (exp10_test_downward): Likewise.
46618         (exp10_upward_test_data): Likewise.
46619         (exp10_test_upward): Likewise.
46620         (exp2_test_data): Update call to AUTO_TESTS_f_f.
46621         (expm1_test_data): Likewise.
46622         (expm1_test): Use ALL_RM_TEST.
46623         (expm1_tonearest_test_data): Remove.
46624         (expm1_test_tonearest): Likewise.
46625         (expm1_towardzero_test_data): Likewise.
46626         (expm1_test_towardzero): Likewise.
46627         (expm1_downward_test_data): Likewise.
46628         (expm1_test_downward): Likewise.
46629         (expm1_upward_test_data): Likewise.
46630         (expm1_test_upward): Likewise.
46631         (fma_test_data): Update call to AUTO_TESTS_fff_f.
46632         (fma_test): Use ALL_RM_TEST.
46633         (fma_towardzero_test_data): Remove.
46634         (fma_test_towardzero): Likewise.
46635         (fma_downward_test_data): Likewise.
46636         (fma_test_downward): Likewise.
46637         (fma_upward_test_data): Likewise.
46638         (fma_test_upward): Likewise.
46639         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
46640         (j0_test_data): Update call to AUTO_TESTS_f_f.
46641         (j1_test_data): Likewise.
46642         (jn_test_data): Update call to AUTO_TESTS_if_f.
46643         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
46644         (log_test_data): Update call to AUTO_TESTS_f_f.
46645         (log10_test_data): Likewise.
46646         (log1p_test_data): Likewise.
46647         (log2_test_data): Likewise.
46648         (pow_test_data): Update call to AUTO_TESTS_ff_f.
46649         (pow_tonearest_test_data): Likewise.
46650         (sin_test_data): Update call to AUTO_TESTS_f_f.
46651         (sin_test): Use ALL_RM_TEST.
46652         (sin_tonearest_test_data): Remove.
46653         (sin_test_tonearest): Likewise.
46654         (sin_towardzero_test_data): Likewise.
46655         (sin_test_towardzero): Likewise.
46656         (sin_downward_test_data): Likewise.
46657         (sin_test_downward): Likewise.
46658         (sin_upward_test_data): Likewise.
46659         (sin_test_upward): Likewise.
46660         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
46661         (sinh_test_data): Update call to AUTO_TESTS_f_f.
46662         (sinh_test): Use ALL_RM_TEST.
46663         (sinh_tonearest_test_data): Remove.
46664         (sinh_test_tonearest): Likewise.
46665         (sinh_towardzero_test_data): Likewise.
46666         (sinh_test_towardzero): Likewise.
46667         (sinh_downward_test_data): Likewise.
46668         (sinh_test_downward): Likewise.
46669         (sinh_upward_test_data): Likewise.
46670         (sinh_test_upward): Likewise.
46671         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
46672         (sqrt_test): Use ALL_RM_TEST.
46673         (sqrt_tonearest_test_data): Remove.
46674         (sqrt_test_tonearest): Likewise.
46675         (sqrt_towardzero_test_data): Likewise.
46676         (sqrt_test_towardzero): Likewise.
46677         (sqrt_downward_test_data): Likewise.
46678         (sqrt_test_downward): Likewise.
46679         (sqrt_upward_test_data): Likewise.
46680         (sqrt_test_upward): Likewise.
46681         (tan_test_data): Update call to AUTO_TESTS_f_f.
46682         (tan_test): Use ALL_RM_TEST.
46683         (tan_tonearest_test_data): Remove.
46684         (tan_test_tonearest): Likewise.
46685         (tan_towardzero_test_data): Likewise.
46686         (tan_test_towardzero): Likewise.
46687         (tan_downward_test_data): Likewise.
46688         (tan_test_downward): Likewise.
46689         (tan_upward_test_data): Likewise.
46690         (tan_test_upward): Likewise.
46691         (tanh_test_data): Update call to AUTO_TESTS_f_f.
46692         (tgamma_test_data): Likewise.
46693         (y0_test_data): Likewise.
46694         (y1_test_data): Likewise.
46695         (yn_test_data): Update call to AUTO_TESTS_if_f.
46696         (main): Do not call removed functions.
46698 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
46700         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
46701         (ldexp_test_data): Remove.
46702         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
46703         scalbn_test_data.
46704         (scalb_test): Use ALL_RM_TEST.
46706 2014-03-19  Andreas Schwab  <schwab@suse.de>
46708         * nscd/nscd.service: Also invalidate netgroup cache on reload.
46710 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
46712         [BZ #16649]
46713         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46714         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
46715         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
46716         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46717         (__ASSUME_PREADV): Undefine.
46718         (__ASSUME_PWRITEV): Likewise.
46720 2014-03-18  Roland McGrath  <roland@hack.frob.com>
46722         * bits/mman-linux.h: Add comment about non-Linux use.
46723         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
46724         bits/mman-linux.h resting place.
46726         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
46727         * bits/mman-linux.h: ... here.
46729 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46731         * conform/conformtest.pl: Add standard definition when calling C
46732         preprocessor on data files.
46733         (checknamespace): Remove unused variable.
46735 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
46737         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
46738         minus_oflow, plus_uflow and minus_uflow in expected results.
46739         * math/libm-test.inc (scalbn_test_data): Add more tests of
46740         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
46741         minus_uflow.
46742         (scalbn_test): Use ALL_RM_TEST.
46743         (scalbln_test_data): Add more tests of negative arguments.  Use
46744         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
46745         (scalbln_test): Use ALL_RM_TEST.
46747 2014-03-18  Roland McGrath  <roland@hack.frob.com>
46749         * scripts/abilist.awk: Ignore symbols marked with .hidden.
46751 2014-03-18  Will Newton  <will.newton@linaro.org>
46753         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
46754         inaccurate comment.
46756 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
46758         * Makerules [!subdir] (check-abi): Exit with error status if a
46759         test failed.
46761 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
46763         * math/libm-test.inc (nearbyint_test_data): Include all tests used
46764         for rint.  Include results for all rounding modes.
46765         (nearbyint_test): Use ALL_RM_TEST.
46766         (rint_test_data): Include all tests used for nearbyint.
46768 2014-03-17  Will Newton  <will.newton@linaro.org>
46770         * nptl/sysdeps/pthread/pthread.h: Revert previous
46771         change.
46773         * sysdeps/generic/ldsodefs.h: Revert previous
46774         change.
46776         * libio/genops.c: Revert previous change.
46777         * libio/libioP.h: Likewise.
46778         * stdio-common/vfprintf.c: Likewise.
46780         * sysdeps/generic/math_private.h: Revert previous
46781         change.
46783         * sysdeps/generic/math_private.h: Check whether
46784         HAVE_RM_CTX is defined with #ifdef rather
46785         than #if.
46787         * argp/argp-fmtstream.h: Check whether
46788         __STRICT_ANSI__ is defined with #ifdef rather
46789         than #if.
46790         * argp/argp.h: Likewise.
46792         * libio/genops.c: Check whether
46793         _IO_JUMPS_OFFSET is defined with #ifdef rather
46794         than #if.
46795         * libio/libioP.h: Likewise.
46796         * stdio-common/vfprintf.c: Likewise.
46798         * sysdeps/generic/ldsodefs.h: Check whether
46799         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
46800         than #if.
46802         * nptl/sysdeps/pthread/pthread.h: Check
46803         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
46804         its value.
46806 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
46808         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
46809         setting O_APPEND.
46810         * libio/tst-ftell-active-handler.c (do_append_test): Add a
46811         test case.
46813         [BZ #16680]
46814         * libio/fileops.c (_IO_file_open): Seek to end of file but
46815         don't cache the offset.
46816         (get_file_offset): Remove function.
46817         (do_ftell): Use cached offset when available.
46818         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
46819         don't cache the offset.
46820         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
46821         case.
46822         (do_one_test): Call it.
46823         (do_ftell_test): Fix up expected old offset for a+ mode.
46824         * libio/wfileops.c (do_ftell_wide): Used cached offset when
46825         available.
46827         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
46828         up test status with function return status.
46829         (do_write_test): Likewise.
46830         (do_append_test): Likewise.
46832         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
46833         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
46834         Remove.
46836 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
46838         * math/gen-libm-test.pl (parse_args): Handle results specified for
46839         each rounding mode separately.
46840         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
46841         tests and results from lrint_tonearest_test_data,
46842         lrint_towardzero_test_data, lrint_downward_test_data and
46843         lrint_upward_test_data.
46844         (lrint_test): Use ALL_RM_TEST.
46845         (lrint_tonearest_test_data): Remove.
46846         (lrint_test_tonearest): Likewise.
46847         (lrint_towardzero_test_data): Likewise.
46848         (lrint_test_towardzero): Likewise.
46849         (lrint_downward_test_data): Likewise.
46850         (lrint_test_downward): Likewise.
46851         (lrint_upward_test_data): Likewise.
46852         (lrint_test_upward): Likewise.
46853         (llrint_test_data): Merge in per-rounding-mode tests and results
46854         from llrint_tonearest_test_data, llrint_towardzero_test_data,
46855         llrint_downward_test_data and llrint_upward_test_data.
46856         (llrint_test): Use ALL_RM_TEST.
46857         (llrint_tonearest_test_data): Remove.
46858         (llrint_test_tonearest): Likewise.
46859         (llrint_towardzero_test_data): Likewise.
46860         (llrint_test_towardzero): Likewise.
46861         (llrint_downward_test_data): Likewise.
46862         (llrint_test_downward): Likewise.
46863         (llrint_upward_test_data): Likewise.
46864         (llrint_test_upward): Likewise.
46865         (rint_test_data): Merge in per-rounding-mode tests and results
46866         from rint_tonearest_test_data, rint_towardzero_test_data,
46867         rint_downward_test_data and rint_upward_test_data.  Add
46868         per-rounding-mode results for tests not in those arrays.
46869         (rint_test): Use ALL_RM_TEST.
46870         (rint_tonearest_test_data): Remove.
46871         (rint_test_tonearest): Likewise.
46872         (rint_towardzero_test_data): Likewise.
46873         (rint_test_towardzero): Likewise.
46874         (rint_downward_test_data): Likewise.
46875         (rint_test_downward): Likewise.
46876         (rint_upward_test_data): Likewise.
46877         (rint_test_upward): Likewise.
46878         (main): Don't call removed functions.
46880 2014-03-14  Roland McGrath  <roland@hack.frob.com>
46882         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
46883         "Compiled on ..." crapola.  It is anti-useful.
46885 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
46887         * scripts/evaluate-test.sh: Handle fourth argument to determine
46888         whether test run should stop on failure.
46889         * Makeconfig (stop-on-test-failure): New variable.
46890         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
46891         $(stop-on-test-failure).
46892         * Makefile (tests): Give a summary of results from testing and
46893         exit with failure status if they include an ERROR or FAIL.
46894         (xtests): Likewise.
46895         * manual/install.texi (Configuring and compiling): Mention
46896         stop-on-test-failure=y.
46897         * INSTALL: Regenerated.
46899 2014-03-14  Roland McGrath  <roland@hack.frob.com>
46901         * scripts/versionlist.awk: New file.
46902         * Makerules [$(build-shared) = yes]
46903         (postclean-generated): Add Versions.def, not Versions.def.v and
46904         Versions.def.v.i.
46905         ($(common-objpfx)Versions.def.v.i): Target removed.
46906         ($(common-objpfx)Versions.def): New target.
46907         ($(common-objpfx)Versions.all): Depend on that rather that
46908         $(common-objpfx)Versions.def.v.
46909         * Versions.def: File removed.
46911         * Makeconfig (+gccwarn): Add -Wundef.
46912         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
46913         a dl-sysdep.h breaking its contract.
46914         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
46915         * include/stackinfo.h: New file.
46916         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
46917         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
46918         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
46919         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
46920         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
46921         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
46922         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46923         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46924         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46925         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46926         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46927         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
46928         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46929         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46930         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46932 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46934         [BZ #16707]
46935         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
46936         implementation.
46937         * math/libm-test.inc (round_test_data): Add more tests.
46939         [BZ #16706]
46940         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
46941         implementation.
46942         * math/libm-test.inc (nearbyint_test_data): Add more tests.
46944         [BZ #16701]
46945         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
46946         implementation.
46947         * math/libm-test.inc (ceil_test_data): Add more tests.
46949         * math/libm-test.inc (trunc_test_data): Add more tests related to
46950         BZ#16414.
46952 2014-03-14  Roland McGrath  <roland@hack.frob.com>
46954         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
46955         with #if rather than #ifdef.
46956         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
46958 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
46960         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
46961         first.  Disable AVX-512 GCC support if assembler doesn't support
46962         it.
46963         * sysdeps/x86_64/configure: Regenerated.
46965 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
46967         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
46968         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
46969         (__old_pthread_attr_setstack): Likewise.
46970         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
46971         [!_STACK_GROWS_DOWN]: Likewise.
46973 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
46975         * config.make.in (have-bash2): Delete.
46976         * configure.ac (libc_cv_have_bash2): Delete.
46977         * configure: Regenerate.
46978         * elf/Makefile (common-ldd-rewrite): Rename to ...
46979         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
46980         (sh-ldd-rewrite): Delete.
46981         (bash-ldd-rewrite): Delete.
46982         (have-bash2): Delete checks.
46983         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
46984         ldd-rewrite.
46986         * config.make.in (have-ksh): Delete.
46987         (KSH): Delete.
46988         * configure.ac (libc_cv_have_ksh): Delete.
46989         * configure: Regenerate.
46991         * elf/Makefile: Delete $(have-ksh) check.
46992         ($(objpfx)sotruss): Change KSH to BASH.
46993         * elf/sotruss.ksh: Rename to ...
46994         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
46995         function style to match POSIX.  Drop ksh vim mode setting.
46997         * manual/time.texi (Specifying the Time Zone with TZ): Change
46998         Tuesday to Thursday.
47000         * debug/tst-longjmp_chk2.c: Update header comment.
47001         (stackoverflow_handler): Add comment.  Call assert on pass value.
47003 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
47005         [BZ #16194]
47006         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
47007         (HAVE_AVX512_ASM_SUPPORT): Likewise.
47008         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
47009         (La_x86_64_vector): Add zmm.
47010         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
47011         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
47012         ($(objpfx)tst-audit10): New target.
47013         ($(objpfx)tst-audit10.out): Likewise.
47014         (tst-audit10-ENV): New.
47015         (AVX512-CFLAGS): Likewise.
47016         (CFLAGS-tst-audit10.c): Likewise.
47017         (CFLAGS-tst-auditmod10a.c): Likewise.
47018         (CFLAGS-tst-auditmod10b.c): Likewise.
47019         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
47020         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
47021         * sysdeps/x86_64/configure: Regenerated.
47022         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
47023         AVX-512 zmm register support.
47024         (_dl_x86_64_save_sse): Likewise.
47025         (_dl_x86_64_restore_sse): Likewise.
47026         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
47027         size vector registers.
47028         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
47029         (ZMM_SIZE): Likewise.
47030         * sysdeps/x86_64/tst-audit10.c: New file.
47031         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
47032         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
47034 2014-03-13  Roland McGrath  <roland@hack.frob.com>
47036         * configure.ac (HAVE_EHDR_START): New check.
47037         * configure: Regenerated.
47038         * config.h.in (HAVE_EHDR_START): New #undef.
47039         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
47040         assuming the lowest-addressed segment maps the start of the file.
47042 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
47044         * INSTALL: Regenerated.
47046 2014-03-13  Will Newton  <will.newton@linaro.org>
47048         * manual/setjmp.texi (System V contexts): Improve
47049         clarity and grammar of documentation.
47051 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
47053         [BZ #16381]
47054         * elf/Makefile (tests): Add tst-pie2.
47055         (tests-pie): Add tst-pie2.
47056         * elf/tst-pie2.c: New file.
47057         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
47058         for ET_EXEC.
47059         * elf/rtld.c (map_doit): Load executable as lt_executable.
47060         (dl_main): Likewise.
47062 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
47064         [BZ #16642]
47065         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47066         (__ASSUME_PSELECT): Undefine.
47068 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47070         [BZ #16689]
47071         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
47072         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
47073         static build.
47074         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
47075         selector for static builds.
47077 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
47079         [BZ #16695]
47080         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
47081         key in the buffer.
47083 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47085         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
47086         IFUNC selector for static builds.
47088 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
47090         * sysdeps/mips/math_private.h [__mips_hard_float]
47091         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
47092         libc_feresetround_mips_ctx.
47093         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
47094         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
47095         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
47097         [BZ #16677]
47098         * math/s_nextafter.c (__nextafter): Do not return value from
47099         overflowing computation.
47100         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
47101         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
47102         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
47103         Likewise.
47104         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
47105         Likewise.
47106         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
47107         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
47109 2014-03-11  Roland McGrath  <roland@hack.frob.com>
47111         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
47112         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
47113         Move sfi_sp use from the load-multiple (that no longer sets sp) to
47114         the new mov targetting sp.
47116 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47118         [BZ #16683]
47119         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
47120         Define it for static builds as well.
47121         (NO_BZERO_IMPL): Likewise.
47123 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47125         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
47126         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
47127         multiarch strspn for PPC64.
47128         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
47129         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
47130         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47131         (__libc_ifunc_impl_list): Likewise.
47132         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
47133         multiarch optimizations
47134         * string/strspn.c (strspn): Using macro to redefine symbol name.
47136 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47137             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47139         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
47140         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
47141         multiarch strncat for PPC64.
47142         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
47143         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
47144         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47145         (__libc_ifunc_impl_list): Likewise.
47146         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
47147         multiarch optimizations
47149 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47151         [BZ #16639]
47152         * nscd/nscd.service: Make service type forking.
47154 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47156         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
47157         sign in non default rounding modes.
47158         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
47160 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
47162         * math/libm-test.inc (ALL_RM_TEST): New macro.
47163         (ceil_test): Use ALL_RM_TEST.
47164         (cimag_test): Likewise.
47165         (conj_test): Likewise.
47166         (copysign_test): Likewise.
47167         (cproj_test): Likewise.
47168         (creal_test): Likewise.
47169         (fabs_test): Likewise.
47170         (floor_test): Likewise.
47171         (fmax_test): Likewise.
47172         (fmin_test): Likewise.
47173         (fmod_test): Likewise.
47174         (fpclassify_test): Likewise.
47175         (frexp_test): Likewise.
47176         (ilogb_test): Likewise.
47177         (isfinite_test): Likewise.
47178         (finite_test): Likewise.
47179         (isgreater_test): Likewise.
47180         (isgreaterequal_test): Likewise.
47181         (isinf_test): Likewise.
47182         (isless_test): Likewise.
47183         (islessequal_test): Likewise.
47184         (islessgreater_test): Likewise.
47185         (isnan_test): Likewise.
47186         (isnormal_test): Likewise.
47187         (issignaling_test): Likewise.
47188         (isunordered_test): Likewise.
47189         (logb_test): Likewise.
47190         (logb_downward_test_data): Remove.
47191         (logb_test_downward): Likewise.
47192         (lround_test): Use ALL_RM_TEST.
47193         (llround_test): Likewise.
47194         (modf_test): Likewise.
47195         (nexttoward_test): Likewise.
47196         (remainder_test): Likewise.
47197         (drem_test): Likewise.
47198         (remainder_tonearest_test_data): Likewise.
47199         (remainder_test_tonearest): Likewise.
47200         (drem_test_tonearest): Likewise.
47201         (remainder_towardzero_test_data): Likewise.
47202         (remainder_test_towardzero): Likewise.
47203         (drem_test_towardzero): Likewise.
47204         (remainder_downward_test_data): Likewise.
47205         (remainder_test_downward): Likewise.
47206         (drem_test_downward): Likewise.
47207         (remainder_upward_test_data): Likewise.
47208         (remainder_test_upward): Likewise.
47209         (drem_test_upward): Likewise.
47210         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
47211         (round_test): Use ALL_RM_TEST.
47212         (signbit_test): Likewise.
47213         (trunc_test): Likewise.
47214         (significand_test): Likewise.
47215         (main): Don't call removed functions.
47217 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
47219         [BZ #16674]
47220         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
47221         || __USE_XOPEN2K8].
47222         (ILL_ILLOPN): Likewise.
47223         (ILL_ILLADR): Likewise.
47224         (ILL_ILLTRP): Likewise.
47225         (ILL_PRVOPC): Likewise.
47226         (ILL_PRVREG): Likewise.
47227         (ILL_COPROC): Likewise.
47228         (ILL_BADSTK): Likewise.
47229         (FPE_INTDIV): Likewise.
47230         (FPE_INTOVF): Likewise.
47231         (FPE_FLTDIV): Likewise.
47232         (FPE_FLTOVF): Likewise.
47233         (FPE_FLTUND): Likewise.
47234         (FPE_FLTRES): Likewise.
47235         (FPE_FLTINV): Likewise.
47236         (FPE_FLTSUB): Likewise.
47237         (SEGV_MAPERR): Likewise.
47238         (SEGV_ACCERR): Likewise.
47239         (BUS_ADRALN): Likewise.
47240         (BUS_ADRERR): Likewise.
47241         (BUS_OBJERR): Likewise.
47242         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47243         (TRAP_TRACE): Likewise.
47244         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47245         __USE_XOPEN2K8].
47246         (CLD_KILLED): Likewise.
47247         (CLD_DUMPED): Likewise.
47248         (CLD_TRAPPED): Likewise.
47249         (CLD_STOPPED): Likewise.
47250         (CLD_CONTINUED): Likewise.
47251         (POLL_IN): Likewise.
47252         (POLL_OUT): Likewise.
47253         (POLL_MSG): Likewise.
47254         (POLL_ERR): Likewise.
47255         (POLL_PRI): Likewise.
47256         (POLL_HUP): Likewise.
47257         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
47258         Likewise.
47259         (ILL_ILLOPN): Likewise.
47260         (ILL_ILLADR): Likewise.
47261         (ILL_ILLTRP): Likewise.
47262         (ILL_PRVOPC): Likewise.
47263         (ILL_PRVREG): Likewise.
47264         (ILL_COPROC): Likewise.
47265         (ILL_BADSTK): Likewise.
47266         (FPE_INTDIV): Likewise.
47267         (FPE_INTOVF): Likewise.
47268         (FPE_FLTDIV): Likewise.
47269         (FPE_FLTOVF): Likewise.
47270         (FPE_FLTUND): Likewise.
47271         (FPE_FLTRES): Likewise.
47272         (FPE_FLTINV): Likewise.
47273         (FPE_FLTSUB): Likewise.
47274         (SEGV_MAPERR): Likewise.
47275         (SEGV_ACCERR): Likewise.
47276         (BUS_ADRALN): Likewise.
47277         (BUS_ADRERR): Likewise.
47278         (BUS_OBJERR): Likewise.
47279         (BUS_MCEERR_AR): Likewise.
47280         (BUS_MCEERR_AO): Likewise.
47281         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47282         (TRAP_TRACE): Likewise.
47283         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47284         __USE_XOPEN2K8].
47285         (CLD_KILLED): Likewise.
47286         (CLD_DUMPED): Likewise.
47287         (CLD_TRAPPED): Likewise.
47288         (CLD_STOPPED): Likewise.
47289         (CLD_CONTINUED): Likewise.
47290         (POLL_IN): Likewise.
47291         (POLL_OUT): Likewise.
47292         (POLL_MSG): Likewise.
47293         (POLL_ERR): Likewise.
47294         (POLL_PRI): Likewise.
47295         (POLL_HUP): Likewise.
47296         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
47297         (ILL_ILLOPN): Likewise.
47298         (ILL_ILLADR): Likewise.
47299         (ILL_ILLTRP): Likewise.
47300         (ILL_PRVOPC): Likewise.
47301         (ILL_PRVREG): Likewise.
47302         (ILL_COPROC): Likewise.
47303         (ILL_BADSTK): Likewise.
47304         (FPE_INTDIV): Likewise.
47305         (FPE_INTOVF): Likewise.
47306         (FPE_FLTDIV): Likewise.
47307         (FPE_FLTOVF): Likewise.
47308         (FPE_FLTUND): Likewise.
47309         (FPE_FLTRES): Likewise.
47310         (FPE_FLTINV): Likewise.
47311         (FPE_FLTSUB): Likewise.
47312         (SEGV_MAPERR): Likewise.
47313         (SEGV_ACCERR): Likewise.
47314         (BUS_ADRALN): Likewise.
47315         (BUS_ADRERR): Likewise.
47316         (BUS_OBJERR): Likewise.
47317         (BUS_MCEERR_AR): Likewise.
47318         (BUS_MCEERR_AO): Likewise.
47319         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47320         (TRAP_TRACE): Likewise.
47321         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47322         __USE_XOPEN2K8].
47323         (CLD_KILLED): Likewise.
47324         (CLD_DUMPED): Likewise.
47325         (CLD_TRAPPED): Likewise.
47326         (CLD_STOPPED): Likewise.
47327         (CLD_CONTINUED): Likewise.
47328         (POLL_IN): Likewise.
47329         (POLL_OUT): Likewise.
47330         (POLL_MSG): Likewise.
47331         (POLL_ERR): Likewise.
47332         (POLL_PRI): Likewise.
47333         (POLL_HUP): Likewise.
47334         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
47335         Likewise.
47336         (ILL_ILLOPN): Likewise.
47337         (ILL_ILLADR): Likewise.
47338         (ILL_ILLTRP): Likewise.
47339         (ILL_PRVOPC): Likewise.
47340         (ILL_PRVREG): Likewise.
47341         (ILL_COPROC): Likewise.
47342         (ILL_BADSTK): Likewise.
47343         (ILL_BADIADDR): Likewise.
47344         (ILL_BREAK): Likewise.
47345         (FPE_INTDIV): Likewise.
47346         (FPE_INTOVF): Likewise.
47347         (FPE_FLTDIV): Likewise.
47348         (FPE_FLTOVF): Likewise.
47349         (FPE_FLTUND): Likewise.
47350         (FPE_FLTRES): Likewise.
47351         (FPE_FLTINV): Likewise.
47352         (FPE_FLTSUB): Likewise.
47353         (FPE_DECOVF): Likewise.
47354         (FPE_DECDIV): Likewise.
47355         (FPE_DECERR): Likewise.
47356         (FPE_INVASC): Likewise.
47357         (FPE_INVDEC): Likewise.
47358         (SEGV_MAPERR): Likewise.
47359         (SEGV_ACCERR): Likewise.
47360         (SEGV_PSTKOVF): Likewise.
47361         (BUS_ADRALN): Likewise.
47362         (BUS_ADRERR): Likewise.
47363         (BUS_OBJERR): Likewise.
47364         (BUS_MCEERR_AR): Likewise.
47365         (BUS_MCEERR_AO): Likewise.
47366         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47367         (TRAP_TRACE): Likewise.
47368         (TRAP_BRANCH): Likewise.
47369         (TRAP_HWBKPT): Likewise.
47370         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47371         __USE_XOPEN2K8].
47372         (CLD_KILLED): Likewise.
47373         (CLD_DUMPED): Likewise.
47374         (CLD_TRAPPED): Likewise.
47375         (CLD_STOPPED): Likewise.
47376         (CLD_CONTINUED): Likewise.
47377         (POLL_IN): Likewise.
47378         (POLL_OUT): Likewise.
47379         (POLL_MSG): Likewise.
47380         (POLL_ERR): Likewise.
47381         (POLL_PRI): Likewise.
47382         (POLL_HUP): Likewise.
47383         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
47384         (ILL_ILLOPN): Likewise.
47385         (ILL_ILLADR): Likewise.
47386         (ILL_ILLTRP): Likewise.
47387         (ILL_PRVOPC): Likewise.
47388         (ILL_PRVREG): Likewise.
47389         (ILL_COPROC): Likewise.
47390         (ILL_BADSTK): Likewise.
47391         (FPE_INTDIV): Likewise.
47392         (FPE_INTOVF): Likewise.
47393         (FPE_FLTDIV): Likewise.
47394         (FPE_FLTOVF): Likewise.
47395         (FPE_FLTUND): Likewise.
47396         (FPE_FLTRES): Likewise.
47397         (FPE_FLTINV): Likewise.
47398         (FPE_FLTSUB): Likewise.
47399         (SEGV_MAPERR): Likewise.
47400         (SEGV_ACCERR): Likewise.
47401         (BUS_ADRALN): Likewise.
47402         (BUS_ADRERR): Likewise.
47403         (BUS_OBJERR): Likewise.
47404         (BUS_MCEERR_AR): Likewise.
47405         (BUS_MCEERR_AO): Likewise.
47406         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47407         (TRAP_TRACE): Likewise.
47408         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47409         __USE_XOPEN2K8].
47410         (CLD_KILLED): Likewise.
47411         (CLD_DUMPED): Likewise.
47412         (CLD_TRAPPED): Likewise.
47413         (CLD_STOPPED): Likewise.
47414         (CLD_CONTINUED): Likewise.
47415         (POLL_IN): Likewise.
47416         (POLL_OUT): Likewise.
47417         (POLL_MSG): Likewise.
47418         (POLL_ERR): Likewise.
47419         (POLL_PRI): Likewise.
47420         (POLL_HUP): Likewise.
47421         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
47422         (ILL_ILLOPN): Likewise.
47423         (ILL_ILLADR): Likewise.
47424         (ILL_ILLTRP): Likewise.
47425         (ILL_PRVOPC): Likewise.
47426         (ILL_PRVREG): Likewise.
47427         (ILL_COPROC): Likewise.
47428         (ILL_BADSTK): Likewise.
47429         (FPE_INTDIV): Likewise.
47430         (FPE_INTOVF): Likewise.
47431         (FPE_FLTDIV): Likewise.
47432         (FPE_FLTOVF): Likewise.
47433         (FPE_FLTUND): Likewise.
47434         (FPE_FLTRES): Likewise.
47435         (FPE_FLTINV): Likewise.
47436         (FPE_FLTSUB): Likewise.
47437         (SEGV_MAPERR): Likewise.
47438         (SEGV_ACCERR): Likewise.
47439         (BUS_ADRALN): Likewise.
47440         (BUS_ADRERR): Likewise.
47441         (BUS_OBJERR): Likewise.
47442         (BUS_MCEERR_AR): Likewise.
47443         (BUS_MCEERR_AO): Likewise.
47444         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47445         (TRAP_TRACE): Likewise.
47446         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47447         __USE_XOPEN2K8].
47448         (CLD_KILLED): Likewise.
47449         (CLD_DUMPED): Likewise.
47450         (CLD_TRAPPED): Likewise.
47451         (CLD_STOPPED): Likewise.
47452         (CLD_CONTINUED): Likewise.
47453         (POLL_IN): Likewise.
47454         (POLL_OUT): Likewise.
47455         (POLL_MSG): Likewise.
47456         (POLL_ERR): Likewise.
47457         (POLL_PRI): Likewise.
47458         (POLL_HUP): Likewise.
47459         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
47460         (ILL_ILLOPN): Likewise.
47461         (ILL_ILLADR): Likewise.
47462         (ILL_ILLTRP): Likewise.
47463         (ILL_PRVOPC): Likewise.
47464         (ILL_PRVREG): Likewise.
47465         (ILL_COPROC): Likewise.
47466         (ILL_BADSTK): Likewise.
47467         (FPE_INTDIV): Likewise.
47468         (FPE_INTOVF): Likewise.
47469         (FPE_FLTDIV): Likewise.
47470         (FPE_FLTOVF): Likewise.
47471         (FPE_FLTUND): Likewise.
47472         (FPE_FLTRES): Likewise.
47473         (FPE_FLTINV): Likewise.
47474         (FPE_FLTSUB): Likewise.
47475         (SEGV_MAPERR): Likewise.
47476         (SEGV_ACCERR): Likewise.
47477         (BUS_ADRALN): Likewise.
47478         (BUS_ADRERR): Likewise.
47479         (BUS_OBJERR): Likewise.
47480         (BUS_MCEERR_AR): Likewise.
47481         (BUS_MCEERR_AO): Likewise.
47482         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47483         (TRAP_TRACE): Likewise.
47484         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47485         __USE_XOPEN2K8].
47486         (CLD_KILLED): Likewise.
47487         (CLD_DUMPED): Likewise.
47488         (CLD_TRAPPED): Likewise.
47489         (CLD_STOPPED): Likewise.
47490         (CLD_CONTINUED): Likewise.
47491         (POLL_IN): Likewise.
47492         (POLL_OUT): Likewise.
47493         (POLL_MSG): Likewise.
47494         (POLL_ERR): Likewise.
47495         (POLL_PRI): Likewise.
47496         (POLL_HUP): Likewise.
47497         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
47498         (ILL_ILLOPN): Likewise.
47499         (ILL_ILLADR): Likewise.
47500         (ILL_ILLTRP): Likewise.
47501         (ILL_PRVOPC): Likewise.
47502         (ILL_PRVREG): Likewise.
47503         (ILL_COPROC): Likewise.
47504         (ILL_BADSTK): Likewise.
47505         (ILL_DBLFLT): Likewise.
47506         (ILL_HARDWALL): Likewise.
47507         (FPE_INTDIV): Likewise.
47508         (FPE_INTOVF): Likewise.
47509         (FPE_FLTDIV): Likewise.
47510         (FPE_FLTOVF): Likewise.
47511         (FPE_FLTUND): Likewise.
47512         (FPE_FLTRES): Likewise.
47513         (FPE_FLTINV): Likewise.
47514         (FPE_FLTSUB): Likewise.
47515         (SEGV_MAPERR): Likewise.
47516         (SEGV_ACCERR): Likewise.
47517         (BUS_ADRALN): Likewise.
47518         (BUS_ADRERR): Likewise.
47519         (BUS_OBJERR): Likewise.
47520         (BUS_MCEERR_AR): Likewise.
47521         (BUS_MCEERR_AO): Likewise.
47522         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47523         (TRAP_TRACE): Likewise.
47524         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47525         __USE_XOPEN2K8].
47526         (CLD_KILLED): Likewise.
47527         (CLD_DUMPED): Likewise.
47528         (CLD_TRAPPED): Likewise.
47529         (CLD_STOPPED): Likewise.
47530         (CLD_CONTINUED): Likewise.
47531         (POLL_IN): Likewise.
47532         (POLL_OUT): Likewise.
47533         (POLL_MSG): Likewise.
47534         (POLL_ERR): Likewise.
47535         (POLL_PRI): Likewise.
47536         (POLL_HUP): Likewise.
47537         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
47538         (ILL_ILLOPN): Likewise.
47539         (ILL_ILLADR): Likewise.
47540         (ILL_ILLTRP): Likewise.
47541         (ILL_PRVOPC): Likewise.
47542         (ILL_PRVREG): Likewise.
47543         (ILL_COPROC): Likewise.
47544         (ILL_BADSTK): Likewise.
47545         (FPE_INTDIV): Likewise.
47546         (FPE_INTOVF): Likewise.
47547         (FPE_FLTDIV): Likewise.
47548         (FPE_FLTOVF): Likewise.
47549         (FPE_FLTUND): Likewise.
47550         (FPE_FLTRES): Likewise.
47551         (FPE_FLTINV): Likewise.
47552         (FPE_FLTSUB): Likewise.
47553         (SEGV_MAPERR): Likewise.
47554         (SEGV_ACCERR): Likewise.
47555         (BUS_ADRALN): Likewise.
47556         (BUS_ADRERR): Likewise.
47557         (BUS_OBJERR): Likewise.
47558         (BUS_MCEERR_AR): Likewise.
47559         (BUS_MCEERR_AO): Likewise.
47560         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47561         (TRAP_TRACE): Likewise.
47562         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47563         __USE_XOPEN2K8].
47564         (CLD_KILLED): Likewise.
47565         (CLD_DUMPED): Likewise.
47566         (CLD_TRAPPED): Likewise.
47567         (CLD_STOPPED): Likewise.
47568         (CLD_CONTINUED): Likewise.
47569         (POLL_IN): Likewise.
47570         (POLL_OUT): Likewise.
47571         (POLL_MSG): Likewise.
47572         (POLL_ERR): Likewise.
47573         (POLL_PRI): Likewise.
47574         (POLL_HUP): Likewise.
47575         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
47576         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
47578         [BZ #16670]
47579         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
47580         before #include of <time.h>.
47581         [!__USE_XOPEN2K] (__need_timespec): Likewise.
47582         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
47583         (test-xfail-UNIX98/sched.h/conform): Likewise.
47585 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
47587         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
47588         error absence of trapping exception support.
47589         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
47591 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
47593         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
47594         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
47595         * timezone/Makefile (testdata): Move definition above include of
47596         Rules.
47597         (test-zones): New variable.
47598         (tests-special): Add zone files.
47599         (build-testdata): Use $(evaluate-test).
47601         * elf/Makefile (tests-special): Rename tests to end with .out.
47602         ($(objpfx)noload-mem): Likewise.
47603         ($(objpfx)tst-leaks1-mem): Likewise.
47604         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
47605         * iconv/Makefile (xtests-special): Change test-iconvconfig to
47606         $(objpfx)test-iconvconfig.out.
47607         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
47608         set -e inside subshell and redirect output to file.
47609         * iconvdata/Makefile (generated): Rename tests to end with .out.
47610         Correct type.
47611         (tests-special): Rename tests to end with .out.
47612         ($(objpfx)mtrace-tst-loading): Likewise.
47613         * intl/Makefile (generated): Likewise.
47614         (tests-special): Likewise.
47615         ($(objpfx)mtrace-tst-gettext): Likewise.
47616         * misc/Makefile (generated): Likewise.
47617         (tests-special): Likewise.
47618         ($(objpfx)tst-error1-mem): Likewise.
47619         * nptl/Makefile (tests-special): Likewise.
47620         ($(objpfx)tst-stack3-mem): Likewise.
47621         (generated): Likewise.
47622         * posix/Makefile (generated): Likewise.
47623         (tests-special): Likewise.
47624         (xtests-special): Likewise.
47625         ($(objpfx)tst-fnmatch-mem): Likewise.
47626         ($(objpfx)bug-regex2-mem): Likewise.
47627         ($(objpfx)bug-regex14-mem): Likewise.
47628         ($(objpfx)bug-regex21-mem): Likewise.
47629         ($(objpfx)bug-regex31-mem): Likewise.
47630         ($(objpfx)tst-vfork3-mem): Likewise.
47631         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
47632         ($(objpfx)tst-pcre-mem): Likewise.
47633         ($(objpfx)tst-boost-mem): Likewise.
47634         ($(objpfx)bug-ga2-mem): Likewise.
47635         ($(objpfx)bug-glob2-mem): Likewise.
47636         * resolv/Makefile (generate): Likewise.
47637         (tests-special): Likewise.
47638         (xtests-special): Likewise.
47639         (generated): Likewise.
47640         ($(objpfx)mtrace-tst-leaks): Likewise.
47641         ($(objpfx)mtrace-tst-leaks2): Likewise.
47643         * scripts/merge-test-results.sh: New file.
47644         * Makefile (tests-special-notdir): New variable.
47645         (tests): Run merge-test-results.sh.
47646         (xtests): Likewise.
47647         * Rules (tests-special-notdir): New variable.
47648         (xtests-special-notdir): Likewise.
47649         (tests): Run merge-test-results.sh
47650         (xtests): Likewise.
47652         * Makeconfig (test-xfail-name): New variable.
47653         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
47654         compute variable name for expected failures.
47655         * conform/Makefile (conformtest-headers-data): New variable.
47656         (conformtest-standards): Likewise.
47657         (conformtest-headers-ISO): Likewise.
47658         (conformtest-headers-ISO99): Likewise.
47659         (conformtest-headers-ISO11): Likewise.
47660         (conformtest-headers-POSIX): Likewise.
47661         (conformtest-headers-XPG3): Likewise.
47662         (conformtest-headers-XPG4): Likewise.
47663         (conformtest-headers-UNIX98): Likewise.
47664         (conformtest-headers-XOPEN2K): Likewise.
47665         (conformtest-headers-POSIX2008): Likewise.
47666         (conformtest-headers-XOPEN2K8): Likewise.
47667         (conformtest-header-list-base): Likewise.
47668         (conformtest-header-list-tests): Likewise.
47669         (conformtest-header-base): Likewise.
47670         (conformtest-header-tests): Likewise.
47671         (tests-special): Add $(conformtest-header-list-tests).  If
47672         [$(fast-check) && !$(cross-compiling)], add
47673         $(conformtest-header-tests) instead of
47674         $(objpfx)run-conformtest.out.
47675         (generated): Add $(conformtest-header-list-base).  If
47676         [$(fast-check) && !$(cross-compiling)], add
47677         $(conformtest-header-base).  Remove previous setting.
47678         ($(conformtest-header-list-tests)): New target.
47679         (test-xfail-run-conformtest): Remove variable.
47680         ($(objpfx)run-conformtest.out): Remove target.
47681         (test-xfail-ISO11/complex.h/conform): New variable.
47682         (test-xfail-ISO11/stdalign.h/conform): Likewise.
47683         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
47684         (test-xfail-XPG3/varargs.h/conform): Likewise.
47685         (test-xfail-XPG4/varargs.h/conform): Likewise.
47686         (test-xfail-UNIX98/varargs.h/conform): Likewise.
47687         (test-xfail-XPG4/ndbm.h/conform): Likewise.
47688         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
47689         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
47690         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
47691         (test-xfail-XPG3/fcntl.h/conform): Likewise.
47692         (test-xfail-XPG3/ftw.h/conform): Likewise.
47693         (test-xfail-XPG3/grp.h/conform): Likewise.
47694         (test-xfail-XPG3/langinfo.h/conform): Likewise.
47695         (test-xfail-XPG3/limits.h/conform): Likewise.
47696         (test-xfail-XPG3/pwd.h/conform): Likewise.
47697         (test-xfail-XPG3/search.h/conform): Likewise.
47698         (test-xfail-XPG3/signal.h/conform): Likewise.
47699         (test-xfail-XPG3/stdio.h/conform): Likewise.
47700         (test-xfail-XPG3/stdlib.h/conform): Likewise.
47701         (test-xfail-XPG3/string.h/conform): Likewise.
47702         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
47703         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
47704         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
47705         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
47706         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
47707         (test-xfail-XPG3/sys/types.h/conform): Likewise.
47708         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
47709         (test-xfail-XPG3/termios.h/conform): Likewise.
47710         (test-xfail-XPG3/time.h/conform): Likewise.
47711         (test-xfail-XPG3/unistd.h/conform): Likewise.
47712         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
47713         (test-xfail-XPG4/fcntl.h/conform): Likewise.
47714         (test-xfail-XPG4/langinfo.h/conform): Likewise.
47715         (test-xfail-XPG4/netdb.h/conform): Likewise.
47716         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
47717         (test-xfail-XPG4/signal.h/conform): Likewise.
47718         (test-xfail-XPG4/stdio.h/conform): Likewise.
47719         (test-xfail-XPG4/stdlib.h/conform): Likewise.
47720         (test-xfail-XPG4/stropts.h/conform): Likewise.
47721         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
47722         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
47723         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
47724         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
47725         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
47726         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
47727         (test-xfail-XPG4/sys/time.h/conform): Likewise.
47728         (test-xfail-XPG4/sys/types.h/conform): Likewise.
47729         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
47730         (test-xfail-XPG4/termios.h/conform): Likewise.
47731         (test-xfail-XPG4/ucontext.h/conform): Likewise.
47732         (test-xfail-XPG4/unistd.h/conform): Likewise.
47733         (test-xfail-XPG4/utmpx.h/conform): Likewise.
47734         (test-xfail-POSIX/sched.h/conform): Likewise.
47735         (test-xfail-POSIX/signal.h/conform): Likewise.
47736         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
47737         (test-xfail-POSIX/tar.h/conform): Likewise.
47738         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
47739         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
47740         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
47741         (test-xfail-UNIX98/netdb.h/conform): Likewise.
47742         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
47743         (test-xfail-UNIX98/sched.h/conform): Likewise.
47744         (test-xfail-UNIX98/signal.h/conform): Likewise.
47745         (test-xfail-UNIX98/stdio.h/conform): Likewise.
47746         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
47747         (test-xfail-UNIX98/stropts.h/conform): Likewise.
47748         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
47749         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
47750         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
47751         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
47752         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
47753         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
47754         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
47755         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
47756         (test-xfail-UNIX98/unistd.h/conform): Likewise.
47757         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
47758         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
47759         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
47760         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
47761         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
47762         (test-xfail-XOPEN2K/math.h/conform): Likewise.
47763         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
47764         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
47765         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
47766         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
47767         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
47768         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
47769         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
47770         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
47771         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
47772         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
47773         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
47774         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
47775         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
47776         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
47777         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
47778         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
47779         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
47780         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
47781         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
47782         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
47783         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
47784         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
47785         (test-xfail-POSIX2008/signal.h/conform): Likewise.
47786         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
47787         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
47788         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
47789         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
47790         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
47791         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
47792         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
47793         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
47794         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
47795         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
47796         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
47797         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
47798         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
47799         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
47800         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
47801         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
47802         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
47803         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
47804         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
47805         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
47806         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
47807         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
47808         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
47809         (conformtest-cc-flags): Likewise.
47810         ($(conformtest-header-tests): New target.
47811         * conform/check-header-lists.sh: New file.
47812         * conform/run-conformtest.sh: Remove.
47814         * conform/conformtest.pl: Allow ' and \ in values given for
47815         constants.
47816         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
47817         inclusion.
47818         [POSIX] (sys/types.h): Likewise.
47819         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
47820         inclusion.
47821         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
47822         inclusion.
47823         * conform/data/signal.h-data (SIGIO): Remove expectation.
47824         [XPG3] (SIGBUS): Do not expect.
47825         [POSIX || XPG3] (SIGPOLL): Likewise.
47826         [POSIX || XPG3] (SIGPROF): Likewise.
47827         [POSIX || XPG3] (SIGSYS): Likewise.
47828         [XPG3] (SIGTRAP): Likewise.
47829         [POSIX || XPG3] (SIGURG): Likewise.
47830         [POSIX || XPG3] (SIGVTALRM): Likewise.
47831         [POSIX || XPG3] (SIGXCPU): Likewise.
47832         [POSIX || XPG3] (SIGXFSZ): Likewise.
47833         [POSIX] (SA_SIGINFO): Expect.
47834         [XPG3] (siginfo_t): Do not expect type or contents.
47835         [POSIX] (si_pid): Do not expect element.
47836         [POSIX] (si_uid): Likewise.
47837         [POSIX] (si_addr): Likewise.
47838         [POSIX] (si_status): Likewise.
47839         [POSIX] (si_band): Likewise.
47840         [XPG4] (si_value): Likewise.
47841         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
47842         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
47843         [POSIX || XPG3] (ILL_ILLADR): Likewise.
47844         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
47845         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
47846         [POSIX || XPG3] (ILL_PRVREG): Likewise.
47847         [POSIX || XPG3] (ILL_COPROC): Likewise.
47848         [POSIX || XPG3] (ILL_BADSTK): Likewise.
47849         [POSIX || XPG3] (FPE_INTDIV): Likewise.
47850         [POSIX || XPG3] (FPE_INTOVF): Likewise.
47851         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
47852         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
47853         [POSIX || XPG3] (FPE_FLTUND): Likewise.
47854         [POSIX || XPG3] (FPE_FLTRES): Likewise.
47855         [POSIX || XPG3] (FPE_FLTINV): Likewise.
47856         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
47857         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
47858         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
47859         [POSIX || XPG3] (BUS_ADRALN): Likewise.
47860         [POSIX || XPG3] (BUS_ADRERR): Likewise.
47861         [POSIX || XPG3] (BUS_OBJERR): Likewise.
47862         [POSIX || XPG3] (CLD_EXITED): Likewise.
47863         [POSIX || XPG3] (CLD_KILLED): Likewise.
47864         [POSIX || XPG3] (CLD_DUMPED): Likewise.
47865         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
47866         [POSIX || XPG3] (CLD_STOPPED): Likewise.
47867         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
47868         [POSIX || XPG3] (POLL_IN): Likewise.
47869         [POSIX || XPG3] (POLL_OUT): Likewise.
47870         [POSIX || XPG3] (POLL_MSG): Likewise.
47871         [POSIX || XPG3] (POLL_ERR): Likewise.
47872         [POSIX || XPG3] (POLL_PRI): Likewise.
47873         [POSIX || XPG3] (POLL_HUP): Likewise.
47874         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
47875         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
47876         (SIG*): Do not allow.
47877         [XPG3] (si_*): Likewise.
47878         [XPG3] (SI_*): Likewise.
47879         [XPG3 || XPG4] (sigev_*): Likewise.
47880         [XPG3 || XPG4] (SIGEV_*): Likewise.
47881         [XPG3 || XPG4] (sival_*): Likewise.
47882         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
47883         [POSIX || XPG3] (BUS_*): Likewise.
47884         [POSIX || XPG3] (CLD_*): Likewise.
47885         [POSIX || XPG3] (FPE_*): Likewise.
47886         [POSIX || XPG3] (ILL_*): Likewise.
47887         [POSIX || XPG3] (POLL_*): Likewise.
47888         [POSIX || XPG3] (SEGV_*): Likewise.
47889         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
47890         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
47891         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
47892         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
47893         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
47894         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
47895         Specify type and value.
47896         (TVERSLEN): Likewise.
47897         (REGTYPE): Likewise.
47898         (AREGTYPE): Likewise.
47899         (LNKTYPE): Likewise.
47900         (SYMTYPE): Likewise.
47901         (CHRTYPE): Likewise.
47902         (BLKTYPE): Likewise.
47903         (DIRTYPE): Likewise.
47904         (FIFOTYPE): Likewise.
47905         (CONTTYPE): Likewise.
47906         (TSUID): Likewise.
47907         (TSGID): Likewise.
47908         (TSVTX): Likewise.
47909         (TUREAD): Likewise.
47910         (TUWRITE): Likewise.
47911         (TUEXEC): Likewise.
47912         (TGREAD): Likewise.
47913         (TGWRITE): Likewise.
47914         (TGEXEC): Likewise.
47915         (TOREAD): Likewise.
47916         (TOWRITE): Likewise.
47917         (TOEXEC): Likewise.
47918         [POSIX] (TSVTX): Expect constant.
47920 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
47922         * Makefile (tests): Change dependencies to ....
47923         (tests-special): ... additions to this variable.
47924         (tests): Depend on $(tests-special).
47925         * Makerules (check-abi-list): New variable.
47926         (check-abi): Depend on $(check-abi-list).
47927         [$(subdir) = elf] (tests-special): Add
47928         $(objpfx)check-abi-libc.out.
47929         [$(build-shared) = yes && subdir] (tests-special): Add
47930         $(check-abi-list).
47931         [$(build-shared) = yes && subdir] (tests): Do not depend on
47932         check-abi.
47933         * Rules (tests): Depend on $(tests-special).
47934         (xtests): Depend on $(xtests-special).
47935         * catgets/Makefile (tests): Change dependencies to ....
47936         (tests-special): ... additions to this variable.
47937         * conform/Makefile (tests): Change dependencies to ....
47938         (tests-special): ... additions to this variable.
47939         * elf/Makefile (tests): Change dependencies to ....
47940         (tests-special): ... additions to this variable.
47941         * grp/Makefile (tests): Change dependencies to ....
47942         (tests-special): ... additions to this variable.
47943         * iconv/Makefile (xtests): Change dependencies to ....
47944         (xtests-special): ... additions to this variable.
47945         * iconvdata/Makefile (tests): Change dependencies to ....
47946         (tests-special): ... additions to this variable.
47947         * intl/Makefile (tests): Change dependencies to ....
47948         (tests-special): ... additions to this variable.  Also add
47949         $(objpfx)tst-gettext.out.
47950         * io/Makefile (tests): Change dependencies to ....
47951         (tests-special): ... additions to this variable.
47952         * libio/Makefile (tests): Change dependencies to ....
47953         (tests-special): ... additions to this variable.
47954         * malloc/Makefile (tests): Change dependencies to ....
47955         (tests-special): ... additions to this variable.
47956         * misc/Makefile (tests): Change dependencies to ....
47957         (tests-special): ... additions to this variable.
47958         * nptl/Makefile (tests): Change dependencies to ....
47959         (tests-special): ... additions to this variable.
47960         * nptl_db/Makefile (tests): Change dependencies to ....
47961         (tests-special): ... additions to this variable.
47962         * posix/Makefile (tests): Change dependencies to ....
47963         (tests-special): ... additions to this variable.
47964         (xtests): Change dependencies to ....
47965         (xtests-special): ... additions to this variable.
47966         * resolv/Makefile (tests): Change dependencies to ....
47967         (tests-special): ... additions to this variable.
47968         (xtests): Change dependencies to ....
47969         (xtests-special): ... additions to this variable.
47970         * stdio-common/Makefile (tests): Change dependencies to ....
47971         (tests-special): ... additions to this variable.
47972         (do-tst-unbputc): Remove target.
47973         (do-tst-printf): Likewise.
47974         * stdlib/Makefile (tests): Change dependencies to ....
47975         (tests-special): ... additions to this variable.
47976         * string/Makefile (tests): Change dependencies to ....
47977         (tests-special): ... additions to this variable.
47978         * sysdeps/x86/Makefile (tests): Change dependencies to ....
47979         (tests-special): ... additions to this variable.
47981         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
47982         whole file.
47983         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
47984         whole file.
47985         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
47986         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
47988         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
47989         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
47990         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
47991         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
47992         * conform/data/libgen.h-data [XPG3]: Likewise.
47993         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
47994         * conform/data/ndbm.h-data [XPG3]: Likewise.
47995         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
47996         * conform/data/netdb.h-data [XPG3]: Likewise.
47997         * conform/data/netinet/in.h-data [XPG3]: Likewise.
47998         * conform/data/poll.h-data [XPG3]: Likewise.
47999         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
48000         * conform/data/strings.h-data [XPG3]: Likewise.
48001         * conform/data/stropts.h-data [XPG3]: Likewise.
48002         * conform/data/sys/mman.h-data [XPG3]: Likewise.
48003         * conform/data/sys/resource.h-data [XPG3]: Likewise.
48004         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
48005         Likewise.
48006         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
48007         * conform/data/sys/time.h-data [XPG3]: Likewise.
48008         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
48009         * conform/data/sys/uio.h-data [XPG3]: Likewise.
48010         * conform/data/sys/un.h-data [XPG3]: Likewise.
48011         * conform/data/syslog.h-data [XPG3]: Likewise.
48012         * conform/data/ucontext.h-data [XPG3]: Likewise.
48013         * conform/data/utmpx.h-data [XPG3]: Likewise.
48014         * conform/data/varargs.h-data [UNIX98]: Enable file.
48016         * manual/Makefile (INSTALL_INFO): Remove variable setting.
48018         * math/libm-test.inc (struct test_f_f_data): Move expected results
48019         into structure for each rounding mode.
48020         (struct test_ff_f_data): Likewise.
48021         (struct test_ff_f_data_nexttoward): Likewise.
48022         (struct test_fi_f_data): Likewise.
48023         (struct test_fl_f_data): Likewise.
48024         (struct test_if_f_data): Likewise.
48025         (struct test_fff_f_data): Likewise.
48026         (struct test_c_f_data): Likewise.
48027         (struct test_f_f1_data): Likewise.
48028         (struct test_fF_f1_data): Likewise.
48029         (struct test_ffI_f1_data): Likewise.
48030         (struct test_c_c_data): Likewise.
48031         (struct test_cc_c_data): Likewise.
48032         (struct test_f_i_data): Likewise.
48033         (struct test_ff_i_data): Likewise.
48034         (struct test_f_l_data): Likewise.
48035         (struct test_f_L_data): Likewise.
48036         (struct test_fFF_11_data): Likewise.
48037         (RM_): New macro.
48038         (RM_FE_DOWNWARD): Likewise.
48039         (RM_FE_TONEAREST): Likewise.
48040         (RM_FE_TOWARDZERO): Likewise.
48041         (RM_FE_UPWARD): Likewise.
48042         (RUN_TEST_LOOP_f_f): Update references to expected results.
48043         (RUN_TEST_LOOP_2_f): Likewise.
48044         (RUN_TEST_LOOP_fff_f): Likewise.
48045         (RUN_TEST_LOOP_c_f): Likewise.
48046         (RUN_TEST_LOOP_f_f1): Likewise.
48047         (RUN_TEST_LOOP_fF_f1): Likewise.
48048         (RUN_TEST_LOOP_fI_f1): Likewise.
48049         (RUN_TEST_LOOP_ffI_f1): Likewise.
48050         (RUN_TEST_LOOP_c_c): Likewise.
48051         (RUN_TEST_LOOP_cc_c): Likewise.
48052         (RUN_TEST_LOOP_f_i): Likewise.
48053         (RUN_TEST_LOOP_f_i_tg): Likewise.
48054         (RUN_TEST_LOOP_ff_i_tg): Likewise.
48055         (RUN_TEST_LOOP_f_b): Likewise.
48056         (RUN_TEST_LOOP_f_b_tg): Likewise.
48057         (RUN_TEST_LOOP_f_l): Likewise.
48058         (RUN_TEST_LOOP_f_L): Likewise.
48059         (RUN_TEST_LOOP_fFF_11): Likewise.
48060         * math/gen-libm-test.pl (parse_args): Output four copies of
48061         expected results for each test.
48063         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
48064         (__ASSUME_UTIMES): Remove.
48065         * sysdeps/unix/sysv/linux/tile/kernel-features.h
48066         (__ASSUME_UTIMES): Likewise.
48068         * math/gen-auto-libm-tests.c: Update comment on output format.
48069         (output_for_one_input_case): Generate before-rounding and
48070         after-rounding information as conditions on output flags not
48071         floating-point format.
48072         * math/auto-libm-test-out: Regenerated.
48073         * math/gen-libm-test.pl (cond_value): New function.
48074         (or_cond_value): Use cond_value.
48075         (generate_testfile): Handle conditional exceptions.
48077 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
48079         * math/libm-test.inc (max_valid_error): New variable.
48080         (init_max_error): Take new argument specifying whether function
48081         results are exactly determined.  Set max_valid_error and bound
48082         other variables for errors based on this argument.
48083         (set_max_error): Do not record results above max_valid_error.
48084         (check_float_internal): Only accept errors of up to 0.5ulps if
48085         also at most max_valid_error.
48086         (START): Take new argument EXACT and pass it to init_max_error.
48087         (acos_test): Update call to START.
48088         (acos_test_tonearest): Likewise.
48089         (acos_test_towardzero): Likewise.
48090         (acos_test_downward): Likewise.
48091         (acos_test_upward): Likewise.
48092         (acosh_test): Likewise.
48093         (asin_test): Likewise.
48094         (asin_test_tonearest): Likewise.
48095         (asin_test_towardzero): Likewise.
48096         (asin_test_downward): Likewise.
48097         (asin_test_upward): Likewise.
48098         (asinh_test): Likewise.
48099         (atan_test): Likewise.
48100         (atanh_test): Likewise.
48101         (atan2_test): Likewise.
48102         (cabs_test): Likewise.
48103         (cacos_test): Likewise.
48104         (cacosh_test): Likewise.
48105         (carg_test): Likewise.
48106         (casin_test): Likewise.
48107         (casinh_test): Likewise.
48108         (catan_test): Likewise.
48109         (catanh_test): Likewise.
48110         (cbrt_test): Likewise.
48111         (ccos_test): Likewise.
48112         (ccosh_test): Likewise.
48113         (ceil_test): Likewise.
48114         (cexp_test): Likewise.
48115         (cimag_test): Likewise.
48116         (clog_test): Likewise.
48117         (clog10_test): Likewise.
48118         (conj_test): Likewise.
48119         (copysign_test): Likewise.
48120         (cos_test): Likewise.
48121         (cos_test_tonearest): Likewise.
48122         (cos_test_towardzero): Likewise.
48123         (cos_test_downward): Likewise.
48124         (cos_test_upward): Likewise.
48125         (cosh_test): Likewise.
48126         (cosh_test_tonearest): Likewise.
48127         (cosh_test_towardzero): Likewise.
48128         (cosh_test_downward): Likewise.
48129         (cosh_test_upward): Likewise.
48130         (cpow_test): Likewise.
48131         (cproj_test): Likewise.
48132         (creal_test): Likewise.
48133         (csin_test): Likewise.
48134         (csinh_test): Likewise.
48135         (csqrt_test): Likewise.
48136         (ctan_test): Likewise.
48137         (ctan_test_tonearest): Likewise.
48138         (ctan_test_towardzero): Likewise.
48139         (ctan_test_downward): Likewise.
48140         (ctan_test_upward): Likewise.
48141         (ctanh_test): Likewise.
48142         (ctanh_test_tonearest): Likewise.
48143         (ctanh_test_towardzero): Likewise.
48144         (ctanh_test_downward): Likewise.
48145         (ctanh_test_upward): Likewise.
48146         (erf_test): Likewise.
48147         (erfc_test): Likewise.
48148         (exp_test): Likewise.
48149         (exp_test_tonearest): Likewise.
48150         (exp_test_towardzero): Likewise.
48151         (exp_test_downward): Likewise.
48152         (exp_test_upward): Likewise.
48153         (exp10_test): Likewise.
48154         (exp10_test_tonearest): Likewise.
48155         (exp10_test_towardzero): Likewise.
48156         (exp10_test_downward): Likewise.
48157         (exp10_test_upward): Likewise.
48158         (pow10_test): Likewise.
48159         (exp2_test): Likewise.
48160         (expm1_test): Likewise.
48161         (expm1_test_tonearest): Likewise.
48162         (expm1_test_towardzero): Likewise.
48163         (expm1_test_downward): Likewise.
48164         (expm1_test_upward): Likewise.
48165         (fabs_test): Likewise.
48166         (fdim_test): Likewise.
48167         (floor_test): Likewise.
48168         (fma_test): Likewise.
48169         (fma_test_towardzero): Likewise.
48170         (fma_test_downward): Likewise.
48171         (fma_test_upward): Likewise.
48172         (fmax_test): Likewise.
48173         (fmin_test): Likewise.
48174         (fmod_test): Likewise.
48175         (fpclassify_test): Likewise.
48176         (frexp_test): Likewise.
48177         (hypot_test): Likewise.
48178         (ilogb_test): Likewise.
48179         (isfinite_test): Likewise.
48180         (finite_test): Likewise.
48181         (isgreater_test): Likewise.
48182         (isgreaterequal_test): Likewise.
48183         (isinf_test): Likewise.
48184         (isless_test): Likewise.
48185         (islessequal_test): Likewise.
48186         (islessgreater_test): Likewise.
48187         (isnan_test): Likewise.
48188         (isnormal_test): Likewise.
48189         (issignaling_test): Likewise.
48190         (isunordered_test): Likewise.
48191         (j0_test): Likewise.
48192         (j1_test): Likewise.
48193         (jn_test): Likewise.
48194         (ldexp_test): Likewise.
48195         (lgamma_test): Likewise.
48196         (gamma_test): Likewise.
48197         (lrint_test): Likewise.
48198         (lrint_test_tonearest): Likewise.
48199         (lrint_test_towardzero): Likewise.
48200         (lrint_test_downward): Likewise.
48201         (lrint_test_upward): Likewise.
48202         (llrint_test): Likewise.
48203         (llrint_test_tonearest): Likewise.
48204         (llrint_test_towardzero): Likewise.
48205         (llrint_test_downward): Likewise.
48206         (llrint_test_upward): Likewise.
48207         (log_test): Likewise.
48208         (log10_test): Likewise.
48209         (log1p_test): Likewise.
48210         (log2_test): Likewise.
48211         (logb_test): Likewise.
48212         (logb_test_downward): Likewise.
48213         (lround_test): Likewise.
48214         (llround_test): Likewise.
48215         (modf_test): Likewise.
48216         (nearbyint_test): Likewise.
48217         (nextafter_test): Likewise.
48218         (nexttoward_test): Likewise.
48219         (pow_test): Likewise.
48220         (pow_test_tonearest): Likewise.
48221         (pow_test_towardzero): Likewise.
48222         (pow_test_downward): Likewise.
48223         (pow_test_upward): Likewise.
48224         (remainder_test): Likewise.
48225         (drem_test): Likewise.
48226         (remainder_test_tonearest): Likewise.
48227         (drem_test_tonearest): Likewise.
48228         (remainder_test_towardzero): Likewise.
48229         (drem_test_towardzero): Likewise.
48230         (remainder_test_downward): Likewise.
48231         (drem_test_downward): Likewise.
48232         (remainder_test_upward): Likewise.
48233         (drem_test_upward): Likewise.
48234         (remquo_test): Likewise.
48235         (rint_test): Likewise.
48236         (rint_test_tonearest): Likewise.
48237         (rint_test_towardzero): Likewise.
48238         (rint_test_downward): Likewise.
48239         (rint_test_upward): Likewise.
48240         (round_test): Likewise.
48241         (scalb_test): Likewise.
48242         (scalbn_test): Likewise.
48243         (scalbln_test): Likewise.
48244         (signbit_test): Likewise.
48245         (sin_test): Likewise.
48246         (sin_test_tonearest): Likewise.
48247         (sin_test_towardzero): Likewise.
48248         (sin_test_downward): Likewise.
48249         (sin_test_upward): Likewise.
48250         (sincos_test): Likewise.
48251         (sinh_test): Likewise.
48252         (sinh_test_tonearest): Likewise.
48253         (sinh_test_towardzero): Likewise.
48254         (sinh_test_downward): Likewise.
48255         (sinh_test_upward): Likewise.
48256         (sqrt_test): Likewise.
48257         (sqrt_test_tonearest): Likewise.
48258         (sqrt_test_towardzero): Likewise.
48259         (sqrt_test_downward): Likewise.
48260         (sqrt_test_upward): Likewise.
48261         (tan_test): Likewise.
48262         (tan_test_tonearest): Likewise.
48263         (tan_test_towardzero): Likewise.
48264         (tan_test_downward): Likewise.
48265         (tan_test_upward): Likewise.
48266         (tanh_test): Likewise.
48267         (tgamma_test): Likewise.
48268         (trunc_test): Likewise.
48269         (y0_test): Likewise.
48270         (y1_test): Likewise.
48271         (yn_test): Likewise.
48272         (significand_test): Likewise.
48274         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
48275         individual tests in comment.
48276         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
48277         (prev_max_error): New variable.
48278         (prev_real_max_error): Likewise.
48279         (prev_imag_max_error): Likewise.
48280         (compare_ulp_data): Don't refer to test names in comment.
48281         (find_test_ulps): Remove function.
48282         (find_function_ulps): Likewise.
48283         (find_complex_function_ulps): Likewise.
48284         (init_max_error): Take function name as argument.  Look up ulps
48285         for that function.
48286         (print_ulps): Remove function.
48287         (print_max_error): Use prev_max_error instead of calling
48288         find_function_ulps.
48289         (print_complex_max_error): Use prev_real_max_error and
48290         prev_imag_max_error instead of calling find_complex_function_ulps.
48291         (check_float_internal): Take max_ulp parameter instead of calling
48292         find_test_ulps.  Don't call print_ulps.
48293         (check_float): Update call to check_float_internal.
48294         (check_complex): Update calls to check_float_internal.
48295         (START): Pass argument to init_max_error.
48296         * math/gen-libm-test.pl (%results): Don't include "kind"
48297         information.
48298         (parse_ulps): Don't handle ulps of individual tests.
48299         (print_ulps_file): Likewise.
48300         (output_ulps): Likewise.
48301         * math/README.libm-test: Update.
48302         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
48303         individual tests.
48304         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
48305         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
48306         * sysdeps/arm/libm-test-ulps: Likewise.
48307         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
48308         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
48309         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
48310         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
48311         * sysdeps/microblaze/libm-test-ulps: Likewise.
48312         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
48313         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
48314         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48315         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
48316         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48317         * sysdeps/sh/libm-test-ulps: Likewise.
48318         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48319         * sysdeps/tile/libm-test-ulps: Likewise.
48320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48322 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
48324         * math/libm-test.inc (print_complex_max_error): Check separately
48325         whether real and imaginary errors are within allowed range and
48326         pass 0 to print_complex_function_ulps instead of value within
48327         allowed range.
48329 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48331         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
48332         formatting.
48333         (get_handles_fopen): Likewise.
48334         (do_write_test): Likewise.
48336         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
48338         * libio/fileops.c (do_ftell): Use cached offset when
48339         available.
48340         * libio/iofwide.c (do_ftell_wide): Likewise.
48341         * libio/iofdopen.c (_IO_new_fdopen): Don't use
48342         _IO_file_attach.
48343         * libio/wfileops.c (_IO_fwide): Don't cache offset.
48345         [BZ #16532]
48346         * libio/libioP.h (get_file_offset): New function.
48347         * libio/fileops.c (get_file_offset): Likewise.
48348         (do_ftell): Likewise.
48349         (_IO_new_file_seekoff): Split out ftell logic.
48350         * libio/wfileops.c (do_ftell_wide): Likewise.
48351         (_IO_wfile_seekoff): Split out ftell logic.
48352         * libio/tst-ftell-active-handler.c: New test case.
48353         * libio/Makefile (tests): Add it.
48355 2014-03-03  Roland McGrath  <roland@hack.frob.com>
48357         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
48358         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
48360 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
48362         [BZ #16639]
48363         * nscd/connections.c (nscd_init): Call do_exit.
48364         (start_threads): Call do_exit and notify_parent.
48365         (begin_drop_privileges): Call do_exit.
48366         (finish_drop_privileges): Likewise.
48367         * nscd/selinux.c (preserve_capabilities): Likewise.
48368         (install_real_capabilities): Likewise.
48369         (nscd_selinux_enabled): Likewise.
48370         (avc_create_thread): Likewise.
48371         (avc_alloc_lock): Likewise.
48372         (nscd_avc_init): Likewise.
48373         * nscd/nscd.c (parent_fd): New static variable.
48374         (main): Create a pipe between parent and child processes.
48375         Skip closing parent_fd.
48376         (monitor_child): New function.
48377         (do_exit): Likewise.
48378         (notify_parent): Likewise.
48379         * nscd/nscd.h (notify_parent): Likewise.
48380         (do_exit): Likewise.
48382 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
48384         * malloc/malloc.c (__libc_calloc): Revert last change.
48386 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48388         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48390 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
48392         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
48393         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
48394         implementation.
48395         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48396         (__libc_ifunc_impl_list): Likewise.
48397         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
48398         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
48399         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
48400         * string/strrchr.c: Define STRRCHR.
48402 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
48404         * benchtest/bench-strtok.c (simple_strtok): Delete.
48405         (strtok_string): Use as benchmark.
48406         * string/strtok (STRTOK): New macro.
48408 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
48410         * manual/threads.texi: Add header and standard comments to all
48411         functions.
48413         * elf/dl-lookup.c (check_match): New function.
48414         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
48415         (do_lookup_x): Remove nested function check_match. Use non-nested
48416         function check_match.
48418 2014-02-28  Roland McGrath  <roland@hack.frob.com>
48420         * csu/Makefile (generated, before-compile): Use += rather than =.
48421         * catgets/Makefile (generated, generated-dirs): Likewise.
48422         * debug/Makefile (generated): Likewise.
48423         * dlfcn/Makefile (generated): Likewise.
48424         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
48425         * iconvdata/Makefile (before-compile, generated): Likewise.
48426         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
48427         * libio/Makefile (generated): Likewise.
48428         * malloc/Makefile (generated): Likewise.
48429         * manual/Makefile (generated, generated-dirs): Likewise.
48430         * misc/Makefile (generated): Likewise.
48431         * posix/Makefile (generated): Likewise.
48432         * resolv/Makefile (generated): Likewise.
48433         * sunrpc/Makefile (generated, generated-dirs): Likewise.
48434         * timezone/Makefile (generated, generated-dirs): Likewise.
48436         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
48438 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48440         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
48441         power8 implementation.
48442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
48443         file: POWER8 llround ifunc implementation.
48444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
48445         (__lllround): Add POWER8 implementation.
48446         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
48447         POWER8 llround implementation.
48449         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
48450         power8 implementation.
48451         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
48452         file: POWER8 llrint ifunc implementation.
48453         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
48454         Add POWER8 implementation.
48455         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
48456         POWER8 llrint implementation.
48458         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
48459         power8 implementation.
48460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
48461         file: POWER8 finite ifunc implementation.
48462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
48463         Add POWER8 implementation.
48464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
48465         Likewise.
48466         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
48467         POWER8 finite implementation.
48468         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
48470         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
48471         power8 implementation.
48472         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
48473         file: POWER8 isinf ifunc implementation.
48474         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
48475         POWER8 implementation.
48476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
48477         Likewise.
48478         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
48479         isinf implementation.
48480         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
48482         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
48483         (INIT_ARCH): Add hwcap2 initialization.
48484         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
48485         power8 implementation.
48486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
48487         file: POWER8 isnan ifunc implementation.
48488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
48489         POWER8 implementation.
48490         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
48491         Likewise.
48492         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
48493         isnan implementation.
48494         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
48496 2014-02-27  Joey Ye  <joey.ye@arm.com>
48498         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
48499         (_FP_NANFRAC_Q): Set to zero.
48501 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48503         [BZ #16623]
48504         * math/auto-libm-test-in: New test inputs.
48505         * math/auto-libm-test-out: Regenerate.
48506         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
48507         and DA.
48508         (__cos): Likewise.
48509         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
48511 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
48513         * scripts/evaluate-test.sh: Take new argument indicating whether
48514         failure is expected.
48515         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
48516         indicating whether failure is expected.
48517         * conform/Makefile (test-xfail-run-conformtest): New variable.
48518         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
48519         level.
48520         * posix/Makefile (test-xfail-annexc): New variable.
48521         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
48523 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
48525         * argp/Makefile: Include Makeconfig immediately after defining
48526         subdir.
48527         * assert/Makefile: Likewise.
48528         * benchtests/Makefile: Likewise.
48529         * catgets/Makefile: Likewise.
48530         * conform/Makefile: Likewise.
48531         * crypt/Makefile: Likewise.
48532         * csu/Makefile: Likewise.
48533         (all): Remove target.
48534         * ctype/Makefile: Include Makeconfig immediately after defining
48535         subdir.
48536         * debug/Makefile: Likewise.
48537         * dirent/Makefile: Likewise.
48538         * dlfcn/Makefile: Likewise.
48539         * gmon/Makefile: Likewise.
48540         * gnulib/Makefile: Likewise.
48541         * grp/Makefile: Likewise.
48542         * gshadow/Makefile: Likewise.
48543         * hesiod/Makefile: Likewise.
48544         * hurd/Makefile: Likewise.
48545         (all): Remove target.
48546         * iconvdata/Makefile: Include Makeconfig immediately after
48547         defining subdir.
48548         * inet/Makefile: Likewise.
48549         * intl/Makefile: Likewise.
48550         * io/Makefile: Likewise.
48551         * libio/Makefile: Likewise.
48552         (all): Remove target.
48553         * locale/Makefile: Include Makeconfig immediately after defining
48554         subdir.
48555         * login/Makefile: Likewise.
48556         * mach/Makefile: Likewise.
48557         (all): Remove target.
48558         * malloc/Makefile: Include Makeconfig immediately after defining
48559         subdir.
48560         (all): Remove target.
48561         * manual/Makefile: Include Makeconfig immediately after defining
48562         subdir.
48563         * math/Makefile: Likewise.
48564         * misc/Makefile: Likewise.
48565         * nis/Makefile: Likewise.
48566         * nss/Makefile: Likewise.
48567         * po/Makefile: Likewise.
48568         (all): Remove target.
48569         * posix/Makefile: Include Makeconfig immediately after defining
48570         subdir.
48571         * pwd/Makefile: Likewise.
48572         * resolv/Makefile: Likewise.
48573         * resource/Makefile: Likewise.
48574         * rt/Makefile: Likewise.
48575         * setjmp/Makefile: Likewise.
48576         * shadow/Makefile: Likewise.
48577         * signal/Makefile: Likewise.
48578         * socket/Makefile: Likewise.
48579         * soft-fp/Makefile: Likewise.
48580         * stdio-common/Makefile: Likewise.
48581         * stdlib/Makefile: Likewise.
48582         * streams/Makefile: Likewise.
48583         * string/Makefile: Likewise.
48584         * sunrpc/Makefile: Likewise.
48585         (all): Remove target.
48586         * sysvipc/Makefile: Include Makeconfig immediately after defining
48587         subdir.
48588         * termios/Makefile: Likewise.
48589         * time/Makefile: Likewise.
48590         * timezone/Makefile: Likewise.
48591         (all): Remove target.
48592         * wcsmbs/Makefile: Include Makeconfig immediately after defining
48593         subdir.
48594         * wctype/Makefile: Likewise.
48596 2014-02-26  Steve Ellcey  <sellcey@mips.com>
48598         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
48599         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
48600         (libc_feholdexcept_setround_mips): Ditto.
48601         (libc_feholdsetround): New.
48602         (libc_feholdsetroundf): New.
48603         (libc_feholdsetroundl): New.
48604         (libc_feupdateenv_test_mips): New.
48605         (libc_feupdateenv_test): New.
48606         (libc_feupdateenv_testf): New.
48607         (libc_feupdateenv_testl): New.
48608         (libc_feresetround): New.
48609         (libc_feresetroundf): New.
48610         (libc_feresetroundl): New.
48611         (libc_fetestexcept_mips): New.
48612         (libc_fetestexcept): New.
48613         (libc_fetestexceptf): New.
48614         (libc_fetestexceptl): New.
48615         (HAVE_RM_CTX): New.
48616         (libc_feholdexcept_setround_mips_ctx): New.
48617         (libc_feholdexcept_setround_ctx): New.
48618         (libc_feholdexcept_setroundf_ctx): New.
48619         (libc_feholdexcept_setroundl_ctx): New.
48620         (libc_fesetenv_mips_ctx): New.
48621         (libc_fesetenv_ctx): New.
48622         (libc_fesetenv_ctxf): New.
48623         (libc_fesetenv_ctxl): New.
48624         (libc_feupdateenv_mips_ctx): New.
48625         (libc_feupdateenv_ctx): New.
48626         (libc_feupdateenvf_ctx): New.
48627         (libc_feupdateenvl_ctx): New.
48628         (libc_feholdsetround_mips_ctx): New.
48629         (libc_feholdsetround_ctx): New.
48630         (libc_feholdsetroundf_ctx): New.
48631         (libc_feholdsetroundl_ctx): New.
48632         (libc_feresetround_mips_ctx): New.
48633         (libc_feresetround_ctx): New.
48634         (libc_feresetroundf_ctx): New.
48635         (libc_feresetroundl_ctx): New.
48637 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
48639         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
48641         * manual/ipc.texi: New file.
48642         * manual/Makefile (chapters): Add ipc.
48643         * manual/job.texi: Add "Inter-Process Communication" to next.
48644         * manual/process.texi: Add "Inter-Process Communication" to prev.
48646 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48648         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48650 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
48652         * malloc/malloc.c (__libc_calloc): Simplify implementation.
48654         * manual/arith.texi: Fix spaces after sentences.
48655         * manual/charset.texi: Likewise.
48656         * manual/errno.texi: Likewise.
48657         * manual/install.texi: Likewise.
48658         * manual/llio.texi: Likewise.
48659         * manual/locale.texi: Likewise.
48660         * manual/maint.texi: Likewise.
48661         * manual/math.texi: Likewise.
48662         * manual/memory.texi: Likewise.
48663         * manual/message.texi: Likewise.
48664         * manual/probes.texi: Likewise.
48665         * manual/resource.texi: Likewise.
48666         * manual/signal.texi: Likewise.
48667         * manual/socket.texi: Likewise.
48668         * manual/stdio.texi: Likewise.
48669         * manual/string.texi: Likewise.
48670         * manual/time.texi: Likewise.
48671         * manual/users.texi: Likewise.
48673 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
48675         [BZ #16632]
48676         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
48677         _DEFAULT_SOURCE is defined.
48679 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
48680             Carlos O'Donell  <carlos@redhat.com>
48682         [BZ #16613]
48683         * elf/dl-tls.c (_dl_count_modids): New function.
48684         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
48685         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
48686         audit library and increment generation counter.
48687         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
48688         * elf/tst-audit9.c: New file.
48689         * elf/tst-auditmod9a.c: New file.
48690         * elf/tst-auditmod9b.c: New file.
48691         * elf/Makefile: Add rules to build and run tst-audit9.
48693 2014-02-25  Florian Weimer  <fweimer@redhat.com>
48695         [BZ #15347]
48696         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
48698 2014-02-25  Will Newton  <will.newton@linaro.org>
48700         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
48701         (__longjmp): Restore sp and lr before restoring callee
48702         saved registers.  Add longjmp and longjmp_target
48703         SystemTap probe point.
48704         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
48705         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
48706         Define to zero to match jmpbuf layout.
48707         * sysdeps/arm/setjmp.S: Include stap-probe.h.
48708         (__sigsetjmp): Save sp and lr before saving callee
48709         saved registers.  Add setjmp SystemTap probe point.
48711 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
48713         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
48715 2014-02-24  Andreas Schwab  <schwab@suse.de>
48717         [BZ #15804]
48718         * elf/pldd.c (wait_for_ptrace_stop): New function.
48719         (main): Call it after attaching.
48721 2014-02-22  Roland McGrath  <roland@hack.frob.com>
48723         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
48724         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
48725         Versions files is now verboten.
48726         * hurd/Versions (libc: GLIBC_2.0):
48727         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
48728         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
48729         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
48730         * mach/Versions: Likewise.
48732         * csu/Versions: Remove unused %include.
48733         * resolv/Versions: Likewise.
48735 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
48737         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
48738         ($(objpfx)check-local-headers.out): Likewise.
48739         ($(objpfx)begin-end-check.out): Likewise.
48740         * Makerules (check-abi-%.out): Likewise.
48741         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
48742         ($(objpfx)test2.cat): Likewise.
48743         ($(objpfx)de/libc.cat): Likewise.
48744         ($(objpfx)test-gencat.out): Likewise.
48745         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
48746         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
48747         ($(objpfx)noload-mem): Likewise.
48748         ($(objpfx)tst-pathopt.out): Likewise.
48749         ($(objpfx)tst-rtld-load-self.out): Likewise.
48750         ($(objpfx)tst-array1-cmp.out): Likewise.
48751         ($(objpfx)tst-array1-static-cmp.out): Likewise.
48752         ($(objpfx)tst-array2-cmp.out): Likewise.
48753         ($(objpfx)tst-array3-cmp.out): Likewise.
48754         ($(objpfx)tst-array4-cmp.out): Likewise.
48755         ($(objpfx)tst-array5-cmp.out): Likewise.
48756         ($(objpfx)tst-array5-static-cmp.out): Likewise.
48757         ($(objpfx)check-textrel.out): Likewise.
48758         ($(objpfx)check-execstack.out): Likewise.
48759         ($(objpfx)check-localplt.out): Likewise.
48760         ($(objpfx)order2-cmp.out): Likewise.
48761         ($(objpfx)tst-leaks1-mem): Likewise.
48762         ($(objpfx)tst-leaks1-static-mem): Likewise.
48763         ($(objpfx)tst-initorder-cmp.out): Likewise.
48764         ($(objpfx)tst-initorder2-cmp.out): Likewise.
48765         ($(objpfx)tst-unused-dep.out): Likewise.
48766         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
48767         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
48768         * iconv/Makefile (test-iconvconfig): Likewise.
48769         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
48770         ($(objpfx)iconv-test.out): Likewise.
48771         ($(objpfx)tst-tables.out): Likewise.
48772         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
48773         ($(objpfx)tst-gettext.out): Likewise.
48774         ($(objpfx)tst-translit.out): Likewise.
48775         ($(objpfx)tst-gettext2.out): Likewise.
48776         ($(objpfx)tst-gettext4.out): Likewise.
48777         ($(objpfx)tst-gettext6.out): Likewise.
48778         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
48779         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
48780         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
48781         ($(objpfx)tst-fopenloc-mem.out): Likewise.
48782         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
48783         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
48784         * posix/Makefile ($(objpfx)globtest.out): Likewise.
48785         ($(objpfx)wordexp-tst.out): Likewise.
48786         ($(objpfx)annexc.out): Likewise.
48787         ($(objpfx)tst-fnmatch-mem): Likewise.
48788         ($(objpfx)bug-regex2-mem): Likewise.
48789         ($(objpfx)bug-regex14-mem): Likewise.
48790         ($(objpfx)bug-regex21-mem): Likewise.
48791         ($(objpfx)bug-regex31-mem): Likewise.
48792         ($(objpfx)tst-vfork3-mem): Likewise.
48793         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
48794         ($(objpfx)tst-pcre-mem): Likewise.
48795         ($(objpfx)tst-boost-mem): Likewise.
48796         ($(objpfx)tst-getconf.out): Likewise.
48797         ($(objpfx)bug-ga2-mem): Likewise.
48798         ($(objpfx)bug-glob2-mem): Likewise.
48799         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
48800         ($(objpfx)mtrace-tst-leaks2): Likewise.
48801         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
48802         ($(objpfx)tst-printf.out): Likewise.
48803         ($(objpfx)tst-setvbuf1.out): Likewise.
48804         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
48805         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
48806         ($(objpfx)tst-fmtmsg.out): Likewise.
48807         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
48808         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
48810         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
48811         * bits/sigaction.h [__USE_MISC]: Likewise.
48812         * bits/waitstatus.h: Update #endif comments.
48813         * ctype/ctype.h: Likewise.
48814         * dirent/dirent.h: Likewise.
48815         [__USE_MISC]: Remove redundant conditionals.
48816         * grp/grp.h: Update #endif comments.
48817         [__USE_GNU]: Remove redundant conditionals.
48818         [__USE_MISC]: Likewise.
48819         * inet/netinet/in.h [__USE_GNU]: Likewise.
48820         * io/sys/stat.h [__USE_MISC]: Likewise.
48821         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
48822         * libio/bits/stdio.h: Update #endif comments.
48823         [__USE_MISC]: Remove redundant conditionals.
48824         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
48825         * libio/stdio.h: Update #endif comments.
48826         [__USE_MISC]: Remove redundant conditionals.
48827         * math/bits/math-finite.h [__USE_MISC]: Likewise.
48828         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
48829         * math/math.h: Update #else and #endif comments.
48830         [__USE_MISC]: Remove redundant conditionals.
48831         * misc/sys/uio.h: Update #endif comments.
48832         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
48833         * posix/glob.h [__USE_MISC]: Likewise.
48834         * posix/sys/types.h: Update #endif comments.
48835         [__USE_MISC]: Remove redundant conditionals.
48836         * posix/sys/wait.h: Update #endif comments.
48837         [__USE_MISC]: Remove redundant conditionals.
48838         * posix/unistd.h: Update #endif comments.
48839         [__USE_MISC]: Remove redundant conditionals.
48840         * pwd/pwd.h [__USE_GNU]: Likewise.
48841         [__USE_MISC]: Likewise.
48842         * resolv/netdb.h [__USE_GNU]: Likewise.
48843         * signal/signal.h: Update #endif comments.
48844         [__USE_MISC]: Remove redundant conditionals.
48845         * stdlib/stdlib.h: Update #else and #endif comments.
48846         [__USE_MISC]: Remove redundant conditionals.
48847         [__USE_GNU]: Likewise.
48848         * string/bits/string2.h [__USE_MISC]: Likewise.
48849         * string/string.h: Update #endif comments.
48850         [__USE_MISC]: Remove redundant conditionals.
48851         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
48852         Likewise.
48853         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
48854         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
48855         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
48856         Likewise.
48857         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
48858         Likewise.
48859         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
48860         comments.
48861         [__USE_MISC]: Remove redundant conditionals.
48862         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
48863         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
48864         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
48865         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
48866         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
48867         Likewise.
48868         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
48869         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
48870         Likewise.
48871         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
48872         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
48873         Likewise.
48874         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
48875         Likewise.
48876         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
48877         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
48878         Likewise.
48879         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
48880         Likewise.
48881         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
48882         * sysdeps/x86/bits/string.h: Update #endif comments.
48883         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
48884         conditionals.
48885         * time/sys/time.h: Update #endif comments.
48886         * time/time.h: Likewise.
48887         [__USE_MISC]: Remove redundant conditionals.
48889 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
48891         [BZ #16600]
48892         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
48894 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
48896         * Versions.def (librt): Add GLIBC_2.17.
48898 2014-02-21  Adam Conrad  <adconrad@0c3.net>
48900         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
48901         synonym for _SYS_AUXV_H to allow direct inclusion.
48902         * sysdeps/sparc/bits/hwcap.h: Likewise.
48903         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
48904         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
48905         * sysdeps/sparc/sysdep.h: Likewise.
48907 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48909         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
48911 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
48913         * benchtests/bench-strrchr.c: Print length instead of position.
48915 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
48917         [BZ #16611]
48918         * sysdeps/unix/sysv/linux/kernel-features.h
48919         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
48920         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
48921         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
48922         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
48923         Likewise.
48924         [__i386__ || __powerpc__ || __sh__ || __sparc__]
48925         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
48926         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
48927         (__ASSUME_SENDMMSG): Define instead of using previous
48928         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
48929         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
48930         (__ASSUME_SENDMMSG_SYSCALL): Define.
48931         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48932         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
48933         Likewise.
48934         * sysdeps/unix/sysv/linux/arm/kernel-features.h
48935         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
48936         Likewise.
48937         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
48938         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
48939         Likewise.
48940         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
48941         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
48942         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
48943         [__ASSUME_SENDMMSG]: Change conditionals to
48944         [__ASSUME_SENDMMSG_SOCKETCALL].
48945         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48946         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
48947         Define.
48948         * sysdeps/unix/sysv/linux/mips/kernel-features.h
48949         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
48950         Likewise.
48951         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
48952         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
48953         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
48954         [!__ASSUME_SENDMMSG]: Change conditional to
48955         [!__ASSUME_SENDMMSG_SOCKETCALL].
48956         * sysdeps/unix/sysv/linux/tile/kernel-features.h
48957         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
48958         Define.
48960         [BZ #16610]
48961         * sysdeps/unix/sysv/linux/kernel-features.h
48962         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
48963         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
48964         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
48965         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
48966         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
48967         [__i386__ || __sparc__]
48968         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
48969         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
48970         (__ASSUME_RECVMMSG): Define instead of using previous
48971         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
48972         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
48973         (__ASSUME_RECVMMSG_SYSCALL): Define.
48974         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48975         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48976         Likewise.
48977         * sysdeps/unix/sysv/linux/arm/kernel-features.h
48978         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48979         Likewise.
48980         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
48981         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48982         Likewise.
48983         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__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/microblaze/kernel-features.h
48989         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48990         Define.
48991         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
48992         * sysdeps/unix/sysv/linux/mips/kernel-features.h
48993         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48994         Likewise.
48995         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
48996         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
48997         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
48998         [!__ASSUME_RECVMMSG]: Change condition to
48999         [!__ASSUME_RECVMMSG_SOCKETCALL].
49000         * sysdeps/unix/sysv/linux/tile/kernel-features.h
49001         (__ASSUME_RECVMMSG_SYSCALL): Define.
49003         [BZ #16609]
49004         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
49005         __powerpc__ || __s390__ || __sh__ || __sparc__]
49006         (__ASSUME_SOCKETCALL): Define.
49007         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
49008         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
49009         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
49010         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
49011         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
49012         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
49013         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
49014         (__ASSUME_ACCEPT4): Define instead of using previous
49015         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
49016         __powerpc__ || __sparc__ || __s390__)] condition.
49017         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49018         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
49019         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
49020         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
49021         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
49022         [!__ASSUME_ACCEPT4]: Change condition to
49023         [!__ASSUME_ACCEPT4_SOCKETCALL].
49024         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49025         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
49026         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
49027         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49028         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
49029         __ASSUME_ACCEPT4_SYSCALL.
49030         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
49031         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
49032         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49033         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
49034         __ASSUME_ACCEPT4_SYSCALL.
49035         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
49036         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
49037         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
49038         [__ASSUME_ACCEPT4]: Change condition to
49039         [__ASSUME_ACCEPT4_SOCKETCALL].
49040         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
49041         (__ASSUME_SOCKETCALL): Define.
49042         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
49043         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49044         (__ASSUME_SOCKETCALL): Define.
49045         (__ASSUME_ACCEPT4): Remove.
49046         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
49047         Define.
49048         * sysdeps/unix/sysv/linux/mips/kernel-features.h
49049         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
49050         Likewise.
49051         * sysdeps/unix/sysv/linux/tile/kernel-features.h
49052         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
49054         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
49055         macro.
49056         (HWCAP_ARM_LPAE): Likewise.
49057         (HWCAP_ARM_EVTSTRM): Likewise.
49058         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
49059         Add vpfd32, lpae and evtstrm.
49060         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
49061         Increase to 22.
49063 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
49065         * math/auto-libm-test-in: Add tests of clog10.
49066         * math/auto-libm-test-out: Regenerated.
49067         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
49068         * sysdeps/i386/fpu/libm-test-ulps: Update.
49069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49071 2014-02-18  Andreas Schwab  <schwab@suse.de>
49073         [BZ #16574]
49074         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
49075         Store non-zero if the second buffer was newly allocated.
49076         (send_dg): Likewise.
49077         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
49078         to send_vc and send_dg.
49079         (res_nsend): Pass NULL for ansp2_malloced.
49080         * resolv/res_query.c (__libc_res_nquery): Add parameter
49081         answerp2_malloced and pass it down to __libc_res_nsend.
49082         (res_nquery): Pass additional NULL to __libc_res_nquery.
49083         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
49084         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
49085         second answer buffer if answerp2_malloced was set.
49086         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
49087         (__libc_res_nquerydomain): Add parameter
49088         answerp2_malloced and pass it down to __libc_res_nquery.
49089         (res_nquerydomain): Pass additional NULL to
49090         __libc_res_nquerydomain.
49091         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
49092         additional NULL to __libc_res_nsend and __libc_res_nquery.
49093         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
49094         additional NULL to __libc_res_nsearch.
49095         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
49096         parameter of __libc_res_nsearch to check for separately allocated
49097         second buffer.
49098         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
49099         __libc_res_nquery.
49100         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
49101         additional NULL to __libc_res_nquery.
49102         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
49103         __libc_res_nsearch.
49104         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
49105         * include/resolv.h: Update prototypes of __libc_res_nquery,
49106         __libc_res_nsearch, __libc_res_nsend.
49108 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
49110         * math/auto-libm-test-in: Add tests of fma.
49111         * math/auto-libm-test-out: Regenerated.
49112         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
49113         (fma_towardzero_test_data): Likewise.
49114         (fma_downward_test_data): Likewise.
49115         (fma_upward_test_data): Likewise.
49116         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
49117         mpc_mode.
49118         (rounding_modes): Add values for new field.
49119         (func_calc_method): Add value mpfr_fff_f.
49120         (func_calc_desc): Add mpfr_fff_f union field.
49121         (test_function): Add field exact_args.
49122         (FUNC): Add macro argument EXACT_ARGS.
49123         (FUNC_mpfr_f_f): Update call to FUNC.
49124         (FUNC_mpfr_f_f): Likewise.
49125         (FUNC_mpfr_ff_f): Likewise.
49126         (FUNC_mpfr_if_f): Likewise.
49127         (FUNC_mpc_c_f): Likewise.
49128         (FUNC_mpc_c_c): Likewise.
49129         (test_functions): Add fma.  Update calls to FUNC.
49130         (handle_input_arg): Add argument exact_args.
49131         (add_test): Update call to handle_input_arg.
49132         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
49133         (output_for_one_input_case): Update call to calc_generic_results.
49134         Recalculate exact zero results in each rounding mode.
49136         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
49137         non-negative before setting low bit.
49138         * math/auto-libm-test-in: Mark one asin test possibly having
49139         spurious underflow.
49140         * math/auto-libm-test-out: Regenerated.
49141         * sysdeps/i386/fpu/libm-test-ulps: Update.
49142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49144 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
49146         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
49147         * sysdeps/unix/sysv/linux/microblaze: Move directory from
49148         ports/sysdeps/unix/sysv/linux/microblaze.
49149         * README: Add missing listing for microblaze*-*-linux-gnu.
49151 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
49153         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
49154         duplicate code
49156 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
49158         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
49159         * sysdeps/unix/sysv/linux/ia64: Move directory from
49160         ports/sysdeps/unix/sysv/linux/ia64.
49161         * README: Update listing for ia64-*-linux-gnu.
49163 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
49164             Joseph Myers  <joseph@codesourcery.com>
49166         * Makeconfig (test-name): New variable.
49167         (evaluate-test): Likewise.
49168         * Makerules (do-test-clean): Remove .test-result files.
49169         (common-mostlyclean): Likewise.
49170         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
49171         * scripts/evaluate-test.sh: New file.
49173 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
49175         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
49176         separate $(objpfx)tst-fopenloc-cmp.out and
49177         $(objpfx)tst-fopenloc-mem.out targets.
49178         (tests): Update dependencies.
49179         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
49180         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
49181         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
49182         (tst-rxspencer-no-utf8-ARGS): New variable.
49183         (tst-rxspencer-no-utf8-ENV): Likewise.
49184         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
49185         instead of $(objpfx)tst-rxspencer-mem.
49186         ($(objpfx)tst-rxspencer-mem): Change target to
49187         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
49188         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
49189         * posix/tst-rxspencer-no-utf8.c: New file.
49191         * elf/Makefile ($(objpfx)order.out): Remove rule.
49192         [$(run-built-tests) = yes] (tests): Depend on
49193         $(objpfx)order-cmp.out.
49194         ($(objpfx)order-cmp.out): New rule.
49195         [$(run-built-tests) = yes] (tests): Depend on
49196         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
49197         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
49198         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
49199         $(objpfx)tst-array5-static-cmp.out.
49200         ($(objpfx)tst-array1.out): Remove rule.
49201         ($(objpfx)tst-array1-cmp.out): New rule.
49202         ($(objpfx)tst-array1-static.out): Remove rule.
49203         ($(objpfx)tst-array1-static-cmp.out): New rule.
49204         ($(objpfx)tst-array2.out): Remove rule.
49205         ($(objpfx)tst-array2-cmp.out): New rule.
49206         ($(objpfx)tst-array3.out): Remove rule.
49207         ($(objpfx)tst-array3-cmp.out): New rule.
49208         ($(objpfx)tst-array4.out): Remove rule.
49209         ($(objpfx)tst-array4-cmp.out): New rule.
49210         ($(objpfx)tst-array5.out): Remove rule.
49211         ($(objpfx)tst-array5-cmp.out): New rule.
49212         ($(objpfx)tst-array5-static.out): Remove rule.
49213         ($(objpfx)tst-array5-static-cmp.out): New rule.
49214         [$(run-built-tests) = yes] (tests): Depend on
49215         $(objpfx)order2-cmp.out.
49216         ($(objpfx)order2.out): Remove rule.
49217         ($(objpfx)order2-cmp.out): New rule.
49218         ($(objpfx)tst-initorder.out): Remove rule.
49219         [$(run-built-tests) = yes] (tests): Depend on
49220         $(objpfx)tst-initorder-cmp.out.
49221         ($(objpfx)tst-initorder-cmp.out): New rule.
49222         ($(objpfx)tst-initorder2.out): Remove rule.
49223         [$(run-built-tests) = yes] (tests): Depend on
49224         $(objpfx)tst-initorder2-cmp.out.
49225         ($(objpfx)tst-initorder2-cmp.out): New rule.
49226         [$(run-built-tests) = yes] (tests): Depend on
49227         $(objpfx)tst-unused-dep-cmp.out.
49228         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
49229         ($(objpfx)tst-unused-dep-cmp.out): New rule.
49230         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
49231         on $(objpfx)tst-setvbuf1-cmp.out.
49232         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
49233         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
49234         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
49235         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
49236         ($(objpfx)tst-svc.out): Remove rule.
49237         ($(objpfx)tst-svc-cmp.out): New rule.
49239 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
49241         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
49242         * ctype/ctype.h [__USE_MISC]: Likewise.
49243         * dirent/dirent.h [__USE_MISC]: Likewise.
49244         * grp/grp.h [__USE_MISC]: Likewise.
49245         * io/fcntl.h [__USE_MISC]: Likewise.
49246         * io/sys/stat.h [__USE_MISC]: Likewise.
49247         * libio/stdio.h [__USE_MISC]: Likewise.
49248         * posix/unistd.h [__USE_MISC]: Likewise.
49249         * pwd/pwd.h [__USE_MISC]: Likewise.
49250         * stdlib.h [__USE_MISC]: Likewise.
49251         * string/bits/string2.h [__USE_MISC]: Likewise.
49252         * string/string.h [__USE_MISC]: Likewise.
49253         * time/time.h [__USE_MISC]: Likewise.
49255 2014-02-13  Andreas Schwab  <schwab@suse.de>
49257         [BZ #16574]
49258         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
49259         second answer buffer if it was separately allocated.
49261 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
49263         * sysdeps/mips/math-tests.h: Include <features.h>.
49264         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
49265         (ROUNDING_TESTS_long_double): Do not define.
49266         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
49267         (EXCEPTION_TESTS_long_double): Likewise.
49268         * sysdeps/mips/mips64/libm-test-ulps: Update.
49270         * include/features.h (__USE_BSD): Remove macro definitions.
49271         (__USE_SVID): Likewise.
49272         (_BSD_SOURCE): Likewise.
49273         (_SVID_SOURCE): Likewise.
49274         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
49275         from definition of _DEFAULT_SOURCE.
49276         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
49277         [_DEFAULT_SOURCE].
49278         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
49279         * bits/mman.h [__USE_BSD]: Likewise.
49280         * bits/termios.h [__USE_BSD]: Likewise.
49281         * bits/waitstatus.h [__USE_BSD]: Likewise.
49282         * ctype/ctype.h [__USE_SVID]: Likewise.
49283         * dirent/dirent.h [__USE_BSD]: Likewise.
49284         * grp/grp.h [__USE_SVID]: Likewise.
49285         [__USE_BSD]: Likewise.
49286         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
49287         * io/fcntl.h [__USE_BSD]: Likewise.
49288         * io/ftw.h [__USE_BSD]: Likewise.
49289         * io/sys/stat.h [__USE_BSD]: Likewise.
49290         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
49291         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
49292         * libio/stdio.h [__USE_SVID]: Likewise.
49293         [__USE_BSD]: Likewise.
49294         * math/math.h [__USE_SVID]: Likewise.
49295         [__USE_BSD]: Likewise.
49296         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
49297         * misc/bits/syslog.h [__USE_BSD]: Likewise.
49298         * misc/search.h [__USE_SVID]: Likewise.
49299         * misc/sys/mman.h [__USE_BSD]: Likewise.
49300         * misc/sys/syslog.h [__USE_BSD]: Likewise.
49301         * misc/sys/uio.h [__USE_BSD]: Likewise.
49302         * posix/bits/unistd.h [__USE_BSD]: Likewise.
49303         * posix/glob.h [__USE_BSD]: Likewise.
49304         * posix/regex.h [__USE_BSD]: Likewise.
49305         * posix/sys/types.h [__USE_BSD]: Likewise.
49306         [__USE_SVID]: Likewise.
49307         * posix/sys/utsname.h [__USE_SVID]: Likewise.
49308         * posix/sys/wait.h [__USE_BSD]: Likewise.
49309         [__USE_SVID]: Likewise.
49310         * posix/unistd.h [__USE_BSD]: Likewise.
49311         [__USE_SVID]: Likewise.
49312         * pwd/pwd.h [__USE_SVID]: Likewise.
49313         * resolv/netdb.h [__USE_BSD]: Likewise.
49314         * setjmp/setjmp.h [__USE_BSD]: Likewise.
49315         * signal/signal.h [__USE_BSD]: Likewise.
49316         [__USE_SVID]: Likewise.
49317         * socket/sys/socket.h [__USE_BSD]: Likewise.
49318         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
49319         * stdlib/stdlib.h [__USE_BSD]: Likewise.
49320         [__USE_SVID]: Likewise.
49321         * string/bits/string2.h [__USE_BSD]: Likewise.
49322         [__USE_SVID]: Likewise.
49323         * string/bits/string3.h [__USE_BSD]: Likewise.
49324         * string/endian.h [__USE_BSD]: Likewise.
49325         * string/string.h [__USE_SVID]: Likewise.
49326         [__USE_BSD]: Likewise.
49327         * string/strings.h [__USE_BSD]: Likewise.
49328         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
49329         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
49330         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
49331         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
49332         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
49333         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
49334         Likewise.
49335         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
49336         Likewise.
49337         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
49338         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
49339         Likewise.
49340         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
49341         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
49342         Likewise.
49343         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
49344         Likewise.
49345         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
49346         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
49347         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
49348         Likewise.
49349         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
49350         Likewise.
49351         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
49352         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
49353         * termios/termios.h [__USE_BSD]: Likewise.
49354         * time/sys/time.h [__USE_BSD]: Likewise.
49355         * time/time.h [__USE_BSD]: Likewise.
49356         [__USE_SVID]: Likewise.
49358         * Makefile (subdir_targets): Remove subdir_lint.out.
49360         * stdio-common/Makefile (do-tst-unbputc): Remove target.
49361         (do-tst-printf): Likewise.
49362         (tests): Depend directly on $(objpfx)tst-unbputc.out and
49363         $(objpfx)tst-printf.out.
49365         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
49367         * Makerules (check-abi-%): Change target to
49368         $(objpfx)check-abi-%.out.
49369         (check-abi target): Update dependencies.
49370         (check-abi-pattern variable): Redirect output of diff to $@.
49371         (check-abi variable): Likewise.
49372         * elf/Makefile (check-abi): Update dependencies.
49374         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
49375         unused.
49376         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
49377         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
49378         subnormal range.
49379         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
49380         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
49381         value has largest subnormal exponent.
49382         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
49383         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
49384         * sysdeps/aarch64/soft-fp/sfp-machine.h
49385         (_FP_TININESS_AFTER_ROUNDING): New macro.
49386         * sysdeps/alpha/soft-fp/sfp-machine.h
49387         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49388         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
49389         Likewise.
49390         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
49391         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49392         * sysdeps/mips/soft-fp/sfp-machine.h
49393         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49394         * sysdeps/powerpc/soft-fp/sfp-machine.h
49395         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49396         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
49397         Likewise.
49398         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
49399         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49400         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
49401         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49402         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
49403         Likewise.
49405 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
49407         [BZ #16545]
49408         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
49409         model 1.
49411 2014-02-12  Richard Henderson  <rth@redhat.com>
49413         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
49414         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
49415         * sysdeps/unix/sysv/linux/alpha: Move directory from
49416         ports/sysdeps/unix/sysv/linux/alpha.
49417         * README: Update listing for alpha-*-linux-gnu.
49419 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
49421         * include/features.h: Update comment documenting feature test
49422         macros.
49423         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
49424         _DEFAULT_SOURCE.
49425         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
49426         (_SVID_SOURCE): Likewise.
49427         (_DEFAULT_SOURCE): Update description of default features.
49428         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
49429         with _GNU_SOURCE.
49430         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
49431         (S_ISVTX): Likewise.
49432         * manual/math.texi (Mathematical Constants): Likewise.
49433         * manual/signal.texi (Interrupted Primitives): Likewise.
49434         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
49435         * math/test-matherr.c (_SVID_SOURCE): Do not define.
49436         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
49437         Don't refer to _SVID_SOURCE in warning text.
49439         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49441         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
49442         already defined.
49443         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
49444         * sysdeps/mips/dl-lookup.c: Remove.
49445         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
49447 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
49449         [BZ #16447]
49450         * math/auto-libm-test-in: Add testcase for expl.
49451         * math/auto-libm-test-out: Regenerate.
49452         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
49453         calculation of unsafe.
49454         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
49456 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
49458         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
49459         * sysdeps/unix/sysv/linux/aarch64: Move directory from
49460         ports/sysdeps/unix/sysv/linux/aarch64.
49461         * README: Update listing for aarch64*-*-linux-gnu.
49463 2014-02-11  Will Newton  <will.newton@linaro.org>
49465         * manual/probes.texi (Mathematical Function Probes): Use
49466         "triggered" instead of "hit".
49468         * manual/probes.texi (Internal Probes): Add documentation
49469         of setjmp, longjmp and longjmp_target probes.
49471         * include/stap-probe.h: Add comment about probe argument
49472         format.
49474         * malloc/mtrace.c (attribute_hidden): Remove unused macro
49475         definition.  (tr_where, tr_freehook, tr_mallochook,
49476         tr_reallochook, tr_memalignhook): Use ANSI protoype.
49478 2014-02-11  David S. Miller  <davem@davemloft.net>
49480         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
49481         processing int_tests.
49483 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
49485         * sysdeps/mips: Move directory from ports/sysdeps/mips.
49486         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
49487         * sysdeps/unix/sysv/linux/mips: Move directory from
49488         ports/sysdeps/unix/sysv/linux/mips.
49489         * README: Update listing for mips-*-linux-gnu and
49490         mips64-*-linux-gnu.
49492 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
49494         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
49495         * sysdeps/unix/sysv/linux/m68k: Move directory from
49496         ports/sysdeps/unix/sysv/linux/m68k.
49497         * README: Update listing for m68k-*-linux-gnu.
49499 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
49501         * sysdeps/tile: Move directory from ports/sysdeps/tile.
49502         * sysdeps/unix/sysv/linux/generic: Move directory from
49503         ports/sysdeps/unix/sysv/linux/generic.
49504         * sysdeps/unix/sysv/linux/tile: Move directory from
49505         ports/sysdeps/unix/sysv/linux/tile.
49506         * README: Update listing for tile*-*-linux-gnu.
49508 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
49510         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
49511         __builtin_expect.
49512         * benchtests/bench-memmem.c (simple_memmem): Likewise.
49513         * catgets/open_catalog.c (__open_catalog): Likewise.
49514         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
49515         * debug/confstr_chk.c: Likewise.
49516         * debug/fread_chk.c (__fread_chk): Likewise.
49517         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
49518         * debug/getgroups_chk.c: Likewise.
49519         * debug/mbsnrtowcs_chk.c: Likewise.
49520         * debug/mbsrtowcs_chk.c: Likewise.
49521         * debug/mbstowcs_chk.c: Likewise.
49522         * debug/memcpy_chk.c: Likewise.
49523         * debug/memmove_chk.c: Likewise.
49524         * debug/mempcpy_chk.c: Likewise.
49525         * debug/memset_chk.c: Likewise.
49526         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
49527         * debug/strcat_chk.c (__strcat_chk): Likewise.
49528         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
49529         * debug/strncat_chk.c (__strncat_chk): Likewise.
49530         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
49531         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
49532         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
49533         * debug/wcpncpy_chk.c: Likewise.
49534         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
49535         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
49536         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
49537         * debug/wcsncpy_chk.c: Likewise.
49538         * debug/wcsnrtombs_chk.c: Likewise.
49539         * debug/wcsrtombs_chk.c: Likewise.
49540         * debug/wcstombs_chk.c: Likewise.
49541         * debug/wmemcpy_chk.c: Likewise.
49542         * debug/wmemmove_chk.c: Likewise.
49543         * debug/wmempcpy_chk.c: Likewise.
49544         * debug/wmemset_chk.c: Likewise.
49545         * dirent/scandirat.c (SCANDIRAT): Likewise.
49546         * dlfcn/dladdr1.c (dladdr1): Likewise.
49547         * dlfcn/dladdr.c (dladdr): Likewise.
49548         * dlfcn/dlclose.c (dlclose_doit): Likewise.
49549         * dlfcn/dlerror.c (__dlerror): Likewise.
49550         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
49551         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
49552         * dlfcn/dlopen.c (dlopen_doit): Likewise.
49553         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
49554         * dlfcn/dlsym.c (dlsym_doit): Likewise.
49555         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
49556         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
49557         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
49558         Likewise.
49559         * elf/dl-conflict.c: Likewise.
49560         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
49561         * elf/dl-dst.h: Likewise.
49562         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
49563         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
49564         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
49565         * elf/dl-init.c (call_init, _dl_init): Likewise.
49566         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
49567         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
49568         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
49569         Likewise.
49570         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
49571         Likewise.
49572         * elf/dl-minimal.c (__libc_memalign): Likewise.
49573         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
49574         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
49575         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
49576         * elf/dl-sym.c (do_sym): Likewise.
49577         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
49578         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
49579         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
49580         * elf/dl-writev.h (_dl_writev): Likewise.
49581         * elf/ldconfig.c (search_dir): Likewise.
49582         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
49583         (dl_main): Likewise.
49584         * elf/setup-vdso.h (setup_vdso): Likewise.
49585         * grp/compat-initgroups.c (compat_call): Likewise.
49586         * grp/fgetgrent.c (fgetgrent): Likewise.
49587         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
49588         * grp/putgrent.c (putgrent): Likewise.
49589         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
49590         Likewise.
49591         * hurd/hurdinit.c: Likewise.
49592         * iconvdata/8bit-gap.c (struct): Likewise.
49593         * iconvdata/ansi_x3.110.c : Likewise.
49594         * iconvdata/big5.c : Likewise.
49595         * iconvdata/big5hkscs.c : Likewise.
49596         * iconvdata/cp1255.c: Likewise.
49597         * iconvdata/cp1258.c : Likewise.
49598         * iconvdata/cp932.c : Likewise.
49599         * iconvdata/euc-cn.c: Likewise.
49600         * iconvdata/euc-jisx0213.c : Likewise.
49601         * iconvdata/euc-jp.c: Likewise.
49602         * iconvdata/euc-jp-ms.c : Likewise.
49603         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
49604         * iconvdata/gb18030.c : Likewise.
49605         * iconvdata/gbbig5.c (const): Likewise.
49606         * iconvdata/gbgbk.c: Likewise.
49607         * iconvdata/gbk.c : Likewise.
49608         * iconvdata/ibm1364.c : Likewise.
49609         * iconvdata/ibm930.c : Likewise.
49610         * iconvdata/ibm932.c: Likewise.
49611         * iconvdata/ibm933.c : Likewise.
49612         * iconvdata/ibm935.c : Likewise.
49613         * iconvdata/ibm937.c : Likewise.
49614         * iconvdata/ibm939.c : Likewise.
49615         * iconvdata/ibm943.c: Likewise.
49616         * iconvdata/iso_11548-1.c: Likewise.
49617         * iconvdata/iso-2022-cn.c : Likewise.
49618         * iconvdata/iso-2022-cn-ext.c : Likewise.
49619         * iconvdata/iso-2022-jp-3.c: Likewise.
49620         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
49621         * iconvdata/iso-2022-kr.c : Likewise.
49622         * iconvdata/iso646.c (gconv_end): Likewise.
49623         * iconvdata/iso_6937-2.c : Likewise.
49624         * iconvdata/iso_6937.c : Likewise.
49625         * iconvdata/iso8859-1.c: Likewise.
49626         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
49627         * iconvdata/shift_jisx0213.c : Likewise.
49628         * iconvdata/sjis.c : Likewise.
49629         * iconvdata/t.61.c : Likewise.
49630         * iconvdata/tcvn5712-1.c : Likewise.
49631         * iconvdata/tscii.c: Likewise.
49632         * iconvdata/uhc.c : Likewise.
49633         * iconvdata/unicode.c (gconv_end): Likewise.
49634         * iconvdata/utf-16.c (gconv_end): Likewise.
49635         * iconvdata/utf-32.c (gconv_end): Likewise.
49636         * iconvdata/utf-7.c (base64): Likewise.
49637         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
49638         * iconv/gconv_close.c (__gconv_close): Likewise.
49639         * iconv/gconv_open.c (__gconv_open): Likewise.
49640         * iconv/gconv_simple.c (internal_ucs4_loop_single)
49641         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
49642         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
49643         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
49644         (ucs4le_internal_loop_single): Likewise.
49645         * iconv/iconv.c (iconv): Likewise.
49646         * iconv/iconv_close.c: Likewise.
49647         * iconv/loop.c (SINGLE): Likewise.
49648         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
49649         * include/atomic.h: Likewise.
49650         * inet/inet6_option.c (option_alloc): Likewise.
49651         * intl/bindtextdom.c (set_binding_values): Likewise.
49652         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
49653         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
49654         * intl/localealias.c (read_alias_file): Likewise.
49655         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
49656         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
49657         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
49658         * libio/fmemopen.c (fmemopen): Likewise.
49659         * libio/iofgets.c (_IO_fgets): Likewise.
49660         * libio/iofgets_u.c (fgets_unlocked): Likewise.
49661         * libio/iofgetws.c (fgetws): Likewise.
49662         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
49663         * libio/iogetdelim.c (_IO_getdelim): Likewise.
49664         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
49665         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
49666         * locale/findlocale.c (_nl_find_locale): Likewise.
49667         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
49668         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
49669         Likewise.
49670         * locale/setlocale.c (setlocale): Likewise.
49671         * login/programs/pt_chown.c (main): Likewise.
49672         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
49673         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
49674         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
49675         (mmap, mmap64, mremap, munmap): Likewise.
49676         * math/e_exp2l.c: Likewise.
49677         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
49678         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
49679         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
49680         * math/s_catan.c (__catan): Likewise.
49681         * math/s_catanf.c (__catanf): Likewise.
49682         * math/s_catanh.c (__catanh): Likewise.
49683         * math/s_catanhf.c (__catanhf): Likewise.
49684         * math/s_catanhl.c (__catanhl): Likewise.
49685         * math/s_catanl.c (__catanl): Likewise.
49686         * math/s_ccosh.c (__ccosh): Likewise.
49687         * math/s_ccoshf.c (__ccoshf): Likewise.
49688         * math/s_ccoshl.c (__ccoshl): Likewise.
49689         * math/s_cexp.c (__cexp): Likewise.
49690         * math/s_cexpf.c (__cexpf): Likewise.
49691         * math/s_cexpl.c (__cexpl): Likewise.
49692         * math/s_clog10.c (__clog10): Likewise.
49693         * math/s_clog10f.c (__clog10f): Likewise.
49694         * math/s_clog10l.c (__clog10l): Likewise.
49695         * math/s_clog.c (__clog): Likewise.
49696         * math/s_clogf.c (__clogf): Likewise.
49697         * math/s_clogl.c (__clogl): Likewise.
49698         * math/s_csin.c (__csin): Likewise.
49699         * math/s_csinf.c (__csinf): Likewise.
49700         * math/s_csinh.c (__csinh): Likewise.
49701         * math/s_csinhf.c (__csinhf): Likewise.
49702         * math/s_csinhl.c (__csinhl): Likewise.
49703         * math/s_csinl.c (__csinl): Likewise.
49704         * math/s_csqrt.c (__csqrt): Likewise.
49705         * math/s_csqrtf.c (__csqrtf): Likewise.
49706         * math/s_csqrtl.c (__csqrtl): Likewise.
49707         * math/s_ctan.c (__ctan): Likewise.
49708         * math/s_ctanf.c (__ctanf): Likewise.
49709         * math/s_ctanh.c (__ctanh): Likewise.
49710         * math/s_ctanhf.c (__ctanhf): Likewise.
49711         * math/s_ctanhl.c (__ctanhl): Likewise.
49712         * math/s_ctanl.c (__ctanl): Likewise.
49713         * math/w_pow.c: Likewise.
49714         * math/w_powf.c: Likewise.
49715         * math/w_powl.c: Likewise.
49716         * math/w_scalb.c (sysv_scalb): Likewise.
49717         * math/w_scalbf.c (sysv_scalbf): Likewise.
49718         * math/w_scalbl.c (sysv_scalbl): Likewise.
49719         * misc/error.c (error_tail): Likewise.
49720         * misc/pselect.c (__pselect): Likewise.
49721         * nis/nis_callback.c (__nis_create_callback): Likewise.
49722         * nis/nis_call.c (__nisfind_server): Likewise.
49723         * nis/nis_creategroup.c (nis_creategroup): Likewise.
49724         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
49725         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
49726         * nis/nis_getservlist.c (nis_getservlist): Likewise.
49727         * nis/nis_lookup.c (nis_lookup): Likewise.
49728         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
49729         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
49730         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
49731         * nis/nis_xdr.c (xdr_endpoint): Likewise.
49732         * nis/nss_compat/compat-grp.c (getgrent_next_file)
49733         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
49734         * nis/nss_compat/compat-initgroups.c (add_group)
49735         (internal_getgrent_r): Likewise.
49736         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
49737         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
49738         * nis/nss_compat/compat-spwd.c (getspent_next_file)
49739         (internal_getspnam_r): Likewise.
49740         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
49741         (_nss_nis_getaliasbyname_r): Likewise.
49742         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
49743         (_nss_nis_getntohost_r): Likewise.
49744         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
49745         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
49746         (_nss_nis_getgrgid_r): Likewise.
49747         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
49748         (internal_nis_gethostent_r, internal_gethostbyname2_r)
49749         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
49750         (_nss_nis_gethostbyname4_r): Likewise.
49751         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
49752         (initgroups_netid): Likewise.
49753         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
49754         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
49755         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
49756         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
49757         (_nss_nis_getprotobynumber_r): Likewise.
49758         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
49759         (_nss_nis_getsecretkey): Likewise.
49760         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
49761         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
49762         (_nss_nis_getpwuid_r): Likewise.
49763         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
49764         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
49765         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
49766         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
49767         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
49768         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
49769         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
49770         Likewise.
49771         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
49772         (_nss_nisplus_getntohost_r): Likewise.
49773         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
49774         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
49775         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
49776         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
49777         Likewise.
49778         * nis/nss_nisplus/nisplus-initgroups.c
49779         (_nss_nisplus_initgroups_dyn): Likewise.
49780         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
49781         (_nss_nisplus_getnetbyaddr_r): Likewise.
49782         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
49783         (_nss_nisplus_getprotobynumber_r): Likewise.
49784         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
49785         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
49786         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
49787         Likewise.
49788         * nis/nss_nisplus/nisplus-service.c
49789         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
49790         (_nss_nisplus_getservbyport_r): Likewise.
49791         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
49792         (_nss_nisplus_getspnam_r): Likewise.
49793         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
49794         Likewise.
49795         * nscd/aicache.c (addhstaiX): Likewise.
49796         * nscd/cache.c (cache_search, prune_cache): Likewise.
49797         * nscd/connections.c (register_traced_file, send_ro_fd)
49798         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
49799         (main_loop_epoll): Likewise.
49800         * nscd/grpcache.c (addgrbyX): Likewise.
49801         * nscd/hstcache.c (addhstbyX): Likewise.
49802         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49803         * nscd/mem.c (gc, mempool_alloc): Likewise.
49804         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
49805         (addinnetgrX): Likewise.
49806         * nscd/nscd-client.h (__nscd_acquire_maplock)
49807         (__nscd_drop_map_ref): Likewise.
49808         * nscd/nscd_getai.c (__nscd_getai): Likewise.
49809         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
49810         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
49811         Likewise.
49812         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
49813         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
49814         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
49815         (__nscd_get_map_ref): Likewise.
49816         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
49817         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
49818         Likewise.
49819         * nscd/pwdcache.c (addpwbyX): Likewise.
49820         * nscd/selinux.c (preserve_capabilities): Likewise.
49821         * nscd/servicescache.c (addservbyX): Likewise.
49822         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
49823         * posix/fnmatch.c (fnmatch): Likewise.
49824         * posix/getopt.c (_getopt_internal_r): Likewise.
49825         * posix/glob.c (glob, glob_in_dir): Likewise.
49826         * posix/wordexp.c (exec_comm_child): Likewise.
49827         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
49828         (getanswer_r, gaih_getanswer_slice): Likewise.
49829         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
49830         * resolv/res_init.c: Likewise.
49831         * resolv/res_mkquery.c (res_nmkquery): Likewise.
49832         * resolv/res_query.c (__libc_res_nquery): Likewise.
49833         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
49834         Likewise.
49835         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
49836         * stdio-common/perror.c (perror): Likewise.
49837         * stdio-common/printf_fp.c (___printf_fp): Likewise.
49838         * stdio-common/tmpnam.c (tmpnam): Likewise.
49839         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
49840         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
49841         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
49842         Likewise.
49843         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
49844         * stdlib/putenv.c (putenv): Likewise.
49845         * stdlib/setenv.c (__add_to_environ): Likewise.
49846         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
49847         * stdlib/strtol_l.c (INTERNAL): Likewise.
49848         * string/memmem.c (memmem): Likewise.
49849         * string/strerror.c (strerror): Likewise.
49850         * string/strnlen.c (__strnlen): Likewise.
49851         * string/test-memmem.c (simple_memmem): Likewise.
49852         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
49853         * sunrpc/pm_getport.c (__get_socket): Likewise.
49854         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
49855         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
49856         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
49857         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
49858         Likewise.
49859         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
49860         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
49861         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
49862         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
49863         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
49864         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
49865         Likewise.
49866         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
49867         Likewise.
49868         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
49869         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
49870         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49871         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
49872         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
49873         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
49874         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
49875         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
49876         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
49877         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
49878         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
49879         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
49880         Likewise.
49881         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
49882         Likewise.
49883         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
49884         Likewise.
49885         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
49886         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
49887         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
49888         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
49889         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
49890         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
49891         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
49892         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
49893         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
49894         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
49895         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
49896         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49897         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
49898         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
49899         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49900         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
49901         Likewise.
49902         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
49903         Likewise.
49904         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
49905         Likewise.
49906         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
49907         Likewise.
49908         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
49909         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49910         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
49911         Likewise.
49912         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
49913         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
49914         * sysdeps/posix/opendir.c (__opendirat): Likewise.
49915         * sysdeps/posix/sleep.c: Likewise.
49916         * sysdeps/posix/tempname.c: Likewise.
49917         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
49918         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
49919         Likewise.
49920         * sysdeps/powerpc/powerpc32/dl-machine.h
49921         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
49922         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
49923         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
49924         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
49925         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
49926         Likewise.
49927         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
49928         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
49929         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
49930         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
49931         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
49932         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
49933         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
49934         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
49935         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49936         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
49937         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
49938         (elf_machine_lazy_rel): Likewise.
49939         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49940         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
49941         (elf_machine_lazy_rel): Likewise.
49942         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
49943         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
49944         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
49945         * sysdeps/unix/grantpt.c (grantpt): Likewise.
49946         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
49947         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
49948         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
49949         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49950         Likewise.
49951         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
49952         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
49953         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
49954         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
49955         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
49956         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
49957         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
49958         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
49959         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
49960         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
49961         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
49962         Likewise.
49963         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
49964         (__posix_fallocate64_l64): Likewise.
49965         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
49966         (posix_fallocate): Likewise.
49967         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
49968         Likewise.
49969         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
49970         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
49971         (getifaddrs_internal): Likewise.
49972         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
49973         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
49974         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
49975         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
49976         * sysdeps/unix/sysv/linux/posix_fallocate64.c
49977         (__posix_fallocate64_l64): Likewise.
49978         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
49979         Likewise.
49980         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
49981         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
49982         (__get_clockfreq): Likewise.
49983         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
49984         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
49985         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
49986         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
49987         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
49988         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
49989         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
49990         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
49991         Likewise.
49992         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
49993         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
49994         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
49995         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
49996         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49997         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
49998         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
49999         Likewise.
50000         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
50001         (posix_fallocate): Likewise.
50002         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
50003         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
50004         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
50005         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
50006         (elf_machine_rela, elf_machine_rela_relative)
50007         (elf_machine_lazy_rel): Likewise.
50008         * time/asctime.c (asctime_internal): Likewise.
50009         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
50010         * time/tzset.c (__tzset_parse_tz): Likewise.
50011         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
50012         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
50013         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
50014         * wcsmbs/wcsmbsload.h: Likewise.
50016         [BZ #15894]
50017         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
50019         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
50020         (arena_get2): Remove THREAD_STATS conditionals.
50021         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
50022         (__malloc_stats, int): Likewise.
50024 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
50026         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
50027         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
50029         * manual/setjmp.texi: Fix typos/grammar errors.
50031         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
50032         Only return early when n is <= 0.  Delete unused return statement.
50034         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
50035         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
50036         * debug/tst-longjmp_chk3.c: New file.
50038         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
50039         (test_main): Replace code with set_fortify_handler call.
50040         * debug/test-strcpy_chk.c: Likewise.
50041         * debug/tst-chk1.c: Likewise.
50042         * debug/tst-longjmp_chk.c: Likewise.
50043         * test-skeleton.c: Include fcntl.h & paths.h
50044         (set_fortify_handler): Define.
50046         * debug/tst-longjmp_chk.c: Add header comment and include
50047         ../test-skeleton.c.
50048         (do_test): Mark static.
50049         (TEST_FUNCTION): Define.
50051         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
50052         (IP_PMTUDISC_INTERFACE): Likewise.
50053         (IP_MULTICAST_IF): Likewise.
50054         (IP_MULTICAST_TTL): Likewise.
50055         (IP_MULTICAST_LOOP): Likewise.
50056         (IP_ADD_MEMBERSHIP): Likewise.
50057         (IP_DROP_MEMBERSHIP): Likewise.
50058         (IP_UNBLOCK_SOURCE): Likewise.
50059         (IP_BLOCK_SOURCE): Likewise.
50060         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
50061         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
50062         (IP_MSFILTER): Likewise.
50063         (MCAST_JOIN_GROUP): Likewise.
50064         (MCAST_BLOCK_SOURCE): Likewise.
50065         (MCAST_UNBLOCK_SOURCE): Likewise.
50066         (MCAST_LEAVE_GROUP): Likewise.
50067         (MCAST_JOIN_SOURCE_GROUP): Likewise.
50068         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
50069         (MCAST_MSFILTER): Likewise.
50070         (IP_MULTICAST_ALL): Likewise.
50071         (IP_UNICAST_IF): Likewise.
50073         * timezone/Makefile: Delete $(have-ksh) check.
50074         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
50075         * timezone/tzselect.ksh: Add +x mode bits.
50077         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
50078         (ANON_INODE_FS_MAGIC): Likewise.
50079         (BDEVFS_MAGIC): Likewise.
50080         (BINFMTFS_MAGIC): Likewise.
50081         (BTRFS_TEST_MAGIC): Likewise.
50082         (CRAMFS_MAGIC_WEND): Likewise.
50083         (DEBUGFS_MAGIC): Likewise.
50084         (ECRYPTFS_SUPER_MAGIC): Likewise.
50085         (EXT3_SUPER_MAGIC): Likewise.
50086         (EXT4_SUPER_MAGIC): Likewise.
50087         (FUTEXFS_SUPER_MAGIC): Likewise.
50088         (HOSTFS_SUPER_MAGIC): Likewise.
50089         (HUGETLBFS_MAGIC): Likewise.
50090         (MINIX3_SUPER_MAGIC): Likewise.
50091         (MTD_INODE_FS_MAGIC): Likewise.
50092         (NILFS_SUPER_MAGIC): Likewise.
50093         (OPENPROM_SUPER_MAGIC): Likewise.
50094         (PIPEFS_MAGIC): Likewise.
50095         (PSTOREFS_MAGIC): Likewise.
50096         (QNX6_SUPER_MAGIC): Likewise.
50097         (RAMFS_MAGIC): Likewise.
50098         (REISERFS_SUPER_MAGIC_STRING): Likewise.
50099         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
50100         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
50101         (SECURITYFS_MAGIC): Likewise.
50102         (SELINUX_MAGIC): Likewise.
50103         (SMACK_MAGIC): Likewise.
50104         (SOCKFS_MAGIC): Likewise.
50105         (SQUASHFS_MAGIC): Likewise.
50106         (STACK_END_MAGIC): Likewise.
50107         (TMPFS_MAGIC): Likewise.
50108         (USBDEVICE_SUPER_MAGIC): Likewise.
50109         (V9FS_MAGIC): Likewise.
50110         (XENFS_SUPER_MAGIC): Likewise.
50111         (CRAMFS_MAGIC): Fix typo in comment.
50112         (EXT2_SUPER_MAGIC): Update comment.
50113         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
50115 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
50117         * sysdeps/arm: Move directory from ports/sysdeps/arm.
50118         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
50119         * sysdeps/unix/sysv/linux/arm: Move directory from
50120         ports/sysdeps/unix/sysv/linux/arm.
50121         * README: Update listing for arm-*-linux-gnueabi.
50123         * README: Remove mention of am33.
50125 2014-02-07  Roland McGrath  <roland@hack.frob.com>
50127         * bits/sigset.h (__sigemptyset): Use a statement expression rather
50128         than the comma operator, to avoid "rhs of comma has no effect"
50129         compiler warnings.
50130         (__sigfillset, __sigandset, __sigorset): Likewise.
50131         * include/signal.h (__sigemptyset): Likewise.
50132         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
50134 2014-02-07  Allan McRae  <allan@archlinux.org>
50136         * version.h (RELEASE): Set to "development".
50137         (VERSION): Set to "2.19.90"
50138         * NEWS: Add 2.20 section.
50140 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
50142         [BZ #16529]
50143         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
50145 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
50147         * manual/contrib.texi: Update entry for Carlos O'Donell,
50148         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
50150 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
50152         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
50154         * sysdeps/unix/sysv/linux/kernel-features.h
50155         [__LINUX_KERNEL_VERSION >= 0x020621]
50156         (__ASSUME_PROC_PID_TASK_COMM): Define.
50158 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
50160         [BZ #16398]
50161         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
50162         conversion when destination buffer does not have enough space.
50163         * libio/tst-ftell-partial-wide.c: New test case.
50164         * libio/Makefile (tests): Add tst-ftell-partial-wide.
50166         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
50167         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
50168         Leonard and Allan McRae.
50170 2014-02-04  David S. Miller  <davem@davemloft.net>
50172         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
50173         32-bit.
50175 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
50178         New file
50179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
50180         New file
50181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
50182         New file.
50183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
50184         New file.
50185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
50186         New file.
50187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
50188         New file.
50189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
50190         New file.
50191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
50192         New file.
50193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
50194         New file.
50195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
50196         New file.
50197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
50198         New file.
50199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
50200         New file.
50201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
50202         New file.
50204 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50206         * nptl/shlib-versions: Change powerpc*le start to 2.17.
50207         * shlib-versions: Likewise.
50209 2014-02-04  Roland McGrath  <roland@hack.frob.com>
50210             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50212         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
50213         (abilist-pattern): New variable, set to %-le.abilist.
50215         * Makerules (abilist-pattern): New variable.
50216         (vpath): Use $(abilist-pattern) in place of %.abilist.
50217         (check-abi-% pattern rule): Likewise.
50218         (check-abi, update-abi): Likewise.
50220 2014-02-04  Eric Wong  <normalperson@yhbt.net>
50222         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50224 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
50226         * manual/startup.texi: Add next, previous, and top entries for
50227         the `Program Arguments' and `Environment Variables' nodes.
50229 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
50231         * manual/macros.texi: Add comments before MTASC-safety macros.
50233         * manual/users.texi: Document MTASC-safety properties.
50235         * manual/threads.texi (pthread_key_create, pthread_key_delete)
50236         (pthread_getspecific, pthread_setspecific): Format with
50237         @deftypefun, and add @safety note.
50238         * manual/signal.texi: Move comments that analyze the above
50239         functions to their home place.
50241 2014-02-03  Allan McRae  <allan@archlinux.org>
50243         * po/sl.po: Update Slovenian translation from translation project.
50245 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
50247         * manual/time.texi (timegm): Add missing blank after @c.
50248         Reported by Joseph Myers <joseph@codesourcery.com>.
50250 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
50252         * manual/check-safety.sh: New.
50253         * manual/Makefile ($(objpfx)stamp-summary): Run it.
50255         * manual/terminal.texi: Document MTASC-safety properties.
50257         * manual/filesys.texi: Document MTASC-safety properties.
50259         * manual/errno.texi: Document MTASC-safety properties.
50261         * manual/intro.texi: Document safety identifiers and
50262         conditionals.
50264         * manual/string.texi (wcstok): Fix prototype.
50265         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
50267         * manual/time.texi: Document MTASC-safety properties.
50269         * manual/string.texi: Document MTASC-safety properties.
50271         * manual/threads.texi: Document MTASC-safety properties.
50273         * manual/stdio.texi: Document MTASC-safety properties.
50275         * manual/syslog.texi: Document MTASC-safety properties.
50277         * manual/sysinfo.texi: Document MTASC-safety properties.
50279         * manual/startup.texi: Document MTASC-safety properties.
50281         * manual/socket.texi: Document MTASC-safety properties.
50283         * manual/signal.texi: Document MTASC-safety properties.
50285 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
50287         * manual/setjmp.texi: Document MTASC-safety properties.
50289         * manual/search.texi: Document MTASC-safety properties.
50291         * manual/resource.texi: Document MTASC-safety properties.
50293         * manual/process.texi: Document MTASC-safety properties.
50295         * manual/platform.texi: Document MTASC-safety properties.
50297         * manual/pipe.texi: Document MTASC-safety properties.
50299         * manual/pattern.texi: Document MTASC-safety properties.
50301         * manual/message.texi: Document MTASC-safety properties.
50303         [BZ #12751]
50304         * manual/memory.texi: Document MTASC-safety properties.
50306         * manual/math.texi: Document MTASC-safety properties.
50308         * manual/locale.texi: Document MTASC-safety properties.
50310         * manual/llio.texi: Document MTASC-safety properties.
50312         * manual/libdl.texi: New.
50314         * manual/lang.texi: Document MTASC-safety properties.
50316         * manual/job.texi: Document MTASC-safety properties.
50318         * manual/getopt.texi: Document MTASC-safety properties.
50320         * manual/ctype.texi: Document MTASC-safety properties.
50322 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
50324         [BZ #16046]
50325         * csu/libc-tls.c (static_map): Remove variable.
50326         (__libc_setup_tls): Use main executable's link map for TLS data.
50327         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
50328         casing for LM_ID_BASE and GL(dl_nns).
50329         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
50330         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
50331         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
50332         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
50333         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
50334         member.
50335         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
50336         l_phnum members.
50338 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
50340         * manual/debug.texi: Document MTASC-safety properties.
50342 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
50344         [BZ #16510]
50345         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
50346         of __x86_64__ when disabling x87 inline functions.
50348 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
50350         * manual/charset.texi: Document MTASC-safety properties.
50352         * manual/crypt.texi: Document MTASC-safety properties.
50354         * manual/conf.texi: Document MTASC-safety properties.
50356         * manual/arith.texi: Document MTASC-safety properties.
50358         * manual/argp.texi: Document MTASC-safety properties.
50360         * manual/macros.texi: Introduce macros to document multi
50361         thread, asynchronous signal and asynchronous cancellation
50362         safety properties.
50363         * manual/intro.texi: Introduce the properties themselves.
50365 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50367         * sysdeps/sh/sh4/Makefile: New file.
50369 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
50371         * math/gen-libm-test.pl ($srcdir): New variable.
50372         ($auto_input): Use it.
50374 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50376         [BZ #16506]
50377         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
50378         access beyond array bounds when parsing netgroups file.
50380         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
50381         the old buffer before realloc.
50383 2014-01-27  Allan McRae  <allan@archlinux.org>
50385         * po/fr.po: Update French translation from translation project.
50387 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50389         * sysdeps/sh/libm-test-ulps: Regenerate.
50391 2014-01-24  David S. Miller  <davem@davemloft.net>
50393         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
50395 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50397         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
50398         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
50400 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
50402         [BZ #16474]
50403         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
50404         string pointers after reallocation.
50406 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50408         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
50409         __SH4A__ instead of __SH_FPU_ANY__.
50411 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50413         * sysdeps/sh/fpu_control.h: New file.
50414         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
50415         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
50416         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
50417         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
50418         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
50419         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
50420         * sysdeps/sh/sys/ucontext.h: Remove.
50421         * sysdeps/sh/sys: Remove directory.
50423 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50425         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
50426         s390/sys/ucontext.h.
50427         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
50428         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
50430 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
50432         [BZ #15605]
50433         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
50435 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50437         [BZ#16431]
50438         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
50439         Adjust the vDSO correctly for internal calls.
50440         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
50442 2014-01-20  Allan McRae  <allan@archlinux.org>
50444         * po/ca.po: Update Catalan translation from translation project.
50446 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
50448         * sysdeps/s390/sotruss-lib.c: New file.
50450 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50452         [BZ#16430]
50453         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
50454         (__GI___gettimeofday): Alias for a different internal symbol to avoid
50455         local calls issues by not having a PLT stub required for IFUNC calls.
50456         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
50458 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
50460         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
50461         * math/test-fpucw-static.c: Likewise.
50463 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50465         [BZ #16453]
50466         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
50468 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50470         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
50471         implementation for powerpc.
50473 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
50475         [BZ #14782]
50476         * sysdeps/posix/system.c (__libc_system): Do not enable
50477         asynchronous cancellation.
50479 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50481         [BZ #16427]
50482         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
50483         handling only for numbers special also in the IEEE case.
50485 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50487         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
50489 2014-01-11  Allan McRae  <allan@archlinux.org>
50491         * po/bg.po: Update Bulgarian translation from translation project.
50493         * po/de.po: Update German translation from translation project.
50495 2014-01-10  Roland McGrath  <roland@hack.frob.com>
50497         * sysdeps/generic/gcc-compat.h: New file.
50499 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50501         * benchtests/asin-inputs: Correct slow inputs.
50502         * benchtests/acos-inputs: Likewise.
50504 2014-01-10  Allan McRae  <allan@archlinux.org>
50506         * po:sv.po: Update Swedish translation from translation project.
50508         * po/vi.po: Update Vietnamese translation from translation project.
50510         * po/eo.po: Update Esperanto translation from translation project.
50512         * po/cs.po: Update Czech translation from translation project.
50514         * po/nl.po: Update Dutch translation from translation project.
50516         * po/pl.po: Update Polish translation from translation project.
50518         * po/ru.po: Update Russian translation from translation project.
50520         * po/uk.po: Update Ukrainian translation from translation project.
50522 2014-01-08  Brooks Moses  <bmoses@google.com>
50524         * elf/dl-load.c: Fix comment typo.
50526 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
50528         * po/header.pot: Rename to...
50529         * po/pot.header: ... this.
50530         * po/Makefile: Use pot.header.
50532 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
50533             Maxim Kuvyrkov  <maxim@kugelworks.com>
50535         [BZ #16394]
50536         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
50537         SRC and DEST against LEN.
50539 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50541         [BZ #16414]
50542         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
50543         implementation.
50544         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
50546 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50548         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50550 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
50552         [BZ #16408]
50553         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
50554         for large positive arguments.
50556 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
50558         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
50560         * math/auto-libm-test-in: Mark various tests with
50561         xfail-rounding:ldbl-128ibm.
50562         * math/auto-libm-test-out: Regenerated.
50564         [BZ #16407]
50565         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
50566         Increase overflow threshold.
50568 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
50570         [BZ #14286]
50571         * stdio-common/vfprintf.c: Check for integer overflow.
50573 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50575         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
50576         the first argument and return value of __tls_get_addr_internal.
50578 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50580         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
50581         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
50583 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50585         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
50586         * sysdeps/s390/rtld-global-offsets.sym: New file.
50587         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
50588         GLIBC_2.19 symbol.
50589         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
50590         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
50591         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
50592         ... this.
50593         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
50594         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
50595         ... this.
50596         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
50597         Regenerate.
50598         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
50599         Regenerate.
50600         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
50601         halfs of GPRs for high_gprs contexts.
50602         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
50603         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
50604         field.
50605         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
50606         uc_flags field.
50607         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
50608         64 bit versions:
50609         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
50610         for high GPRs (uc_high_gprs) and for future extensions
50611         (__reserved).
50612         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
50613         for future extensions (__reserved).
50614         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
50615         64 bit versions:
50616         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
50617         SC_HIGHGPRS offset definition.
50618         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
50619         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
50621         * Versions.def: Add GLIBC_2.19 for libpthread.
50622         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
50623         siglongjmp for libpthread with GLIBC_2.19 symver.
50624         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
50625         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
50626         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
50627         * sysdeps/s390/__longjmp.c: New file.
50628         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
50629         * sysdeps/s390/longjmp.c: New file.
50630         * sysdeps/s390/setjmp.S: New file.
50631         * sysdeps/s390/sigjmp.S: New file.
50632         * sysdeps/s390/v1-longjmp.c: New file.
50633         * sysdeps/s390/v1-setjmp.h: New file.
50634         * sysdeps/s390/v1-sigjmp.c: New file.
50635         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
50636         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
50637         GLIBC_2.19 version.
50638         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
50639         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
50640         versioned symbols for ____longjmp_chk.
50641         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
50642         Likewise.
50643         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
50644         Regenerate.
50645         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50646         Regenerate.
50647         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
50648         Regenerate.
50649         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50650         Regenerate.
50651         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
50652         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
50653         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
50654         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
50655         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
50656         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
50657         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
50658         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
50659         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
50660         * sysdeps/s390/rtld-__longjmp.c: New file.
50661         * sysdeps/s390/rtld-setjmp.S: New file.
50663 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
50665         [BZ #16400]
50666         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
50667         Return -__logl (x) for small positive arguments without evaluating
50668         a polynomial.
50670 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
50672         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
50673         Rename to ...
50674         (__ptrace_peeksiginfo_args): ... this.
50675         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50676         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50677         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50679 2014-01-06  Allan McRae  <allan@archlinux.org>
50681         * inet/netinet/in.h: Fix typo in comment.
50683 2014-01-05  Andreas Jaeger  <aj@suse.de>
50685         * sysdeps/i386/fpu/libm-test-ulps: Update.
50687 2014-01-05  Allan McRae  <allan@archlinux.org>
50689         * po/libc.pot: Regenerated.
50691         * malloc/memusagestat.c: Fix gettext call formatting.
50693 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
50695         * nscd/nscd.c: Improve usage() output.
50697 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
50699         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
50700         * sysdeps/unix/sysv/linux/configure: Regenerated.
50701         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
50702         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
50704 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
50706         [BZ #16390]
50707         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
50708         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
50710 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50712         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
50713         extra tokens at end of #undef directive.
50714         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
50715         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
50716         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
50718 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
50720         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
50722         * math/auto-libm-test-in: Mark various tests with
50723         xfail-rounding:ldbl-128ibm.
50724         * math/auto-libm-test-out: Regenerated.
50726 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
50728         [BZ #16386]
50729         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
50730         numbers with subnormal high part when calculating exponent.
50732         [BZ #16385]
50733         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
50734         fabs.
50736         [BZ #16384]
50737         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
50738         M_LN2l.
50739         (__ieee754_acoshl): Use __log1pl not __log1p.
50741 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
50743         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
50744         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
50745         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
50746         (grow_heap, heap_trim, _int_new_arena, get_free_list)
50747         (reused_arena, arena_get2): Convert to GNU style.
50748         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
50749         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
50750         (memalign_check, __malloc_set_state): Likewise.
50751         * malloc/mallocbug.c (main): Likewise.
50752         * malloc/malloc.c (__malloc_assert, malloc_init_state)
50753         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
50754         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
50755         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
50756         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
50757         (__posix_memalign, malloc_info): Likewise.
50758         * malloc/malloc.h: Likewise.
50759         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
50760         (mallochook, memalignhook, reallochook, mabort): Likewise.
50761         * malloc/mcheck.h: Likewise.
50762         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
50763         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
50764         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
50765         * malloc/morecore.c (__default_morecore): Likewise.
50766         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
50767         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
50768         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
50769         (print_and_abort): Likewise.
50770         * malloc/obstack.h: Likewise.
50771         * malloc/set-freeres.c (__libc_freeres): Likewise.
50772         * malloc/tst-mallocstate.c (main): Likewise.
50773         * malloc/tst-mtrace.c (main): Likewise.
50774         * malloc/tst-realloc.c (do_test): Likewise.
50776 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
50778         [BZ #16366]
50779         * nscd/netgroupcache.c (do_notfound): New function.
50780         (addgetnetgrentX): Use it.
50782         [BZ # 16365]
50783         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
50784         NSS_STATUS_NOTFOUND.
50786 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
50788         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
50789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50791 2014-01-01  Allan McRae  <allan@archlinux.org>
50793         * scripts/update-copyrights: Update configure input file suffix.
50795         * NEWS: Update copyright year.
50796         * catgets/gencat.c: Likewise.
50797         * csu/version.c: Likewise.
50798         * debug/catchsegv.sh: Likewise.
50799         * debug/pcprofiledump.c: Likewise.
50800         * debug/xtrace.sh: Likewise.
50801         * elf/ldconfig.c: Likewise.
50802         * elf/ldd.bash.in: Likewise.
50803         * elf/pldd.c: Likewise.
50804         * elf/sotruss.ksh: Likewise.
50805         * elf/sprof.c: Likewise.
50806         * iconv/iconv_prog.c: Likewise.
50807         * iconv/iconvconfig.c: Likewise.
50808         * locale/programs/locale.c: Likewise.
50809         * locale/programs/localedef.c: Likewise.
50810         * login/programs/pt_chown.c: Likewise.
50811         * malloc/memusage.sh: Likewise.
50812         * malloc/memusagestat.c: Likewise.
50813         * malloc/mtrace.pl: Likewise.
50814         * manual/libc.texinfo: Likewise.
50815         * nscd/nscd.c: Likewise.
50816         * nss/getent.c: Likewise.
50817         * nss/makedb.c: Likewise.
50818         * posix/getconf.c: Likewise.
50819         * scripts/test-installation.pl: Likewise.
50821         * All files with FSF copyright notices: Update copyright dates
50822         using scripts/update-copyrights.
50823         * intl/plural.c: Regenerated.
50824         * locale/programs/charmap-kw.h: Likewise.
50825         * locale/programs/locfile-kw.h: Likewise.
50827 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
50829         * sysdeps/unix/sysv/linux/configure: Regenerated.
50830         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
50831         the linux/fanotify.h header.
50832         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
50833         HAVE_LINUX_FANOTIFY_H is defined.
50835 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
50837         * benchtests/cos-inputs: New inputs.
50838         * benchtests/sin-inputs: Likewise.
50840         * benchtests/atan-inputs: New inputs. Fix name of multiple
50841         precision fallback inputs.
50843         * benchtests/atanh-inputs: New inputs.
50844         * benchtests/tanh-inputs: Likewise.
50846         * benchtests/acosh-inputs: New inputs.
50847         * benchtests/asinh-inputs: Likewise.
50849         * benchtests/cosh-inputs: New inputs.
50850         * benchtests/sinh-inputs: Likewise.
50852         * benchtests/acos-inputs: Add more inputs.
50853         * benchtests/asin-inputs: Likewise.
50855 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
50857         [BZ #16375]
50858         * manual/arith.texi: Fix spelling.
50859         * manual/charset.texi: Likewise.
50860         * manual/errno.texi: Likewise.
50861         * manual/filesys.texi: Likewise.
50862         * manual/lang.texi: Likewise.
50863         * manual/llio.texi: Likewise.
50864         * manual/locale.texi: Likewise.
50865         * manual/message.texi: Likewise.
50866         * manual/resource.texi: Likewise.
50867         * manual/search.texi: Likewise.
50868         * manual/setjmp.texi: Likewise.
50869         * manual/stdio.texi: Likewise.
50870         * manual/string.texi: Likewise.
50871         * manual/sysinfo.texi: Likewise.
50872         * manual/time.texi: Likewise.
50874 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
50876         * po/sl.po: New file.
50878 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
50880         * .gitignore: Add core/.gdbinit/.gdb_history.
50882 2013-12-27  Allan McRae  <allan@archlinux.org>
50884         [BZ #16369]
50885         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
50886         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
50888 2013-12-24  Brooks Moses  <bmoses@google.com>
50890         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
50891         all compilers that claim C++98 compliance, not just GCC.
50892         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
50893         Likewise.
50895 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
50897         * NEWS: Restore accidentally deleted bug-fix entries.
50899 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
50900             Ondřej Bílka  <neleai@seznam.cz>
50902         [BZ #15073]
50903         * malloc/malloc.c (_int_free): Perform sanity check only if we
50904         have_lock.
50906 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
50908         [BZ #12986]
50909         * manual/stdio.texi (String Input Conversions): Clarify that character
50910         classes are not supported.
50912 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50914         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50916 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
50918         [BZ #16337]
50919         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
50920         Calculate results for small negative arguments directly rather
50921         than using reflection formula with special underflow handling.
50923         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
50924         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
50925         sysdeps/unix/bsd/bsd4.4/syscalls.list.
50926         (fchflags): Likewise.
50927         (revoke): Likewise.
50928         (setlogin): Likewise.
50929         (sigaltstack): Likewise.
50930         (wait4): Likewise.
50931         (sigblock): Remove.
50932         (sigsetmask): Likewise.
50933         (wait3): Likewise.
50934         (waitpid): Likewise.
50935         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
50936         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
50937         file.
50938         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
50939         * sysdeps/unix/bsd/Makefile: ... here.
50940         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
50941         * sysdeps/unix/bsd/Versions: ... here.
50942         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
50943         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
50944         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
50945         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
50946         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
50947         * sysdeps/unix/bsd/sigblock.c: ... here.
50948         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
50949         * sysdeps/unix/bsd/sigsetmask.c: ... here.
50950         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
50951         * sysdeps/unix/bsd/sigvec.c: ... here.
50952         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
50953         * sysdeps/unix/bsd/tcdrain.c: ... here.
50954         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
50955         * sysdeps/unix/bsd/tcgetattr.c: ... here.
50956         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
50957         * sysdeps/unix/bsd/tcsetattr.c: ... here.
50958         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
50959         * sysdeps/unix/bsd/wait.c: ... here.
50960         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
50961         * sysdeps/unix/bsd/wait3.c: ... here.
50962         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
50963         * sysdeps/unix/bsd/waitpid.c: ... here.
50965 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
50967         [BZ #16356]
50968         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
50969         round-to-nearest for [!USE_AS_EXPM1L].
50970         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
50971         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
50972         more tests of exp and exp10.  Expect some exp10 tests to miss
50973         exceptions or fail in directed rounding modes.
50974         * math/auto-libm-test-out: Regenerated.
50975         * math/libm-test.inc (exp10_tonearest_test_data): New array.
50976         (exp10_test_tonearest): New function.
50977         (exp10_towardzero_test_data): New array.
50978         (exp10_test_towardzero): New function.
50979         (exp10_downward_test_data): New array.
50980         (exp10_test_downward): New function.
50981         (exp10_upward_test_data): New array.
50982         (exp10_test_upward): New function.
50983         (main): Call the new functions.
50984         * sysdeps/i386/fpu/libm-test-ulps: Update.
50985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50987 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
50989         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
50990         asinh, atan, atan2, atanh, cbrt, cos and cosh.
50991         * math/auto-libm-test-out: Regenerated.
50992         * math/libm-test.inc (acosh_test_data): Add more tests.
50993         (atanh_test_data): Likewise.
50994         (ceil_test_data): Likewise.
50995         (copysign_test_data): Likewise.
50996         * sysdeps/i386/fpu/libm-test-ulps: Update.
50997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50999         * timezone/checktab.awk: Update from tzcode 2013i.
51000         * timezone/private.h: Likewise.
51001         * timezone/scheck.c: Likewise.
51002         * timezone/tzfile.h: Likewise.
51003         * timezone/tzselect.ksh: Likewise.
51004         * timezone/zdump.c: Likewise.
51005         * timezone/zic.c: Likewise.
51007         * math/auto-libm-test-in: Add tests of cpow.
51008         * math/auto-libm-test-out: Regenerated.
51009         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
51010         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51011         mpc_cc_c.
51012         (func_calc_desc): Add mpc_cc_c union field.
51013         (test_functions): Add cpow.
51014         (special_fill_2pi): New function.
51015         (special_real_inputs): Add 2pi.
51016         (calc_generic_results): Handle mpc_cc_c.
51017         * sysdeps/i386/fpu/libm-test-ulps: Update.
51018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51020         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
51021         csqrt, ctan and ctanh.
51022         * math/auto-libm-test-out: Regenerated.
51023         * math/libm-test.inc (TEST_COND_x86_64): New macro.
51024         (TEST_COND_x86): Likewise.
51025         (ccos_test_data): Use AUTO_TESTS_c_c.
51026         (ccosh_test_data): Likewise.
51027         (cexp_test_data): Likewise.
51028         (clog_test_data): Likewise.
51029         (csqrt_test_data): Likewise.
51030         (ctan_test_data): Likewise.
51031         (ctan_tonearest_test_data): Likewise.
51032         (ctan_towardzero_test_data): Likewise.
51033         (ctan_downward_test_data): Likewise.
51034         (ctan_upward_test_data): Likewise.
51035         (ctanh_test_data): Likewise.
51036         (ctanh_tonearest_test_data): Likewise.
51037         (ctanh_towardzero_test_data): Likewise.
51038         (ctanh_downward_test_data): Likewise.
51039         (ctanh_upward_test_data): Likewise.
51040         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51041         mpc_c_c.
51042         (func_calc_desc): Add mpc_c_c union field.
51043         (FUNC_mpc_c_c): New macro.
51044         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
51045         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
51046         ctanh.
51047         (special_fill_min_subnorm_p120): New function.
51048         (special_real_inputs): Add min_subnorm_p120.
51049         (calc_generic_results): Handle mpc_c_c.
51050         * sysdeps/i386/fpu/libm-test-ulps: Update.
51051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51053 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51055         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
51056         (do_sin_slow): New functions.
51057         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
51058         (cslow2, csloww1, csloww2): Use the new functions.
51060         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
51061         Use M to change sign of result instead of X.  Assume X is
51062         positive.
51063         (csloww1): Likewise.
51064         (__sin): Adjust.
51065         (__cos): Adjust.
51067         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
51068         arguments A and DA.
51069         (__sin): Adjust.
51070         (__cos): Likewise.
51072         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
51073         (__cos): Likewise.
51074         (sloww1): Don't adjust sign of DX.
51075         (csloww1): Likewise.
51076         (sloww2): Use X directly and don't adjust sign of DX.
51077         (csloww2): Likewise.
51079 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
51081         * math/auto-libm-test-in: Add tests of cabs and carg.
51082         * math/auto-libm-test-out: Regenerated.
51083         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
51084         (carg_test_data): Likewise.
51085         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51086         mpc_c_f.
51087         (func_calc_desc): Add mpc_c_f union field.
51088         (test_functions): Add cabs and carg.
51089         (calc_generic_results): Handle mpc_c_f.
51091         * sysdeps/powerpc/powerpc32/libgcc-compat.S
51092         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
51093         as a macro and a compat symbol.
51094         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
51095         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
51096         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
51097         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
51098         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
51099         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
51100         not use .hidden.
51101         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
51102         Likewise.
51103         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
51104         Likewise.
51105         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
51106         Likewise.
51107         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
51108         Likewise.
51109         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
51110         Likewise.
51111         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
51112         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
51113         from GLIBC_2.3.2.
51115 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51117         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51119 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
51121         * manual/texinfo.tex: Update to version 2013-11-26.10 with
51122         trailing whitespace removed.
51123         * scripts/config.guess: Update to version 2013-11-29.
51124         * scripts/config.sub: Update to version 2013-10-01.
51126         * math/auto-libm-test-in: Add tests of sincos.
51127         * math/auto-libm-test-out: Regenerated.
51128         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
51129         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51130         mpfr_f_11.
51131         (func_calc_desc): Add mpfr_f_11 union field.
51132         (test_functions): Add sincos.
51133         (calc_generic_results): Handle mpfr_f_11.
51134         * sysdeps/i386/fpu/libm-test-ulps: Update.
51135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51137 2013-12-19  Andreas Schwab  <schwab@suse.de>
51139         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
51140         CALL_MCOUNT.
51141         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
51142         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
51143         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
51145 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
51147         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
51148         * sysdeps/i386/fpu/libm-test-ulps: Update.
51149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51151         [BZ #16293]
51152         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
51153         round-to-nearest mode when using frndint.
51154         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
51155         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
51156         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
51157         Likewise.
51158         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
51159         sinh test to fail.
51160         * math/auto-libm-test-out: Regenerated.
51161         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
51162         (TEST_COND_x86): Likewise.
51163         (expm1_tonearest_test_data): New array.
51164         (expm1_test_tonearest): New function.
51165         (expm1_towardzero_test_data): New array.
51166         (expm1_test_towardzero): New function.
51167         (expm1_downward_test_data): New array.
51168         (expm1_test_downward): New function.
51169         (expm1_upward_test_data): New array.
51170         (expm1_test_upward): New function.
51171         (main): Run the new test functions.
51172         * sysdeps/i386/fpu/libm-test-ulps: Update.
51173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51175         * include/features.h: Update comment documenting feature test
51176         macros.  Mention _DEFAULT_SOURCE in comment.
51177         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
51178         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
51179         _BSD_SOURCE and _SVID_SOURCE.
51180         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
51181         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
51182         !_SVID_SOURCE]: Likewise.
51183         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
51184         (__USE_POSIX_IMPLICITLY): Define.
51185         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
51186         (_POSIX_SOURCE): Undefine and redefine.
51187         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
51188         (_POSIX_C_SOURCE): Likewise.
51189         * manual/creature.texi (_DEFAULT_SOURCE): Document.
51190         (Feature Test Macros): Update documentation of default features.
51192 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
51194         * benchtests/Makefile: Add bench-strtok.
51195         * benchtests/bench-strtok.c: New file: strtok benchtest.
51197 2013-12-19  Allan McRae  <allan@archlinux.org>
51199         * manual/install.texi: Suppress menu for plain text output.
51200         * INSTALL: Regenerated.
51202 2013-12-18  Brooks Moses  <bmoses@google.com>
51204         [BZ #15846]
51205         * misc/getauxval.c: Include errno.h.
51206         (__getauxval): Set errno to ENOENT if the requested type is not
51207         found.
51208         * misc/sys/auxv.h (getauxval): Document that it may set errno;
51209         don't declare with __attribute_const__.
51210         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
51211         * manual/startup.texi: Document that getauxval sets errno.
51213 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
51215         * math/auto-libm-test-in: Add tests of jn and yn.
51216         * math/auto-libm-test-out: Regenerated.
51217         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
51218         (yn_test_data): Likewise.
51219         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51220         mpfr_if_f.
51221         (func_calc_desc): Add mpfr_if_f union field.
51222         (FUNC_mpfr_if_f): New macro.
51223         (test_functions): Add jn and yn.
51224         (calc_generic_results): Assert type of second input for
51225         mpfr_ff_f.  Handle mpfr_if_f.
51226         (output_for_one_input_case): Disable all checking for arguments
51227         fitting floating-point types in case of an integer argument.
51228         * sysdeps/i386/fpu/libm-test-ulps: Update.
51229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
51232         Don't expect fegetround reference in libm.so.
51234 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51236         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
51237         $(config-cflags-nofma).
51239 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
51241         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
51242         * math/auto-libm-test-out: Regenerated.
51244         [BZ #16338]
51245         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
51246         to determine exponent and adjust argument to have exponent of -1.
51247         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
51248         log2.
51249         * math/auto-libm-test-out: Regenerated.
51250         * sysdeps/i386/fpu/libm-test-ulps: Update.
51251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51253 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
51255         * manual/probes.texi: Remove cases when per-thread arenas are
51256         disabled.
51258 2013-12-18  Andreas Schwab  <schwab@suse.de>
51260         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
51261         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
51262         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
51263         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
51264         * sysdeps/i386/i686/multiarch/Makefile: Update.
51265         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
51267 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
51269         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
51270         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
51272 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
51274         [BZ #15968]
51275         Support TZ transition times < 00:00:00.
51276         This is needed for version-3 tz-format files; it supports time
51277         stamps past 2037 for America/Godthab (the only entry in the tz
51278         database for which this change is relevant).
51279         * manual/time.texi (TZ Variable): Document transition times
51280         from -167:59:59 through -00:00:01.
51281         * time/tzset.c (tz_rule): Time of day is now signed.
51282         (__tzset_parse_tz): Parse negative time of day.
51284         Document TZ transition times >= 25:00:00.
51285         * manual/time.texi (TZ Variable): Document transition times from
51286         25:00:00 through 167:59:59.  These are already supported, and this
51287         support will help with version-3 tz-format files.
51289         * manual/time.texi (TZ Variable): Modernize North America example
51290         to reflect current (i.e., 2007-and-later) daylight saving rules.
51292         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
51294 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
51296         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
51297         * sysdeps/unix/bsd/bits/stat.h: Likewise.
51298         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
51299         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
51300         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
51301         * sysdeps/unix/bsd/bsdstat.h: Likewise.
51302         * sysdeps/unix/bsd/clock.c: Likewise.
51303         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
51304         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
51305         * sysdeps/unix/bsd/init-posix.c: Likewise.
51306         * sysdeps/unix/bsd/poll.c: Likewise.
51307         * sysdeps/unix/bsd/ptsname.c: Likewise.
51308         * sysdeps/unix/bsd/seekdir.c: Likewise.
51309         * sysdeps/unix/bsd/setegid.c: Likewise.
51310         * sysdeps/unix/bsd/seteuid.c: Likewise.
51311         * sysdeps/unix/bsd/setgid.c: Likewise.
51312         * sysdeps/unix/bsd/setrgid.c: Likewise.
51313         * sysdeps/unix/bsd/setruid.c: Likewise.
51314         * sysdeps/unix/bsd/setsid.c: Likewise.
51315         * sysdeps/unix/bsd/setuid.c: Likewise.
51316         * sysdeps/unix/bsd/sigaction.c: Likewise.
51317         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
51318         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
51319         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
51320         * sysdeps/unix/bsd/telldir.c: Likewise.
51321         * sysdeps/unix/bsd/times.c: Likewise.
51322         * sysdeps/unix/bsd/usleep.c: Likewise.
51324         * misc/Makefile (install-lib): Remove libbsd-compat.a.
51325         ($(objpfx)libbsd-compat.a): Remove rule.
51327         * include/features.h (__FAVOR_BSD): Do not define.
51328         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
51329         features conflicting with POSIX.
51330         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
51331         (_BSD_SOURCE): Remove description of not being a subset of other
51332         feature test macros.
51333         * manual/job.texi (getpgrp): Do not document BSD version.
51334         (getpgid): Do not document by reference to BSD getpgrp.
51335         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
51336         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
51337         * signal/signal.h [__FAVOR_BSD]: Likewise.
51338         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
51339         instead of making contents conditional on [__FAVOR_BSD].
51340         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
51342 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51344         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51346 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
51348         [BZ #16314]
51349         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
51350         values below 2**-450, not 2**-500.
51351         * math/auto-libm-test-in: Don't allow spurious underflow from
51352         hypot.
51353         * math/auto-libm-test-out: Regenerated.
51355         [BZ #16316]
51356         [BZ #16330]
51357         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
51358         values of ha and hb and sort them after adjusting subnormal
51359         arguments.
51360         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
51361         Likewise.
51362         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
51363         values of ea and eb and sort them after adjusting subnormal
51364         arguments.
51365         * math/auto-libm-test-in: Do not expect some hypot tests of
51366         subnormals to fail.  Add more hypot tests.
51367         * math/auto-libm-test-out: Regenerated.
51369 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51371         [BZ #13304]
51372         * sysdeps/sh/s_fma.c: New file.
51373         * sysdeps/sh/s_fmaf.c: New file.
51374         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
51375         version.
51376         * sysdeps/sh/Implies: Add sh/soft-fp.
51378 2013-12-16  Roland McGrath  <roland@hack.frob.com>
51380         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
51381         level of indirection to members `objname', `errstring', `malloced'.
51382         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
51383         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
51384         it as the __longjmp argument (just pass 1 instead).
51385         (_dl_catch_error): Initialize C with argument pointers and address of
51386         volatile local ERRCODE rather than copying values out of C at return.
51388 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
51390         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
51391         * math/auto-libm-test-out: Regenerated.
51392         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
51393         (hypot_test_data): Likewise.
51394         (pow_test_data): Likewise.
51395         (pow_tonearest_test_data): Likewise.
51396         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51397         mpfr_ff_f.
51398         (func_calc_desc): Add mpfr_ff_f union field.
51399         (FUNC_mpfr_ff_f): New macro.
51400         (test_functions): Add atan2, hypot and pow.
51401         (special_fill_min): New function.
51402         (special_fill_minus_min): Likewise.
51403         (special_fill_min_subnorm): Likewise.
51404         (special_fill_minus_min_subnorm): Likewise.
51405         (special_real_inputs): Add min, -min, min_subnorm and
51406         -min_subnorm.
51407         (calc_generic_results): Handle mpfr_ff_f.
51408         * sysdeps/i386/fpu/libm-test-ulps: Update.
51409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51411 2013-12-16  Will Newton  <will.newton@linaro.org>
51413         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
51414         (Aligned Memory Blocks): Add documentation for aligned_alloc
51415         and suggest it as an alternative to posix_memalign.
51416         (Hooks for Malloc): Document __memalign_hook is also called
51417         for aligned_alloc.  (Summary of Malloc): Add summary for
51418         aligned alloc.  Document __memalign_hook is also called
51419         for aligned_alloc.
51421 2013-12-16  Will Newton  <will.newton@linaro.org>
51423         * manual/memory.texi (Malloc Examples): Clarify default
51424         alignment documentation.  Suggest posix_memalign rather
51425         than memalign or valloc.
51426         (Aligned Memory Blocks): Remove suggestion to use memalign
51427         or valloc.  Remove obsolete comment about BSD.
51428         Document memalign errno values and mark the function obsolete.
51429         Document posix_memalign returned error codes.  Mark valloc
51430         as obsolete.  (Hooks for Malloc): __memalign_hook is also
51431         called for posix_memalign and valloc.
51432         (Summary of Malloc): Add posix_memalign to function summary.
51433         __memalign_hook is also called for posix_memalign and valloc.
51435 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51437         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
51438         TAYLOR_SIN.
51439         (__sin): Adjust.
51440         (__cos): Likewise.
51441         (sloww): Use mynumber union.  Expand ternary operator into
51442         if-else statements.
51443         (cslow): use mynumber union.
51445 2013-12-16  Allan McRae  <allan@archlinux.org>
51447         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
51448         * configure: Regenerated.
51450         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
51452         [BZ #14120]
51453         * configure.ac: Added --enable-maintainer-mode. Check for
51454         autoconf when enabled.
51455         * configure: Regenerated.
51457         * nscd/nscd.service: New file.
51458         * nscd/nscd.tmpfiles: New file.
51460 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
51462         [BZ #12100]
51463         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
51464         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
51465         * sysdeps/x86_64/multiarch/strstr.c: ... here.
51466         (strstr): Add __strstr_sse2_unaligned ifunc.
51467         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
51468         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
51469         (strcasestr): Remove __strcasestr_sse42 ifunc.
51470         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
51471         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
51472         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
51474 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51476         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
51477         * sysdeps/sh/bits/fenv.h: ... here.
51478         * sysdeps/sh/sh4/fpu/bits: Remove directory.
51480 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51482         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
51484         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
51485         hypotf multiarch implementations.
51486         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
51487         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
51488         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
51489         multiarch hypot for PPC64.
51490         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
51491         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
51492         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
51493         multiarch hypotf for PPC64.
51495         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
51496         modff multiarch implementations.
51497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
51498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
51499         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
51500         multiarch modf for PPC64.
51501         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
51502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
51503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
51504         multiarch modff for PPC64.
51506         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
51507         and logl multiarch implementations.
51508         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
51509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
51510         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
51511         multiarch logb for PPC64.
51512         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
51513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
51514         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
51515         multiarch logb for PPC64.
51516         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
51517         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
51518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
51519         multiarch logb for PPC64.
51521         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
51522         isinff multiarch implementation.
51523         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
51524         file.
51525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
51526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
51527         multiarch isinf for PPC64.
51528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
51529         file.
51530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
51531         multiarch isinff for PPC64.
51533         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
51534         finitef multiarch implementation.
51535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
51536         file.
51537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
51538         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
51539         multiarch finite for PPC64.
51540         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
51541         file.
51542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
51543         multiarch finitef for PPC64.
51545         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
51546         lrint multiarch implementation.
51547         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
51548         file.
51549         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
51550         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
51551         multiarch llrint for PPC64.
51552         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
51553         multiarch lrint for PPC64.
51555         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
51556         copysignf multiarch implementation.
51557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
51558         file.
51559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
51560         file.
51561         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
51562         multiarch copysign for PPC64.
51563         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
51564         multiarch copysignf for PPC64.
51566         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
51567         multiarch implementation.
51568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
51569         file.
51570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
51571         file.
51572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
51573         file.
51574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
51575         file.
51576         multiarch llround for PPC64.
51577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
51578         multiarch trunc for PPC64.
51579         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
51580         multiarch truncf for PPC64.
51582         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
51583         multiarch implementation.
51584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
51585         file.
51586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
51587         file.
51588         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
51589         file.
51590         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
51591         file.
51592         multiarch llround for PPC64.
51593         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
51594         multiarch round for PPC64.
51595         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
51596         multiarch roundf for PPC64.
51598         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
51599         multiarch implementation.
51600         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
51601         file.
51602         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
51603         file.
51604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
51605         file.
51606         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
51607         file.
51608         multiarch llround for PPC64.
51609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
51610         multiarch floor for PPC64.
51611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
51612         multiarch floorf for PPC64.
51614         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
51615         multiarch implementation.
51616         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
51617         file.
51618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
51619         file.
51620         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
51621         file.
51622         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
51623         file.
51624         multiarch llround for PPC64.
51625         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
51626         multiarch ceil for PPC64.
51627         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
51628         multiarch ceilf for PPC64.
51630         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
51631         multiarch implementation.
51632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
51633         file.
51634         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
51635         file.
51636         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
51637         file.
51638         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
51639         multiarch llround for PPC64.
51640         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
51641         multiarch lround for PPC64.
51643         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
51644         multiarch implementation.
51645         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
51646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
51647         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
51648         file.
51649         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
51650         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
51651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
51652         multiarch isnan for PPC64.
51653         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
51654         multiarch isnanf for PPC64.
51656         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
51657         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
51658         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
51659         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
51660         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
51661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
51663         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
51664         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
51665         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51666         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51668         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
51669         multiarch implementations.
51670         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51671         (__libc_ifunc_impl_list): Likewise.
51672         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
51673         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
51674         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
51675         multiarch stpcpy for PPC64.
51677         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
51678         multiarch implementations.
51679         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51680         (__libc_ifunc_impl_list): Likewise.
51681         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
51682         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
51683         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
51684         multiarch strcpy for PPC64.
51686         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
51687         redefine function name.
51688         (_wordcopy_fwd_dest_aligned): Likewise.
51689         (_wordcopy_bwd_aligned): Likewise.
51690         (_wordcopy_bwd_dest_aligned): Likewise.
51691         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
51692         multiarch implementations.
51693         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51694         (__libc_ifunc_impl_list): Likewise.
51695         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
51696         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
51697         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
51698         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
51699         multiarch wcscpy for PPC64.
51701         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
51702         multiarch implementations.
51703         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51704         (__libc_ifunc_impl_list): Likewise.
51705         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
51706         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
51707         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
51708         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
51709         multiarch wcscpy for PPC64.
51711         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
51712         multiarch implementations.
51713         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51714         (__libc_ifunc_impl_list): Likewise.
51715         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
51716         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
51717         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
51718         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
51719         multiarch wcsrchr for PPC64.
51721         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
51722         multiarch implementations.
51723         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51724         (__libc_ifunc_impl_list): Likewise.
51725         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
51726         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
51727         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
51728         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
51729         multiarch wcschr for PPC64.
51731         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
51732         multiarch implementations.
51733         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51734         (__libc_ifunc_impl_list): Likewise.
51735         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
51736         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
51737         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
51738         multiarch strchrnul for PPC64.
51740         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
51741         implementations.
51742         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51743         (__libc_ifunc_impl_list): Likewise.
51744         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
51745         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
51746         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
51747         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
51748         strchr for PPC64.
51750         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
51751         implementations.
51752         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51753         (__libc_ifunc_impl_list): Likewise.
51754         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
51755         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
51756         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
51757         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
51758         strncmp for PPC64.
51760         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
51761         multiarch implementations.
51762         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51763         (__libc_ifunc_impl_list): Likewise.
51764         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
51765         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
51766         strncasecmp for PPC64.
51767         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
51768         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
51769         multiarch strncasecmp_l for PPC64.
51771         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
51772         multiarch implementations.
51773         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
51774         (__libc_ifunc_impl_list): Likewise.
51775         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
51776         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
51777         multiarch strcasecmp for PPC64.
51778         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
51779         file.
51780         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
51781         multiarch strcasecmp_l for PPC64.
51783         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
51784         implementations.
51785         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51786         (__libc_ifunc_impl_list): Likewise.
51787         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
51788         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
51789         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
51790         strnlen for PPC64.
51792         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
51793         implementations.
51794         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51795         (__libc_ifunc_impl_list): Likewise.
51796         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
51797         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
51798         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
51799         strlen for PPC64.
51801         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
51802         implementations.
51803         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51804         (__libc_ifunc_impl_list): Likewise.
51805         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
51806         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
51807         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
51808         rawmemrchr for PPC64.
51810         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
51811         implementation.
51812         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51813         (__libc_ifunc_impl_list): Likewise.
51814         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
51815         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
51816         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
51817         memrchr for PPC64.
51819         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
51820         implementation.
51821         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51822         (__libc_ifunc_impl_list): Likewise.
51823         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
51824         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
51825         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
51826         memchr for PPC64.
51828         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
51829         implementation.
51830         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51831         (__libc_ifunc_impl_list): Likewise.
51832         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
51833         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
51834         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
51835         mempcpy for PPC64.
51837         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
51838         avoid cretion of __bzero symbol.
51839         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
51840         Likewise.
51841         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
51842         Likewise.
51843         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
51844         Likewise.
51845         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
51846         multiarch implementations.
51847         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51848         (__libc_ifunc_impl_list): Likewise.
51849         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
51850         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
51851         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
51852         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
51853         bzero for PPC32.
51854         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
51855         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
51856         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
51857         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
51858         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
51859         memset for PPC64.
51860         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
51862         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
51863         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
51864         implementations.
51865         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51866         (__libc_ifunc_impl_list): Likewise.
51867         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
51868         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
51869         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
51870         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
51871         memcmp for PPC64.
51873         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
51874         multiarch for POWER/PPC64.
51875         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
51876         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
51877         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
51878         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
51879         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
51880         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
51881         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
51882         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
51883         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
51884         memcpy for PPC64.
51886         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
51887         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
51888         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
51889         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
51890         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
51891         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
51892         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
51893         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
51894         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
51895         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
51896         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
51897         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
51898         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
51899         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
51900         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
51901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
51902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
51903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
51904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
51905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
51906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
51907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
51909 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51911         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
51913 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
51915         * benchtests/Makefile (bench): Add exp2 and log2.
51916         (LDLIBS-bench-exp2): Add -lm.
51917         (LDLIBS-bench-log2): Likewise.
51918         * benchtests/exp2-inputs: New inputs file.
51919         * benchtests/log2-inputs: New inputs file.
51920         * benchtests/log-inputs: Add new inputs.
51921         * benchtests/tan-inputs: Likewise.
51923 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51925         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
51926         definition...
51927         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
51928         (csloww2): ... from here.
51930         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
51931         instead of structures.
51932         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
51933         (POLYNOMIAL): Likewise.
51934         (TAYLOR_SLOW): Likewise.
51935         (__sin): Likewise.
51936         (__cos): Likewise.
51937         (slow1): Likewise.
51938         (slow2): Likewise.
51939         (sloww): Likewise.
51940         (sloww1); Likewise.
51941         (sloww2): Likewise.
51942         (bsloww1): Likewise.
51943         (bsloww2): Likewise.
51944         (cslow2): Likewise.
51945         (csloww): Likewise.
51946         (csloww1): Likewise.
51947         (csloww2): Likewise.
51949 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
51951         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
51952         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
51953         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
51954         * malloc/hooks.c (realloc_check): Likewise.
51956         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
51957         * malloc/arena.c: Remove PER_THREAD conditional.
51958         [!PER_THREAD]: Remove code.
51959         (ptmalloc_unlock_all2): Likewise.
51960         (ptmalloc_init): Likewise.
51961         (_int_new_arena): Likewise.
51962         (arena_get2): Likewise.
51963         * malloc/hooks.c (__malloc_get_state): Likewise.
51964         (__malloc_set_state): Likewise.
51965         * malloc/malloc.c: Likewise.
51966         (struct malloc_state): Likewise.
51967         (struct malloc_par): Likewise.
51968         (__libc_realloc): Likewise.
51969         (__libc_mallopt): Likewise.
51971 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51973         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
51975 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
51977         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
51978         macro to a function.  Check for zero perturb_byte.
51979         (_int_malloc, _int_free): Remove zero perturb_byte checks.
51981         * malloc/malloc.c: (force_reg): Remove.
51982         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
51983         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
51984         force_reg by atomic_forced_read.
51985         * malloc/arena.c (ptmalloc_init): Likewise.
51986         * malloc/hooks.c (top_check): Likewise.
51988 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51990         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51992 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
51994         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51996 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
51998         * math/auto-libm-test-in: Add tests of lgamma.
51999         * math/auto-libm-test-out: Regenerated.
52000         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
52001         (M_LOG_2_SQRT_PIl): Likewise.
52002         (lgamma_test_data): Use AUTO_TESTS_f_f1.
52003         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52004         mpfr_f_f1.
52005         (func_calc_desc): Add mpfr_f_f1 union field.
52006         (ARGS1): New macro.
52007         (ARGS2): Likewise.
52008         (ARGS3): Likewise.
52009         (ARGS4): Likewise.
52010         (RET1): Likewise.
52011         (RET2): Likewise.
52012         (CALC): Likewise.
52013         (FUNC): Likewise.
52014         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
52015         (test_functions): Add lgamma.
52016         (calc_generic_results): Handle mpfr_f_f1.
52017         * sysdeps/i386/fpu/libm-test-ulps: Update.
52018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52020 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52022         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
52023         __mpn_add_n for PowerPC64/POWER7.
52024         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
52025         __mpn_sub_n for PowerPC64/POWER7.
52027         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
52028         __mpn_addmul_1 for PowerPC64.
52029         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
52030         __mpn_submul_1 for PowerPC64.
52031         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
52032         for PowerPC64.
52033         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
52034         for PowerPC64.
52036 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
52038         [BZ #15089]
52039         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
52041 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52043         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
52045         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
52046         add multiarch folders.
52047         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
52048         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
52049         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
52050         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
52051         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
52052         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
52053         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
52054         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
52055         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
52056         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
52057         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
52058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
52059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
52060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
52061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
52062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
52063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
52065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
52066         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
52067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
52068         New file.
52069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
52070         New file.
52071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
52072         multiarch __ieee754_hypot for PowerPC32.
52073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
52074         New file.
52075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
52076         New file.
52077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
52078         multiarch __ieee754_hypotf for PowerPC32.
52080         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
52081         long_double_symbol only if __logbl is defined.
52082         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
52083         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
52084         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
52085         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
52086         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
52087         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
52088         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
52089         path for implementation.
52090         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
52091         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
52092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
52093         logb, and logbl multiarch implementations for PowerPC32.
52094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
52095         file.
52096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
52097         file.
52098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
52099         multiarch logb for PowerPC32.
52100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
52101         file.
52102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
52103         file.
52104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
52105         multiarch logbf for PowerPC32.
52106         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
52107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
52108         file.
52109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
52110         multiarch logbl implementation for PowerPC32.
52112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
52113         and modff multiarch implementations.
52114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
52115         New file.
52116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
52117         New file.
52118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
52119         multiarch modf for PowerPC32.
52120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
52121         New file.
52122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
52123         New file.
52124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
52125         multiarch modff for PowerPC32.
52127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
52128         and lrintf multiarch implementations.
52129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
52130         New file.
52131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
52132         New file.
52133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
52134         multiarch lrint for PowerPC32.
52135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
52136         file: multiarch lrintf for PowerPC32.
52138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
52139         and lroundf multiarch implementations.
52140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
52141         New file.
52142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
52143         New file.
52144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
52145         New file.
52146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
52147         multiarch lround for PowerPC32.
52148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
52149         file: multiarch lroundf for PowerPC32.
52151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
52152         copysign and copysignf multiarch implementations.
52153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
52154         New file.
52155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
52156         New file.
52157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
52158         file: multiarch copysign for PowerPC32.
52159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
52160         file: multiarch copysignf for PowerPC32.
52162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
52163         and truncf multiarch implementations.
52164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
52165         New file.
52166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
52167         file.
52168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
52169         multiarch trunc for PowerPC32.
52170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
52171         New file.
52172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
52173         New file.
52174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
52175         multiarch truncf for PowerPC32.
52177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
52178         and roundf multiarch implementations.
52179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
52180         New file.
52181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
52182         file.
52183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
52184         multiarch round for PowerPC32.
52185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
52186         New file.
52187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
52188         New file.
52189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
52190         multiarch roundf for PowerPC32.
52192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
52193         and floorf multiarch implementations.
52194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
52195         New file.
52196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
52197         file.
52198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
52199         multiarch floor for PowerPC32.
52200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
52201         New file.
52202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
52203         New file.
52204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
52205         multiarch floorf for PowerPC32.
52207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
52208         and ceilf multiarch implementations.
52209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
52210         New file.
52211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
52212         file.
52213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
52214         multiarch ceil for PowerPC32.
52215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
52216         New file.
52217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
52218         file.
52219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
52220         multiarch ceilf for PowerPC32.
52222         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
52223         is defined.
52224         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
52225         FINITEF is defined.
52226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
52227         and finitef multiarch implementations.
52228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
52229         New file.
52230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
52231         file.
52232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
52233         multiarch finite for PowerPC32.
52234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
52235         New file.
52236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
52237         file: multiarch finitef for PowerPC32.
52239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
52240         and isinff multiarch implementations.
52241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
52242         file.
52243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
52244         file.
52245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
52246         multiarch isinf for PowerPC32.
52247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
52248         New file.
52249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
52250         multiarch isinff for PowerPC32.
52252         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
52253         alias when __isnan is defined.
52254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
52255         and isnanf multiarch implementations.
52256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
52257         file.
52258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
52259         file.
52260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
52261         file.
52262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
52263         file.
52264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
52265         multiarch isnan for PowerPC32.
52266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
52267         New file.
52268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
52269         New file.
52270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
52271         multiarch isnanf for PowerPC32.
52273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
52274         and sqrtf multiarch implementations.
52275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
52276         file.
52277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
52278         file.
52279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
52280         multiarch sqrt for PowerPC32.
52281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
52282         file.
52283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
52284         file.
52285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
52286         multiarch sqrtf for PowerPC32.
52288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
52289         and llroundf multiarch implementations.
52290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
52291         New file.
52292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
52293         New file.
52294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
52295         New file.
52296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
52297         file: multiarch llround for PowerPC32.
52298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
52299         file: multiarch llroundf for PowerPC32.
52301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
52302         multiarch PowerPC32 fpu implementations.
52303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
52304         New file.
52305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
52306         New file.
52307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
52308         multiarch llrint for PowerPC32.
52309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
52310         New file.
52311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
52312         New file.
52313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
52314         file.
52316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
52318         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
52319         file.
52320         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
52321         file.
52322         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
52323         file.
52324         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
52325         multiarch wordcopy for PPC32.
52326         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
52327         wordcopy objects.
52328         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52329         (__libc_ifunc_impl_list): Likewise.
52330         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
52331         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
52332         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
52333         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
52334         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
52335         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
52337         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
52338         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
52339         file.
52340         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
52341         file.
52342         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
52343         file.
52344         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
52345         multiarch wcscpy for PPC32.
52346         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
52347         multiarch objects.
52348         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52349         (__libc_ifunc_impl_list): Likewise.
52350         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
52351         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
52352         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
52353         sysdeps/powerpc/power6/wcscpy.c.
52355         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
52356         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
52357         file.
52358         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
52359         file.
52360         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
52361         file.
52362         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
52363         multiarch wcsrchr for PPC32.
52364         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
52365         multiarch objects.
52366         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52367         (__libc_ifunc_impl_list): Likewise.
52368         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
52369         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
52370         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
52371         sysdeps/powerpc/power6/wcsrchr.c.
52373         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
52374         file.
52375         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
52376         file.
52377         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
52378         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
52379         multiarch wcschr for PPc32.
52380         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
52381         multiarch objects.
52382         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52383         (__libc_ifunc_impl_list): Likewise.
52384         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
52385         * sysdeps/powerpc/power6/wcschr.c: ... to here.
52386         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
52387         sysdeps/powerpc/power6/wcschr.c.
52389         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
52390         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
52391         file.
52392         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
52393         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
52394         file: multiarch strchr for PPC32.
52395         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
52396         multiarch objects.
52397         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52398         (__libc_ifunc_impl_list): Likewise.
52400         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
52401         name.
52402         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
52403         file.
52404         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
52405         file.
52406         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
52407         multiarch strchrnul for PPC32.
52408         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
52409         multiarch objects.
52410         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52411         (__libc_ifunc_impl_list): Likewise.
52413         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
52414         file.
52415         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
52416         multiarch strncasecmp for PPC32.
52417         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
52418         file.
52419         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
52420         multiarch strncasecmp_l for PPC32.
52421         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
52422         strncasecmp multiarch objects.
52423         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52424         (__libc_ifunc_impl_list): Likewise.
52426         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
52427         file.
52428         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
52429         multiarch strncasecmp for PPC32.
52430         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
52431         New file.
52432         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
52433         multiarch strcasecmp_l for PPC32.
52434         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
52435         multiarch objects.
52436         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52437         (__libc_ifunc_impl_list): Likewise.
52439         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
52440         file.
52441         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
52442         file.
52443         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
52444         multiarch strncmp for PPC32.
52445         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
52446         multiarch objects.
52447         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52448         (__libc_ifunc_impl_list): Likewise.
52450         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
52451         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
52452         file.
52453         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
52454         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
52455         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
52456         multiarch objects.
52457         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52458         (__libc_ifunc_impl_list): Likewise.
52460         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
52461         file.
52462         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
52463         file.
52464         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
52465         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
52466         multiarch objects.
52467         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52468         (__libc_ifunc_impl_list): Likewise.
52470         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
52471         file.
52472         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
52473         file.
52474         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
52475         multiarch rawmemchr for PPC32.
52476         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
52477         multiarch objects.
52478         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52479         (__libc_ifunc_impl_list): Likewise.
52481         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
52482         file.
52483         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
52484         file.
52485         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
52486         file: memrchr multiarch for PPC32.
52487         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
52488         multiarch objects.
52489         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52490         (__libc_ifunc_impl_list): Likewise.
52492         * string/memchr.c (__memchr): Using macro to redefine symbol name.
52493         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
52494         file.
52495         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
52496         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
52497         multiarch memchr for PPC32.
52498         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
52499         multiarch objects.
52500         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52501         (__libc_ifunc_impl_list): Likewise.
52503         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
52504         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
52505         file.
52506         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
52507         file.
52508         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
52509         file: multiarch mempcpy for PPC32.
52510         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
52511         multiarch objects.
52512         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52513         (__libc_ifunc_impl_list): Likewise.
52515         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
52516         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
52517         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
52518         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
52519         multiarch bzero for PPC32.
52520         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
52521         file.
52522         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
52523         file.
52524         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
52525         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
52526         file: multiarch memset for PPC32.
52527         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
52528         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
52529         memset multiarch objects.
52530         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52531         (__libc_ifunc_impl_list): Likewise.
52533         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
52534         file.
52535         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
52536         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
52537         memcmp for PPC32.
52538         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
52539         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
52540         multiarch objects.
52541         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52542         (__libc_ifunc_impl_list): Likewise.
52544         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
52545         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
52546         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
52547         file.
52548         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
52549         file.
52550         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
52551         file.
52552         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
52553         multiarch memcpy for PPC32.
52554         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
52555         multiarch objects.
52556         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52557         (__libc_ifunc_impl_list): Likewise.
52559         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
52560         support multiarch for POWER/PPC32.
52561         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
52562         Likewise.
52563         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
52564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
52565         Implies file to make multiarch folder appers before the fpu and
52566         default folder for power4 configuration.
52568 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
52570         * scripts/bench.pl: Append volatile keyword to type.
52572 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52574         * sysdeps/sh/sotruss-lib.c: New file.
52575         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
52577 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52579         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52581 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
52583         [BZ #6810]
52584         * math/w_tgamma.c: Include <errno.h>.
52585         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
52586         * math/w_tgammaf.c: Include <errno.h>.
52587         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
52588         * math/w_tgammal.c: Include <errno.h>.
52589         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
52590         * math/auto-libm-test-in: Do not allow missing errno on tgamma
52591         underflow.  Add more tgamma tests.
52592         * math/auto-libm-test-out: Regenerated.
52593         * sysdeps/i386/fpu/libm-test-ulps: Update.
52594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52596         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
52597         sin, sinh, tan, tanh, tgamma, y0 and y1.
52598         * math/auto-libm-test-out: Regenerated.
52599         * math/libm-test.inc (TEST_COND_x86_64): New macro.
52600         (TEST_COND_x86): Likewise.
52601         (M_E2l): Remove macro.
52602         (M_E3l): Likewise.
52603         (M_2_SQRT_PIl): Likewise.
52604         (M_SQRT_PIl): Likewise.
52605         (M_1_DIV_El): Likewise.
52606         (log_test_data): Use AUTO_TESTS_f_f.
52607         (log10_test_data): Likewise.
52608         (log1p_test_data): Likewise.
52609         (log2_test_data): Likewise.
52610         (sin_test_data): Likewise.
52611         (sin_tonearest_test_data): Likewise.
52612         (sin_towardzero_test_data): Likewise.
52613         (sin_downward_test_data): Likewise.
52614         (sin_upward_test_data): Likewise.
52615         (sinh_test_data): Likewise.
52616         (sinh_tonearest_test_data): Likewise.
52617         (sinh_towardzero_test_data): Likewise.
52618         (sinh_downward_test_data): Likewise.
52619         (sinh_upward_test_data): Likewise.
52620         (tan_test_data): Likewise.
52621         (tan_tonearest_test_data): Likewise.
52622         (tan_towardzero_test_data): Likewise.
52623         (tan_downward_test_data): Likewise.
52624         (tan_upward_test_data): Likewise.
52625         (tanh_test_data): Likewise.
52626         (tgamma_test_data): Likewise.
52627         (y0_test_data): Likewise.
52628         (y1_test_data): Likewise.
52629         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
52630         (special_real_inputs): Add pi/4.
52631         * sysdeps/i386/fpu/libm-test-ulps: Update.
52632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52634 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52636         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
52637         "longjmp_target" static probes.
52638         (__longjmp): Rename to __longjmp_symbol.
52639         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
52640         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
52641         on which longjmp to generate.
52642         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
52643         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
52644         probe.
52645         (__sigsetjmp): Rename to __sigsetjmp_symbol.
52646         (__sigjmp_save): Rename to __sigjmp_save_symbol.
52647         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
52648         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
52649         and __sigjmp_save_symbol based on which sigsetjmp to generated.
52650         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
52651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
52652         __longjmp_symbol based on which __longjmp to generate.
52653         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
52654         probe.
52655         (setjmp): Rename to setjmp_symbol.
52656         (__sigsetjmp): Rename to __sigsetjmp_symbol.
52657         (_setjmp): Rename to _setjmp_symbol.
52658         (__sigsetjmp): Rename to __sigsetjmp_symbol.
52659         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
52660         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
52661         which setjmp to generate.
52662         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
52663         "longjmp_target" static probes.
52665 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52667         * benchtests/README: Add note about output arguments.
52668         * benchtests/bench-sincos.c: Remove file.
52669         * benchtests/sincos-inputs: New file.
52670         * scripts/bench.pl: Identify output arguments and define
52671         static variables for them.
52673         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
52675         [BZ #15941]
52676         * Makefile (INSTALL): Add install-plain.texi as the primary
52677         dependency.
52678         * manual/install-plain.texi: New file.
52679         * manual/install.texi: Include node directive only for
52680         non-plaintext output.
52682 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
52684         * stdlib/longlong.h: Update from GCC.
52686         [BZ #6807]
52687         [BZ #15901]
52688         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
52689         * math/w_j0f.c (y0f): Likewise.
52690         * math/w_j0l.c (__y0l): Likewise.
52691         * math/w_j1.c (y1): Likewise.
52692         * math/w_j1f.c (y1f): Likewise.
52693         * math/w_j1l.c (__y1l): Likewise.
52694         * math/w_jn.c (yn): Likewise.
52695         * math/w_jnf.c (ynf): Likewise.
52696         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
52697         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
52698         value for Bessel function domain errors outside _SVID_ mode.
52699         Adjust sign of return value for yn (negative integer, 0).
52700         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
52701         by zero in return for negative x and set sign appropriately for
52702         negative n.
52703         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
52704         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
52705         * math/libm-test.inc (y0_test_data): Add more tests and adjust
52706         expectations in error cases.
52707         (y1_test_data): Likewise.
52708         (yn_test_data): Likewise.
52709         * sysdeps/i386/fpu/libm-test-ulps: Update.
52710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52712 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
52714         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
52715         "64" to "64-v1".  Add "64-v2".
52716         (abi-64-options): Rename to ...
52717         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
52718         (abi-64-condition): Rename to ...
52719         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
52720         (abi-64-ld-soname): Rename to ...
52721         (abi-64-v1-ld-soname): ... this.
52722         (abi-64-v2-options): Define.
52723         (abi-64-v2-condition): Likewise.
52724         (abi-64-v2-ld-soname): Likewise.
52725         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
52726         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
52727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
52728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
52729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
52731 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
52732             Alan Modra  <amodra@gmail.com>
52734         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
52735         New versions for use with the ELFv2 ABI.
52736         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
52737         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
52738         declaration.
52739         (struct La_ppc64v2_retval): Likewise.
52740         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
52741         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
52742         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
52743         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
52744         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
52745         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
52746         Do not save or restore CR.
52747         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
52748         (_dl_profile_resolve): Do no save or restore CR.  Support extended
52749         return values for ELFv2 ABI.  Fix location of FPR return registers.
52750         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
52751         updated values for _CALL_ELF == 2.
52752         (La_regs, La_retval, int_retval): Likewise.
52754 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
52756         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
52757         (FRAME_MIN_SIZE_PARM): Likewise.
52758         (FRAME_BACKCHAIN): Likewise.
52759         (FRAME_CR_SAVE): Likewise.
52760         (FRAME_LR_SAVE): Likewise.
52761         (FRAME_TOC_SAVE): Likewise.
52762         (FRAME_PARM_SAVE): Likewise.
52763         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
52764         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
52765         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
52766         (call_mcount_parm_offset): New macro.
52767         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
52768         (PROF): Use symbolic stack frame offsets.
52769         (TAIL_CALL_SYSCALL_ERROR): Likewise.
52770         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
52771         Redefine in terms of FRAME_MIN_SIZE.
52772         (_dl_runtime_resolve): Use symbolic stack frame offsets.
52773         (_dl_profile_resolve): Likewise.  Update comment.
52774         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
52775         symbols stack frame offsets.
52776         (__sigsetjmp): Likewise.
52777         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
52778         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
52779         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
52780         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
52782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
52783         (FRAME_BACKCHAIN): Remove.
52784         (FRAME_CR_SAVE): Likewise.
52785         (FRAME_LR_SAVE): Likewise.
52786         (FRAME_COMPILER_DW): Likewise.
52787         (FRAME_LINKER_DW): Likewise.
52788         (FRAME_TOC_SAVE): Likewise.
52789         (FRAME_PARM_SAVE): Likewise.
52790         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
52791         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
52792         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
52793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
52794         (CHECK_SP): Use symbolic stack frame offsets.
52795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
52796         zone" instead of caller's parameter save area for temp storage.
52797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
52798         Likewise.  Also, use symbolic stack frame offsets.
52799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
52800         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
52801         our own stack frame instead of the caller's.
52802         (__socket): Use symbolic stack frame offsets.
52804 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
52805             Alan Modra  <amodra@gmail.com>
52807         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
52808         Define.
52809         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
52810         (PPC64_LOCAL_ENTRY_OFFSET): Define.
52811         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
52812         New function.
52813         (elf_machine_fixup_plt): Call it.
52814         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
52815         reloc arguments.
52816         (elf_machine_rela): Update call to elf_machine_plt_conflict.
52817         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
52818         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
52819         r2 before calling target.
52821 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
52822             Alan Modra  <amodra@gmail.com>
52824         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
52825         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
52826         versions of macros to support ELFv2 ABI.
52827         (LOCALENTRY): New macro.
52828         (ENTRY, EALIGN): Use it.
52829         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
52830         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
52831         fall through into ENTRY entry point.
52832         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
52833         Only define if _CALL_ELF != 2.
52835         (elf_machine_matches_host): Verify ABI version matches.
52836         (RTLD_START): Use LOCALENTRY.
52837         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
52838         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
52839         (PLT_ENTRY_WORDS): New macro.
52840         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
52841         (elf_machine_runtime_setup): Support ELFv2 ABI.
52842         (elf_machine_fixup_plt): Likewise.
52843         (elf_machine_plt_conflict): Likewise.
52844         (resolve_ifunc): Likewise.
52845         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
52846         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
52847         Likewise.
52848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
52849         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
52850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
52851         (makecontext): Support ELFv2 ABI.
52852         * elf/elf.h (EF_PPC64_ABI): Define.
52854 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
52856         * sysdeps/powerpc/powerpc64/sysdep.h
52857         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
52858         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
52859         (ENTRY) [ASSEMBLER]: ... but instead here ...
52860         (EALIGN) [ASSEMBLER]: ... and here.
52861         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
52862         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
52863         (ENTRY_2) [!ASSEMBLER]: Use it.
52864         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
52865         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
52866         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
52867         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
52868         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
52869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
52870         Use PPC64_LOAD_FUNCPTR.
52872         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
52874 2013-12-04  Alan Modra  <amodra@gmail.com>
52876         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
52877         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
52878         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
52879         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
52881         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
52882         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
52883         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
52884         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
52885         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
52886         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
52888 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
52890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
52891         (__makecontext): Fix incorrect CFI when backtracing out of
52892         context created via makecontext.
52893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
52894         (__setcontext): Fix incorrect CFI during switch to new context.
52895         (__novec_setcontext): Likewise.
52897 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
52899         [BZ #4772]
52900         * time/strptime_l.c (__strptime_internal): Allow modifiers
52901         in strptime.
52902         * time/tst-strptime.c (day_tests): Add testcase.
52904 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52906         * scripts/bench.pl: Skip over blank lines.
52908 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
52910         [BZ #926]
52911         * manual/time.texi (Calendar Time): Clarify what timezone functions
52912         use.
52914 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52916         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52918 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
52920         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
52921         implementation.
52922         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
52923         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
52924         * debug/memset_chk.c (__memset_chk): Likewise.
52925         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
52926         * debug/strncpy_chk.c: Likewise.
52928 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
52930         [BZ #15268]
52931         [BZ #15425]
52932         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
52933         (__ieee754_exp): For possibly underflowing results, check size of
52934         result and force underflow exception if required.
52935         * math/auto-libm-test-in: Add more tests of exp.
52936         * math/auto-libm-test-out: Regenerated.
52937         * sysdeps/i386/fpu/libm-test-ulps: Update.
52938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52940         [BZ #16283]
52941         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
52942         * math/w_exp2f.c (__exp2f): Likewise.
52943         * math/w_exp2l.c (__exp2l): Likewise.
52944         * math/auto-libm-test-in: Do not allow missing errno on exp2
52945         underflow.
52946         * math/auto-libm-test-out: Regenerated.
52948 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
52950         [BZ #16274]
52951         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
52952         handle filename validation.
52953         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
52954         (do_open): Delete.
52956 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
52958         [BZ #6786]
52959         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
52960         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
52961         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
52962         <float.h>.
52963         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
52964         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
52965         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
52966         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
52967         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
52968         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
52969         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
52970         * math/auto-libm-test-in: Don't allow missing errno from erfc.
52971         Add more erfc tests.
52972         * math/auto-libm-test-out: Regenerated.
52973         * sysdeps/i386/fpu/libm-test-ulps: Update.
52974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52976         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
52977         exp2, expm1, j0 and j1.
52978         * math/auto-libm-test-out: Regenerated.
52979         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
52980         (erfc_test_data): Likewise.
52981         (exp_test_data): Likewise.
52982         (exp_tonearest_test_data): Likewise.
52983         (exp_towardzero_test_data): Likewise.
52984         (exp_downward_test_data): Likewise.
52985         (exp_upward_test_data): Likewise.
52986         (exp10_test_data): Likewise.
52987         (exp2_test_data): Likewise.
52988         (expm1_test_data): Likewise.
52989         (j0_test_data): Likewise.
52990         (j1_test_data): Likewise.
52991         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
52992         (input_flag_type): Add flag_xfail_rounding.
52993         (input_flags): Add xfail-rounding.
52994         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
52995         (output_for_one_input_case): Handle flag_xfail_rounding.
52996         * sysdeps/i386/fpu/libm-test-ulps: Update.
52997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52999 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
53001         [BZ #16289]
53002         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
53003         division by 0.
53005 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
53007         [BZ #16195]
53008         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
53009         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
53010         (STAP_PROBE0): New macro.
53011         (STAP_PROBE1): Likewise.
53012         (STAP_PROBE2): Likewise.
53013         (STAP_PROBE3): Likewise.
53014         (STAP_PROBE4): Likewise.
53016 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
53018         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
53020 2013-12-02  Steve Ellcey  <sellcey@mips.com>
53022         * benchtests/Makefile (bench): Add sqrt.
53023         (LDLIBS-bench-sqrt): New.
53024         * benchtests/sqrt-input: New.
53026 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
53028         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
53029         (GAIH_EAI): Likewise.
53030         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
53031         (gaih_inet): Likewise.
53032         (getaddrinfo): Don't use GAIH_EAI.
53034         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
53035         (struct gaih): Remove definition.
53037 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
53039         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
53040         Use HERRNOP directly.
53042 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53044         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53046 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
53048         * math/gen-auto-libm-tests.c (test_functions): Add more
53049         single-argument functions.
53050         (special_fill_pi_2): New function.
53051         (special_fill_minus_pi_2): Likewise.
53052         (special_fill_pi_6): Likewise.
53053         (special_fill_minus_pi_6): Likewise.
53054         (special_fill_pi_3): Likewise.
53055         (special_fill_2pi_3): Likewise.
53056         (special_fill_e): Likewise.
53057         (special_fill_1_e): Likewise.
53058         (special_fill_e_minus_1): Likewise.
53059         (special_real_inputs): Add more special inputs.
53060         (output_for_one_input_case): Do not require ERANGE on underflow to
53061         zero if round-to-nearest result does not underflow to zero, unless
53062         exact results required.
53063         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
53064         atan, atanh, cbrt, cos and cosh.
53065         * math/auto-libm-test-out: Regenerated.
53066         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
53067         (acos_tonearest_test_data): Likewise.
53068         (acos_towardzero_test_data): Likewise.
53069         (acos_downward_test_data): Likewise.
53070         (acos_upward_test_data): Likewise.
53071         (acosh_test_data): Likewise.
53072         (asin_test_data): Likewise.
53073         (asin_tonearest_test_data): Likewise.
53074         (asin_towardzero_test_data): Likewise.
53075         (asin_upward_test_data): Likewise.
53076         (asinh_test_data): Likewise.
53077         (atan_test_data): Likewise.
53078         (atanh_test_data): Likewise.
53079         (cbrt_test_data): Likewise.
53080         (cos_test_data): Likewise.
53081         (cos_tonearest_test_data): Likewise.
53082         (cos_towardzero_test_data): Likewise.
53083         (cos_downward_test_data): Likewise.
53084         (cos_upward_test_data): Likewise.
53085         (cosh_test_data): Likewise.
53086         (cosh_tonearest_test_data): Likewise.
53087         (cosh_towardzero_test_data): Likewise.
53088         (cosh_downward_test_data): Likewise.
53089         (cosh_upward_test_data): Likewise.
53090         * sysdeps/i386/fpu/libm-test-ulps: Update.
53091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53093 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
53095         [BZ #6787]
53096         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
53097         * math/w_exp10f.c (__exp10f): Likewise.
53098         * math/w_exp10l.c (__exp10l): Likewise.
53099         * math/libm-test.inc (exp10_test_data): Add more tests and expect
53100         errno settings in existing tests.
53102         [BZ #14032]
53103         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
53104         precision control set to double precision.
53105         * sysdeps/i386/fpu/w_sqrt.c: New file.
53106         * math/auto-libm-test-in: Add more tests.
53107         * math/auto-libm-test-out: Update.
53109         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
53110         (sqrt_test_tonearest): New function.
53111         (sqrt_towardzero_test_data): New variable.
53112         (sqrt_test_towardzero): New function.
53113         (sqrt_downward_test_data): New variable.
53114         (sqrt_test_downward): New function.
53115         (sqrt_upward_test_data): New variable.
53116         (sqrt_test_upward): New function.
53117         (main): Call the new functions.
53119         * math/gen-auto-libm-tests.c: New file.
53120         * math/auto-libm-test-in: Likewise.
53121         * math/auto-libm-test-out: New generated file.
53122         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
53123         variables.
53124         (%beautify): Add generated representations of zero.
53125         (top level): Set $auto_input and call parse_auto_input.
53126         (beautify): Remove trailing "f" from hex float constants.
53127         (parse_args): Handle XFAIL_TEST.
53128         (convert_condition): New function.
53129         (or_value): Likewise.
53130         (or_cond_value): Likewise.
53131         (generate_testfile): Handle AUTO_TESTS_* lines.
53132         (parse_auto_input): New function.
53133         * math/libm-test.inc (XFAIL_TEST): New macro.
53134         (ERRNO_UNCHANGED): Update value.
53135         (ERRNO_EDOM): Likewise.
53136         (ERRNO_ERANGE): Likewise.
53137         (IGNORE_RESULT): Likewise.
53138         (TEST_COND_flt_32): New macro.
53139         (TEST_COND_dbl_64): Likewise.
53140         (TEST_COND_ldbl_96_intel): Likewise.
53141         (TEST_COND_ldbl_96_m68k): Likewise.
53142         (TEST_COND_ldbl_128): Likewise.
53143         (TEST_COND_ldbl_128ibm): Likewise.
53144         (TEST_COND_long32): Likewise.
53145         (TEST_COND_long64): Likewise.
53146         (TEST_COND_before_rounding): Likewise.
53147         (TEST_COND_after_rounding): Likewise.
53148         (enable_test): Handle XFAIL_TEST flag.
53149         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
53150         with finite results.
53151         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
53152         auto-libm-test-out.
53154 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53155             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53157         [BZ #16214]
53158         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
53159         __tls_get_addr_internal instead of __tls_get_offset in order to
53160         avoid GOT pointer dependency.  Make rtld export
53161         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
53162         __tls_get_addr since we are a __tls_get_offset platform.
53163         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
53164         GOT pointer being set up before.
53165         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
53167 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
53169         * manual/math.texi (Errors in Math Functions): Document accuracy
53170         goals.
53172         [BZ #15004]
53173         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
53174         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
53175         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53176         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53177         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53178         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53179         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53180         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
53181         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
53182         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53183         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53184         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53185         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53186         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53187         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53188         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
53190         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
53191         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
53192         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
53193         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
53194         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
53195         Likewise.
53196         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
53197         Likewise.
53198         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
53199         Likewise.
53200         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
53201         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
53202         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
53203         atomic-feupdateenv and flt-rounds.
53204         * sysdeps/powerpc/nofpu/Versions (libc): Add
53205         __atomic_feholdexcept, __atomic_feclearexcept,
53206         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
53207         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
53208         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
53209         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
53210         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
53211         here.
53212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
53213         Update.
53215         * manual/arith.texi (FP Exceptions): Document that exceptions may
53216         not be raised when matherr is used.
53217         (Math Error Reporting): Document overflow in directed rounding
53218         modes.  Document that errno may not be set when finite values are
53219         returned on overflow.  Document intent to set errno on underflow
53220         only for underflow to zero.
53222         [BZ #16271]
53223         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
53224         round-to-nearest then adjust result for other rounding modes.
53225         * include/fenv.h (fegetround): Use libm_hidden_proto.
53226         * math/fegetround.c (fegetround): Use libm_hidden_def.
53227         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
53228         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
53229         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
53230         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
53231         Likewise.
53232         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
53233         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
53234         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
53235         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
53237 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53239         [BZ #16077]
53240         * nss/Versions (libnss_files): Add
53241         _nss_files_gethostbyname3_r.
53242         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
53243         New function.
53244         (HOST_DB_LOOKUP): Remove macro.
53245         (_nss_files_gethostbyname_r): Implement function without the
53246         HOST_DB_LOOKUP macro.
53247         (_nss_files_gethostbyname2_r): Likewise.
53249 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
53251         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
53253 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
53255         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
53256         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
53257         warning.
53259 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53261         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
53262         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
53263         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
53264         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
53265         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
53266         __fe_nomask_env_priv and attribute_hidden.
53267         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
53268         (libc_feupdateenv_test_ppc): Likewise.
53269         (libc_feresetround_ppc): Likewise.
53270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
53271         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
53272         compat_symbol macro.
53273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
53274         (__fe_nomask_env): Likewise.
53275         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
53277 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
53279         * string/Makefile: Remove ifunc tests.
53280         * string/test-string.h: Define TEST_IFUNC.
53281         * string/test-bcopy-ifunc.c: Remove.
53282         * string/test-bzero-ifunc.c: Likewise.
53283         * string/test-memccpy-ifunc.c: Likewise.
53284         * string/test-memchr-ifunc.c: Likewise.
53285         * string/test-memcmp-ifunc.c: Likewise.
53286         * string/test-memcpy-ifunc.c: Likewise.
53287         * string/test-memmem-ifunc.c: Likewise.
53288         * string/test-memmove-ifunc.c: Likewise.
53289         * string/test-mempcpy-ifunc.c: Likewise.
53290         * string/test-memrchr-ifunc.c: Likewise.
53291         * string/test-memset-ifunc.c: Likewise.
53292         * string/test-rawmemchr-ifunc.c: Likewise.
53293         * string/test-stpcpy-ifunc.c: Likewise.
53294         * string/test-stpncpy-ifunc.c: Likewise.
53295         * string/test-strcasecmp-ifunc.c: Likewise.
53296         * string/test-strcasestr-ifunc.c: Likewise.
53297         * string/test-strcat-ifunc.c: Likewise.
53298         * string/test-strchr-ifunc.c: Likewise.
53299         * string/test-strchrnul-ifunc.c: Likewise.
53300         * string/test-strcmp-ifunc.c: Likewise.
53301         * string/test-strcpy-ifunc.c: Likewise.
53302         * string/test-strcspn-ifunc.c: Likewise.
53303         * string/test-strlen-ifunc.c: Likewise.
53304         * string/test-strncasecmp-ifunc.c: Likewise.
53305         * string/test-strncat-ifunc.c: Likewise.
53306         * string/test-strncmp-ifunc.c: Likewise.
53307         * string/test-strncpy-ifunc.c: Likewise.
53308         * string/test-strnlen-ifunc.c: Likewise.
53309         * string/test-strpbrk-ifunc.c: Likewise.
53310         * string/test-strrchr-ifunc.c: Likewise.
53311         * string/test-strspn-ifunc.c: Likewise.
53312         * string/test-strstr-ifunc.c: Likewise.
53314 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
53316         * benchtests/Makefile: Remove ifunc tests.
53317         * benchtests/bench-string.h: Define TEST_IFUNC.
53318         * benchtests/bench-bcopy-ifunc.c: Remove.
53319         * benchtests/bench-bzero-ifunc.c: Likewise.
53320         * benchtests/bench-memccpy-ifunc.c: Likewise.
53321         * benchtests/bench-memchr-ifunc.c: Likewise.
53322         * benchtests/bench-memcmp-ifunc.c: Likewise.
53323         * benchtests/bench-memcpy-ifunc.c: Likewise.
53324         * benchtests/bench-memmem-ifunc.c: Likewise.
53325         * benchtests/bench-memmove-ifunc.c: Likewise.
53326         * benchtests/bench-mempcpy-ifunc.c: Likewise.
53327         * benchtests/bench-memrchr-ifunc.c: Likewise.
53328         * benchtests/bench-memset-ifunc.c: Likewise.
53329         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
53330         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
53331         * benchtests/bench-stpcpy-ifunc.c: Likewise.
53332         * benchtests/bench-stpncpy-ifunc.c: Likewise.
53333         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
53334         * benchtests/bench-strcasestr-ifunc.c: Likewise.
53335         * benchtests/bench-strcat-ifunc.c: Likewise.
53336         * benchtests/bench-strchr-ifunc.c: Likewise.
53337         * benchtests/bench-strchrnul-ifunc.c: Likewise.
53338         * benchtests/bench-strcmp-ifunc.c: Likewise.
53339         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
53340         * benchtests/bench-strcpy-ifunc.c: Likewise.
53341         * benchtests/bench-strcspn-ifunc.c: Likewise.
53342         * benchtests/bench-strlen-ifunc.c: Likewise.
53343         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
53344         * benchtests/bench-strncat-ifunc.c: Likewise.
53345         * benchtests/bench-strncmp-ifunc.c: Likewise.
53346         * benchtests/bench-strncpy-ifunc.c: Likewise.
53347         * benchtests/bench-strnlen-ifunc.c: Likewise.
53348         * benchtests/bench-strpbrk-ifunc.c: Likewise.
53349         * benchtests/bench-strrchr-ifunc.c: Likewise.
53350         * benchtests/bench-strsep-ifunc.c: Likewise.
53351         * benchtests/bench-strspn-ifunc.c: Likewise.
53352         * benchtests/bench-strstr-ifunc.c: Likewise.
53354 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
53356         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
53358 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
53360         * resolv/netdb.h: Use __glibc_reserved instead __unused.
53361         * rt/aio.h: Likewise.
53362         * sysdeps/gnu/bits/utmp.h: Likewise.
53363         * sysdeps/gnu/bits/utmpx.h: Likewise.
53364         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
53365         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
53366         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
53367         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
53368         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
53369         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
53370         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
53371         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
53372         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
53373         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
53374         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
53375         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
53376         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
53377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
53378         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
53379         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
53380         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
53381         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
53382         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
53383         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
53384         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
53385         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
53386         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
53387         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
53388         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
53389         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53390         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
53391         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
53392         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
53393         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
53394         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
53395         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
53396         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
53397         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
53398         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
53399         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
53400         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
53401         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
53402         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
53403         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
53404         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
53405         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
53407 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
53409         [BZ #16245]
53410         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
53411         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
53413 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
53415         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
53416         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
53417         Likewise.
53419 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53421         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
53422         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
53423         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
53424         (__fesetround): Remove define.
53425         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
53426         rounding and exceptions handling.
53427         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
53428         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
53429         (__fe_nomask_env): Likewise.
53430         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
53431         __fegetround instead of fegetround.
53432         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
53433         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
53435 2013-11-21  Roland McGrath  <roland@hack.frob.com>
53437         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
53438         it's there.
53440         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
53442 2013-11-21  Meador Inge  <meadori@codesourcery.com>
53444         [BZ #11157]
53445         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
53446         (encrypt_r): Likewise.
53447         * malloc/obstack.h (obstack_free): Likewise.
53448         * posix/unistd.h (encrypt): Likewise.
53450 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
53452         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
53453         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
53454         DL_CALL_DT_FINI() that call the functions directly.
53455         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
53456         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
53457         * elf/dl-fini.c: Likewise.
53459 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
53461         * malloc/hooks.c (memalign_check): Add alignment rounding.
53462         * malloc/malloc.c (_mid_memalign): New function.
53463         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
53464         Implement by calling _mid_memalign.
53465         * manual/probes.texi (Memory Allocation Probes): Remove
53466         memory_valloc_retry and memory_pvalloc_retry.
53468 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
53470         * locale/programs/locarchive.c (open_archive): Add const
53471         qualifier to ARCHIVEFNAME and copy default fname to
53472         DEFAULT_FNAME.
53474         [BZ #15601]
53475         * libio/tst-widetext.input: Rename Oriya to Odia.
53476         * locale/iso-639.def: Likewise.
53478         * manual/probes.texi (Mathematical Function Probes): Add
53479         documentation for sin, cos, asin and acos probes.
53480         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
53481         (__sin32): Add slowasin probe.
53482         (__cos32): Add slowacos probe.
53483         (__mpsin): Add slowsin probe.
53484         (__mpcos): Add slowcos probe.
53486 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
53488         [BZ #15483]
53489         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
53490         thread-local __sim_exceptions_thread and global
53491         __sim_exceptions_global.
53492         (__sim_disabled_exceptions): Change to thread-local
53493         __sim_disabled_exceptions_thread and global
53494         __sim_disabled_exceptions_global.
53495         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
53496         and global __sim_round_mode_global.
53497         (__simulate_exceptions): Use thread-local floating-point state and
53498         set global state from it as needed.
53499         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
53500         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
53501         __sim_round_mode_thread.
53502         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
53503         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
53504         and global __sim_exceptions_global.
53505         (__sim_disabled_exceptions): Change to thread-local
53506         __sim_disabled_exceptions_thread and global
53507         __sim_disabled_exceptions_global.
53508         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
53509         and global __sim_round_mode_global.
53510         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
53511         (SIM_SET_GLOBAL): Likewise.
53512         * sysdeps/powerpc/soft-fp/sfp-machine.h
53513         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
53514         __sim_round_mode_thread.
53515         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
53516         __sim_disabled_exceptions_thread.
53517         (__sim_exceptions): Change to __sim_exceptions_thread.
53518         (__sim_disabled_exceptions): Change to
53519         __sim_disabled_exceptions_thread.
53520         (__sim_round_mode): Change to __sim_round_mode_thread.
53521         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
53522         thread-local floating-point state and set global state from it as
53523         needed.
53524         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
53525         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
53526         (__sim_disabled_exceptions): Remove extern declaration.
53527         (feenableexcept): Use thread-local floating-point state and set
53528         global state from it as needed.
53529         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
53530         extern declaration.
53531         (__sim_disabled_exceptions): Likewise.
53532         (__sim_round_mode): Likewise.
53533         (__fegetenv): Use thread-local floating-point state.
53534         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
53535         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
53536         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
53537         floating-point state and set global state from it as needed.
53538         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
53539         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
53540         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
53541         Likewise.
53542         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
53543         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
53544         Likewise.
53545         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
53546         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
53547         Use __sim_round_mode_thread.
53548         * math/test-fenv-tls.c: New file.
53549         * math/Makefile (tests): Add test-fenv-tls.
53550         ($(objpfx)test-fenv-tls): Depend on
53551         $(common-objpfx)nptl/libpthread.so.
53553 2013-11-19  Andreas Schwab  <schwab@suse.de>
53555         * locale/programs/locale.c (show_info): Decode wordarray elements.
53556         * locale/categories.def (LC_MONETARY): Add element for
53557         _NL_MONETARY_CRNCYSTR.
53558         * locale/C-monetary.c (conversion_rate): New variable.
53559         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
53560         element.
53562 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
53564         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
53565         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
53567 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
53569         * elf/Makefile (tst-auxv): New test.
53570         * elf/tst-auxv.c: New
53571         * elf/rtld.c (dl_main): Adjust AT_EXECFN
53573 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
53575         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
53576         (hidden_proto): Caller changed.
53577         (hidden_tls_proto): New macro.
53578         (libc_hidden_tls_proto): Likewise.
53579         (rtld_hidden_tls_proto): Likewise.
53580         (libm_hidden_tls_proto): Likewise.
53581         (libresolv_hidden_tls_proto): Likewise.
53582         (librt_hidden_tls_proto): Likewise.
53583         (libdl_hidden_tls_proto): Likewise.
53584         (libnss_files_hidden_tls_proto): Likewise.
53585         (libnsl_hidden_tls_proto): Likewise.
53586         (libnss_nisplus_hidden_tls_proto): Likewise.
53587         (libutil_hidden_tls_proto): Likewise.
53589 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
53591         [BZ #10253]
53592         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
53593         (decompose_rpath): Defer expansion to fillin_rpath.
53594         (_dl_init_paths): Pass linkmap to fillin_rpath.
53596 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
53598         * benchtests/Makefile: Add strsep.
53599         * benchtests/bench-strsep.c: New file: strsep benchtest.
53600         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
53602 2013-11-18  Andreas Schwab  <schwab@suse.de>
53604         * locale/programs/locale.c (show_info) [case byte]: Check for
53605         '\377' instead of '\177'.
53606         * locale/C-monetary.c (not_available): Always use "\377".
53607         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
53608         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
53609         detect unavailable sign_posn locale elements.
53610         * locale/localeconv.c (__localeconv): For grouping and
53611         mon_grouping handle "\177" and "\377" like no grouping.
53612         (INT_ELEM): New macro.  Use it to set all numeric members.
53613         * locale/programs/ld-monetary.c (monetary_read)
53614         <tok_mon_grouping>: Normalize single -1 to the empty string.
53615         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
53616         Likewise.
53618 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
53620         [BZ #16055]
53621         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
53622         when we match (nil).
53623         * stdio-common/tst-sscanf.c (struct test): Add testcase.
53625 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
53627         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
53628         (NO_TEST_INLINE): Update value.
53629         (ERRNO_UNCHANGED): Likewise.
53630         (ERRNO_EDOM): Likewise.
53631         (ERRNO_ERANGE): Likewise.
53632         (IGNORE_RESULT): Likewise.
53633         (check_float_internal): Check signs of NaN results if
53634         TEST_NAN_SIGN used.
53635         (check_complex): Pass TEST_NAN_SIGN flag through to second
53636         check_float_internal call.
53637         (copysign_test_data): Add tests with quiet NaNs as second
53638         argument.  Use TEST_NAN_SIGN.
53639         (fabs_test_data): Add test of negative quiet NaN argument.  Use
53640         TEST_NAN_SIGN.
53641         (signbit_test_data): Add tests of quiet NaN argument.
53642         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
53644         * math/gen-libm-test.pl (show_exceptions): Take extra argument
53645         $ignore_result.
53646         (parse_args): Handle function results specified as IGNORE.
53647         * math/libm-test.inc (IGNORE_RESULT): New macro.
53648         (check_float_internal): Do not check numerical result if flag
53649         IGNORE_RESULT set.
53650         (check_complex): Pass through IGNORE_RESULT to second
53651         check_float_internal call.
53652         (check_int): Do not check numerical result if flag IGNORE_RESULT
53653         set.
53654         (check_long): Likewise.
53655         (check_bool): Likewise.
53656         (check_longlong): Likewise.
53657         (lrint_test_data): Add tests of infinite and NaN arguments.
53658         (lrint_tonearest_test_data): Likewise.
53659         (lrint_towardzero_test_data): Likewise.
53660         (lrint_downward_test_data): Likewise.
53661         (lrint_upward_test_data): Likewise.
53662         (llrint_test_data): Likewise.
53663         (llrint_tonearest_test_data): Likewise.
53664         (llrint_towardzero_test_data): Likewise.
53665         (llrint_downward_test_data): Likewise.
53666         (llrint_upward_test_data): Likewise.
53667         (lround_test_data): Likewise.
53668         (llround_test_data): Likewise.
53670         * math/libm-test.inc (NO_TEST_INLINE): New macro.
53671         (ERRNO_UNCHANGED): Update value.
53672         (ERRNO_EDOM): Likewise.
53673         (ERRNO_ERANGE): Likewise.
53674         (NO_TEST_INLINE_FLOAT): New macro.
53675         (NO_TEST_INLINE_DOUBLE): Likewise.
53676         (enable_test): New function.
53677         (RUN_TEST_f_f): Check enable_test before running test.
53678         (RUN_TEST_2_f): Likewise.
53679         (RUN_TEST_fff_f): Likewise.
53680         (RUN_TEST_c_f): Likewise.
53681         (RUN_TEST_f_f1): Likewise.
53682         (RUN_TEST_fF_f1): Likewise.
53683         (RUN_TEST_fI_f1): Likewise.
53684         (RUN_TEST_ffI_f1): Likewise.
53685         (RUN_TEST_c_c): Likewise.
53686         (RUN_TEST_cc_c): Likewise.
53687         (RUN_TEST_f_i): Likewise.
53688         (RUN_TEST_f_i_tg): Likewise.
53689         (RUN_TEST_ff_i_tg): Likewise.
53690         (RUN_TEST_f_b): Likewise.
53691         (RUN_TEST_f_b_tg): Likewise.
53692         (RUN_TEST_f_l): Likewise.
53693         (RUN_TEST_f_L): Likewise.
53694         (RUN_TEST_fFF_11): Likewise.
53695         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
53696         conditionals.
53697         (cosh_test_data): Likewise.
53698         (exp_test_data): Likewise.
53699         (expm1_test_data): Likewise.
53700         (hypot_test_data): Likewise.
53701         (pow_test_data): Likewise.
53702         (sinh_test_data): Likewise.
53703         (tanh_test_data): Likewise.
53704         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
53705         flags argument.
53707         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
53708         tests with quiet NaN input and output.
53709         (acosh_test_data): Likewise.
53710         (asin_test_data): Likewise.
53711         (asinh_test_data): Likewise.
53712         (atan_test_data): Likewise.
53713         (atanh_test_data): Likewise.
53714         (atan2_test_data): Likewise.
53715         (cbrt_test_data): Likewise.
53716         (cos_test_data): Likewise.
53717         (cosh_test_data): Likewise.
53718         (erf_test_data): Likewise.
53719         (erfc_test_data): Likewise.
53720         (exp_test_data): Likewise.
53721         (exp10_test_data): Likewise.
53722         (exp2_test_data): Likewise.
53723         (expm1_test_data): Likewise.
53724         (hypot_test_data): Likewise.
53725         (j0_test_data): Likewise.
53726         (j1_test_data): Likewise.
53727         (jn_test_data): Likewise.
53728         (lgamma_test_data): Likewise.
53729         (log_test_data): Likewise.
53730         (log10_test_data): Likewise.
53731         (log1p_test_data): Likewise.
53732         (log2_test_data): Likewise.
53733         (pow_test_data): Likewise.
53734         (scalb_test_data): Likewise.
53735         (sin_test_data): Likewise.
53736         (sincos_test_data): Likewise.
53737         (sinh_test_data): Likewise.
53738         (tan_test_data): Likewise.
53739         (tanh_test_data): Likewise.
53740         (tgamma_test_data): Likewise.
53741         (y0_test_data): Likewise.
53742         (y1_test_data): Likewise.
53743         (yn_test_data): Likewise.
53745         [BZ #16167]
53746         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
53747         argument being NaN and avoid computations with second argument in
53748         that case.
53749         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
53750         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
53751         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
53753 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
53755         * locale/iso-639.def: Add Chitwani Tharu (the).
53757 2013-11-14  Andreas Schwab  <schwab@suse.de>
53759         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
53760         word instead of empty string.
53762 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
53765         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
53766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
53767         (__fe_nomask_env): Likewise.
53769 2013-11-13  Steve Ellcey  <sellcey@mips.com>
53771         * benchtests/bench-timing.h: Include time.h.
53773 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
53775         [BZ #15997]
53776         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
53777         to 3.4.0 for x32.
53778         * sysdeps/unix/sysv/linux/configure: Regenerated.
53780 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
53782         [BZ #16151]
53783         * stdlib/strtod_l.c (round_and_return): Do not consider
53784         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
53785         exponent one less than half the least subnormal exponent.
53786         * stdlib/test-strtod-round-data: Add more tests.
53787         * stdlib/tst-strtod-round.c (tests): Regenerated.
53789 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53791         [BZ #14143]
53792         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
53793         (__fe_mask_env): Likewise.
53794         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
53795         libm_hidden_proto and add function prototype.
53796         (__fe_mask_env): Add function prototype.
53797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
53798         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
53799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
53800         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
53801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
53802         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
53804 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53806         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
53807         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
53809 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53811         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
53812         of htab_find_slot().
53814 2013-11-11  David S. Miller  <davem@davemloft.net>
53816         [BZ #16150]
53817         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
53818         symbol in the non-vis3 case in static builds.
53819         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
53820         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
53821         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
53822         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
53824 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
53826         [BZ #387]
53827         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
53828         it is empty.
53830 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53832         * benchtests/Makefile: Add bench-strtod.
53833         * benchtests/bench-strtod.c: New file: strtod benchtest
53835 2013-11-11  Andreas Schwab  <schwab@suse.de>
53837         [BZ #16153]
53838         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
53839         terminating NUL in key length.
53841 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53843         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
53844         Add artificial ODP entry for vDSO symbol for PPC64.
53845         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
53846         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
53848 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
53850         [BZ #15374]
53851         * nss/getent.c (services_keys): Recognize services starting with digit.
53853 2013-11-06  David S. Miller  <davem@davemloft.net>
53855         [BZ #15985]
53856         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
53857         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
53859 2013-11-06  Will Newton  <will.newton@linaro.org>
53861         * manual/memory.texi (Malloc Examples): Remove register
53862         keyword from examples.
53864 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
53866         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
53868 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
53870         [BZ #6981]
53871         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
53872         depending on [__GCC_IEC_559 > 0].
53873         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
53874         depending on [__GCC_IEC_559_COMPLEX > 0].
53876 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
53878         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
53879         to iso-639.def.
53881 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
53883         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
53885 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
53887         [BZ #16112]
53888         * malloc/malloc (malloc_info): Do not handle first bin as
53889         special case.
53891 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
53893         * locale/iso-639.def: Add Central Nahuatl (nhn).
53895 2013-11-01  Bruno Haible  <bruno@clisp.org>
53897         [BZ #7003]
53898         * manual/math.texi (BSD Random): Specify range upper bound as
53899         in POSIX.
53901 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
53903         * locale/iso-639.def: Add Meadow Mari (mhr).
53905 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
53907         [BZ #14752], [BZ #15763]
53908         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
53909         Validate name.
53910         * rt/tst_shm.c: Add test for escaping directory.
53912 2013-10-31  Andreas Schwab  <schwab@suse.de>
53914         [BZ #15917]
53915         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
53916         followed by 'x' as part of digit sequence.
53917         * stdio-common/tst-sscanf.c (double_tests2): New tests.
53919 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
53921         [BZ #16037]
53922         * configure.ac: allow GNU Make 4.0 and greater.
53923         * configure: Regenerated.
53925 2013-10-30  Will Newton  <will.newton@linaro.org>
53927         [BZ #16038]
53928         * malloc/hooks.c (memalign_check): Limit alignment to the
53929         maximum representable power of two.
53930         * malloc/malloc.c (__libc_memalign): Likewise.
53931         * malloc/tst-memalign.c (do_test): Add test for very
53932         large alignment values.
53933         * malloc/tst-posix_memalign.c (do_test): Likewise.
53935 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
53937         [BZ #11087]
53938         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
53939         (munmap_chunk): Likewise.
53940         (mremap_chunk): Likewise.
53942 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
53944         [BZ #15799]
53945         * stdlib/div.c (div): Remove obsolete code.
53946         * stdlib/ldiv.c (ldiv): Likewise.
53947         * stdlib/lldiv.c (lldiv): Likewise.
53949 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53951         [BZ #16071]
53952         * nss/nss_files/files-XXX.c (get_contents_ret): New
53953         enumerator.
53954         (get_contents): New function.
53955         (internal_getent): Use it.  Expand size of LINEBUFLEN.
53957 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
53959         * configure.in: Moved to ...
53960         * configure.ac: ... here. Change reference to configure.in
53961         to configure.ac.
53962         * sysdeps/arm/preconfigure.ac: ... here.
53963         configure.in to configure.ac.
53964         * sysdeps/gnu/configure.in: Moved to ...
53965         * sysdeps/gnu/configure.ac: ... here.
53966         * sysdeps/i386/configure.in: Moved to ...
53967         * sysdeps/i386/configure.ac: ... here.
53968         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
53969         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
53970         * sysdeps/mach/configure.in: Moved to ...
53971         * sysdeps/mach/configure.ac: ... here.
53972         * sysdeps/mach/hurd/configure.in: Moved to ...
53973         * sysdeps/mach/hurd/configure.ac: ... here.
53974         * sysdeps/powerpc/configure.in: Moved to ...
53975         * sysdeps/powerpc/configure.ac: ... here.
53976         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
53977         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
53978         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
53979         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
53980         * sysdeps/s390/s390-32/configure.in: Moved to ...
53981         * sysdeps/s390/s390-32/configure.ac: ... here.
53982         * sysdeps/s390/s390-64/configure.in: Moved to ...
53983         * sysdeps/s390/s390-64/configure.ac: ... here.
53984         * sysdeps/sh/configure.in: Moved to ...
53985         * sysdeps/sh/configure.ac: ... here.
53986         * sysdeps/sparc/configure.in: Moved to ...
53987         * sysdeps/sparc/configure.ac: ... here.
53988         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
53989         * sysdeps/unix/sysv/linux/configure.ac: ... here.
53990         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
53991         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
53992         * sysdeps/x86_64/configure.in: Moved to ...
53993         * sysdeps/x86_64/configure.ac: ... here.
53994         * sysdeps/x86_64/preconfigure.in: Moved to ...
53995         * sysdeps/x86_64/preconfigure.ac: ... here.
53996         * aclocal.m4: Change reference to configure.in to configure.ac.
53997         * config.h.in: Likewise.
53998         * manual/install.texi: Likewise.
53999         * manual/maint.texi: Likewise.
54000         * Makefile: Likewise.
54001         * malloc/Makefile: Likewise.
54002         * nscd/Makefile: Likewise.
54003         * Makeconfig: Change reference to configure.in and
54004         preconfigure.in to configure.ac and preconfigure.ac
54005         respectively.
54006         * INSTALL: Regenerated.
54007         * configure: Likewise.
54008         * sysdeps/gnu/configure: Likewise.
54009         * sysdeps/i386/configure: Likewise.
54010         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
54011         * sysdeps/mach/configure: Likewise.
54012         * sysdeps/mach/hurd/configure: Likewise.
54013         * sysdeps/powerpc/configure: Likewise.
54014         * sysdeps/powerpc/powerpc32/configure: Likewise.
54015         * sysdeps/powerpc/powerpc64/configure: Likewise.
54016         * sysdeps/s390/s390-32/configure: Likewise.
54017         * sysdeps/s390/s390-64/configure: Likewise.
54018         * sysdeps/sh/configure: Likewise.
54019         * sysdeps/sparc/configure: Likewise.
54020         * sysdeps/unix/sysv/linux/configure: Likewise.
54021         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
54022         * sysdeps/x86_64/configure: Likewise.
54023         * sysdeps/x86_64/preconfigure: Likewise.
54025 2013-10-29  Andreas Schwab  <schwab@suse.de>
54027         * stdio-common/Makefile (tst-swscanf-ENV): Define.
54029 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54031         * benchtests/pow-inputs: Add new inputs.
54033         * benchtests/exp-inputs: Add new inputs.
54035         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
54036         conditional check for return value.
54037         (__cos32): Likewise.
54039 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54041         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
54042         to provide a boost for large inputs with word alignment.
54043         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
54044         implementation based on optimized PPC64 strcpy.
54045         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
54046         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
54047         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
54048         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
54050 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
54052         [BZ #2801]
54053         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
54055 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
54057         [BZ #14876]
54058         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
54059         * time/tst-strptime.c (day_tests): Add testcase.
54061 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
54063         [BZ #14029]
54064         * manual/pattern.texi: Acknowledge that fnmatch can fail.
54066 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
54068         [BZ #16074]
54069         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
54070         MAP_FAILED on error.
54072 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
54074         [BZ #16072]
54075         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
54076         heap for large requests.
54078 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
54080         [BZ #9954]
54081         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
54082         result if the result has no associated interface.
54083         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
54084         interface for all 127.X.Y.Z addresses.
54086 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
54088         * locale/iso-639.def: Add Ligurian (lij)
54090 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
54092         [BZ #15825]
54093         * sunrpc/rpc_main.c: Document rpcgen -5.
54095 2013-10-19  Michael Stahl  <mstahl@redhat.com>
54097         * elf/rtld.c (do_preload): Print the reason why preloading failed.
54099 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
54101         [BZ #10278]
54102         * posix/glob.c: Match only directories when trailing slash is present.
54103         * posix/tst-gnuglob.c (my_opendir): Do not open files.
54104         (main): Add testcase.
54106 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
54108         [BZ #15670]
54109         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
54111 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
54113         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
54114         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
54115         AUTH_DES and cindex for FIPS 140-2.
54116         (DES Encryption): Add cindex FIPS 46-3.
54118         * locale/locarchive.h (struct locarhandle): Add fname.
54119         * locale/programs/localedef.c (main): Pass ARGV[remaining]
54120         if an optional argument was specified to --list-archive,
54121         otherwise NULL.
54122         * locale/programs/locarchive.c (show_archive_content): Take new
54123         argument fname and pass it via ah.fname to open_archive.
54124         * locale/programs/localedef.h: Update decl.
54125         (open_archive): If AH->fname is non-null, open that file
54126         rather than the default file name, and don't ignore ENOENT.
54127         (create_archive): Set AH.fname to NULL.
54128         (delete_locales_from_archive): Likewise.
54129         (add_locales_to_archive): Likewise.
54130         * locale/programs/locfile.c (write_all_categories): Likewise.
54132 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
54133             Aldy Hernandez  <aldyh@redhat.com>
54135         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
54136         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
54137         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
54138         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
54139         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
54140         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
54141         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
54142         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
54143         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
54144         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
54145         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
54146         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
54147         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
54148         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
54149         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
54150         Likewise.
54151         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
54152         Likewise.
54153         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
54154         Likewise.
54155         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
54156         Likewise.
54157         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
54158         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
54159         Likewise.
54160         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
54161         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
54162         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
54163         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
54164         Likewise.
54165         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
54166         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
54167         * sysdeps/powerpc/preconfigure: Likewise.
54168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
54169         Likewise.
54170         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
54171         Replace contents of file by #include of <fenv_libc.h>.
54172         * sysdeps/powerpc/soft-fp/sfp-machine.h
54173         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
54174         and <sys/prctl.h>.
54175         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
54176         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
54177         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
54178         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
54179         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
54180         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
54181         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
54182         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
54183         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
54184         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
54185         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
54186         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
54187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
54188         Allow copysignl PLT reference to be missing.
54190 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
54191             Joseph Myers  <joseph@codesourcery.com
54193         [BZ #15948]
54194         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
54195         single character.
54196         (add_to_tablewc): Assert sequence of wide characters is nonempty.
54198 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54200         * elf/tst-tls-dlinfo.c: Don't include tls.h.
54201         * elf/tst-tls1.c: Likewise.
54202         * elf/tst-tls10.h: Likewise.
54203         * elf/tst-tls14.c: Likewise.
54204         * elf/tst-tls2.c: Likewise.
54205         * elf/tst-tls3.c: Likewise.
54206         * elf/tst-tls4.c: Likewise.
54207         * elf/tst-tls5.c: Likewise.
54208         * elf/tst-tls6.c: Likewise.
54209         * elf/tst-tls7.c: Likewise.
54210         * elf/tst-tls8.c: Likewise.
54211         * elf/tst-tls9.c: Likewise.
54212         * elf/tst-tlsmod1.c: Likewise.
54213         * elf/tst-tlsmod13.c: Likewise.
54214         * elf/tst-tlsmod13a.c: Likewise.
54215         * elf/tst-tlsmod14a.c: Likewise.
54216         * elf/tst-tlsmod16a.c: Likewise.
54217         * elf/tst-tlsmod16b.c: Likewise.
54218         * elf/tst-tlsmod2.c: Likewise.
54219         * elf/tst-tlsmod3.c: Likewise.
54220         * elf/tst-tlsmod4.c: Likewise.
54221         * elf/tst-tlsmod5.c: Likewise.
54222         * elf/tst-tlsmod6.c: Likewise.
54224 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
54226         [BZ #12486]
54227         * malloc/malloc.c: remove checks for statistics.
54229 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
54231         [BZ #15277]
54232         * inet/inet_net.c (inet_network): Detect additional invalid strings.
54233         * inet/tst-network.c: Add testcase.
54235 2013-10-17  Andreas Schwab  <schwab@suse.de>
54237         [BZ #15218]
54238         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
54239         to determine canonical name.
54241 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
54243         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
54244         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
54245         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54246         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54247         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54248         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54249         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
54250         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54251         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
54252         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54253         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
54254         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54255         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54256         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54257         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54258         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54259         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54260         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54261         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
54262         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54263         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54264         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54265         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54266         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
54267         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
54268         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
54269         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
54270         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
54271         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
54272         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
54273         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54274         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54275         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
54276         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54277         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54278         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54279         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54280         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54281         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54282         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54283         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54284         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
54285         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
54286         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54287         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
54288         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54289         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54290         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
54291         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
54292         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54293         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
54294         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54295         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
54296         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
54297         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54298         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
54299         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54300         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54302 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
54304         [BZ #16041]
54305         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
54306         make result into a quiet NaN.
54308 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
54310         * soft-fp/adddf3.c: Fix horizontal whitespace.
54311         * soft-fp/addsf3.c: Likewise.
54312         * soft-fp/addtf3.c: Likewise.
54313         * soft-fp/divdf3.c: Likewise.
54314         * soft-fp/divsf3.c: Likewise.
54315         * soft-fp/divtf3.c: Likewise.
54316         * soft-fp/double.h: Likewise.
54317         * soft-fp/eqdf2.c: Likewise.
54318         * soft-fp/eqsf2.c: Likewise.
54319         * soft-fp/eqtf2.c: Likewise.
54320         * soft-fp/extenddftf2.c: Likewise.
54321         * soft-fp/extended.h: Likewise.
54322         * soft-fp/extendsfdf2.c: Likewise.
54323         * soft-fp/extendsftf2.c: Likewise.
54324         * soft-fp/extendxftf2.c: Likewise.
54325         * soft-fp/fixdfdi.c: Likewise.
54326         * soft-fp/fixdfsi.c: Likewise.
54327         * soft-fp/fixdfti.c: Likewise.
54328         * soft-fp/fixsfdi.c: Likewise.
54329         * soft-fp/fixsfsi.c: Likewise.
54330         * soft-fp/fixsfti.c: Likewise.
54331         * soft-fp/fixtfdi.c: Likewise.
54332         * soft-fp/fixtfsi.c: Likewise.
54333         * soft-fp/fixtfti.c: Likewise.
54334         * soft-fp/fixunsdfdi.c: Likewise.
54335         * soft-fp/fixunsdfsi.c: Likewise.
54336         * soft-fp/fixunsdfti.c: Likewise.
54337         * soft-fp/fixunssfdi.c: Likewise.
54338         * soft-fp/fixunssfsi.c: Likewise.
54339         * soft-fp/fixunssfti.c: Likewise.
54340         * soft-fp/fixunstfdi.c: Likewise.
54341         * soft-fp/fixunstfsi.c: Likewise.
54342         * soft-fp/fixunstfti.c: Likewise.
54343         * soft-fp/floatdidf.c: Likewise.
54344         * soft-fp/floatdisf.c: Likewise.
54345         * soft-fp/floatditf.c: Likewise.
54346         * soft-fp/floatsidf.c: Likewise.
54347         * soft-fp/floatsisf.c: Likewise.
54348         * soft-fp/floatsitf.c: Likewise.
54349         * soft-fp/floattidf.c: Likewise.
54350         * soft-fp/floattisf.c: Likewise.
54351         * soft-fp/floattitf.c: Likewise.
54352         * soft-fp/floatundidf.c: Likewise.
54353         * soft-fp/floatundisf.c: Likewise.
54354         * soft-fp/floatunditf.c: Likewise.
54355         * soft-fp/floatunsidf.c: Likewise.
54356         * soft-fp/floatunsisf.c: Likewise.
54357         * soft-fp/floatunsitf.c: Likewise.
54358         * soft-fp/floatuntidf.c: Likewise.
54359         * soft-fp/floatuntisf.c: Likewise.
54360         * soft-fp/floatuntitf.c: Likewise.
54361         * soft-fp/fmadf4.c: Likewise.
54362         * soft-fp/fmasf4.c: Likewise.
54363         * soft-fp/fmatf4.c: Likewise.
54364         * soft-fp/gedf2.c: Likewise.
54365         * soft-fp/gesf2.c: Likewise.
54366         * soft-fp/getf2.c: Likewise.
54367         * soft-fp/ledf2.c: Likewise.
54368         * soft-fp/lesf2.c: Likewise.
54369         * soft-fp/letf2.c: Likewise.
54370         * soft-fp/muldf3.c: Likewise.
54371         * soft-fp/mulsf3.c: Likewise.
54372         * soft-fp/multf3.c: Likewise.
54373         * soft-fp/negdf2.c: Likewise.
54374         * soft-fp/negsf2.c: Likewise.
54375         * soft-fp/negtf2.c: Likewise.
54376         * soft-fp/op-1.h: Likewise.
54377         * soft-fp/op-2.h: Likewise.
54378         * soft-fp/op-4.h: Likewise.
54379         * soft-fp/op-8.h: Likewise.
54380         * soft-fp/op-common.h: Likewise.
54381         * soft-fp/quad.h: Likewise.
54382         * soft-fp/single.h: Likewise.
54383         * soft-fp/soft-fp.h: Likewise.
54384         * soft-fp/sqrtdf2.c: Likewise.
54385         * soft-fp/sqrtsf2.c: Likewise.
54386         * soft-fp/sqrttf2.c: Likewise.
54387         * soft-fp/subdf3.c: Likewise.
54388         * soft-fp/subsf3.c: Likewise.
54389         * soft-fp/subtf3.c: Likewise.
54390         * soft-fp/truncdfsf2.c: Likewise.
54391         * soft-fp/trunctfdf2.c: Likewise.
54392         * soft-fp/trunctfsf2.c: Likewise.
54393         * soft-fp/trunctfxf2.c: Likewise.
54394         * soft-fp/unorddf2.c: Likewise.
54395         * soft-fp/unordsf2.c: Likewise.
54396         * soft-fp/unordtf2.c: Likewise.
54398 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
54400         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
54401         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
54403 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
54405         * elf/dl-libc.c: Clear initfini list after freeing.
54407 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
54409         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
54410         * soft-fp/addsf3.c: Likewise.
54411         * soft-fp/addtf3.c: Likewise.
54412         * soft-fp/divdf3.c: Likewise.
54413         * soft-fp/divsf3.c: Likewise.
54414         * soft-fp/divtf3.c: Likewise.
54415         * soft-fp/double.h: Likewise.
54416         * soft-fp/eqdf2.c: Likewise.
54417         * soft-fp/eqsf2.c: Likewise.
54418         * soft-fp/eqtf2.c: Likewise.
54419         * soft-fp/extenddftf2.c: Likewise.
54420         * soft-fp/extended.h: Likewise.
54421         * soft-fp/extendsfdf2.c: Likewise.
54422         * soft-fp/extendsftf2.c: Likewise.
54423         * soft-fp/extendxftf2.c: Likewise.
54424         * soft-fp/fixdfdi.c: Likewise.
54425         * soft-fp/fixdfsi.c: Likewise.
54426         * soft-fp/fixdfti.c: Likewise.
54427         * soft-fp/fixsfdi.c: Likewise.
54428         * soft-fp/fixsfsi.c: Likewise.
54429         * soft-fp/fixsfti.c: Likewise.
54430         * soft-fp/fixtfdi.c: Likewise.
54431         * soft-fp/fixtfsi.c: Likewise.
54432         * soft-fp/fixtfti.c: Likewise.
54433         * soft-fp/fixunsdfdi.c: Likewise.
54434         * soft-fp/fixunsdfsi.c: Likewise.
54435         * soft-fp/fixunsdfti.c: Likewise.
54436         * soft-fp/fixunssfdi.c: Likewise.
54437         * soft-fp/fixunssfsi.c: Likewise.
54438         * soft-fp/fixunssfti.c: Likewise.
54439         * soft-fp/fixunstfdi.c: Likewise.
54440         * soft-fp/fixunstfsi.c: Likewise.
54441         * soft-fp/fixunstfti.c: Likewise.
54442         * soft-fp/floatdidf.c: Likewise.
54443         * soft-fp/floatdisf.c: Likewise.
54444         * soft-fp/floatditf.c: Likewise.
54445         * soft-fp/floatsidf.c: Likewise.
54446         * soft-fp/floatsisf.c: Likewise.
54447         * soft-fp/floatsitf.c: Likewise.
54448         * soft-fp/floattidf.c: Likewise.
54449         * soft-fp/floattisf.c: Likewise.
54450         * soft-fp/floattitf.c: Likewise.
54451         * soft-fp/floatundidf.c: Likewise.
54452         * soft-fp/floatundisf.c: Likewise.
54453         * soft-fp/floatunsidf.c: Likewise.
54454         * soft-fp/floatunsisf.c: Likewise.
54455         * soft-fp/floatuntidf.c: Likewise.
54456         * soft-fp/floatuntisf.c: Likewise.
54457         * soft-fp/floatuntitf.c: Likewise.
54458         * soft-fp/fmadf4.c: Likewise.
54459         * soft-fp/fmasf4.c: Likewise.
54460         * soft-fp/fmatf4.c: Likewise.
54461         * soft-fp/gedf2.c: Likewise.
54462         * soft-fp/gesf2.c: Likewise.
54463         * soft-fp/getf2.c: Likewise.
54464         * soft-fp/ledf2.c: Likewise.
54465         * soft-fp/lesf2.c: Likewise.
54466         * soft-fp/letf2.c: Likewise.
54467         * soft-fp/muldf3.c: Likewise.
54468         * soft-fp/mulsf3.c: Likewise.
54469         * soft-fp/multf3.c: Likewise.
54470         * soft-fp/negdf2.c: Likewise.
54471         * soft-fp/negsf2.c: Likewise.
54472         * soft-fp/negtf2.c: Likewise.
54473         * soft-fp/op-1.h: Likewise.
54474         * soft-fp/op-2.h: Likewise.
54475         * soft-fp/op-4.h: Likewise.
54476         * soft-fp/op-8.h: Likewise.
54477         * soft-fp/op-common.h: Likewise.
54478         * soft-fp/quad.h: Likewise.
54479         * soft-fp/single.h: Likewise.
54480         * soft-fp/soft-fp.h: Likewise.
54481         * soft-fp/sqrtdf2.c: Likewise.
54482         * soft-fp/sqrtsf2.c: Likewise.
54483         * soft-fp/sqrttf2.c: Likewise.
54484         * soft-fp/subdf3.c: Likewise.
54485         * soft-fp/subsf3.c: Likewise.
54486         * soft-fp/subtf3.c: Likewise.
54487         * soft-fp/truncdfsf2.c: Likewise.
54488         * soft-fp/trunctfdf2.c: Likewise.
54489         * soft-fp/trunctfsf2.c: Likewise.
54490         * soft-fp/trunctfxf2.c: Likewise.
54491         * soft-fp/unorddf2.c: Likewise.
54492         * soft-fp/unordsf2.c: Likewise.
54493         * soft-fp/unordtf2.c: Likewise.
54495 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
54497         [BZ #15672]
54498         * misc/error.c (error_tail): Fix possible buffer overflow.
54500 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
54502         [BZ #13028]
54503         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
54504         address.
54506 2013-10-14  P. J. McDermott  <pj@pehjota.net>
54508         [BZ #832]
54509         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
54510         testing pipefail option.
54512 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
54514         * soft-fp/double.h: Indent preprocessor directives inside #if.
54515         * soft-fp/extended.h: Likewise.
54516         * soft-fp/op-2.h: Likewise.
54517         * soft-fp/op-4.h: Likewise.
54518         * soft-fp/op-common.h: Likewise.
54519         * soft-fp/quad.h: Likewise.
54520         * soft-fp/single.h: Likewise.
54521         * soft-fp/soft-fp.h: Likewise.
54523 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
54525         * iconv/iconv_prog.c: Fix typos.
54526         * stdio-common/psiginfo-data.h: Likewise.
54528 2013-10-12   Reuben Thomas <rrt@sc3d.org>
54530         [BZ #15764]
54531         * locale/setlocale.c: Fix typo.
54533 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
54535         [BZ #16036]
54536         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
54537         signaling NaN arguments.
54538         * soft-fp/unordsf2.c (__unordsf2): Likewise.
54539         * soft-fp/unordtf2.c (__unordtf2): Likewise.
54541         [BZ #14910]
54542         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
54543         unordered operands.
54544         * soft-fp/gesf2.c (__gesf2): Likewise.
54545         * soft-fp/getf2.c (__getf2): Likewise.
54546         * soft-fp/ledf2.c (__ledf2): Likewise.
54547         * soft-fp/lesf2.c (__lesf2): Likewise.
54548         * soft-fp/letf2.c (__letf2): Likewise.
54550         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
54551         * soft-fp/eqsf2.c (__eqsf2): Likewise.
54552         * soft-fp/eqtf2.c (__eqtf2): Likewise.
54553         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
54554         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
54555         * soft-fp/fixdfti.c (__fixdfti): Likewise.
54556         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
54557         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
54558         * soft-fp/fixsfti.c (__fixsfti): Likewise.
54559         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
54560         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
54561         * soft-fp/fixtfti.c (__fixtfti): Likewise.
54562         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
54563         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
54564         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
54565         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
54566         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
54567         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
54568         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
54569         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
54570         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
54571         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
54572         * soft-fp/floatdisf.c (__floatdisf): Likewise.
54573         * soft-fp/floatsisf.c (__floatsisf): Likewise.
54574         * soft-fp/floattidf.c (__floattidf): Likewise.
54575         * soft-fp/floattisf.c (__floattisf): Likewise.
54576         * soft-fp/floattitf.c (__floattitf): Likewise.
54577         * soft-fp/floatundidf.c (__floatundidf): Likewise.
54578         * soft-fp/floatundisf.c (__floatundisf): Likewise.
54579         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
54580         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
54581         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
54582         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
54583         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
54584         * soft-fp/gesf2.c (__gesf2): Likewise.
54585         * soft-fp/getf2.c (__getf2): Likewise.
54586         * soft-fp/ledf2.c (__ledf2): Likewise.
54587         * soft-fp/lesf2.c (__lesf2): Likewise.
54588         * soft-fp/letf2.c (__letf2): Likewise.
54590         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
54591         Undefine and redefine.
54592         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
54593         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
54594         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
54595         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
54596         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54597         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
54598         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54599         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
54600         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54601         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
54602         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54603         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
54604         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54605         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
54606         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54608         [BZ #16032]
54609         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
54610         without decrementing exponent if mantissa >= that for the
54611         denominator, not >.
54612         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
54613         denominator, not >.  Decrement exponent in < case instead of
54614         incrementing in >= case.
54615         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
54616         without decrementing exponent if mantissa >= that for the
54617         denominator, not >.
54619         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
54620         computing saturated result for unsigned overflow.
54622 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54623             Jeff Law  <law@redhat.com>
54625         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
54626         (atan2Mp): Add systemtap probe marker.
54627         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
54628         (__ieee754_log): Add systemtap probe marker.
54629         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
54630         (atanMp): Add systemtap probe marker.
54631         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
54632         (tanMp): Add systemtap probe marker.
54633         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
54634         (__slowexp): Add systemtap probe marker.
54635         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
54636         (__slowpow): Add systemtap probe marker.
54637         * manual/probes.texi: Document probes.
54639 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
54641         [BZ #15362]
54642         * libio/fileops.c (_IO_new_file_write): Return count of bytes
54643         written.
54644         (_IO_new_file_xsputn): Don't return EOF if nothing has been
54645         written.
54646         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
54647         written to buffer but not flushed.
54648         * libio/iofwrite_u.c:  Likewise.
54649         * libio/iopadn.c:  Return bytes returned even if EOF was
54650         encountered.
54651         * libio/iowpadn.c:  Likewise.
54652         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
54653         if _IO_padn does not write the whole buffer.
54654         [!COMPILE_WPRINTF] (PAD): Likewise.
54656 2013-10-10  David S. Miller  <davem@davemloft.net>
54658         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
54659         directory block.
54661 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
54663         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
54664         instead of FSF address.
54665         * soft-fp/fixdfti.c: Likewise.
54666         * soft-fp/fixsfti.c: Likewise.
54667         * soft-fp/fixtfti.c: Likewise.
54668         * soft-fp/fixunsdfti.c: Likewise.
54669         * soft-fp/fixunssfti.c: Likewise.
54670         * soft-fp/fixunstfti.c: Likewise.
54671         * soft-fp/floattidf.c: Likewise.
54672         * soft-fp/floattisf.c: Likewise.
54673         * soft-fp/floattitf.c: Likewise.
54674         * soft-fp/floatuntidf.c: Likewise.
54675         * soft-fp/floatuntisf.c: Likewise.
54676         * soft-fp/floatuntitf.c: Likewise.
54677         * soft-fp/trunctfxf2.c: Likewise.
54679         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
54680         * soft-fp/fixdfti.c: Likewise.
54681         * soft-fp/fixsfti.c: Likewise.
54682         * soft-fp/fixtfti.c: Likewise.
54683         * soft-fp/fixunsdfti.c: Likewise.
54684         * soft-fp/fixunssfti.c: Likewise.
54685         * soft-fp/fixunstfti.c: Likewise.
54686         * soft-fp/floattidf.c: Likewise.
54687         * soft-fp/floattisf.c: Likewise.
54688         * soft-fp/floattitf.c: Likewise.
54689         * soft-fp/floatuntidf.c: Likewise.
54690         * soft-fp/floatuntisf.c: Likewise.
54691         * soft-fp/floatuntitf.c: Likewise.
54692         * soft-fp/trunctfxf2.c: Likewise.
54694 2013-10-10  David S. Miller  <davem@davemloft.net>
54696         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54698 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
54700         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
54701         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
54702         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
54703         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
54704         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
54705         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
54706         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
54708         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
54709         for NaNs before doing comparisons on argument.
54710         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
54711         Likewise.
54713 2013-10-10  Will Newton  <will.newton@linaro.org>
54715         * malloc/hooks.c (memalign_check): Ensure the value of bytes
54716         passed to _int_memalign does not overflow.
54718 2013-10-10  Torvald Riegel  <triegel@redhat.com>
54720         * scripts/bench.pl: Add include-sources directive.
54721         * benchtests/README: Update documentation.
54723 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
54725         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
54726         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
54727         instead of FP_INIT_ROUNDMODE.
54728         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
54729         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
54731         [BZ #16034]
54732         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
54733         copy class of input value.
54734         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
54735         not handle exceptions.
54736         * soft-fp/negsf2.c (__negsf2): Likewise.
54737         * soft-fp/negtf2.c (__negtf2): Likewise.
54738         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
54740 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
54742         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
54743         semicolon.  From Linux kernel.
54745 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
54747         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
54749 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
54751         [BZ #156]
54752         * manual/socket.texi: Added statement about buffer
54753         for gethostbyname2_r.
54755 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
54757         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
54758         Use .p2align directive instead, throughout.
54759         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
54760         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
54761         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
54762         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54763         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54764         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
54765         * sysdeps/x86_64/strchr.S: Likewise.
54766         * sysdeps/x86_64/strrchr.S: Likewise.
54768 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
54770         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
54772         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
54774         * sysdeps/generic/math_private.h (__mpsin1): Remove
54775         declaration.
54776         (__mpcos1): Likewise.
54777         (__mpsin): New argument __range_reduce.
54778         (__mpcos): Likewise.
54779         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54780         (slow): Use __mpsin and __mpcos.
54781         (slow1): Likewise.
54782         (slow2): Likewise.
54783         (sloww): Likewise.
54784         (sloww1): Likewise.
54785         (sloww2): Likewise.
54786         (bsloww): Likewise.
54787         (bsloww1): Likewise.
54788         (bsloww2): Likewise.
54789         (cslow2): Likewise.
54790         (csloww): Likewise.
54791         (csloww1): Likewise.
54792         (csloww2): Likewise.
54793         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
54794         range_reduce.  Merge in __mpsin1.
54795         (__mpcos): Likewise.
54796         (__mpsin1): Remove.
54797         (__mpcos1): Likewise.
54799 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
54801         * locale/loadlocale.c (_nl_intern_locale_data): Use
54802         LOCFILE_ALIGNED_P.
54803         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
54804         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
54805         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
54806         obstack data is appropriately aligned.
54807         (obstack_int32_grow_fast): Likewise.
54808         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
54809         * locale/programs/locfile.c (add_locale_uint32): Likewise.
54810         (add_locale_uint32_array): Likewise.
54812 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
54814         * benchtests/Makefile: Remove ARGLIST and RET variables.
54815         ($(objpfx)bench-%.c): Pass only function name to the script.
54816         * benchtests/README: Update documentation.
54817         * benchtests/acos-inputs: Add new directives.
54818         * benchtests/acosh-inputs: Likewise.
54819         * benchtests/asin-inputs: Likewise.
54820         * benchtests/asinh-inputs: Likewise.
54821         * benchtests/atan-inputs: Likewise.
54822         * benchtests/atanh-inputs: Likewise.
54823         * benchtests/cos-inputs: Likewise.
54824         * benchtests/cosh-inputs: Likewise.
54825         * benchtests/exp-inputs: Likewise.
54826         * benchtests/log-inputs: Likewise.
54827         * benchtests/pow-inputs: Likewise.
54828         * benchtests/rint-inputs: Likewise.
54829         * benchtests/sin-inputs: Likewise.
54830         * benchtests/sinh-inputs: Likewise.
54831         * benchtests/tan-inputs: Likewise.
54832         * benchtests/tanh-inputs: Likewise.
54833         * scripts/bench.pl: Add support for new directives.
54835 2013-10-07  Alan Modra  <amodra@gmail.com>
54837         * README: Fix careless merge.
54839 2013-10-05  Alan Modra  <amodra@gmail.com>
54841         * NEWS: Mention powerpc64le support and bugs fixed.
54842         * README: Both big-endian and little-endian powerpc64 supported.
54844 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54846         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
54847         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
54848         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
54849         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
54851 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
54853         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
54854         match prototype.
54856 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
54858         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
54859         Move -mhard-float appending from
54860         ports/sysdeps/powerpc/powerpc32/Makefile.
54861         [$(with-fp) = yes] (ASFLAGS): Likewise.
54862         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
54863         * sysdeps/powerpc/nofpu: Move directory from
54864         ports/sysdeps/powerpc/nofpu.
54865         * sysdeps/powerpc/soft-fp: Move directory from
54866         ports/sysdeps/powerpc/soft-fp.
54867         * sysdeps/powerpc/powerpc32/405: Move directory from
54868         ports/sysdeps/powerpc/powerpc32/405.
54869         * sysdeps/powerpc/powerpc32/440: Move directory from
54870         ports/sysdeps/powerpc/powerpc32/440.
54871         * sysdeps/powerpc/powerpc32/464: Move directory from
54872         ports/sysdeps/powerpc/powerpc32/464.
54873         * sysdeps/powerpc/powerpc32/476: Move directory from
54874         ports/sysdeps/powerpc/powerpc32/476.
54875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
54876         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
54877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
54878         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
54879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
54880         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
54881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
54882         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
54883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
54884         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
54885         * README: Update for powerpc-*-linux-gnu software floating point
54886         support in libc.
54888         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
54889         case to powerpc/powerpc32*.
54890         * sysdeps/unix/sysv/linux/configure: Regenerated.
54892         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
54893         (_FPU_MASK_OM): Define as 0x04.
54894         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
54895         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
54896         0x00c10080.
54897         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
54898         0x0000003c.
54899         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
54901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
54902         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
54903         getcontext_e500.
54904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
54905         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
54906         setcontext_e500.
54907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
54908         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
54909         and setcontext_e500.
54911 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
54913         * locale/iso-3166.def: Update iso-1366.def and related occurrences
54915 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54917         * manual/threads.texi (Default Thread Attributes): Fix typo.
54919 2013-10-04  Will Newton  <will.newton@linaro.org>
54921         * malloc/Makefile: Add tst-memalign.
54922         * malloc/tst-memalign.c: New file.
54924         * malloc/tst-posix_memalign.c: Add comments.
54925         (do_test): Add comments and call free on all potentially
54926         allocated pointers. Add space after cast.
54928         * malloc/tst-pvalloc.c: Add comments.
54929         (do_test): Add comments and call free on all potentially
54930         allocated pointers. Remove duplicate check for NULL pointer.
54931         Add space after cast.
54933         * malloc/tst-valloc.c: Add comments.
54934         (do_test): Add comments and call free on all potentially
54935         allocated pointers. Remove duplicate check for NULL pointer.
54936         Add space after cast.
54938 2013-10-04  Alan Modra  <amodra@gmail.com>
54940         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
54941         Use stdint types in rather than __attribute__((mode())).
54942         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
54944 2013-10-04  Alan Modra  <amodra@gmail.com>
54946         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
54947         Correct handling of unaligned relocs for little-endian.
54948         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
54950 2013-10-04  Alan Modra  <amodra@gmail.com>
54952         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
54953         * configure: Regenerate.
54954         * nptl/shlib-versions: Powerpc*le starts at 2.18.
54955         * shlib-versions: Likewise.
54957 2013-10-04  Alan Modra  <amodra@gmail.com>
54959         * string/tester.c (test_memrchr): Increment reported test cycle.
54961 2013-10-04  Alan Modra  <amodra@gmail.com>
54963         * string/test-memcpy.c (do_one_test): When reporting errors, print
54964         string address and don't overrun end of string.
54966 2013-10-04  Alan Modra  <amodra@gmail.com>
54968         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
54969         insrdi.  Make better use of reg selection to speed exit slightly.
54970         Schedule entry path a little better.  Remove useless "are we done"
54971         checks on entry to main loop.  Handle wrapping around zero address.
54972         Correct main loop count.  Handle single left-over word from main
54973         loop inline rather than by using loop_small.  Remove extra word
54974         case in loop_small caused by wrong loop count.  Add little-endian
54975         support.
54976         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
54977         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
54978         cache hint.
54979         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
54980         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
54981         support.  Avoid rlwimi.
54982         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
54984 2013-10-04  Alan Modra  <amodra@gmail.com>
54986         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
54987         insrdi.  Formatting.
54988         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
54989         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
54990         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
54991         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
54992         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
54993         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
54995 2013-10-04  Alan Modra  <amodra@gmail.com>
54997         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
54998         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
54999         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
55000         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
55001         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
55002         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
55003         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
55004         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
55005         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
55006         use of regs.  Use power7 mtocrf.  Tidy function tails.
55008 2013-10-04  Alan Modra  <amodra@gmail.com>
55010         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
55011         Formatting.  Consistently use rXXX register defines or rN defines.
55012         Use early exit labels that avoid restoring unused non-volatile regs.
55013         Make cr field use more consistent with rWORDn compares.  Rename
55014         regs used as shift registers for unaligned loop, using rN defines
55015         for short lifetime/multiple use regs.
55016         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
55017         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
55018         addi 1,1,64 to pop stack frame.  Simplify return value code.
55019         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
55021 2013-10-04  Alan Modra  <amodra@gmail.com>
55023         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
55024         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
55025         rather than rlwimi.
55026         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
55027         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
55028         little-endian support.  Correct typos.
55029         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
55030         rather than rlwimi.
55031         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
55032         in loop and entry code to keep "and." results.
55033         (strchr): Add little-endian support.  Comment.  Move cntlzd
55034         earlier in tail.
55035         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
55037 2013-10-04  Alan Modra  <amodra@gmail.com>
55039         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
55040         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
55041         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
55042         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
55044 2013-10-04  Alan Modra  <amodra@gmail.com>
55046         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
55047         (rTMP): Define as r11.
55048         (strcmp): Add little-endian support.  Optimise tail.
55049         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
55050         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
55051         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
55052         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55053         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
55054         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55055         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55057 2013-10-04  Alan Modra  <amodra@gmail.com>
55059         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
55060         little-endian support.  Remove unnecessary "are we done" tests.
55061         Handle "s" wrapping around zero and extremely large "size".
55062         Correct main loop count.  Handle single left-over word from main
55063         loop inline rather than by using small_loop.  Correct comments.
55064         Delete "zero" tail, use "end_max" instead.
55065         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
55067 2013-10-04  Alan Modra  <amodra@gmail.com>
55069         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
55070         support.  Don't branch over align.
55071         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
55072         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
55073         support.  Rearrange tmp reg use to suit.  Comment.
55074         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
55076 2013-10-04  Alan Modra  <amodra@gmail.com>
55078         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
55080 2013-10-04  Alan Modra  <amodra@gmail.com>
55082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
55083         conditional form of branch and link when obtaining pc.
55084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
55086 2013-10-04  Alan Modra  <amodra@gmail.com>
55088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
55089         HIWORD/LOWORD.
55090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
55091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
55093 2013-10-04  Alan Modra  <amodra@gmail.com>
55095         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
55096         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
55097         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
55098         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
55099         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
55100         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
55101         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
55102         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
55103         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
55104         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
55106 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
55107             Alistair Popple <alistair@ozlabs.au.ibm.com>
55108             Alan Modra <amodra@gmail.com>
55110         [BZ #15723]
55111         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
55112         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
55113         _dl_hwcap access for little-endian.
55114         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
55115         destroy vmx regs when saving unaligned.
55116         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
55117         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
55118         destroy vmx regs when saving unaligned.
55120 2013-10-04  Alan Modra  <amodra@gmail.com>
55122         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
55123         Don't use a union to pack hi/low value.
55125 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
55127         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
55128         for little-endian.
55129         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
55130         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
55131         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
55132         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
55133         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
55135 2013-10-04  Alan Modra  <amodra@gmail.com>
55137         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
55138         constants to usual value for .cst8 section, and remove redundant
55139         high address load.
55140         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
55141         constant for 0x1p52.  Load little-endian words of double from
55142         correct stack offsets.
55144 2013-10-04  Alan Modra  <amodra@gmail.com>
55146         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
55147         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
55148         words of double from correct stack offsets.
55149         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
55150         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
55151         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
55152         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
55153         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
55154         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
55155         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
55156         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
55157         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
55158         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
55159         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
55160         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
55161         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
55162         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
55163         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
55164         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
55165         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
55167 2013-10-04  Alan Modra  <amodra@gmail.com>
55169         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
55170         64-bit int/double union.
55171         (_FPU_SETCW): Likewise.
55172         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
55173         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
55175 2013-10-04  Alan Modra  <amodra@gmail.com>
55177         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
55178         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
55180 2013-10-04  Alan Modra  <amodra@gmail.com>
55182         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
55183         use vector int constants.
55184         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
55186 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
55188         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
55189         array with long long.
55190         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
55191         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
55192         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
55193         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
55194         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
55195         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
55196         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
55197         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
55198         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
55199         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
55200         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
55201         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
55202         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
55204 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
55206         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
55207         (__signbit): Likewise.  Correct for little-endian.
55208         (__signbitl): Call __signbit.
55209         (lrint): Correct for little-endian.
55210         (lrintf): Call lrint.
55212 2013-10-04  Alan Modra  <amodra@gmail.com>
55214         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
55215         union 32-bit int array member with 64-bit int array.
55216         (t515, tm256): Double rather than long double.
55217         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
55219 2013-10-04  Alan Modra  <amodra@gmail.com>
55221         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
55222         Delete.
55223         (IEEE854_LONG_DOUBLE_BIAS): Delete.
55224         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
55225         version of math_ldbl.h.
55227 2013-10-04  Alan Modra  <amodra@gmail.com>
55229         [BZ #15734], [BZ #15735]
55230         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
55231         all uses of ieee875 long double macros and unions.  Simplify test
55232         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
55233         ldbl_extract_mantissa value for ix,iy exponents.  Properly
55234         normalize after ldbl_extract_mantissa, and don't add hidden bit
55235         already handled.  Don't treat low word of ieee854 mantissa like
55236         low word of IBM long double and mask off bit when testing for
55237         zero.
55238         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
55239         all uses of ieee875 long double macros and unions.  Simplify tests
55240         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
55241         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
55242         two1022, instead use their values.  Recognise that tests for large
55243         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
55244         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
55245         Rewrite all uses of ieee875 long double macros and unions.  Simplify
55246         test for 0.0L and nan.  Correct negation.
55247         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
55248         ieee875 long double macros and unions.  Correct output for large
55249         magnitude x.  Correct absolute value calculation.
55250         (__erfcl): Likewise.
55251         * math/libm-test.inc: Add tests for errors discovered in IBM long
55252         double versions of fmodl, remainderl, erfl and erfcl.
55254 2013-10-04  Alan Modra  <amodra@gmail.com>
55256         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
55257         all uses of ieee854 long double macros and unions.  Simplify tests
55258         for long doubles that are fully specified by the high double.
55259         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
55260         Likewise.
55261         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
55262         Remove dead code too.
55263         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
55264         (__ieee754_ynl): Likewise.
55265         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
55266         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
55267         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
55268         Remove dead code too.
55269         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
55270         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
55271         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
55272         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
55273         Simplify.
55274         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
55275         Simplify.
55276         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
55277         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
55278         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
55279         Comment on variable precision.
55280         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
55281         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
55282         Likewise.
55283         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
55284         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
55285         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
55286         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
55287         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
55289 2013-10-04  Alan Modra  <amodra@gmail.com>
55291         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
55292         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
55293         all uses of ieee854 long double macros and unions.
55294         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
55295         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
55296         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
55297         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
55298         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
55299         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
55300         Likewise.
55301         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
55302         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
55303         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
55304         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
55305         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
55306         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
55307         Simplify sign and nan test too.
55308         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
55309         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
55310         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
55311         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
55312         Likewise.
55313         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
55314         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
55315         Likewise.
55316         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55317         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
55318         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
55319         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
55320         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
55321         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
55323 2013-10-04  Alan Modra  <amodra@gmail.com>
55325         * stdio-common/printf_size.c (__printf_size): Don't use
55326         union ieee854_long_double in fpnum union.
55327         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
55328         signbit macro to retrieve sign from long double.
55329         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
55330         retrieve sign from long double.
55331         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
55332         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
55333         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
55334         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
55335         * math/test-misc.c (main): Don't use union ieee854_long_double.
55337 2013-10-04  Alan Modra  <amodra@gmail.com>
55339         [BZ #15680]
55340         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
55341         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
55342         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
55343         calculation.  Remove unnecessary test for denormal exponent.
55344         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
55345         Correct handling of denormals.  Avoid undefined shift behaviour.
55346         Correct normalisation of low mantissa when low double is denormal.
55347         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
55348         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
55349         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
55350         Correct normalisation of low mantissa.  Test for overflow of high
55351         mantissa and normalise.
55352         (ldbl_nearbyint): Use more readable constant for two52.
55353         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
55354         (__mpn_construct_long_double): Fix test for overflow of high
55355         mantissa and correct normalisation.  Avoid undefined shift.
55357 2013-10-04  Alan Modra  <amodra@gmail.com>
55359         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
55360         (union ibm_extended_long_double): Define as an array of ieee754_double.
55361         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
55362         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
55363         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
55364         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
55365         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
55366         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
55367         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
55368         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
55369         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
55370         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
55371         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
55373 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
55375         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
55376         page size instead of calling getpagesize.
55378         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
55379         (LOCFILE_ALIGN_MASK): Likewise.
55380         (LOCFILE_ALIGN_UP): Likewise.
55381         (LOCFILE_ALIGNED_P): Likewise.
55382         * locale/programs/ld-collate.c (collate_output): Use the new
55383         macros instead of __alignof__ (int32_t).
55384         * locale/weight.h (findidx): Likewise.
55386 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
55388         [BZ #431]
55389         * manual/string.texi: Fix strncat and wcsncat.
55391 2013-10-03  Brooks Moses  <bmoses@google.com>
55393         [BZ #15915]
55394         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
55395         * Makerules: ...here, and adjust associated comments.
55397 2013-10-02  Will Newton  <will.newton@linaro.org>
55399         * malloc/Makefile: Add tst-pvalloc.
55400         * malloc/tst-pvalloc.c: New file.
55402 2013-10-02  Will Newton  <will.newton@linaro.org>
55404         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
55405         improve test coverage.
55407 2013-10-02  Will Newton  <will.newton@linaro.org>
55409         * malloc/Makefile: Add tst-posix_memalign.
55410         * malloc/tst-posix_memalign.c: New file.
55412 2013-10-01  Eric Blake  <eblake@redhat.com>
55414         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
55415         Use __THROWNL rather than __THROW on static functions.
55417 2013-09-30  Petr Machata  <pmachata@redhat.com>
55419         * elf/elf.h (R_AARCH64_ABS16): New macro.
55420         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
55421         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
55422         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
55423         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
55424         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
55425         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
55426         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
55427         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
55428         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
55429         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
55430         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
55431         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
55432         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
55433         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
55434         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
55435         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
55436         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
55437         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
55438         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
55439         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
55440         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
55441         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
55442         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
55443         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
55444         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
55445         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
55446         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
55447         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
55448         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
55449         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
55450         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
55451         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
55452         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
55453         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
55454         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
55455         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
55456         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
55457         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
55458         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
55459         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
55460         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
55461         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
55462         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
55463         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
55464         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
55465         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
55466         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
55467         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
55468         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
55469         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
55470         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
55471         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
55472         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
55473         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
55474         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
55475         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
55476         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
55477         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
55478         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
55479         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
55480         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
55481         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
55482         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
55483         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
55484         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
55485         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
55486         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
55487         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
55488         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
55489         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
55490         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
55491         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
55492         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
55493         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
55494         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
55495         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
55496         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
55497         (R_AARCH64_TLSDESC_LDR): Likewise.
55498         (R_AARCH64_TLSDESC_ADD): Likewise.
55499         (R_AARCH64_TLSDESC_CALL): Likewise.
55501 2013-09-30  Andreas Schwab  <schwab@suse.de>
55503         [BZ #15048]
55504         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
55505         the nss database lookup.
55506         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55507         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55509 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
55511         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
55513 2013-09-28  P. J. McDermott  <pj@pehjota.net>
55515         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
55516         ${Bash-specific parameter/pattern/string} parameter expansion.
55517         * sysdeps/unix/make-syscalls.sh: Likewise.
55519 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55521         * sysdeps/sh/stackguard-macros.h: New file.
55523 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
55525         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
55526         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
55527         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
55528         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
55529         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
55530         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
55532 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55534         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
55535         Fix thread ID register.
55537 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
55539         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
55540         [POSIX || UNIX98]: Require rather than permitting all symbols from
55541         <time.h>.
55542         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
55543         element of struct sched_param.
55544         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
55545         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
55546         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
55547         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
55548         constant.
55550 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
55552         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
55553         argument calculation.
55555 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
55557         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
55558         Expect macro.
55559         [POSIX] (pthread_attr_t): Do not require type.
55560         [POSIX] (pthread_cond_t): Likewise.
55561         [POSIX] (pthread_condattr_t): Likewise.
55562         [POSIX] (pthread_key_t): Likewise.
55563         [POSIX] (pthread_mutex_t): Likewise.
55564         [POSIX] (pthread_mutexattr_t): Likewise.
55565         [POSIX] (pthread_once_t): Likewise.
55566         [POSIX] (pthread_t): Likewise.
55567         [POSIX-based standards] (pthread_atfork): Expect function.
55569 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
55570             Richard Sandiford  <richard@codesourcery.com>
55572         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
55573         (swap_endianness_p): New extern variable.
55574         (set_big_endian): New inline function.
55575         (maybe_swap_uint32): Likewise.
55576         (maybe_swap_uint32_array): Likewise.
55577         (maybe_swap_uint32_obstack): Likewise.
55578         * locale/programs/locfile.c: Include <stdbool.h>.
55579         (swap_endianness_p): New variable.
55580         (add_locale_uint32): Call maybe_swap_uint32.
55581         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
55582         (write_locale_data): Call maybe_swap_uint32_array.
55583         * locale/programs/ld-collate.c (obstack_int32_grow): Call
55584         maybe_swap_uint32.
55585         (obstack_int32_grow_fast): Likewise.
55586         (output_weightwc): Call maybe_swap_uint32_obstack.
55587         (collate_output): Likewise.
55588         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
55589         (OPT_LITTLE_ENDIAN): Likewise.
55590         (options): Add --little-endian and --big-endian options.
55591         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
55592         * locale/programs/locarchive.c: Include "locfile.h".
55593         (GET): New macro.
55594         (SET): Likewise.
55595         (INC): Likewise.
55596         (create_archive): Use the new macros to access fields of
55597         structures directly mapped from or written to locale archives.
55598         (oldlocrecentcmp): Likewise.
55599         (enlarge_archive): Likewise.
55600         (insert_name): Likewise.
55601         (add_alias): Likewise.
55602         (add_locale): Likewise.
55603         (delete_locales_from_archive): Likewise.
55604         (show_archive_content): Likewise.
55605         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
55606         locale data.
55608 2013-09-24  Roland McGrath  <roland@hack.frob.com>
55610         * manual/freemanuals.texi: Updated from (newly) canonical copy at
55611         http://www.gnu.org/doc/freemanuals.texi.
55612         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
55614 2013-09-24  Will Newton  <will.newton@linaro.org>
55616         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
55617         macro.
55619 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
55621         * locale/hashval.h (compute_hashval): Interpret bytes of key as
55622         unsigned char.
55624 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
55626         * manual/threads.texi (POSIX Threads): Fix a typo.
55628 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
55630         [BZ #14547]
55631         * string/tst-strcoll-overflow.c: New test case.
55632         * string/Makefile (xtests): Add tst-strcoll-overflow.
55633         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
55634         cache if string sizes may cause integer overflow.
55636         [BZ #14547]
55637         * string/strcoll_l.c (coll_seq): New members rule, idx,
55638         save_idx and back_us.
55639         (get_next_seq_nocache): New function.
55640         (do_compare_nocache): New function.
55641         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
55642         when malloc fails.
55644 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
55646         [BZ #15754]
55647         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
55648         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
55649         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
55651         [BZ #15754]
55652         * elf/Makefile (tests): Add tst-ptrguard1.
55653         (tests-static): Add tst-ptrguard1-static.
55654         (tst-ptrguard1-ARGS): Define.
55655         (tst-ptrguard1-static-ARGS): Define.
55656         * elf/tst-ptrguard1.c: New file.
55657         * elf/tst-ptrguard1-static.c: New file.
55658         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
55659         * sysdeps/i386/stackguard-macros.h: Likewise.
55660         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
55661         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
55662         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
55663         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
55664         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
55665         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
55667 2013-09-23  Hector Marco  <hecmargi@upv.es>
55668             Ismael Ripoll  <iripoll@disca.upv.es>
55669             Carlos O'Donell  <carlos@redhat.com>
55671         [BZ #15754]
55672         * sysdeps/generic/stackguard-macros.h: Define
55673         __pointer_chk_guard_local and POINTER_CHK_GUARD.
55674         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
55675         Define __pointer_chk_guard_local.
55676         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
55677         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
55679 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
55681         [BZ #15859]
55682         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
55684 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
55686         * include/string.h (__ffs): Declare as hidden.
55687         * string/ffs.c (__ffs): Define as hidden.
55688         * sysdeps/i386/ffs.c (__ffs): Likewise.
55689         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
55690         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
55691         * sysdeps/s390/ffs.c (__ffs): Likewise.
55692         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
55694 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
55696         * NEWS: Mention malloc probes.
55698         * malloc/arena.c (new_heap): New memory_heap_new probe.
55699         (grow_heap): New memory_heap_more probe.
55700         (shrink_heap): New memory_heap_less probe.
55701         (heap_trim): New memory_heap_free probe.
55702         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
55703         (systrim): New memory_sbrk_less probe.
55704         * manual/probes.texi: Document them.
55706         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
55707         * manual/probes.texi: Document it.
55709         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
55710         (__libc_realloc): Add memory_realloc_retry probe.
55711         (__libc_memalign): Add memory_memalign_retry probe.
55712         (__libc_valloc): Add memory_valloc_retry probe.
55713         (__libc_pvalloc): Add memory_pvalloc_retry probe.
55714         (__libc_calloc): Add memory_calloc_retry probe.
55715         * manual/probes.texi: Document them.
55717         * malloc/arena.c (get_free_list): Add probe
55718         memory_arena_reuse_free_list.
55719         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
55720         and memory_arena_reuse.
55721         (arena_get2) [!PER_THREAD]: Likewise.
55722         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
55723         memory_arena_reuse_realloc.
55724         * manual/probes.texi: Document them.
55726         * malloc/malloc.c (__libc_free): Add
55727         memory_mallopt_free_dyn_thresholds probe.
55728         (__libc_mallopt): Add multiple memory_mallopt probes.
55729         * manual/probes.texi: Document them.
55731         * malloc/malloc.c: Include stap-probe.h.
55732         (__libc_mallopt): Add memory_mallopt probe.
55733         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
55734         * manual/probes.texi: New.
55735         * manual/Makefile (chapters): Add probes.
55736         * manual/threads.texi: Set next node.
55738 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
55740         [BZ #15963, #13985]
55741         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
55742         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
55743         Add `Chinese' to `nan' entry name.
55745 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
55747         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
55748         (POLYNOMIAL): Likewise.
55749         (TAYLOR_SINCOS): Likewise.
55750         (TAYLOR_SLOW): Likewise.
55751         (__sin): Use TAYLOR_SINCOS.
55752         (__cos): Likewise.
55753         (slow): Use TAYLOR_SLOW.
55754         (sloww): Likewise.
55755         (bsloww): Likewise.
55756         (csloww): Likewise.
55758 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55760         * stdlib/strtod_l.c: Fix buffer overrun.
55762 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
55764         * benchtests/Makefile (bench): Add sincos.
55765         * benchtests/bench-sincos.c: New file.
55767         * math/libm-test.inc (cos_test_data): New test inputs.
55768         (sin_test_data): Likewise.
55770         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
55771         macro.
55772         (__sin): Use it.
55773         (__cos): Likewise.
55774         (slow1): Likewise.
55775         (slow2): Likewise.
55776         (sloww1): Likewise.
55777         (sloww2): Likewise.
55778         (bsloww1): Likewise.
55779         (bsloww2): Likewise.
55780         (cslow2): Likewise.
55781         (csloww1): Likewise.
55782         (csloww2): Likewise.
55784         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
55785         function.
55786         (__sin): Use it.
55787         (__cos): Likewise.
55789         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
55790         gotos.
55791         (__cos): Likewise.
55793 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
55795         * config.h.in (HAVE_MIPS_NAN2008): New macro.
55796         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
55797         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
55798         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
55799         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
55800         * elf/cache.c (print_entry): Handle the new cache flags.
55802 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
55803             Aldy Hernandez  <aldyh@redhat.com>
55805         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
55806         Change condition to [_SOFT_FLOAT].
55807         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
55808         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
55809         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
55810         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
55811         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
55812         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
55813         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
55814         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
55815         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
55816         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
55817         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
55818         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
55819         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
55820         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
55821         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
55822         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
55823         declaration.
55825 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
55827         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
55828         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
55829         (__longjmp): Use LOAD_GP to load saved GPRs.
55830         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
55831         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
55832         (__sigsetjmp): Use SAVE_GP to save GPRs.
55834         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
55835         Do not append -msoft-float.
55836         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
55838 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55840         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
55842 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
55844         [BZ #15966]
55845         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
55846         (_FPU_GETCW): Use initial "__" on variable and field names but not
55847         on macro parameter name.
55848         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
55849         parentheses around reference to macro parameter.
55851 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
55853         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
55854         prototype.
55855         (ctype_startup): Use uint32_t in cast and sizeof for
55856         ctype->charnames.
55858 2013-09-11  Jia Liu  <proljc@gmail.com>
55860         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
55861         __daddr_t_defined.
55862         [__FreeBSD__]: Likewise.
55864 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
55866         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
55867         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
55868         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
55869         (strchr): Remove __strchr_sse42 ifunc selection.
55870         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
55871         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
55873 2013-09-11  Will Newton  <will.newton@linaro.org>
55875         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
55876         parameter to RES. Remove hardcoded 1000 value.
55877         * benchtests/bench-skeleton.c (main): Pass RES parameter
55878         to TIMING_INIT and multiply result by 1000.
55880 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55882         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55884 2013-09-11  Andreas Schwab  <schwab@suse.de>
55886         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
55887         if not defined.
55888         (O_TMPFILE) [__USE_GNU]: Define.
55889         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
55890         Define.
55892 2013-09-11  Will Newton  <will.newton@linaro.org>
55894         [BZ #15857]
55895         * malloc/malloc.c (__libc_memalign): Check the value of bytes
55896         does not overflow.
55898 2013-09-11  Will Newton  <will.newton@linaro.org>
55900         [BZ #15856]
55901         * malloc/malloc.c (__libc_valloc): Check the value of bytes
55902         does not overflow.
55904 2013-09-11  Will Newton  <will.newton@linaro.org>
55906         [BZ #15855]
55907         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
55908         does not overflow.
55910 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
55912         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
55913         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55914         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55915         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55916         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55918 2013-09-10  Allan McRae  <allan@archlinux.org>
55920         [BZ #15748]
55921         * manual/arith.texi (Parsing of Floats): Clarify
55922         cross-reference.
55924         [BZ #15849]
55925         * manual/install.texi (Running make install): Mention
55926         --enable-pt-chown.
55927         * INSTALL: Regenerated.
55929 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
55931         * csu/init-first.c (_init): Remove the !SHARED condition around
55932         FPU control word initialization.
55933         * elf/dl-support.c (_dl_fpu_control): New variable.
55934         (_dl_aux_init) <AT_FPUCW>: Initialize it.
55935         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
55936         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
55937         * math/test-fpucw-static.c: New file.
55938         * math/test-fpucw-ieee.c: New file.
55939         * math/test-fpucw-ieee-static.c: New file.
55940         * math/Makefile (tests): Add `test-fpucw-ieee' and
55941         `$(tests-static)'.
55942         (tests-static): New variable.
55943         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
55944         dependency to...
55945         [($(build-shared),yes)]
55946         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
55947         ... this.
55948         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
55949         New dependency.
55951 2013-09-09  Allan McRae  <allan@archlinux.org>
55953         [BZ #15939]
55954         * manual/string.texi (Collation Functions): Fix typo in
55955         strcoll example.
55956         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
55958         [BZ #15893]
55959         * stdlib/isomac.c (get_null_defines): Fix memory leak.
55961         [BZ #15892]
55962         * libio/memstream.c (open_memstream): Fix memory leak.
55963         * libio/wmemstream.c (open_wmemstream): Likewise.
55965         [BZ #15895]
55966         * nscd/netgroupcache.c: Fix nesting of ifdefs.
55968 2013-09-09  Will Newton  <will.newton@linaro.org>
55970         * malloc/Makefile: Add tst-realloc to tests.
55971         * malloc/tst-realloc.c: New file.
55973 2013-09-09  Allan McRae  <allan@archlinux.org>
55975         [BZ #15844]
55976         * COPYING: Update from GNU website to fix FSF address.
55977         * COPYING.LIB: Likewise.
55979 2013-09-06  David S. Miller  <davem@davemloft.net>
55981         * po/zh_TW.po: Update Chinese (traditional) translation from
55982         translation project.
55984 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
55985             Joseph Myers  <joseph@codesourcery.com>
55987         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
55988         "localeinfo.h".
55989         (obstack_chunk_alloc): New macro.
55990         (obstack_chunk_free): Likewise.
55991         (record_offset): New function.
55992         (init_locale_data): Likewise.
55993         (align_locale_data): Likewise.
55994         (add_locale_empty): Likewise.
55995         (add_locale_raw_data): Likewise.
55996         (add_locale_raw_obstack): Likewise.
55997         (add_locale_string): Likewise.
55998         (add_locale_wstring): Likewise.
55999         (add_locale_uint32): Likewise.
56000         (add_locale_uint32_array): Likewise.
56001         (add_locale_char): Likewise.
56002         (start_locale_structure): Likewise.
56003         (end_locale_structure): Likewise.
56004         (start_locale_prelude): Likewise.
56005         (end_locale_prelude): Likewise.
56006         (write_locale_data): Take locale_file structure rather than an
56007         iovec.
56008         * locale/programs/locfile.h: Include "obstack.h".
56009         (struct locale_file): Change to store locale file contents instead
56010         of header.
56011         (init_locale_data): New prototype.
56012         (align_locale_data): Likewise.
56013         (add_locale_empty): Likewise.
56014         (add_locale_raw_data): Likewise.
56015         (add_locale_raw_obstack): Likewise.
56016         (add_locale_string): Likewise.
56017         (add_locale_wstring): Likewise.
56018         (add_locale_uint32): Likewise.
56019         (add_locale_uint32_array): Likewise.
56020         (add_locale_char): Likewise.
56021         (start_locale_structure): Likewise.
56022         (end_locale_structure): Likewise.
56023         (start_locale_prelude): Likewise.
56024         (end_locale_prelude): Likewise.
56025         (write_locale_data): Update prototype.
56026         * locale/programs/3level.h (struct TABLE): Remove result field.
56027         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
56028         Use new locale_file interface.
56029         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
56030         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
56031         * locale/programs/ld-address.c (address_output): Use new
56032         locale_file interface.
56033         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
56034         NO_ADD_LOCALE.
56035         (collate_finish): Don't call collseq_table_finalize.
56036         (collate_output): Use new locale_file interface.
56037         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
56038         in file.
56039         (NO_FINALIZE): Change to NO_ADD_LOCALE.
56040         (TABLE): Move defines earlier in file.
56041         (ELEMENT): Likewise.
56042         (DEFAULT): Likewise.
56043         (wctrans_table_add): Move macro and inline function earlier in
56044         file.
56045         (struct wctype_table): Move type earlier in file.
56046         (add_locale_wctype_table): New static prototype.
56047         (struct locale_ctype_t): Use logical types instead of struct iovec
56048         pointers for members.
56049         (ctype_output): Use new locale_file interface.
56050         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
56051         new locale_file interface.
56052         (allocate_arrays): Update for use of new locale_file interface.
56053         * locale/programs/ld-identification.c (identification_output): Use
56054         new locale_file interface.
56055         * locale/programs/ld-measurement.c (measurement_output): Likewise.
56056         * locale/programs/ld-messages.c (messages_output): Likewise.
56057         * locale/programs/ld-monetary.c (monetary_output): Likewise.
56058         * locale/programs/ld-name.c (name_output): Likewise.
56059         * locale/programs/ld-numeric.c (numeric_output): Likewise.
56060         * locale/programs/ld-paper.c (paper_output): Likewise.
56061         * locale/programs/ld-telephone.c (telephone_output): Likewise.
56062         * locale/programs/ld-time.c (time_output): Likewise.
56064 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56066         * benchtests/Makefile: Add memrchr benchmark.
56067         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
56068         benchmark as memrchr.
56069         * benchtests/bench-memrchr-ifunc.c: New file.
56070         * benchtests/bench-memrchr.c: New file.
56072 2013-09-06   Will Newton  <will.newton@linaro.org>
56074         * benchtests/Makefile (string-bench): Add memcpy.
56076 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
56077             Cong Wang  <amwang@redhat.com>
56079         [BZ #15850]
56080         * sysdeps/unix/sysv/linux/bits/in.h
56081         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
56082         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
56083         before __USE_KERNEL_IPV6_DEFS uses.
56084         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
56085         IPPROTO_BEETPH.
56086         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
56087         sockaddr_in6, or ipv6_mreq.
56089 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56091         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
56092         memory access for final bytes in some large inputs.
56093         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
56095 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56097         * string/test-memrchr.c: New file.
56098         * string/test-memrchr-ifunc.c: New file.
56099         * string/Makefile: Add new memrchr testcase.
56101 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
56103         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
56104         fanotify_init returns EPERM.
56106 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
56108         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
56109         errors.
56110         (top level): Treat second token from macro or constant entries for
56111         allowed headers as allowed.
56112         * include/complex.h: Condition internal declarations on
56113         [!_ISOMAC].
56114         * include/fenv.h: Condition include of <stdbool.h> and internal
56115         declarations on [!_ISOMAC].
56117 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
56119         [BZ #15923]
56120         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
56122 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
56124         * configure.in (--enable-versioning): Remove configure option.
56125         (libc_cv_asm_symver_directive): Remove configure test.
56126         (libc_cv_ld_version_script_option): Likewise.
56127         (VERSIONING): Remove variable and AC_SUBST.
56128         (DO_VERSIONING): Remove AC_DEFINE.
56129         * configure: Regenerated.
56130         * config.h.in (DO_VERSIONING): Remove macro.
56131         * Makerules [$(versioning) = yes]: Change conditionals to
56132         [$(build-shared) = yes].
56133         * config.make.in (versioning): Remove variable.
56134         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
56135         [$(build-shared) = yes].
56136         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
56137         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
56138         * elf/Makefile [$(versioning) = yes]: Change conditionals to
56139         [$(build-shared) = yes].
56140         * extra-lib.mk [$(versioning) = yes]: Likewise.
56141         * hurd/Makefile [$(versioning) = yes]: Likewise.
56142         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
56143         [SHARED].
56144         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
56145         [SHARED].
56146         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
56147         [SHARED && !NO_HIDDEN].
56148         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
56149         [SHARED].
56150         [SHARED && DO_VERSIONING]: Likewise..
56151         * libio/Makefile [$(versioning) = yes]: Change conditionals to
56152         [$(build-shared) = yes].
56153         * manual/install.texi (--disable-versioning): Remove
56154         documentation.
56155         * INSTALL: Regenerated.
56156         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
56157         to [SHARED].
56158         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
56159         [$(build-shared) = yes].
56160         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
56161         * sysdeps/i386/i686/multiarch/strstr-c.c
56162         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
56163         [SHARED && !NO_HIDDEN].
56164         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
56165         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
56166         * sysdeps/powerpc/powerpc32/dl-machine.c
56167         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
56168         * sysdeps/powerpc/powerpc32/sysdep.h
56169         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
56170         to [SHARED && PIC && !NO_HIDDEN].
56171         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
56172         conditional to [SHARED].
56174 2013-09-04   Will Newton  <will.newton@linaro.org>
56176         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
56177         * benchtests/bench-string.h: Include bench-timing.h instead
56178         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
56179         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
56180         call to HP_TIMING_DIFF_INIT.
56181         * benchtests/bench-memccpy.c: Use bench-timing.h macros
56182         instead of hp-timing.h macros.
56183         * benchtests/bench-memchr.c: Likewise.
56184         * benchtests/bench-memcmp.c: Likewise.
56185         * benchtests/bench-memcpy.c: Likewise.
56186         * benchtests/bench-memmem.c: Likewise.
56187         * benchtests/bench-memmove.c: Likewise.
56188         * benchtests/bench-memset.c: Likewise.
56189         * benchtests/bench-rawmemchr.c: Likewise.
56190         * benchtests/bench-strcasecmp.c: Likewise.
56191         * benchtests/bench-strcasestr.c: Likewise.
56192         * benchtests/bench-strcat.c: Likewise.
56193         * benchtests/bench-strchr.c: Likewise.
56194         * benchtests/bench-strcmp.c: Likewise.
56195         * benchtests/bench-strcpy.c: Likewise.
56196         * benchtests/bench-strcpy_chk.c: Likewise.
56197         * benchtests/bench-strlen.c: Likewise.
56198         * benchtests/bench-strncasecmp.c: Likewise.
56199         * benchtests/bench-strncat.c: Likewise.
56200         * benchtests/bench-strncmp.c: Likewise.
56201         * benchtests/bench-strncpy.c: Likewise.
56202         * benchtests/bench-strnlen.c: Likewise.
56203         * benchtests/bench-strpbrk.c: Likewise.
56204         * benchtests/bench-strrchr.c: Likewise.
56205         * benchtests/bench-strspn.c: Likewise.
56206         * benchtests/bench-strstr.c: Likewise.
56208 2013-09-04  Will Newton  <will.newton@linaro.org>
56210         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
56212 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
56214         [BZ #15427]
56215         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
56216         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
56217         * math/libm-test.inc (lgamma_test_data): Add more tests.
56218         * sysdeps/i386/fpu/libm-test-ulps: Update.
56219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56221 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
56223         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
56224         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
56225         Add ifunc.
56226         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
56227         Add strcmp-sse2-unaligned
56228         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
56230 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
56232         * Versions.def (libc): Add GLIBC_2.19.
56234 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
56236         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
56237         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
56239 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
56241         [BZ #14155]
56242         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
56243         intermediate calculations in recurrence.
56244         (__ieee754_ynf): Likewise.
56245         * math/libm-test.inc (jn_test_data): Do not allow spurious
56246         underflow exception.  Add more tests.
56247         (yn_test_data): Add more tests.
56248         * sysdeps/i386/fpu/libm-test-ulps: Update.
56249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56251 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
56253         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
56255 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
56257         * csu/init-first.c: Fix then/than typos.
56258         * locale/programs/ld-collate.c: Likewise.
56259         * locale/programs/linereader.h: Likewise.
56260         * manual/charset.texi: Likewise.
56261         * manual/filesys.texi: Likewise.
56262         * manual/stdio.texi: Likewise.
56263         * manual/string.texi: Likewise.
56264         * stdlib/fmtmsg.c: Likewise.
56265         * sysdeps/i386/stpncpy.S: Likewise.
56266         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56267         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
56268         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
56269         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
56271 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
56273         * elf/dl-open.c: Fix typos.
56274         * iconvdata/gbbig5.c: Likewise.
56275         * iconvdata/iso-2022-jp.c: Likewise.
56276         * iconv/gconv_int.h: Likewise.
56277         * iconv/loop.c: Likewise.
56278         * nis/rpcsvc/nis.h: Likewise.
56279         * resolv/ns_name.c: Likewise.
56280         * stdio-common/vfscanf.c: Likewise.
56281         * streams/stropts.h: Likewise.
56282         * sunrpc/rpc_thread.c: Likewise.
56283         * sysdeps/i386/strpbrk.S: Likewise.
56284         * sysdeps/ieee754/k_standard.c: Likewise.
56285         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
56286         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56287         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
56288         * sysdeps/mach/hurd/profil.c: Likewise.
56289         * sysdeps/s390/dl-procinfo.h: Likewise.
56290         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
56291         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
56292         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
56293         * sysdeps/x86_64/dl-trampoline.S: Likewise.
56294         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
56296 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
56298         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
56299         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
56301 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
56303         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
56304         aix specific files.
56305         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
56306         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
56307         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
56308         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
56309         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
56310         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
56311         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
56312         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
56314 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
56315             Roland McGrath  <roland@hack.frob.com>
56317         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
56318         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
56320 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56322         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
56323         __executable_start symbol instead of _start.
56325 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
56327         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
56328         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
56329         Move macros to...
56330         * sysdeps/gnu/ldsodefs.h: ... this new file.
56332         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
56333         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
56334         instead of ELFOSABI_LINUX.
56336         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
56337         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
56338         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
56339         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
56340         Likewise.
56341         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
56342         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
56343         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
56344         Likewise.
56345         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
56346         (ibm_extended_long_double): Add ieee_nan member.
56347         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
56348         (do_test): New function.
56350         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
56351         TEST_TRUNC.
56352         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
56353         functions, renamed from truncdfsf_test, trunctfsf_test,
56354         trunctfdf_test.
56355         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
56356         functions.
56357         (do_test): Run all these.
56359 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
56361         * argp/argp-help.c: Fix typos.
56362         * argp/argp-parse.c: Likewise.
56363         * debug/backtracesyms.c: Likewise.
56364         * elf/elf.h: Likewise.
56365         * malloc/malloc.c: Likewise.
56366         * nis/nis_print.c: Likewise.
56367         * resolv/res_comp.c: Likewise.
56368         * stdlib/stdlib.h: Likewise.
56369         * sunrpc/clnt_tcp.c: Likewise.
56370         * sunrpc/clnt_udp.c: Likewise.
56371         * sunrpc/clnt_unix.c: Likewise.
56372         * sysdeps/unix/bsd/ptsname.c: Likewise.
56373         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
56374         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
56375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
56376         Likewise.
56377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
56378         Likewise.
56379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
56380         Likewise.
56381         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
56383 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56385         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
56386         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56388 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
56390         [BZ #15897]
56391         * dlfcn/Makefile (tests): Add bug-dl-leaf.
56392         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
56393         ($(objpfx)bug-dl-leaf): New rule.
56394         ($(objpfx)bug-dl-leaf.so): Likewise.
56395         ($(objpfx)bug-dl-leaf.out): Likewise.
56396         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
56397         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
56398         * dlfcn/bug-dl-leaf.c: New test.
56399         * dlfcn/bug-dl-leaf-lib.c: Likewise.
56400         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
56401         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
56402         (dlclose): Likewise.
56403         (dlmopen): Likewise.
56405 2013-08-27  Roland McGrath  <roland@hack.frob.com>
56407         * include/netdb.h [!_ISOMAC]:
56408         Don't include <tls.h>.
56409         (h_errno, __libc_h_errno): Move declaration and macros out of
56410         [_LIBC_REENTRANT].
56412         * include/resolv.h [_RESOLV_H_]:
56413         Don't include <tls.h>.
56414         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
56415         * resolv/res_libc.c: Don't include <tls.h>.
56416         (_res): Use __attribute__ ((nocommon)) in place of
56417         __attribute__ ((section (".bss"))).
56419         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
56420         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
56422         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
56424         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
56425         only under [SIOCGIFCONF && SIOCGIFNETMASK].
56427         * resolv/res_mkquery.c: Include <sys/time.h>.
56429         * inet/ifreq.c: Moved to ...
56430         * sysdeps/unix/ifreq.c: ... here.
56431         * inet/ifreq.c: New file, true stub version.
56433         * socket/sa_len.c: New file.
56434         * socket/Makefile (aux): Add it.
56435         * sysdeps/unix/sysv/linux/Makefile
56436         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
56437         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
56438         and #include <socket/sa_len.c>.
56439         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
56440         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
56442         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
56443         * bits/socket.h: ... here.
56445         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
56446         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
56447         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
56449 2013-08-27  Andreas Schwab  <schwab@suse.de>
56451         [BZ #15736]
56452         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
56453         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
56454         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
56455         * string/test-strcasecmp.c (test_main): Run tests in several
56456         locales.
56457         * string/test-strncasecmp.c (test_main): Likewise.
56459         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
56460         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
56461         to __strcasecmp_nonascii and __strncasecmp_nonascii.
56462         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
56463         (__strncasecmp_ssse3) [PIC]: Likewise.
56465 2013-08-26  Roland McGrath  <roland@hack.frob.com>
56467         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
56469         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
56470         instead of explicitly declaring xdecrypt.
56471         * nis/nss_nis/nis-publickey.c: Likewise.
56473 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56475         [BZ #15890]
56476         * nscd/aicache.c: Include res_hconf.h.
56477         (addhstaiX): Initialize res_hconf.
56479 2013-08-26  Andreas Schwab  <schwab@suse.de>
56481         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
56482         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
56484 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56486         * nscd/aicache.c (addhstaiX): Fix indentation.
56488 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
56490         * configure.ac: Quote $build_pt_chown test.
56491         * configure: Regenerated.
56493 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
56495         [BZ #15532]
56496         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
56497         * math/s_cexpf.c (__cexpf): Likewise.
56498         * math/s_cexpl.c (__cexpl): Likewise.
56499         * math/libm-test.inc (cexp_test_data): Correct expected return
56500         value for NaN + i0.  Add another test.
56502 2013-08-22  David S. Miller  <davem@davemloft.net>
56504         * po/ca.po: Update Catalan translation from translation project.
56505         * po/uk.po: Add Ukrainian translations from translation project.
56507 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
56509         [BZ #15797]
56510         * math/s_fdim.c (__fdim): Check for infinite arguments if result
56511         is infinite, not alongside NaN test.
56512         * math/s_fdimf.c (__fdimf): Likewise.
56513         * math/s_fdiml.c (__fdiml): Likewise.
56514         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
56515         errno is unchanged.
56517 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
56519         * argp/argp-help.c: Fix typos.
56520         * crypt/speeds.c: Likewise.
56521         * csu/check_fds.c: Likewise.
56522         * elf/dl-load.c: Likewise.
56523         * elf/dl-open.c: Likewise.
56524         * elf/reldep3.c: Likewise.
56525         * elf/reldep.c: Likewise.
56526         * elf/sprof.c: Likewise.
56527         * iconv/iconv_charmap.c: Likewise.
56528         * iconv/skeleton.c: Likewise.
56529         * iconv/strtab.c: Likewise.
56530         * io/lockf64.c: Likewise.
56531         * libio/libioP.h: Likewise.
56532         * resolv/gai_notify.c: Likewise.
56533         * resolv/ns_name.c: Likewise.
56534         * resolv/ns_samedomain.c: Likewise.
56535         * resolv/res_send.c: Likewise.
56536         * stdlib/random.c: Likewise.
56537         * sunrpc/rpc/xdr.h: Likewise.
56538         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
56539         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
56540         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
56541         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
56542         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
56543         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
56544         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
56545         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
56546         * sysdeps/mach/hurd/check_fds.c: Likewise.
56547         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
56548         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
56549         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
56550         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
56551         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
56552         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
56553         * sysdeps/pthread/aio_notify.c: Likewise.
56554         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
56555         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
56556         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
56557         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
56558         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
56560 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56562         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
56563         version if bit_Slow_SSE4_2 is set.
56564         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56565         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56567 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56569         [BZ #15867]
56570         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
56571         trampoline stack frame information.
56572         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
56573         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
56574         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
56575         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
56576         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
56577         * sysdeps/unix/sysv/linux/powerpc/init-first.c
56578         (_libc_vdso_platform_setup): Initialize the signal trampolines.
56579         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
56580         sa_flags value.
56581         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
56582         interrupting a syscall and set with option SA_SIGINFO.
56584 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
56586         [BZ #15531]
56587         * math/s_cproj.c (__cproj): Only return an infinity if one part of
56588         argument is infinite.
56589         * math/s_cprojf.c (__cprojf): Likewise.
56590         * math/s_cprojl.c (__cprojl): Likewise.
56591         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
56592         * math/libm-test.inc (cproj_test_data): Add more tests.
56594         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
56596         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
56597         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
56598         size.  Use __ffs to determine corresponding shift.
56600 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
56601             Roland McGrath  <roland@hack.frob.com>
56603         * Makefile (INSTALL): Remove trailing blank lines from output of
56604         makeinfo.
56606 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56608         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
56609         Align 32 bit compat elf_greg to 8 bytes.
56611 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
56613         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
56615 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
56617         * string/strcoll_l.c (coll_seq): New structure.
56618         (get_next_seq_cached): New function.
56619         (get_next_seq): New function.
56620         (do_compare): New function.
56621         (STRCOLL): Use GNU style definition.  Simplify implementation
56622         by using get_next_seq, get_next_seq_cached and do_compare.
56624 2013-08-16  Florian Weimer  <fweimer@redhat.com>
56626         [BZ #14699]
56627         CVE-2013-4237
56628         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
56629         member.
56630         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
56631         member.
56632         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
56633         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
56634         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
56635         conditional.
56636         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
56637         GETDENTS_64BIT_ALIGNED.
56638         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
56639         * manual/filesys.texi (Reading/Closing Directory): Document
56640         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
56641         strongly.
56642         * manual/conf.texi (Limits for Files): Add portability note to
56643         NAME_MAX, PATH_MAX.
56644         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
56646 2013-08-13  Andreas Schwab  <schwab@suse.de>
56648         [BZ #15749]
56649         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
56650         of fabs.
56651         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
56652         LDBL_MAX_EXP >= 16384]: Add tests for it.
56654 2013-08-12  David S. Miller  <davem@davemloft.net>
56656         * version.h (RELEASE): Set to "development".
56657         (VERSION): Set to "2.18.90".
56658         * NEWS: Add 2.19 section.
56660 2013-08-03  David S. Miller  <davem@davemloft.net>
56662         * po/ko.po: Update Korean translation from translation project.
56664 2013-08-01  David S. Miller  <davem@davemloft.net>
56666         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
56667         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
56668         Bilka.
56670 2013-07-30  David S. Miller  <davem@davemloft.net>
56672         * po/fr.po: Update French translation from translation project.
56674 2013-07-28  David S. Miller  <davem@davemloft.net>
56676         * po/cs.po: Update Czech translation from translation project.
56678         * po/sv.po: Update Swedish translation from translation project.
56680 2013-07-27  David S. Miller  <davem@davemloft.net>
56682         * po/eo.po: Update Esperanto translation from translation project.
56684         * po/vi.po: Update Vietnamese translation from translation project.
56686         * po/de.po: Update German translation from translation project.
56688 2013-07-26  David S. Miller  <davem@davemloft.net>
56690         * po/bg.po: Update Bulgarian translation from translation project.
56692         * po/nl.po: Update Dutch translation from translation project.
56693         * po/pl.po: Update Polish translation from translation project.
56694         * po/ru.po: Update Russian translation from translation project.
56696 2013-07-24  David S. Miller  <davem@davemloft.net>
56698         * po/libc.pot: Update.
56700 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56702         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
56703         variable page size.
56704         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
56705         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
56706         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
56708 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56710         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
56712 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56713             Andreas Schwab  <schwab@suse.de>
56714             Roland McGrath  <roland@hack.frob.com>
56715             Joseph Myers  <joseph@codesourcery.com>
56716             Carlos O'Donell  <carlos@redhat.com>
56718         [BZ #15755]
56719         * config.h.in: Define HAVE_PT_CHOWN.
56720         * config.make.in (build-pt-chown): New variable.
56721         * configure.in (--enable-pt_chown): New configure option.
56722         * configure: Regenerate.
56723         * login/Makefile: Include Makeconfig.  Build pt_chown only if
56724         build-pt-chown is enabled.
56725         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
56726         pt_chown to fix pty ownership.
56727         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
56728         CLOSE_ALL_FDS.
56729         * manual/install.texi (Configuring and compiling): Mention
56730         --enable-pt_chown. Add @findex for grantpt.
56731         * INSTALL: Regenerate.
56733 2013-07-20  David S. Miller  <davem@davemloft.net>
56735         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
56736         difference between 32-bit and 64-bit.
56738 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
56740         [BZ #15711]
56741         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
56742         Avoid system header dependency with -ffreestanding.
56743         ($(objpfx)bits/syscall%d): Likewise.
56745 2013-07-13  David S. Miller  <davem@davemloft.net>
56747         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
56748         underflows from atanl/atan2l due to bug 15319.
56749         (casinh_test_data): Likewise.
56751 2013-07-07  David S. Miller  <davem@davemloft.net>
56753         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
56755 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
56757         * sysdeps/i386/fpu/libm-test-ulps: Update.
56758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56760 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56762         * configure.in (--enable-lock-elision): Fix message text.
56763         * INSTALL: Regenerate.
56764         * configure: Regenerate.
56766 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56768         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56770 2013-07-03  Andreas Jaeger  <aj@suse.de>
56772         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
56773         define.
56774         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
56775         (ptrace_peeksiginfo_args): Add.
56776         (__ptrace_peeksiginfo_flags): Add.
56777         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56778         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56779         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56781 2013-07-03  Allan McRae  <allan@archlinux.org>
56783         * sysdeps/i386/fpu/libm-test-ulps: Update.
56785 2013-07-02  David S. Miller  <davem@davemloft.net>
56787         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56789 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
56791         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56793 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
56795         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
56796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56798 2013-07-02  Andi Kleen <ak@linux.intel.com>
56800         * config.h.in (ENABLE_LOCK_ELISION): Add.
56801         * configure.in (--enable-lock-elision): Add option.
56802         * manual/install.texi: Document --enable lock elision.
56803         * configure: Regenerate
56804         * INSTALL: Regenerate.
56806 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
56808         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
56809         SSE4.2 strcasecmp for libc.a.
56810         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
56812 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
56814         [BZ #13304]
56815         * soft-fp/op-common.h (_FP_FMA): New macro.
56816         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
56817         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
56818         (_FP_MUL_MEAT_1_imm): ... here.
56819         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
56820         (_FP_MUL_MEAT_1_wide): ... here.
56821         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
56822         (_FP_MUL_MEAT_1_hard): ... here.
56823         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
56824         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
56825         (_FP_MUL_MEAT_2_wide): ... here.
56826         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
56827         (_FP_MUL_MEAT_2_wide_3mul): ... here.
56828         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
56829         (_FP_MUL_MEAT_2_gmp): ... here.
56830         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
56831         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
56832         (_FP_MUL_MEAT_4_wide): ... here.
56833         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
56834         (_FP_MUL_MEAT_4_gmp): ... here.
56835         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
56836         (_FP_WFRACBITS_DW_S): Likewise.
56837         (_FP_WFRACXBITS_DW_S): Likewise.
56838         (_FP_HIGHBIT_DW_S): Likewise.
56839         (FP_FMA_S): Likewise.
56840         (_FP_FRAC_HIGH_DW_S): Likewise.
56841         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
56842         (_FP_WFRACBITS_DW_D): Likewise.
56843         (_FP_WFRACXBITS_DW_D): Likewise.
56844         (_FP_HIGHBIT_DW_D): Likewise.
56845         (FP_FMA_D): Likewise.
56846         (_FP_FRAC_HIGH_DW_D): Likewise.
56847         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
56848         (_FP_WFRACBITS_DW_E): Likewise.
56849         (_FP_WFRACXBITS_DW_E): Likewise.
56850         (_FP_HIGHBIT_DW_E): Likewise.
56851         (FP_FMA_E): Likewise.
56852         (_FP_FRAC_HIGH_DW_E): Likewise.
56853         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
56854         (_FP_WFRACBITS_DW_Q): Likewise.
56855         (_FP_WFRACXBITS_DW_Q): Likewise.
56856         (_FP_HIGHBIT_DW_Q): Likewise.
56857         (FP_FMA_Q): Likewise.
56858         (_FP_FRAC_HIGH_DW_Q): Likewise.
56859         * soft-fp/fmasf4.c: New file.
56860         * soft-fp/fmadf4.c: Likewise.
56861         * soft-fp/fmatf4.c: Likewise.
56863 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56865         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
56866         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
56867         Silvermont.
56868         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
56869         macro.
56870         (index_Slow_SSE4_2): Likewise.
56871         (index_Prefer_PMINUB_for_stringop): Likewise.
56872         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
56873         bit_Slow_SSE4_2 is set.
56874         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
56875         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
56877 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56879         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
56880         rtld_global._dl_hwcap2.
56881         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
56882         POWER8.
56883         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
56884         POWER8 feature descriptions defined in _dl_hwcap2.
56885         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
56886         string handling for POWER8 feature bits.
56887         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
56888         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
56889         _dl_powerpc_cap_flags.
56890         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
56891         * sysdeps/powerpc/rtld-global-offsets.sym
56892         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
56893         _dl_hwcap2 in the rtld_global_ro structure.
56895 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56897         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
56898         hardware capabilities in support of AT_HWCAP2.
56899         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
56900         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
56901         GLRO(dl_hwcap2).
56902         (_dl_show_auxv): Add support for calling _dl_procinfo to display
56903         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
56904         explicitly the unknown a_type display mechanism is used.
56905         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
56906         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
56907         struct member.
56908         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
56909         to macro prototype for AT_HWCAP2 support.
56910         * sysdeps/i386/dl-procinfo.h: Likewise.
56911         * sysdeps/s390/dl-procinfo.h: Likewise.
56912         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
56913         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
56914         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
56915         return -1 for unknown a_type display fallback.
56916         * sysdeps/sparc/dl-procinfo.h: Likewise.
56917         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
56918         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
56920 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
56922         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
56923         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
56925 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
56927         [BZ #12492]
56928         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
56929         mprotect making __stack_prot writable.
56931 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
56932             Joseph Myers  <joseph@codesourcery.com>
56934         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
56935         as being properly aligned.
56937 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
56939         * dlfcn/modstatic5.c: New file.
56940         * dlfcn/tststatic5.c: New file.
56941         * dlfcn/Makefile (tests): Add tststatic5.
56942         (tests-static): Likewise.
56943         (modules-names): Add modstatic5.
56944         (tststatic5-ENV): New variable.
56945         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
56947         [BZ #15022]
56948         * elf/dl-support.c (_dl_main_map): New variable.
56949         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
56950         (_dl_nns, _dl_load_adds): Set to 1.
56951         (_dl_initial_searchlist): Refer to _dl_main_map.
56952         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
56953         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
56954         call to _dl_get_origin.
56955         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
56956         around call_map.
56957         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
56958         * dlfcn/modstatic3.c: New file.
56959         * dlfcn/tststatic3.c: New file.
56960         * dlfcn/tststatic4.c: New file.
56961         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
56962         (tests-static): Likewise.
56963         (modules-names): Add modstatic3.
56964         (tststatic3-ENV, tststatic4-ENV): New variables.
56965         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
56966         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
56968 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
56970         * configure.in (CC): Require GCC version 4.4 or later.
56971         * configure: Regenerated.
56972         * manual/install.texi (Tools for Compilation): Update GCC version
56973         requirement.
56974         * INSTALL: Regenerated.
56976 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56978         [BZ #15674]
56979         * string/test-memcmp.c (check2): New.
56980         (main): Call check2.
56982         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
56984 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
56986         [BZ #15022]
56987         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
56988         over to...
56989         (dl_open_worker) [!SHARED]: ... here.
56991 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56993         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
56995 2013-06-25  Richard Henderson  <rth@redhat.com>
56997         * locale/programs/locarchive.c: Include <libc-internal.h>
56999 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
57001         * manual/texinfo.tex: Update to version 2013-06-21.17, with
57002         trailing whitespace removed.
57004 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
57006         [BZ #10283]
57007         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
57008         * locale/programs/locarchive.c: Include libc-mmap.h.
57009         (prepare_address_space): Take two new outputs (the mmap base and len).
57010         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
57011         values.
57012         (create_archive): Declare new mmap base and len values for
57013         prepare_address_space, and store the result in ah.
57014         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
57015         (enlarge_archive): If ah->mmap_base is not NULL, use that and
57016         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
57017         Declare new mmap base and len values for
57018         prepare_address_space, and store the result in new_ah.
57019         (open_archive): Declare new mmap base and len values for
57020         prepare_address_space, and store the result in ah.
57021         (close_archive): If ah->mmap_base is not NULL, use that and
57022         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
57023         * sysdeps/generic/libc-mmap.h: New file.
57025 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
57027         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
57028         (ALIGN_UP): Likewise.
57029         (PTR_ALIGN_DOWN): Likewise.
57030         (PTR_ALIGN_UP): Likewise.
57032 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57034         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
57035         entry mapped to PPC_PLATFORM_POWER8.
57036         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
57037         POWER8.
57038         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
57039         (_dl_string_platform): Add case for exporting platform position for
57040         POWER8.
57041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
57042         search path to sysdeps/powerpc/powerpc32/power8 directory.
57043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
57044         search path to sysdeps/powerpc/powerpc64/power8 directory.
57045         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
57046         power7 directories.
57047         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
57048         power7 directories.
57050 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
57052         * INSTALL: Regenerate.
57054         * nscd/connections.c (nscd_init): Fix comment.
57056 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
57058         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
57060         [BZ #15667]
57061         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
57062         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
57064 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
57066         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
57067         DL_DST_REQ_STATIC.
57068         (DL_DST_REQ_STATIC): Remove macro.
57070 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
57072         [BZ #7006]
57073         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
57074         with a shift of 0 bits.
57076 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
57078         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
57079         $(tststatic-ENV).
57081 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57083         [BZ #15655]
57084         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
57086 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57088         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
57089         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
57090         accepts -fno-tree-loop-distribute-patterns.
57091         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
57092         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
57093         recursive call.
57094         * string/memset.c (memset): Likewise.
57095         * string/test-memmove.c (simple_memmove): Disable loop transformation
57096         to library calls.
57097         * string/test-memset.c (simple_memset): Likewise.
57098         * benchtests/bench-memmove.c (simple_memmove): Likewise.
57099         * benchtests/bench-memset.c (simple_memset): Likewise.
57100         * configure: Regenerated.
57102 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
57104         * math/test-misc.c (main): Ignore fesetround failure when failures
57105         of subsequent rounding tests would be ignored.
57107         [BZ #15654]
57108         * math/fedisblxcpt.c (fedisableexcept): Return 0.
57109         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
57110         * math/fegetenv.c (__fegetenv): Return 0.
57111         * math/fegetexcept.c (fegetexcept): Return 0.
57112         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
57113         FE_TONEAREST.
57114         * math/feholdexcpt.c (feholdexcept): Return 0.
57115         * math/fesetenv.c (__fesetenv): Return 0.
57116         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
57117         argument FE_TONEAREST.
57118         * math/feupdateenv.c (__feupdateenv): Return 0.
57119         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
57121 2013-06-18  Roland McGrath  <roland@hack.frob.com>
57123         * elf/rtld-Rules (rtld-compile-command.S): New variable.
57124         (rtld-compile-command.s, rtld-compile-command.c): New variables.
57125         ($(objpfx)rtld-%.os rules): Use them.
57127 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57129         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
57130         fields.
57132 2013-06-17  Roland McGrath  <roland@hack.frob.com>
57134         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
57135         length of target pattern, then descending length of dependency pattern.
57136         * configure.in (AWK): Require gawk 3.1.2 or newer.
57137         * manual/install.texi (Tools for Compilation): Say that we do.
57138         * configure: Regenerated.
57140         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
57141         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
57142         * scripts/sysd-rules.awk: ... this new script.
57143         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
57144         than a glob-style pattern.
57146 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
57148         * math/test-misc.c (main): Do not treat incorrectly rounded
57149         conversions as failure unless ROUNDING_TESTS passes.
57151 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
57153         [BZ #15631]
57154         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
57155         restore exception state around main square root computation, then
57156         check for inexactness explicitly.
57158         * math/libm-test.inc (fma_test_data): Add another test.
57160 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
57162         * manual/threads.texi (Non-POSIX Extensions): New document
57163         node.  Document pthread_getattr_default_np and
57164         pthread_setattr_default_np.
57166         * Versions.def (libpthread): Add GLIBC_2.18.
57167         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
57168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
57169         Likewise.
57170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
57171         Likewise.
57172         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
57173         Likewise.
57174         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
57175         Likewise.
57176         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
57177         Likewise.
57178         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
57179         Likewise.
57180         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
57181         Likewise.
57182         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
57183         Likewise.
57184         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
57185         Likewise.
57187 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57189         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57190         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
57192 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
57193             H.J. Lu  <hjl.tools@gmail.com>
57195         [BZ #15627]
57196         * sysdeps/x86_64/rtld-memset.c: Remove file.
57197         * sysdeps/x86_64/rtld-memset.S: New file.
57199 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
57201         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
57202         (test_in_one_mode): Take arguments for whether the rounding mode
57203         is supported for each floating-point type.
57204         (do_test): Pass new arguments to test_in_one_mode using
57205         ROUNDING_TESTS.
57207 2013-06-13  Roland McGrath  <roland@hack.frob.com>
57209         * posix/tst-waitid.c (do_test): Distinguish different instances of
57210         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
57211         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
57212         before entering the kernel for waitpid.
57214 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
57216         * NEWS: Fix note on clock function precision.  Text by Roland
57217         McGrath.
57219 2013-06-13  Roland McGrath  <roland@hack.frob.com>
57221         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
57222         it into place only when and if the sanity check passes.
57224 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
57226         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
57227         output for whether conversion result is exact.  Take argument
57228         indicating whether type is IBM long double.
57229         (round_for_all): Change need_exact field to ibm_ld.
57230         * stdlib/tst-strtod-round.c (struct exactness): New type.
57231         (struct test): Change bool ld_ok field to struct exactness exact.
57232         (TEST): Update all definitions for change to field.
57233         (tests): Regenerate array contents.
57234         (test_in_one_mode): Take pointer to new field instead of old ld_ok
57235         field value.  Check for IBM long double here.
57236         (do_test): Update calls to test_in_one_mode.
57238 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
57240         [BZ #12515]
57241         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
57242         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
57244 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57246         [BZ #15605]
57247         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
57248         generated by the compiler on loop optimizations.
57249         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
57250         general definitions.
57252 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
57254         * math/bug-nextafter.c: Include <math-tests.h>.
57255         (main): Only test for exceptions if EXCEPTION_TESTS is true for
57256         the relevant type.
57257         * math/bug-nexttoward.c: Include <math-tests.h>.
57258         (main): Only test for exceptions if EXCEPTION_TESTS is true for
57259         the relevant type.
57260         * math/test-misc.c: Include <math-tests.h>.
57261         (main): Only test for exceptions if EXCEPTION_TESTS is true for
57262         the relevant type.
57264 2013-06-12  Andreas Jaeger  <aj@suse.de>
57266         * po/ia.po: Update Interlingua translation from translation
57267         project.
57269 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
57271         * include/fenv.h: Include stdbool.h.
57272         (struct rm_ctx): New structure.
57273         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
57274         Define macro.
57275         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
57276         (SET_RESTORE_ROUNDF): Likewise.
57277         (SET_RESTORE_ROUNDL): Likewise.
57278         (SET_RESTORE_ROUND_NOEX): Likewise.
57279         (SET_RESTORE_ROUND_NOEXF): Likewise.
57280         (SET_RESTORE_ROUND_NOEXL): Likewise.
57281         (SET_RESTORE_ROUND_53BIT): Likewise.
57282         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
57283         (libc_feresetround_noexf_ctx): Likewise.
57284         (libc_feresetround_noexl_ctx): Likewise.
57285         (libc_feholdsetround_53bit_ctx): Likewise.
57286         (libc_feresetround_53bit_ctx): Likewise.
57287         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
57288         (libc_feholdexcept_setround_sse_ctx): New function.
57289         (libc_fesetenv_sse_ctx): Likewise.
57290         (libc_feupdateenv_sse_ctx): Likewise.
57291         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
57292         (libc_feholdexcept_setround_387_ctx): Likewise.
57293         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
57294         (libc_feholdsetround_387_prec_ctx): Likewise.
57295         (libc_feholdsetround_387_ctx): Likewise.
57296         (libc_feholdsetround_387_53bit_ctx): Likewise.
57297         (libc_feholdsetround_sse_ctx): Likewise.
57298         (libc_feresetround_sse_ctx): Likewise.
57299         (libc_feresetround_387_ctx): Likewise.
57300         (libc_feupdateenv_387_ctx): Likewise.
57301         (libc_feholdexcept_setroundf_ctx): Define macro.
57302         (libc_fesetenvf_ctx): Likewise.
57303         (libc_feupdateenvf_ctx): Likewise.
57304         (libc_feholdsetroundf_ctx): Likewise.
57305         (libc_feresetroundf_ctx): Likewise.
57306         (libc_feholdexcept_setround_ctx): Likewise.
57307         (libc_fesetenv_ctx): Likewise.
57308         (libc_feupdateenv_ctx): Likewise.
57309         (libc_feholdsetround_ctx): Likewise.
57310         (libc_feresetround_ctx): Likewise.
57311         (libc_feholdexcept_setroundl_ctx): Likewise.
57312         (libc_feupdateenvl_ctx): Likewise.
57313         (libc_feholdsetroundl_ctx): Likewise.
57314         (libc_feresetroundl_ctx): Likewise.
57315         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
57316         (libc_feresetround_53bit_ctx): Likewise.
57318 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57320         * locale/iso-639.def: Convert to UTF-8.
57322 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
57324         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
57325         (EXCEPTION_TESTS_double): Likewise.
57326         (EXCEPTION_TESTS_long_double): Likewise.
57327         (EXCEPTION_TESTS): Likewise.
57328         * math/libm-test.inc (test_exceptions): Only test exceptions if
57329         EXCEPTION_TESTS (FLOAT).
57331 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57333         * benchtests/Makefile (string-bench): Add strcpy_chk and
57334         stpcpy_chk.
57335         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
57336         * benchtests/bench-stpcpy_chk.c: New file.
57337         * benchtests/bench-strcpy_chk-ifunc.c: New file.
57338         * benchtests/bench-strcpy_chk.c: New file.
57339         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
57340         code.
57341         (do_test): Likewise.
57343 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57345         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
57346         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
57347         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
57348         with tabs where appropriate.
57349         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
57350         dl-procinfo.h.
57351         [PPC_PLATFORM_PPC440]: Likewise.
57352         [PPC_PLATFORM_PPC464]: Likewise.
57353         [PPC_PLATFORM_PPC476]: Likewise.
57354         (_dl_string_platform): Add support for detecting ppc405, ppc440,
57355         ppc464, and ppc476 platform strings merging from ports/
57356         dl-procinfo.h.
57358 2013-06-11  Andreas Schwab  <schwab@suse.de>
57360         [BZ #14991]
57361         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
57362         (from_ucs4_idx): Regenerate.
57363         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
57364         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
57365         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
57366         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
57367         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
57368         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
57369         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
57370         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
57371         from FROM_LOOP and TO_LOOP specific macros.
57372         (BODY): Handle combining characters.
57373         * iconvdata/BIG5HKSCS.irreversible: Update.
57374         * iconvdata/BIG5HKSCS.precomposed: New file.
57375         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
57376         characters.
57377         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
57379 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57381         * include/sys/time.h: Fix indentation and add copyright header.
57383         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
57384         (do_test): Likewise.
57385         * string/test-memchr.c (do_one_test): Likewise.
57386         (do_test): Likewise.
57387         * string/test-memcmp.c (do_one_test): Likewise.
57388         (do_test): Likewise.
57389         * string/test-memcpy.c (do_one_test): Likewise.
57390         (do_test): Likewise.
57391         * string/test-memmem.c (do_one_test): Likewise.
57392         (do_test): Likewise.
57393         (do_random_tests): Likewise.
57394         * string/test-memmove.c (do_one_test): Likewise.
57395         (do_test): Likewise.
57396         * string/test-memset.c (do_one_test): Likewise.
57397         (do_test): Likewise.
57398         * string/test-rawmemchr.c (do_one_test): Likewise.
57399         (do_test): Likewise.
57400         * string/test-strcasecmp.c (do_one_test): Likewise.
57401         (do_test): Likewise.
57402         * string/test-strcasestr.c (do_one_test): Likewise.
57403         (do_test): Likewise.
57404         * string/test-strcat.c (do_one_test): Likewise.
57405         (do_test): Likewise.
57406         * string/test-strchr.c (do_one_test): Likewise.
57407         (do_test): Likewise.
57408         * string/test-strcmp.c (do_one_test): Likewise.
57409         (do_test): Likewise.
57410         * string/test-strcpy.c (do_one_test): Likewise.
57411         (do_test): Likewise.
57412         * string/test-string.h: Likewise.
57413         (test_init): Likewise.
57414         * string/test-strlen.c (do_one_test): Likewise.
57415         (do_test): Likewise.
57416         * string/test-strncasecmp.c (do_one_test): Likewise.
57417         (do_test): Likewise.
57418         * string/test-strncat.c (do_one_test): Likewise.
57419         (do_test): Likewise.
57420         * string/test-strncmp.c (do_one_test): Likewise.
57421         (do_test_limit): Likewise.
57422         (do_test): Likewise.
57423         * string/test-strncpy.c (do_one_test): Likewise.
57424         (do_test): Likewise.
57425         * string/test-strnlen.c (do_one_test): Likewise.
57426         (do_test): Likewise.
57427         * string/test-strpbrk.c (do_one_test): Likewise.
57428         (do_test): Likewise.
57429         * string/test-strrchr.c (do_one_test): Likewise.
57430         (do_test): Likewise.
57431         * string/test-strspn.c (do_one_test): Likewise.
57432         (do_test): Likewise.
57433         * string/test-strstr.c (do_one_test): Likewise.
57434         (do_test): Likewise.
57436         * benchtests/Makefile (string-bench): Add string benchmarks.
57437         * benchtests/bench-bcopy-ifunc.c: New file.
57438         * benchtests/bench-bcopy.c: New file.
57439         * benchtests/bench-bzero-ifunc.c: New file.
57440         * benchtests/bench-bzero.c: New file.
57441         * benchtests/bench-memccpy-ifunc.c: New file.
57442         * benchtests/bench-memccpy.c: New file.
57443         * benchtests/bench-memchr-ifunc.c: New file.
57444         * benchtests/bench-memchr.c: New file.
57445         * benchtests/bench-memcmp-ifunc.c: New file.
57446         * benchtests/bench-memcmp.c: New file.
57447         * benchtests/bench-memmem-ifunc.c: New file.
57448         * benchtests/bench-memmem.c: New file.
57449         * benchtests/bench-memmove-ifunc.c: New file.
57450         * benchtests/bench-memmove.c: New file.
57451         * benchtests/bench-mempcpy-ifunc.c: New file.
57452         * benchtests/bench-mempcpy.c: New file.
57453         * benchtests/bench-memset-ifunc.c: New file.
57454         * benchtests/bench-memset.c: New file.
57455         * benchtests/bench-rawmemchr-ifunc.c: New file.
57456         * benchtests/bench-rawmemchr.c: New file.
57457         * benchtests/bench-stpcpy-ifunc.c: New file.
57458         * benchtests/bench-stpcpy.c: New file.
57459         * benchtests/bench-stpncpy-ifunc.c: New file.
57460         * benchtests/bench-stpncpy.c: New file.
57461         * benchtests/bench-strcasecmp-ifunc.c: New file.
57462         * benchtests/bench-strcasecmp.c: New file.
57463         * benchtests/bench-strcasestr-ifunc.c: New file.
57464         * benchtests/bench-strcasestr.c: New file.
57465         * benchtests/bench-strcat-ifunc.c: New file.
57466         * benchtests/bench-strcat.c: New file.
57467         * benchtests/bench-strchr-ifunc.c: New file.
57468         * benchtests/bench-strchr.c: New file.
57469         * benchtests/bench-strchrnul-ifunc.c: New file.
57470         * benchtests/bench-strchrnul.c: New file.
57471         * benchtests/bench-strcmp-ifunc.c: New file.
57472         * benchtests/bench-strcmp.c: New file.
57473         * benchtests/bench-strcpy-ifunc.c: New file.
57474         * benchtests/bench-strcpy.c: New file.
57475         * benchtests/bench-strcspn-ifunc.c: New file.
57476         * benchtests/bench-strcspn.c: New file.
57477         * benchtests/bench-strlen-ifunc.c: New file.
57478         * benchtests/bench-strlen.c: New file.
57479         * benchtests/bench-strncasecmp-ifunc.c: New file.
57480         * benchtests/bench-strncasecmp.c: New file.
57481         * benchtests/bench-strncat-ifunc.c: New file.
57482         * benchtests/bench-strncat.c: New file.
57483         * benchtests/bench-strncmp-ifunc.c: New file.
57484         * benchtests/bench-strncmp.c: New file.
57485         * benchtests/bench-strncpy-ifunc.c: New file.
57486         * benchtests/bench-strncpy.c: New file.
57487         * benchtests/bench-strnlen-ifunc.c: New file.
57488         * benchtests/bench-strnlen.c: New file.
57489         * benchtests/bench-strpbrk-ifunc.c: New file.
57490         * benchtests/bench-strpbrk.c: New file.
57491         * benchtests/bench-strrchr-ifunc.c: New file.
57492         * benchtests/bench-strrchr.c: New file.
57493         * benchtests/bench-strspn-ifunc.c: New file.
57494         * benchtests/bench-strspn.c: New file.
57495         * benchtests/bench-strstr-ifunc.c: New file.
57496         * benchtests/bench-strstr.c: New file.
57498         * benchtests/Makefile: Disable parallel execution of targets.
57499         (string-bench): Add memcpy.
57500         (benchset): New variable to store a list of benchmark sets.
57501         (bench-func): Renamed from bench.
57502         (bench-set): New target.
57503         (bench): Depend on bench-func and bench-set.
57504         * benchtests/README: Add section on benchmark sets.
57505         * benchtests/bench-memcpy-ifunc.c: New file.
57506         * benchtests/bench-memcpy.c: New file.
57507         * benchtests/bench-string.h: New file.
57509 2013-06-11  Andreas Schwab  <schwab@suse.de>
57511         [BZ #15577]
57512         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
57513         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
57514         values in the triple.
57515         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
57516         terminator in the group key.
57518 2013-06-11  Andreas Jaeger  <aj@suse.de>
57520         * po/zh_TW.po: Update Chinese (traditional) translation from
57521         translation project.
57523 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57525         * include/time.h (__clock_gettime): Add libc_hidden_proto.
57526         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
57527         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
57528         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
57529         (clock_getcpuclockid): Likewise.
57530         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
57531         Add weak_alias and libc_hidden_def.
57532         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
57533         * rt/clock_gettime.c (clock_gettime): Rename to
57534         __clock_gettime.  Add weak_alias and libc_hidden_def.
57535         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
57536         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
57537         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
57538         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
57539         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
57540         Likewise.
57541         * rt/clock_settime.c (clock_settime): Rename to
57542         __clock_settime.  Add weak_alias and libc_hidden_def.
57543         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
57545 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
57547         * mach/err_boot.sub: Remove trailing whitespace.
57548         * mach/err_ipc.sub: Likewise.
57549         * mach/err_mach.sub: Likewise.
57551         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
57552         (ROUNDING_TESTS_double): Likewise.
57553         (ROUNDING_TESTS_long_double): Likewise.
57554         (ROUNDING_TESTS): Likewise.
57555         * math/libm-test.inc: Include <math-tests.h>.
57556         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
57557         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
57558         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
57559         (IF_ROUND_INIT_FE_UPWARD): Likewise.
57561 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57563         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
57564         of assigning.
57566 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
57568         * sysdeps/gnu/errlist.awk: Do not generate space at end of
57569         otherwise empty TRANS lines.
57570         * sysdeps/gnu/errlist.c: Regenerated.
57572         * catgets/gencat.c (error_print): Use (void) in function
57573         definition.
57574         * crypt/crypt_util.c (__init_des): Likewise.
57575         * crypt/speeds.c (Stop): Likewise.
57576         (main): Likewise.
57577         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
57578         * inet/ruserpass.c (token): Likewise.
57579         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
57580         * intl/localealias.c (extend_alias_table): Likewise.
57581         * intl/plural-exp.c (init_germanic_plural): Likewise.
57582         * libio/fcloseall.c (__fcloseall): Likewise.
57583         * libio/genops.c (_IO_flush_all): Likewise.
57584         (_IO_flush_all_linebuffered): Likewise.
57585         (_IO_cleanup): Likewise.
57586         (_IO_iter_begin): Likewise.
57587         (_IO_iter_end): Likewise.
57588         (_IO_list_lock): Likewise.
57589         (_IO_list_unlock): Likewise.
57590         (_IO_list_resetlock): Likewise.
57591         * libio/getchar.c (getchar): Likewise.
57592         * libio/getchar_u.c (getchar_unlocked): Likewise.
57593         * libio/getwchar.c (getwchar): Likewise.
57594         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
57595         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
57596         * login/getpt.c (__getpt): Likewise.
57597         * login/tst-utmp.c (main): Likewise.
57598         * malloc/hooks.c (__malloc_check_init): Likewise.
57599         * malloc/malloc.c (__malloc_stats): Likewise.
57600         * malloc/mtrace.c (tr_break): Likewise.
57601         (mtrace): Likewise.
57602         (muntrace): Likewise.
57603         * misc/fstab.c (endfsent): Likewise.
57604         * misc/getclktck.c (__getclktck): Likewise.
57605         * misc/getdtsz.c (__getdtablesize): Likewise.
57606         * misc/gethostid.c (gethostid): Likewise.
57607         * misc/getpagesize.c (__getpagesize): Likewise.
57608         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
57609         (__get_nprocs): Likewise.
57610         (__get_phys_pages): Likewise.
57611         (__get_avphys_pages): Likewise.
57612         * misc/getttyent.c (getttyent): Likewise.
57613         (setttyent): Likewise.
57614         (endttyent): Likewise.
57615         * misc/getusershell.c (getusershell): Likewise.
57616         (endusershell): Likewise.
57617         (setusershell): Likewise.
57618         (initshells): Likewise.
57619         * misc/hsearch.c (__hdestroy): Likewise.
57620         * misc/sync.c (sync): Likewise.
57621         * misc/syslog.c (closelog_internal): Likewise.
57622         (closelog): Likewise.
57623         * misc/ttyslot.c (ttyslot): Likewise.
57624         * misc/vhangup.c (vhangup): Likewise.
57625         * posix/fork.c (__fork): Likewise.
57626         * posix/getegid.c (__getegid): Likewise.
57627         * posix/geteuid.c (__geteuid): Likewise.
57628         * posix/getgid.c (__getgid): Likewise.
57629         * posix/getpid.c (__getpid): Likewise.
57630         * posix/getppid.c (__getppid): Likewise.
57631         * posix/getuid.c (__getuid): Likewise.
57632         * posix/pause.c (pause): Likewise.
57633         * posix/setpgrp.c (setpgrp): Likewise.
57634         * posix/setsid.c (__setsid): Likewise.
57635         * posix/test-vfork.c (noop): Likewise.
57636         * resolv/gethnamaddr.c (_endhtent): Likewise.
57637         (_gethtent): Likewise.
57638         (ht_endhostent): Likewise.
57639         (gethostent): Likewise.
57640         (dns_service): Likewise.
57641         * stdlib/drand48.c (drand48): Likewise.
57642         * stdlib/lrand48.c (lrand48): Likewise.
57643         * stdlib/mrand48.c (mrand48): Likewise.
57644         * stdlib/rand.c (rand): Likewise.
57645         * stdlib/random.c (__random): Likewise.
57646         * stdlib/setenv.c (clearenv): Likewise.
57647         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
57648         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
57649         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
57650         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
57651         (__get_nprocs): Likewise.
57652         (__get_phys_pages): Likewise.
57653         (__get_avphys_pages): Likewise.
57654         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
57655         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
57656         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
57657         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
57658         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
57659         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
57660         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
57661         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
57662         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
57663         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
57664         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
57665         * sysdeps/mach/hurd/sync.c (sync): Likewise.
57666         * sysdeps/posix/clock.c (clock): Likewise.
57667         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
57668         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
57669         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
57670         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
57671         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
57672         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
57673         (__get_nprocs_conf): Likewise.
57674         (__get_phys_pages): Likewise.
57675         (__get_avphys_pages): Likewise.
57676         * time/clock.c (clock): Likewise.
57677         * time/tzset.c (__tzname_max): Likewise.
57679 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
57681         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
57682         (__bswap_32): Do not use "register".
57683         * crypt/crypt.c (_ufc_doit_r): Likewise.
57684         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
57685         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
57686         * gmon/gmon.c (__monstartup): Likewise.
57687         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
57688         * hurd/hurdmalloc.c (more_memory): Likewise.
57689         (malloc): Likewise.
57690         (free): Likewise.
57691         (realloc): Likewise.
57692         (malloc_fork_prepare): Likewise.
57693         (malloc_fork_parent): Likewise.
57694         (malloc_fork_child): Likewise.
57695         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
57696         (_svcauth_des): Likewise.
57697         * inet/inet_lnaof.c (inet_lnaof): Likewise.
57698         * inet/inet_net.c (inet_network): Likewise.
57699         * inet/inet_netof.c (inet_netof): Likewise.
57700         * inet/rcmd.c (__validuser2_sa): Likewise.
57701         * io/fts.c (fts_open): Likewise.
57702         (fts_load): Likewise.
57703         (fts_close): Likewise.
57704         (fts_read): Likewise.
57705         (fts_children): Likewise.
57706         (fts_build): Likewise.
57707         (fts_stat): Likewise.
57708         (fts_sort): Likewise.
57709         (fts_alloc): Likewise.
57710         (fts_lfree): Likewise.
57711         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
57712         (_IO_file_xsgetn): Likewise.
57713         (_IO_file_xsgetn_mmap): Likewise.
57714         * libio/iofopncook.c (_IO_cookie_read): Likewise.
57715         (_IO_cookie_write): Likewise.
57716         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
57717         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
57718         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
57719         * malloc/obstack.c (_obstack_begin): Likewise.
57720         (_obstack_begin_1): Likewise.
57721         (_obstack_newchunk): Likewise.
57722         (_obstack_allocated_p): Likewise.
57723         (obstack_free): Likewise.
57724         (_obstack_memory_used): Likewise.
57725         * misc/getttyent.c (getttynam): Likewise.
57726         (getttyent): Likewise.
57727         (skip): Likewise.
57728         (value): Likewise.
57729         * misc/getusershell.c (initshells): Likewise.
57730         * misc/syslog.c (__vsyslog_chk): Likewise.
57731         * misc/ttyslot.c (ttyslot): Likewise.
57732         * nis/nis_hash.c (__nis_hash): Likewise.
57733         * posix/fnmatch_loop.c (FCT): Likewise.
57734         * posix/getconf.c (print_all): Likewise.
57735         (main): Likewise.
57736         * posix/getopt.c (exchange): Likewise.
57737         * posix/glob.c (globfree): Likewise.
57738         (prefix_array): Likewise.
57739         (__glob_pattern_type): Likewise.
57740         * resolv/arpa/nameser.h (NS_GET16): Likewise.
57741         (NS_GET32): Likewise.
57742         (NS_PUT16): Likewise.
57743         (NS_PUT32): Likewise.
57744         * resolv/gethnamaddr.c (getanswer): Likewise.
57745         (gethostbyname2): Likewise.
57746         (gethostbyaddr): Likewise.
57747         (_gethtent): Likewise.
57748         (_gethtbyname2): Likewise.
57749         (_gethtbyaddr): Likewise.
57750         * resolv/ns_print.c (dst_s_get_int16): Likewise.
57751         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
57752         * resolv/res_init.c (__res_vinit): Likewise.
57753         (net_mask): Likewise.
57754         * resolv/res_mkquery.c (outchar): Likewise.
57755         (PRINT): Likewise.
57756         * stdio-common/printf_fp.c (outchar): Likewise.
57757         (PRINT): Likewise.
57758         * stdio-common/printf_fphex.c (outchar): Likewise.
57759         (PRINT): Likewise.
57760         * stdio-common/printf_size.c (outchar): Likewise.
57761         (PRINT): Likewise.
57762         * stdio-common/test_rdwr.c (main): Likewise.
57763         * stdio-common/tfformat.c (matches): Likewise.
57764         * stdio-common/vfprintf.c (outchar): Likewise.
57765         (printf_unknown): Likewise.
57766         (buffered_vfprintf): Likewise.
57767         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
57768         * stdio-common/xbug.c (AppendToBuffer): Likewise.
57769         (ReadFile): Likewise.
57770         * stdlib/qsort.c (SWAP): Likewise.
57771         (_quicksort): Likewise.
57772         * stdlib/setenv.c (__add_to_environ): Likewise.
57773         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
57774         * stdlib/strtol_l.c (__strtol_l): Likewise.
57775         * stdlib/tst-strtod.c (main): Likewise.
57776         * stdlib/tst-strtol.c (main): Likewise.
57777         * stdlib/tst-strtoll.c (main): Likewise.
57778         * string/bits/string2.h (__strcmp_cc): Likewise.
57779         (__strcmp_cg): Likewise.
57780         (__strcspn_c1): Likewise.
57781         (__strcspn_c2): Likewise.
57782         (__strcspn_c3): Likewise.
57783         (__strspn_c1): Likewise.
57784         (__strspn_c2): Likewise.
57785         (__strspn_c3): Likewise.
57786         (__strsep_1c): Likewise.
57787         (__strsep_2c): Likewise.
57788         (__strsep_3c): Likewise.
57789         * string/memccpy.c (__memccpy): Likewise.
57790         * string/stpcpy.c (__stpcpy): Likewise.
57791         * string/strcmp.c (strcmp): Likewise.
57792         * string/strrchr.c (strrchr): Likewise.
57793         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
57794         Likewise.
57795         * sysdeps/mach/hurd/getcwd.c
57796         (_hurd_canonicalize_directory_name_internal): Likewise.
57797         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
57798         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
57799         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
57800         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
57801         Likewise, in both definitions.
57802         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
57803         definitions.
57804         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
57805         64] (__bswap_64): Likewise.
57806         * time/test_time.c (main): Likewise.
57807         * time/tzfile.c (__tzfile_read): Likewise.
57808         (__tzfile_compute): Likewise.
57809         * time/tzset.c (__tzset_parse_tz): Likewise.
57810         (tzset_internal): Likewise.
57811         (compute_change): Likewise.
57812         * wcsmbs/wcscat.c (__wcscat): Likewise.
57813         * wcsmbs/wcschr.c (wcschr): Likewise.
57814         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
57815         * wcsmbs/wcscspn.c (wcscspn): Likewise.
57816         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
57817         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
57818         * wcsmbs/wcsspn.c (wcsspn): Likewise.
57819         * wcsmbs/wcsstr.c (wcsstr): Likewise.
57820         * wcsmbs/wmemchr.c (wmemchr): Likewise.
57821         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
57822         * wcsmbs/wmemset.c (wmemset): Likewise.
57824 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
57826         * scripts/config.guess: Update to version 2013-05-16.
57827         * scripts/config.sub: Update to version 2013-04-24.
57828         * scripts/install-sh: Update to version 2011-11-20.07.
57829         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
57830         * scripts/move-if-change: Update to version 2012-01-06 07:23.
57832 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
57834         * debug/fgetws_u_chk.c: Fix leading whitespaces.
57835         * elf/sln.c: Likewise.
57836         * hurd/hurd/ioctl.h: Likewise.
57837         * hurd/hurdmalloc.c: Likewise.
57838         * hurd/xattr.c: Likewise.
57839         * include/shlib-compat.h: Likewise.
57840         * inet/ruserpass.c: Likewise.
57841         * libio/iofgets_u.c: Likewise.
57842         * libio/iofgetws_u.c: Likewise.
57843         * locale/programs/ld-identification.c: Likewise.
57844         * locale/programs/ld-time.c: Likewise.
57845         * mach/msg-destroy.c: Likewise.
57846         * nss/nss_files/files-netgrp.c: Likewise.
57847         * resolv/res_data.c: Likewise.
57848         * soft-fp/op-1.h: Likewise.
57849         * soft-fp/op-2.h: Likewise.
57850         * soft-fp/op-4.h: Likewise.
57851         * soft-fp/op-common.h: Likewise.
57852         * stdio-common/printf_fphex.c: Likewise.
57853         * stdlib/strtod_l.c: Likewise.
57854         * sunrpc/rpc/clnt.h: Likewise.
57855         * sysdeps/generic/framestate.c: Likewise.
57856         * sysdeps/i386/bsd-_setjmp.S: Likewise.
57857         * sysdeps/i386/bsd-setjmp.S: Likewise.
57858         * sysdeps/i386/__longjmp.S: Likewise.
57859         * sysdeps/i386/setjmp.S: Likewise.
57860         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
57861         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
57862         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
57863         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
57864         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57865         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
57866         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
57867         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
57868         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
57869         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
57870         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
57871         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
57872         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
57873         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
57874         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
57875         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
57876         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
57877         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
57878         * sysdeps/ieee754/support.c: Likewise.
57879         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
57880         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
57881         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
57882         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
57883         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
57884         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
57885         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
57886         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
57887         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
57888         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
57889         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
57890         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
57891         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
57892         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
57893         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
57894         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
57895         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
57896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
57898 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
57900         * posix/transbug.c: Remove executable mode.
57902 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
57904         * crypt/speeds.c: Remove trailing whitespace.
57905         * dlfcn/default.c: Likewise.
57906         * elf/ifuncdep2.c: Likewise.
57907         * elf/ifuncmain1.c: Likewise.
57908         * elf/ifuncmain1vis.c: Likewise.
57909         * elf/testobj.h: Likewise.
57910         * elf/tst-stackguard1.c: Likewise.
57911         * gmon/sys/gmon.h: Likewise.
57912         * hurd/hurdmsg.c: Likewise.
57913         * hurd/new-fd.c: Likewise.
57914         * hurd/ports-get.c: Likewise.
57915         * iconvdata/ibm1008_420.c: Likewise.
57916         * inet/tst-getni1.c: Likewise.
57917         * inet/tst-getni2.c: Likewise.
57918         * libio/ioungetc.c: Likewise.
57919         * libio/wfiledoalloc.c: Likewise.
57920         * manual/libm-err-tab.pl: Likewise.
57921         * math/w_dremf.c: Likewise.
57922         * misc/ftruncate.c: Likewise.
57923         * posix/bug-glob2.c: Likewise.
57924         * posix/tst-pcre.c: Likewise.
57925         * posix/wait4.c: Likewise.
57926         * resolv/README: Likewise.
57927         * resolv/res_debug.h: Likewise.
57928         * resolv/tst-inet_ntop.c: Likewise.
57929         * setjmp/bug269-setjmp.c: Likewise.
57930         * soft-fp/extended.h: Likewise.
57931         * soft-fp/op-1.h: Likewise.
57932         * soft-fp/op-2.h: Likewise.
57933         * soft-fp/op-4.h: Likewise.
57934         * soft-fp/op-8.h: Likewise.
57935         * soft-fp/testit.c: Likewise.
57936         * stdio-common/bug16.c: Likewise.
57937         * stdlib/random.c: Likewise.
57938         * sunrpc/rpcsvc/rquota.x: Likewise.
57939         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
57940         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
57941         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
57942         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
57943         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
57944         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
57945         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
57946         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
57947         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
57948         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
57949         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
57950         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
57951         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
57952         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
57953         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
57954         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
57955         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
57956         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
57957         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
57958         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
57959         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
57960         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
57961         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
57962         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
57963         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
57964         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
57965         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
57966         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
57967         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
57968         * sysdeps/ieee754/s_lib_version.c: Likewise.
57969         * sysdeps/mach/hurd/check_fds.c: Likewise.
57970         * sysdeps/mach/hurd/getsockname.c: Likewise.
57971         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
57972         * sysdeps/mach/hurd/recvfrom.c: Likewise.
57973         * sysdeps/powerpc/bits/link.h: Likewise.
57974         * sysdeps/powerpc/dl-procinfo.c: Likewise.
57975         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
57976         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
57977         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
57978         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
57979         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
57980         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
57981         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
57982         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
57983         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
57984         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
57985         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
57986         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
57987         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
57988         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
57989         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
57990         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
57991         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
57992         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
57993         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57994         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57995         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
57996         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
57997         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
57998         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
57999         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
58000         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
58001         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
58002         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
58003         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
58004         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
58005         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
58006         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
58007         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
58008         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
58009         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
58010         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
58011         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
58012         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
58013         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
58014         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
58015         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
58016         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
58017         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
58018         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
58019         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
58020         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
58021         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
58022         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
58023         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
58024         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
58025         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
58026         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
58027         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
58028         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
58029         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
58030         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
58031         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
58032         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
58033         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
58034         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
58035         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
58036         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
58037         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
58038         * sysdeps/powerpc/sysdep.h: Likewise.
58039         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
58040         * sysdeps/s390/s390-64/sub_n.S: Likewise.
58041         * sysdeps/sh/dl-trampoline.S: Likewise.
58042         * sysdeps/sh/memset.S: Likewise.
58043         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
58044         * sysdeps/sh/strlen.S: Likewise.
58045         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
58046         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
58047         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
58048         * sysdeps/sparc/sparc32/rem.S: Likewise.
58049         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
58050         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
58051         * sysdeps/sparc/sparc32/strchr.S: Likewise.
58052         * sysdeps/sparc/sparc32/udiv.S: Likewise.
58053         * sysdeps/sparc/sparc32/urem.S: Likewise.
58054         * sysdeps/sparc/sparc64/add_n.S: Likewise.
58055         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
58056         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
58057         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
58058         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
58059         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
58060         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
58061         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
58062         * sysdeps/unix/bsd/times.c: Likewise.
58063         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
58064         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
58065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
58066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
58067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
58068         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
58069         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
58070         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
58071         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
58072         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
58073         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
58074         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
58075         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
58076         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
58077         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
58078         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
58079         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
58080         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
58081         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
58082         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
58083         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
58084         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
58085         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
58086         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
58087         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
58088         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
58089         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
58090         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
58091         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
58092         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
58093         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
58094         * sysdeps/x86_64/strcspn.S: Likewise.
58096 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58098         * locale/C-translit.h: Revert #include <stdint.h> because this is a
58099         generated file.  Regenerate properly from gen-translit.pl.
58100         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
58101         locale/C-translit.h.
58103 2013-06-05  Andreas Schwab  <schwab@suse.de>
58105         [BZ #15100]
58106         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
58107         week as 6 instead of -1.
58108         * time/tst-strptime.c (day_tests): Add test case.
58110 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58112         * sysdeps/generic/math_private.h
58113         (libc_feholdexcept_setround_53bit): Replace with
58114         libc_feholdsetround_53bit.
58115         (libc_feupdateenv_53bit): Replace with
58116         libc_feresetround_53bit.
58117         (SET_RESTORE_ROUND_53BIT): Adjust.
58119 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
58121         * string/test-strchrnul.c: Add copyright header.
58123         * posix/tst-getaddrinfo4.c: Increase test timeout.
58125 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
58127         [BZ #15536]
58128         * math/libm-test.inc (MAX_EXP): Remove
58129         (MIN_EXP): Define.
58130         (ulp): Use MIN_EXP - MANT_DIG.
58131         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
58133 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
58135         * po/be.po: Revert last change.
58136         * po/zh_CN.po: Likewise.
58137         * po/header.pot: Likewise.
58139 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
58141         * Makefile ($(common-objpfx)linkobj/libc.so): Define
58142         link-libc-deps to empty as target-specific variable.
58143         * Makerules (link-libc-args): New variable.
58144         (libc-for-link): Likewise.
58145         (link-libc-deps): Likewise.
58146         (lib%.so): Depend on $(link-libc-deps).  Link with
58147         $(link-libc-args).
58148         (build-module): Link with $(link-libc-args).
58149         (build-module-asneeded): Likewise.
58150         (build-module-helper-objlist): Filter out $(link-libc-deps) from
58151         list of objects.
58152         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
58153         target-specific variable.
58154         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
58155         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
58156         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
58157         libc.
58158         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
58159         libc and ld.so.
58160         ($(objpfx)libpcprofile.so): Likewise.
58161         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
58162         libc_nonshared.a.
58163         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
58164         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
58165         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
58166         $(link-libc-deps).
58167         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
58168         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
58169         * login/Makefile ($(objpfx)libutil.so): Likewise.
58170         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
58171         * math/Makefile ($(objpfx)libm.so): Likewise.
58172         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
58173         $(objpfx)libnsl.so): Define libc-for-link as target-specific
58174         variable instead of depending directly on libc.
58175         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
58176         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
58177         $(link-libc-deps).
58178         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
58179         libc.
58180         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
58181         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
58182         ($(objpfx)libanl.so): Likewise.
58183         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
58184         ld.so.
58185         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
58186         $(link-libc-deps).
58187         * sysdeps/i386/fpu/Makefile: Remove file.
58188         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
58189         ($(objpfx)libm.so): Remove dependency on ld.so.
58191 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
58193         [BZ # 15553]
58194         * nis/yp_xdr.c (XDRMAXNAME): Define.
58195         (XDRMAXRECORD): Define.
58196         (xdr_domainname): Use XDRMAXNAME.
58197         (xdr_mapname): Likewise.
58198         (xdr_peername): Likewise.
58199         (xdr_keydat): Use XDRMAXRECORD.
58200         (xdr_valdat): Likewise.
58202 2013-05-30  Jeff Law  <law@redhat.com>
58204         [BZ #14256]
58205         * manual/errno.texi (ESTALE): Update to account for more than
58206         just NFS file systems.
58207         * sysdeps/gnu/errlist.c: Regenerated.
58209 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
58211         [BZ #15465]
58212         * elf/Makefile (tests): Add tst-null-argv.
58213         (modules-names):  Add tst-null-argv-lib.
58214         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
58215         (tst-null-argv-ENV): Set environment for tst-null-argv.
58216         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
58217         (RTLD_PROGNAME): New macro.
58218         * elf/tst-null-argv.c: New test case.
58219         * elf/tst-null-argv-lib.c: Library for test case.
58220         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
58221         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
58222         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
58223         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
58224         * elf/dl-init.c (call_init): Likewise.
58225         (_dl_init): Likewise.
58226         * elf/dl-load.c (print_search_path): Likewise.
58227         (_dl_map_object): Likewise.
58228         * elf/dl-lookup.c (do_lookup_x): Likewise.
58229         (add_dependency): Likewise.
58230         (_dl_lookup_symbol_x): Likewise.
58231         (_dl_debug_bindings): Likewise.
58232         * elf/dl-open.c (_dl_show_scope): Likewise.
58233         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
58234         * elf/dl-version.c (match_symbol): Likewise.
58235         (_dl_check_map_versions): Likewise.
58236         * elf/rtld.c (dl_main): Likewise.
58237         (print_unresolved): Use RTLD_PROGNAME.
58238         (print_missing_version): Likewise.
58239         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
58240         (elf_machine_rela): Likewise.
58241         * sysdeps/powerpc/powerpc32/dl-machine.c
58242         (__process_machine_rela): Likewise.
58243         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58244         Likewise.
58245         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
58246         Likewise.
58247         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
58248         Likewise.
58249         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
58250         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
58251         Likewise.
58252         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
58253         Likewise.
58254         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
58256 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
58258         * po/be.po: Add descriptive title.
58259         * po/zh_CN.po: Likewise.
58260         * po/header.pot: Likewise.
58262 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
58264         * locale/programs/locarchive.c (create_archive): Inlucde fname in
58265         error message.
58266         (enlarge_archive): Likewise.
58268 2013-05-28  Ben North  <ben@redfrontdoor.org>
58270         * manual/arith.texi (frexp): It is the magnitude of the return
58271         value which lies in [0.5, 1), not the return value itself.
58273 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58275         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58277 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
58279         * stdio-common/bug26.c (main): Correct fscanf template.
58281         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
58282         declare _dl_skip_args.
58284         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
58285         Don't declare.
58287         * manual/platform.texi: Add missing @end deftypefun.
58289 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
58291         [BZ #15529]
58292         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
58293         bit of mantissa of 2^16382.
58294         * math/libm-test.inc (hypot_test_data): Add more tests.
58296         * math/libm-test.inc: Add drem and pow10 to list of tested
58297         functions.
58298         (pow10_test): New function.
58299         (drem_test): Likewise.
58300         (drem_test_tonearest): Likewise.
58301         (drem_test_towardzero): Likewise.
58302         (drem_test_downward): Likewise.
58303         (drem_test_upward): Likewise.
58304         (main): Call the new functions.
58306         * math/libm-test.inc (finite_test_data): Remove.
58307         (finite_test): Run tests from isfinite_test_data.
58308         (gamma_test_data): Remove.
58309         (gamma_test): Run tests from lgamma_test_data.
58310         * sysdeps/i386/fpu/libm-test-ulps: Update.
58311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58313 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58315         * manual/platform.texi: Add PowerPC PPR function set documentation.
58316         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
58317         implementation.
58319 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
58321         * math/libm-test.inc (MAX_EXP): Define.
58322         (ULPDIFF): Define.
58323         (ulp): New function.
58324         (check_float_internal): Use ULPDIFF.
58325         (cpow_test): Disable failing test.
58326         (check_ulp): Test ulp() implementation.
58327         (main): Call check_ulp before starting tests.
58329 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
58331         * math/gen-libm-test.pl (generate_testfile): Do not handle
58332         START_DATA and END_DATA.
58333         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
58334         END_DATA.
58335         (acos_tonearest_test_data): Likewise.
58336         (acos_towardzero_test_data): Likewise.
58337         (acos_downward_test_data): Likewise.
58338         (acos_upward_test_data): Likewise.
58339         (acosh_test_data): Likewise.
58340         (asin_test_data): Likewise.
58341         (asin_tonearest_test_data): Likewise.
58342         (asin_towardzero_test_data): Likewise.
58343         (asin_downward_test_data): Likewise.
58344         (asin_upward_test_data): Likewise.
58345         (asinh_test_data): Likewise.
58346         (atan_test_data): Likewise.
58347         (atanh_test_data): Likewise.
58348         (atan2_test_data): Likewise.
58349         (cabs_test_data): Likewise.
58350         (cacos_test_data): Likewise.
58351         (cacosh_test_data): Likewise.
58352         (carg_test_data): Likewise.
58353         (casin_test_data): Likewise.
58354         (casinh_test_data): Likewise.
58355         (catan_test_data): Likewise.
58356         (catanh_test_data): Likewise.
58357         (cbrt_test_data): Likewise.
58358         (ccos_test_data): Likewise.
58359         (ccosh_test_data): Likewise.
58360         (ceil_test_data): Likewise.
58361         (cexp_test_data): Likewise.
58362         (cimag_test_data): Likewise.
58363         (clog_test_data): Likewise.
58364         (clog10_test_data): Likewise.
58365         (conj_test_data): Likewise.
58366         (copysign_test_data): Likewise.
58367         (cos_test_data): Likewise.
58368         (cos_tonearest_test_data): Likewise.
58369         (cos_towardzero_test_data): Likewise.
58370         (cos_downward_test_data): Likewise.
58371         (cos_upward_test_data): Likewise.
58372         (cosh_test_data): Likewise.
58373         (cosh_tonearest_test_data): Likewise.
58374         (cosh_towardzero_test_data): Likewise.
58375         (cosh_downward_test_data): Likewise.
58376         (cosh_upward_test_data): Likewise.
58377         (cpow_test_data): Likewise.
58378         (cproj_test_data): Likewise.
58379         (creal_test_data): Likewise.
58380         (csin_test_data): Likewise.
58381         (csinh_test_data): Likewise.
58382         (csqrt_test_data): Likewise.
58383         (ctan_test_data): Likewise.
58384         (ctan_tonearest_test_data): Likewise.
58385         (ctan_towardzero_test_data): Likewise.
58386         (ctan_downward_test_data): Likewise.
58387         (ctan_upward_test_data): Likewise.
58388         (ctanh_test_data): Likewise.
58389         (ctanh_tonearest_test_data): Likewise.
58390         (ctanh_towardzero_test_data): Likewise.
58391         (ctanh_downward_test_data): Likewise.
58392         (ctanh_upward_test_data): Likewise.
58393         (erf_test_data): Likewise.
58394         (erfc_test_data): Likewise.
58395         (exp_test_data): Likewise.
58396         (exp_tonearest_test_data): Likewise.
58397         (exp_towardzero_test_data): Likewise.
58398         (exp_downward_test_data): Likewise.
58399         (exp_upward_test_data): Likewise.
58400         (exp10_test_data): Likewise.
58401         (exp2_test_data): Likewise.
58402         (expm1_test_data): Likewise.
58403         (fabs_test_data): Likewise.
58404         (fdim_test_data): Likewise.
58405         (finite_test_data): Likewise.
58406         (floor_test_data): Likewise.
58407         (fma_test_data): Likewise.
58408         (fma_towardzero_test_data): Likewise.
58409         (fma_downward_test_data): Likewise.
58410         (fma_upward_test_data): Likewise.
58411         (fmax_test_data): Likewise.
58412         (fmin_test_data): Likewise.
58413         (fmod_test_data): Likewise.
58414         (fpclassify_test_data): Likewise.
58415         (frexp_test_data): Likewise.
58416         (gamma_test_data): Likewise.
58417         (hypot_test_data): Likewise.
58418         (ilogb_test_data): Likewise.
58419         (isfinite_test_data): Likewise.
58420         (isgreater_test_data): Likewise.
58421         (isgreaterequal_test_data): Likewise.
58422         (isinf_test_data): Likewise.
58423         (isless_test_data): Likewise.
58424         (islessequal_test_data): Likewise.
58425         (islessgreater_test_data): Likewise.
58426         (isnan_test_data): Likewise.
58427         (isnormal_test_data): Likewise.
58428         (issignaling_test_data): Likewise.
58429         (isunordered_test_data): Likewise.
58430         (j0_test_data): Likewise.
58431         (j1_test_data): Likewise.
58432         (jn_test_data): Likewise.
58433         (ldexp_test_data): Likewise.
58434         (lgamma_test_data): Likewise.
58435         (lrint_test_data): Likewise.
58436         (lrint_tonearest_test_data): Likewise.
58437         (lrint_towardzero_test_data): Likewise.
58438         (lrint_downward_test_data): Likewise.
58439         (lrint_upward_test_data): Likewise.
58440         (llrint_test_data): Likewise.
58441         (llrint_tonearest_test_data): Likewise.
58442         (llrint_towardzero_test_data): Likewise.
58443         (llrint_downward_test_data): Likewise.
58444         (llrint_upward_test_data): Likewise.
58445         (log_test_data): Likewise.
58446         (log10_test_data): Likewise.
58447         (log1p_test_data): Likewise.
58448         (log2_test_data): Likewise.
58449         (logb_test_data): Likewise.
58450         (logb_downward_test_data): Likewise.
58451         (lround_test_data): Likewise.
58452         (llround_test_data): Likewise.
58453         (modf_test_data): Likewise.
58454         (nearbyint_test_data): Likewise.
58455         (nextafter_test_data): Likewise.
58456         (nexttoward_test_data): Likewise.
58457         (pow_test_data): Likewise.
58458         (pow_tonearest_test_data): Likewise.
58459         (pow_towardzero_test_data): Likewise.
58460         (pow_downward_test_data): Likewise.
58461         (pow_upward_test_data): Likewise.
58462         (remainder_test_data): Likewise.
58463         (remainder_tonearest_test_data): Likewise.
58464         (remainder_towardzero_test_data): Likewise.
58465         (remainder_downward_test_data): Likewise.
58466         (remainder_upward_test_data): Likewise.
58467         (remquo_test_data): Likewise.
58468         (rint_test_data): Likewise.
58469         (rint_tonearest_test_data): Likewise.
58470         (rint_towardzero_test_data): Likewise.
58471         (rint_downward_test_data): Likewise.
58472         (rint_upward_test_data): Likewise.
58473         (round_test_data): Likewise.
58474         (scalb_test_data): Likewise.
58475         (scalbn_test_data): Likewise.
58476         (scalbln_test_data): Likewise.
58477         (signbit_test_data): Likewise.
58478         (sin_test_data): Likewise.
58479         (sin_tonearest_test_data): Likewise.
58480         (sin_towardzero_test_data): Likewise.
58481         (sin_downward_test_data): Likewise.
58482         (sin_upward_test_data): Likewise.
58483         (sincos_test_data): Likewise.
58484         (sinh_test_data): Likewise.
58485         (sinh_tonearest_test_data): Likewise.
58486         (sinh_towardzero_test_data): Likewise.
58487         (sinh_downward_test_data): Likewise.
58488         (sinh_upward_test_data): Likewise.
58489         (sqrt_test_data): Likewise.
58490         (tan_test_data): Likewise.
58491         (tan_tonearest_test_data): Likewise.
58492         (tan_towardzero_test_data): Likewise.
58493         (tan_downward_test_data): Likewise.
58494         (tan_upward_test_data): Likewise.
58495         (tanh_test_data): Likewise.
58496         (tgamma_test_data): Likewise.
58497         (trunc_test_data): Likewise.
58498         (y0_test_data): Likewise.
58499         (y1_test_data): Likewise.
58500         (yn_test_data): Likewise.
58501         (significand_test_data): Likewise.
58503         * math/gen-libm-test.pl (@functions): Remove variable.
58504         (generate_testfile): Don't handle START and END lines.
58505         * math/libm-test.inc (START): New macro.
58506         (END): Likewise.
58507         (END_COMPLEX): Likewise.
58508         (acos_test): Use END macro without arguments.
58509         (acos_test_tonearest): Likewise.
58510         (acos_test_towardzero): Likewise.
58511         (acos_test_downward): Likewise.
58512         (acos_test_upward): Likewise.
58513         (acosh_test): Likewise.
58514         (asin_test): Likewise.
58515         (asin_test_tonearest): Likewise.
58516         (asin_test_towardzero): Likewise.
58517         (asin_test_downward): Likewise.
58518         (asin_test_upward): Likewise.
58519         (asinh_test): Likewise.
58520         (atan_test): Likewise.
58521         (atanh_test): Likewise.
58522         (atan2_test): Likewise.
58523         (cabs_test): Likewise.
58524         (cacos_test): Use END_COMPLEX macro without arguments.
58525         (cacosh_test): Likewise.
58526         (carg_test): Use END macro without arguments.
58527         (casin_test): Use END_COMPLEX macro without arguments.
58528         (casinh_test): Likewise.
58529         (catan_test): Likewise.
58530         (catanh_test): Likewise.
58531         (cbrt_test): Use END macro without arguments.
58532         (ccos_test): Use END_COMPLEX macro without arguments.
58533         (ccosh_test): Likewise.
58534         (ceil_test): Use END macro without arguments.
58535         (cexp_test): Use END_COMPLEX macro without arguments.
58536         (cimag_test): Use END macro without arguments.
58537         (clog_test): Use END_COMPLEX macro without arguments.
58538         (clog10_test): Likewise.
58539         (conj_test): Likewise.
58540         (copysign_test): Use END macro without arguments.
58541         (cos_test): Likewise.
58542         (cos_test_tonearest): Likewise.
58543         (cos_test_towardzero): Likewise.
58544         (cos_test_downward): Likewise.
58545         (cos_test_upward): Likewise.
58546         (cosh_test): Likewise.
58547         (cosh_test_tonearest): Likewise.
58548         (cosh_test_towardzero): Likewise.
58549         (cosh_test_downward): Likewise.
58550         (cosh_test_upward): Likewise.
58551         (cpow_test): Use END_COMPLEX macro without arguments.
58552         (cproj_test): Likewise.
58553         (creal_test): Use END macro without arguments.
58554         (csin_test): Use END_COMPLEX macro without arguments.
58555         (csinh_test): Likewise.
58556         (csqrt_test): Likewise.
58557         (ctan_test): Likewise.
58558         (ctan_test_tonearest): Likewise.
58559         (ctan_test_towardzero): Likewise.
58560         (ctan_test_downward): Likewise.
58561         (ctan_test_upward): Likewise.
58562         (ctanh_test): Likewise.
58563         (ctanh_test_tonearest): Likewise.
58564         (ctanh_test_towardzero): Likewise.
58565         (ctanh_test_downward): Likewise.
58566         (ctanh_test_upward): Likewise.
58567         (erf_test): Use END macro without arguments.
58568         (erfc_test): Likewise.
58569         (exp_test): Likewise.
58570         (exp_test_tonearest): Likewise.
58571         (exp_test_towardzero): Likewise.
58572         (exp_test_downward): Likewise.
58573         (exp_test_upward): Likewise.
58574         (exp10_test): Likewise.
58575         (exp2_test): Likewise.
58576         (expm1_test): Likewise.
58577         (fabs_test): Likewise.
58578         (fdim_test): Likewise.
58579         (finite_test): Likewise.
58580         (floor_test): Likewise.
58581         (fma_test): Likewise.
58582         (fma_test_towardzero): Likewise.
58583         (fma_test_downward): Likewise.
58584         (fma_test_upward): Likewise.
58585         (fmax_test): Likewise.
58586         (fmin_test): Likewise.
58587         (fmod_test): Likewise.
58588         (fpclassify_test): Likewise.
58589         (frexp_test): Likewise.
58590         (gamma_test): Likewise.
58591         (hypot_test): Likewise.
58592         (ilogb_test): Likewise.
58593         (isfinite_test): Likewise.
58594         (isgreater_test): Likewise.
58595         (isgreaterequal_test): Likewise.
58596         (isinf_test): Likewise.
58597         (isless_test): Likewise.
58598         (islessequal_test): Likewise.
58599         (islessgreater_test): Likewise.
58600         (isnan_test): Likewise.
58601         (isnormal_test): Likewise.
58602         (issignaling_test): Likewise.
58603         (isunordered_test): Likewise.
58604         (j0_test): Likewise.
58605         (j1_test): Likewise.
58606         (jn_test): Likewise.
58607         (ldexp_test): Likewise.
58608         (lgamma_test): Likewise.
58609         (lrint_test): Likewise.
58610         (lrint_test_tonearest): Likewise.
58611         (lrint_test_towardzero): Likewise.
58612         (lrint_test_downward): Likewise.
58613         (lrint_test_upward): Likewise.
58614         (llrint_test): Likewise.
58615         (llrint_test_tonearest): Likewise.
58616         (llrint_test_towardzero): Likewise.
58617         (llrint_test_downward): Likewise.
58618         (llrint_test_upward): Likewise.
58619         (log_test): Likewise.
58620         (log10_test): Likewise.
58621         (log1p_test): Likewise.
58622         (log2_test): Likewise.
58623         (logb_test): Likewise.
58624         (logb_test_downward): Likewise.
58625         (lround_test): Likewise.
58626         (llround_test): Likewise.
58627         (modf_test): Likewise.
58628         (nearbyint_test): Likewise.
58629         (nextafter_test): Likewise.
58630         (nexttoward_test): Likewise.
58631         (pow_test): Likewise.
58632         (pow_test_tonearest): Likewise.
58633         (pow_test_towardzero): Likewise.
58634         (pow_test_downward): Likewise.
58635         (pow_test_upward): Likewise.
58636         (remainder_test): Likewise.
58637         (remainder_test_tonearest): Likewise.
58638         (remainder_test_towardzero): Likewise.
58639         (remainder_test_downward): Likewise.
58640         (remainder_test_upward): Likewise.
58641         (remquo_test): Likewise.
58642         (rint_test): Likewise.
58643         (rint_test_tonearest): Likewise.
58644         (rint_test_towardzero): Likewise.
58645         (rint_test_downward): Likewise.
58646         (rint_test_upward): Likewise.
58647         (round_test): Likewise.
58648         (scalb_test): Likewise.
58649         (scalbn_test): Likewise.
58650         (scalbln_test): Likewise.
58651         (signbit_test): Likewise.
58652         (sin_test): Likewise.
58653         (sin_test_tonearest): Likewise.
58654         (sin_test_towardzero): Likewise.
58655         (sin_test_downward): Likewise.
58656         (sin_test_upward): Likewise.
58657         (sincos_test): Likewise.
58658         (sinh_test): Likewise.
58659         (sinh_test_tonearest): Likewise.
58660         (sinh_test_towardzero): Likewise.
58661         (sinh_test_downward): Likewise.
58662         (sinh_test_upward): Likewise.
58663         (sqrt_test): Likewise.
58664         (tan_test): Likewise.
58665         (tan_test_tonearest): Likewise.
58666         (tan_test_towardzero): Likewise.
58667         (tan_test_downward): Likewise.
58668         (tan_test_upward): Likewise.
58669         (tanh_test): Likewise.
58670         (tgamma_test): Likewise.
58671         (trunc_test): Likewise.
58672         (y0_test): Likewise.
58673         (y1_test): Likewise.
58674         (yn_test): Likewise.
58675         (significand_test): Likewise.
58677 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
58679         [BZ #15381]
58680         * libio/genops.c (_IO_no_init): Initialize wide struct info.
58682 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
58684         [BZ #14894]
58685         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
58686         __ppc_mdoio and __ppc_mdoom.
58687         * manual/platform.texi: Document new functions __ppc_yield,
58688         __ppc_mdoio and __ppc_mdoom.
58690 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
58692         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
58693         (main): Mention "tls" pseudo-hwcap is legacy.
58694         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
58696 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
58698         * math/gen-libm-test.pl (parse_args): Output only string of
58699         arguments as text for test name, not full call or descriptions of
58700         tests for extra outputs.
58701         (generate_testfile): Do not pass function name to parse_args.
58702         Generate this_func variable from START.
58703         * math/libm-test.inc (struct test_f_f_data): Rename test_name
58704         field to arg_str.
58705         (struct test_ff_f_data): Likewise.
58706         (test_ff_f_data_nexttoward): Likewise.
58707         (struct test_fi_f_data): Likewise.
58708         (struct test_fl_f_data): Likewise.
58709         (struct test_if_f_data): Likewise.
58710         (struct test_fff_f_data): Likewise.
58711         (struct test_c_f_data): Likewise.
58712         (struct test_f_f1_data): Likewise.  Remove field extra_name.
58713         (struct test_fF_f1_data): Likewise.
58714         (struct test_ffI_f1_data): Likewise.
58715         (struct test_c_c_data): Rename test_name field to arg_str.
58716         (struct test_cc_c_data): Likewise.
58717         (struct test_f_i_data): Likewise.
58718         (struct test_ff_i_data): Likewise.
58719         (struct test_f_l_data): Likewise.
58720         (struct test_f_L_data): Likewise.
58721         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
58722         and extra2_name.
58723         (COMMON_TEST_SETUP): New macro.
58724         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
58725         (COMMON_TEST_CLEANUP): Likewise.
58726         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
58727         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
58728         macros.
58729         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
58730         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
58731         macros.
58732         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
58733         (RUN_TEST_fff_f): Take argument string.  Call new setup and
58734         cleanup macros.
58735         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
58736         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
58737         macros.
58738         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
58739         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
58740         macros.
58741         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
58742         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
58743         cleanup macros.
58744         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
58745         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
58746         cleanup macros.
58747         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
58748         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
58749         cleanup macros.
58750         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
58751         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
58752         macros.
58753         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
58754         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
58755         macros.
58756         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
58757         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
58758         macros.
58759         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
58760         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
58761         cleanup macros.
58762         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
58763         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
58764         cleanup macros.
58765         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
58766         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
58767         macros.
58768         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
58769         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
58770         cleanup macros.
58771         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
58772         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
58773         macros.
58774         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
58775         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
58776         macros.
58777         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
58778         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
58779         cleanup macros.
58780         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
58782 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
58784         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
58785         to _sifields.sigfault.
58786         (si_addr_lsb): Define new macro.
58787         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
58788         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
58789         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
58791 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
58793         [BZ #15441]
58794         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
58795         returns -1.
58796         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
58797         null return -1.
58798         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
58799         loading the domain.
58801 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
58803         * math/gen-libm-test.pl (parse_args): Do not include expected
58804         result in test name.
58805         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
58806         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
58807         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
58808         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
58809         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
58810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58812 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
58814         * benchtests/Makefile: Sort function entries.
58816         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
58817         tanh, asinh, acosh, atanh.
58818         * benchtests/acos-inputs: New file.
58819         * benchtests/acosh-inputs: New file.
58820         * benchtests/asin-inputs: New file.
58821         * benchtests/asinh-inputs: New file.
58822         * benchtests/atanh-inputs: New file.
58823         * benchtests/cosh-inputs: New file.
58824         * benchtests/log-inputs: New file.
58825         * benchtests/sinh-inputs: New file.
58826         * benchtests/tanh-inputs: New file.
58828 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
58830         [BZ #15339]
58831         * posix/tst-getaddrinfo4.c: New test.
58832         * posix/Makefile (tests): Add it.
58834 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
58836         [BZ #15339]
58837         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
58838         when no services were used.
58839         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
58840         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
58842 2013-05-21  Andreas Schwab  <schwab@suse.de>
58844         [BZ #15014]
58845         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
58846         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
58847         successful.
58848         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
58849         redundant variable declarations and reallocation of buffer when
58850         parsing as IPv6 address.  Always set NSS status when called from
58851         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
58852         buffer too small.  Correct computation of needed size.
58853         * nss/Makefile (tests): Add test-digits-dots.
58854         * nss/test-digits-dots.c: New test.
58856 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
58858         * benchtests/Makefile: Remove instructions for adding
58859         benchmark tests.
58860         * benchtests/README: New file to explain how to execute and
58861         enhance the benchmark tests.
58863 2013-05-21  Andreas Schwab  <schwab@suse.de>
58865         [BZ #15493]
58866         * setjmp/Makefile (tests): Add tst-sigsetjmp.
58867         * setjmp/tst-sigsetjmp.c: New test.
58869 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
58871         * sysdeps/x86_64/memset.S (memset): New implementation.
58872         (__bzero): Likewise.
58873         (__memset_tail): New function.
58875 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
58877         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
58878         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
58879         __memcpy_sse2_unaligned ifunc selection.
58880         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
58881         Add memcpy-sse2-unaligned.S.
58882         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
58883         Add: __memcpy_sse2_unaligned.
58885 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
58887         [BZ #15490]
58888         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
58889         math_force_eval before restoring floating-point envrionment.
58890         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
58891         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
58892         Likewise.
58893         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
58894         <math_private.h>.
58895         (__nearbyintl): Use math_force_eval before restoring
58896         floating-point environment.
58897         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
58899         * math/gen-libm-test.pl (special_functions): Remove.
58900         (parse_args): Don't handle TEST_extra.  Handle functions with no
58901         return value.
58902         * math/libm-test.inc (struct test_sincos_data): Replace with
58903         struct test_fFF_11_data.
58904         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
58905         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
58906         (sincos_test_data): Change element type to struct
58907         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
58908         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
58909         RUN_TEST_LOOP_sincos.
58910         * math/README.libm-test: Don't mention special handling of
58911         individual functions.
58912         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
58913         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
58914         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
58915         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
58916         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
58917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58919         * math/gen-libm-test.pl (get_variable): Remove function.
58920         (parse_args): Don't show pointer parameters to call in test
58921         names.  Use "extra output N" in test names for extra outputs
58922         rather than naming variables.
58924 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
58926         [BZ #15488]
58927         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
58928         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
58929         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
58930         double tests.
58931         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
58932         disable.
58933         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
58934         check_long_double.
58936         * math/gen-libm-test.pl (@tests): Remove variable.
58937         ($count): Likewise.
58938         (new_test): Remove function.
58939         (show_exceptions): New function.
58940         (special_functions): Use show_exceptions instead of new_test.
58941         (parse_args): Likewise.
58942         (generate_testfile): Pass only function name in generated call to
58943         print_max_error or print_complex_max_error.
58944         (get_ulps): Do not handle complex tests specially.
58945         (output_test): Rename to ...
58946         (get_all_ulps_for_test): ... this.  Return a string rather than
58947         printing to a file.  Require ulps to be present.
58948         (output_ulps): Generate arrays rather than #defines.
58949         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
58950         (struct ulp_data): New type.
58951         (BUILD_COMPLEX_ULP): Remove macro.
58952         (compare_ulp_data): New function.
58953         (find_ulps): Likewise.
58954         (find_test_ulps): Likewise.
58955         (find_function_ulps): Likewise.
58956         (find_complex_function_ulps): Likewise.
58957         (print_max_error): Determine allowed ulps using
58958         find_function_ulps.
58959         (print_complex_max_error): Determine allowed ulps using
58960         find_complex_function_ulps.
58961         (check_float_internal): Determine max ulps using find_test_ulps.
58962         (check_float): Do not take max_ulp parameter.  Update call to
58963         check_float_internal.
58964         (check_complex): Likewise.
58965         (check_int): Do not take max_ulp parameter.
58966         (check_long): Likewise.
58967         (check_bool): Likewise.
58968         (check_longlong): Likewise.
58969         (struct test_f_f_data): Remove max_ulp field.
58970         (struct test_ff_f_data): Likewise.
58971         (struct test_ff_f_data_nexttoward): Likewise.
58972         (struct test_fi_f_data): Likewise.
58973         (struct test_fl_f_data): Likewise.
58974         (struct test_if_f_data): Likewise.
58975         (struct test_fff_f_data): Likewise.
58976         (struct test_c_f_data): Likewise.
58977         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
58978         (struct test_fF_f1_data): Likewise.
58979         (struct test_ffI_f1_data): Likewise.
58980         (struct test_c_c_data): Remove max_ulp field.
58981         (struct test_cc_c_data): Likewise.
58982         (struct test_f_i_data): Likewise.
58983         (struct test_ff_i_data): Likewise.
58984         (struct test_f_l_data): Likewise.
58985         (struct test_f_L_data): Likewise.
58986         (struct test_sincos_data): Likewise.
58987         (RUN_TEST_f_f): Do not handle ulps.
58988         (RUN_TEST_LOOP_f_f): Likewise.
58989         (RUN_TEST_2_f): Likewise.
58990         (RUN_TEST_LOOP_2_f): Likewise.
58991         (RUN_TEST_fff_f): Likewise.
58992         (RUN_TEST_LOOP_fff_f): Likewise.
58993         (RUN_TEST_c_f): Likewise.
58994         (RUN_TEST_LOOP_c_f): Likewise.
58995         (RUN_TEST_f_f1): Likewise.
58996         (RUN_TEST_LOOP_f_f1): Likewise.
58997         (RUN_TEST_fF_f1): Likewise.
58998         (RUN_TEST_LOOP_fF_f1): Likewise.
58999         (RUN_TEST_fI_f1): Likewise.
59000         (RUN_TEST_LOOP_fI_f1): Likewise.
59001         (RUN_TEST_ffI_f1): Likewise.
59002         (RUN_TEST_LOOP_ffI_f1): Likewise.
59003         (RUN_TEST_c_c): Likewise.
59004         (RUN_TEST_LOOP_c_c): Likewise.
59005         (RUN_TEST_cc_c): Likewise.
59006         (RUN_TEST_LOOP_cc_c): Likewise.
59007         (RUN_TEST_f_i): Likewise.
59008         (RUN_TEST_LOOP_f_i): Likewise.
59009         (RUN_TEST_f_i_tg): Likewise.
59010         (RUN_TEST_LOOP_f_i_tg): Likewise.
59011         (RUN_TEST_ff_i_tg): Likewise.
59012         (RUN_TEST_LOOP_ff_i_tg): Likewise.
59013         (RUN_TEST_f_b): Likewise.
59014         (RUN_TEST_LOOP_f_b): Likewise.
59015         (RUN_TEST_f_b_tg): Likewise.
59016         (RUN_TEST_LOOP_f_b_tg): Likewise.
59017         (RUN_TEST_f_l): Likewise.
59018         (RUN_TEST_LOOP_f_l): Likewise.
59019         (RUN_TEST_f_L): Likewise.
59020         (RUN_TEST_LOOP_f_L): Likewise.
59021         (RUN_TEST_sincos): Likewise.
59022         (RUN_TEST_LOOP_sincos): Likewise.
59024 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
59026         [BZ #15480]
59027         [BZ #15485]
59028         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
59029         main case of finite arguments, set rounding mode to FE_TONEAREST
59030         and discard exceptions.
59031         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
59032         exceptions.
59033         (remainder_tonearest_test_data): New variable.
59034         (remainder_test_tonearest): New function.
59035         (remainder_towardzero_test_data): New variable.
59036         (remainder_test_towardzero): New function.
59037         (remainder_downward_test_data): New variable.
59038         (remainder_test_downward): New function.
59039         (remainder_upward_test_data): New variable.
59040         (remainder_test_upward): New function.
59041         (main): Call the new test functions.
59043         * math/libm-test.inc (struct test_f_f1_data): Remove field
59044         extra_init.
59045         (struct test_fF_f1_data): Likewise.
59046         (struct test_ffI_f1_data): Likewise.
59047         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
59048         based on value of EXTRA_EXPECTED.
59049         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
59050         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
59051         EXTRA_VAR based on value of EXTRA_EXPECTED.
59052         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
59053         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
59054         EXTRA_VAR based on value of EXTRA_EXPECTED.
59055         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
59056         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
59057         EXTRA_VAR based on value of EXTRA_EXPECTED.
59058         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
59059         * math/gen-libm-test.pl (parse_args): Don't output initializers
59060         for extra output values.
59062         * math/libm-test.inc (check_int): Expect result to be exactly
59063         equal to expected value and do not handle ulps.
59064         (check_long): Likewise.
59065         (check_longlong): Likewise.
59067         * math/libm-test.inc (ceil_test_data): Test for "inexact"
59068         exceptions.
59069         (cimag_test_data): Likewise.
59070         (conj_test_data): Likewise.
59071         (copysign_test_data): Likewise.
59072         (cproj_test_data): Likewise.
59073         (creal_test_data): Likewise.
59074         (fabs_test_data): Likewise.
59075         (fdim_test_data): Likewise.
59076         (finite_test_data): Likewise.
59077         (floor_test_data): Likewise.
59078         (fmax_test_data): Likewise.
59079         (fmin_test_data): Likewise.
59080         (fmod_test_data): Likewise.
59081         (fpclassify_test_data): Likewise.
59082         (frexp_test_data): Likewise.
59083         (ilogb_test_data): Likewise.
59084         (isfinite_test_data): Likewise.
59085         (isgreater_test_data): Likewise.
59086         (isgreaterequal_test_data): Likewise.
59087         (isinf_test_data): Likewise.
59088         (isless_test_data): Likewise.
59089         (islessequal_test_data): Likewise.
59090         (islessgreater_test_data): Likewise.
59091         (isnan_test_data): Likewise.
59092         (isnormal_test_data): Likewise.
59093         (issignaling_test_data): Likewise.
59094         (isunordered_test_data): Likewise.
59095         (ldexp_test_data): Likewise.
59096         (lrint_test_data): Likewise.
59097         (lrint_test_data) [TEST_FLOAT]: Disable one test.
59098         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
59099         (lrint_tonearest_test_data): Test for "inexact" exceptions.
59100         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
59101         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
59102         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
59103         test input.
59104         (lrint_towardzero_test_data): Test for "inexact" exceptions.
59105         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
59106         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
59107         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
59108         that test input.
59109         (lrint_downward_test_data): Test for "inexact" exceptions.
59110         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
59111         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
59112         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
59113         test input.
59114         (lrint_upward_test_data): Test for "inexact" exceptions.
59115         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
59116         test input.
59117         (llrint_test_data): Test for "inexact" exceptions.
59118         (llrint_test_data) [TEST_FLOAT]: Disable one test.
59119         (llrint_tonearest_test_data): Test for "inexact" exceptions.
59120         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
59121         (llrint_towardzero_test_data): Test for "inexact" exceptions.
59122         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
59123         (llrint_downward_test_data): Test for "inexact" exceptions.
59124         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
59125         (llrint_upward_test_data): Test for "inexact" exceptions.
59126         (logb_test_data): Likewise.
59127         (logb_downward_test_data): Likewise.
59128         (nextafter_test_data): Likewise.
59129         (nexttoward_test_data): Likewise.
59130         (remainder_test_data): Likewise.
59131         (remquo_test_data): Likewise.
59132         (scalbn_test_data): Likewise.
59133         (scalbln_test_data): Likewise.
59134         (signbit_test_data): Likewise.
59135         (sqrt_test_data): Likewise.
59136         (significand_test_data): Likewise.
59138 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
59140         [BZ #15424]
59141         * benchtests/bench-modf.c (struct args): Mark arg0 as
59142         volatile.
59143         * scripts/bench.pl: Mark members of struct args as volatile.
59145 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59147         [BZ # 15497]
59148         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
59149         negative infinity on POWER6 or lower.
59150         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
59152 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
59154         [BZ #15442]
59155         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
59156         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
59157         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
59158         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
59159         (_FP_SETQNAN): New macro.
59160         (_FP_SETQNAN_SEMIRAW): Likewise.
59161         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
59162         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
59163         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
59164         (FP_EXTEND): Use _FP_FRAC_SNANP.
59165         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
59166         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
59167         into account.
59168         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
59169         New macro.
59170         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
59171         Likewise.
59173 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
59175         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
59176         with DIVIDE_BY_ZERO_EXCEPTION.
59177         (gamma_test_data): Likewise.
59178         (lgamma_test_data): Likewise.
59179         (log_test_data): Likewise.
59180         (log10_test_data): Likewise.
59181         (log2_test_data): Likewise.
59182         (tgamma_test_data): Likewise.
59184         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
59185         (acos_test_tonearest): Likewise.
59186         (acos_test_towardzero): Likewise.
59187         (acos_test_downward): Likewise.
59188         (acos_test_upward): Likewise.
59189         (acosh_test): Likewise.
59190         (asin_test): Likewise.
59191         (asin_test_tonearest): Likewise.
59192         (asin_test_towardzero): Likewise.
59193         (asin_test_downward): Likewise.
59194         (asin_test_upward): Likewise.
59195         (asinh_test): Likewise.
59196         (atan_test): Likewise.
59197         (atanh_test): Likewise.
59198         (atan2_test): Likewise.
59199         (cabs_test): Likewise.
59200         (cacos_test): Likewise.
59201         (cacosh_test): Likewise.
59202         (casin_test): Likewise.
59203         (casinh_test): Likewise.
59204         (catan_test): Likewise.
59205         (catanh_test): Likewise.
59206         (cbrt_test): Likewise.
59207         (ccos_test): Likewise.
59208         (ccosh_test): Likewise.
59209         (cexp_test): Likewise.
59210         (clog_test): Likewise.
59211         (clog10_test): Likewise.
59212         (cos_test): Likewise.
59213         (cos_test_tonearest): Likewise.
59214         (cos_test_towardzero): Likewise.
59215         (cos_test_downward): Likewise.
59216         (cos_test_upward): Likewise.
59217         (cosh_test): Likewise.
59218         (cosh_test_tonearest): Likewise.
59219         (cosh_test_towardzero): Likewise.
59220         (cosh_test_downward): Likewise.
59221         (cosh_test_upward): Likewise.
59222         (cpow_test): Likewise.
59223         (csin_test): Likewise.
59224         (csinh_test): Likewise.
59225         (csqrt_test): Likewise.
59226         (ctan_test): Likewise.
59227         (ctan_test_tonearest): Likewise.
59228         (ctan_test_towardzero): Likewise.
59229         (ctan_test_downward): Likewise.
59230         (ctan_test_upward): Likewise.
59231         (ctanh_test): Likewise.
59232         (ctanh_test_tonearest): Likewise.
59233         (ctanh_test_towardzero): Likewise.
59234         (ctanh_test_downward): Likewise.
59235         (ctanh_test_upward): Likewise.
59236         (erf_test): Likewise.
59237         (erfc_test): Likewise.
59238         (exp_test): Likewise.
59239         (exp_test_tonearest): Likewise.
59240         (exp_test_towardzero): Likewise.
59241         (exp_test_downward): Likewise.
59242         (exp_test_upward): Likewise.
59243         (exp10_test): Likewise.
59244         (exp2_test): Likewise.
59245         (expm1_test): Likewise.
59246         (fmod_test): Likewise.
59247         (gamma_test): Likewise.
59248         (hypot_test): Likewise.
59249         (j0_test): Likewise.
59250         (j1_test): Likewise.
59251         (jn_test): Likewise.
59252         (lgamma_test): Likewise.
59253         (log_test): Likewise.
59254         (log10_test): Likewise.
59255         (log1p_test): Likewise.
59256         (log2_test): Likewise.
59257         (logb_test_downward): Likewise.
59258         (pow_test): Likewise.
59259         (pow_test_tonearest): Likewise.
59260         (pow_test_towardzero): Likewise.
59261         (pow_test_downward): Likewise.
59262         (pow_test_upward): Likewise.
59263         (remainder_test): Likewise.
59264         (remquo_test): Likewise.
59265         (sin_test): Likewise.
59266         (sin_test_tonearest): Likewise.
59267         (sin_test_towardzero): Likewise.
59268         (sin_test_downward): Likewise.
59269         (sin_test_upward): Likewise.
59270         (sincos_test): Likewise.
59271         (sinh_test): Likewise.
59272         (sinh_test_tonearest): Likewise.
59273         (sinh_test_towardzero): Likewise.
59274         (sinh_test_downward): Likewise.
59275         (sinh_test_upward): Likewise.
59276         (sqrt_test): Likewise.
59277         (tan_test): Likewise.
59278         (tan_test_tonearest): Likewise.
59279         (tan_test_towardzero): Likewise.
59280         (tan_test_downward): Likewise.
59281         (tan_test_upward): Likewise.
59282         (tanh_test): Likewise.
59283         (tgamma_test): Likewise.
59284         (y0_test): Likewise.
59285         (y1_test): Likewise.
59286         (yn_test): Likewise.
59288         * math/gen-libm-test.pl (adjust_arg): Remove function.
59289         (special_function): Remove argument $in_func.  Only handle
59290         generating output for tables of tests, not inside functions.
59291         (parse_args): Likewise.
59292         (generate_testfile): Remove variable $in_func.  Update call to
59293         parse_args.
59294         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
59295         (MINUS_ZERO_INIT): Rename macro to minus_zero.
59296         (PLUS_INFTY_INIT): Rename macro to plus_infty.
59297         (MINUS_INFTY_INIT): Rename macro to minus_infty.
59298         (QNAN_VALUE_INIT): Rename macro to qnan_value.
59299         (MAX_VALUE_INIT): Rename macro to max_value.
59300         (MIN_VALUE_INIT): Rename macro to min_value.
59301         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
59302         (plus_zero): Remove variable.
59303         (minus_zero): Likewise.
59304         (plus_infty): Likewise.
59305         (minus_infty): Likewise.
59306         (qnan_value): Likewise.
59307         (max_value): Likewise.
59308         (min_value): Likewise.
59309         (min_subnorm_value): Likewise.
59311 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59313         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
59314         uint64_t or uint32_t usage.
59315         * crypt/sha256-block.c: Likewise.
59316         * crypt/sha256-crypt.c: Likewise.
59317         * crypt/sha256.c: Likewise.
59318         * crypt/sha512-block.c: Likewise.
59319         * crypt/sha512-crypt.c: Likewise.
59320         * crypt/sha512.c: Likewise.
59321         * debug/backtrace-tst.c: Likewise.
59322         * debug/pcprofiledump.c: Likewise.
59323         * elf/cache.c: Likewise.
59324         * elf/dl-cache.c: Likewise.
59325         * elf/dl-misc.c: Likewise.
59326         * elf/dl-profile.c: Likewise.
59327         * elf/dl-support.c: Likewise.
59328         * elf/ldconfig.c: Likewise.
59329         * elf/sprof.c: Likewise.
59330         * iconv/dummy-repertoire.c: Likewise.
59331         * iconv/iconv_charmap.c: Likewise.
59332         * iconv/skeleton.c: Likewise.
59333         * iconvdata/8bit-generic.c: Likewise.
59334         * iconvdata/cp737.h: Likewise.
59335         * iconvdata/cp775.h: Likewise.
59336         * iconvdata/ibm1008.h: Likewise.
59337         * iconvdata/ibm1025.h: Likewise.
59338         * iconvdata/ibm1046.h: Likewise.
59339         * iconvdata/ibm1097.h: Likewise.
59340         * iconvdata/ibm1112.h: Likewise.
59341         * iconvdata/ibm1122.h: Likewise.
59342         * iconvdata/ibm1123.h: Likewise.
59343         * iconvdata/ibm1124.h: Likewise.
59344         * iconvdata/ibm1129.h: Likewise.
59345         * iconvdata/ibm1130.h: Likewise.
59346         * iconvdata/ibm1132.h: Likewise.
59347         * iconvdata/ibm1133.h: Likewise.
59348         * iconvdata/ibm1137.h: Likewise.
59349         * iconvdata/ibm1140.h: Likewise.
59350         * iconvdata/ibm1141.h: Likewise.
59351         * iconvdata/ibm1142.h: Likewise.
59352         * iconvdata/ibm1143.h: Likewise.
59353         * iconvdata/ibm1144.h: Likewise.
59354         * iconvdata/ibm1145.h: Likewise.
59355         * iconvdata/ibm1146.h: Likewise.
59356         * iconvdata/ibm1147.h: Likewise.
59357         * iconvdata/ibm1148.h: Likewise.
59358         * iconvdata/ibm1149.h: Likewise.
59359         * iconvdata/ibm1153.h: Likewise.
59360         * iconvdata/ibm1154.h: Likewise.
59361         * iconvdata/ibm1155.h: Likewise.
59362         * iconvdata/ibm1156.h: Likewise.
59363         * iconvdata/ibm1157.h: Likewise.
59364         * iconvdata/ibm1158.h: Likewise.
59365         * iconvdata/ibm1160.h: Likewise.
59366         * iconvdata/ibm1161.h: Likewise.
59367         * iconvdata/ibm1162.h: Likewise.
59368         * iconvdata/ibm1163.h: Likewise.
59369         * iconvdata/ibm1164.h: Likewise.
59370         * iconvdata/ibm1166.h: Likewise.
59371         * iconvdata/ibm1167.h: Likewise.
59372         * iconvdata/ibm12712.h: Likewise.
59373         * iconvdata/ibm1390.h: Likewise.
59374         * iconvdata/ibm1399.h: Likewise.
59375         * iconvdata/ibm16804.h: Likewise.
59376         * iconvdata/ibm4517.h: Likewise.
59377         * iconvdata/ibm4899.h: Likewise.
59378         * iconvdata/ibm4909.h: Likewise.
59379         * iconvdata/ibm4971.h: Likewise.
59380         * iconvdata/ibm5347.h: Likewise.
59381         * iconvdata/ibm803.h: Likewise.
59382         * iconvdata/ibm856.h: Likewise.
59383         * iconvdata/ibm901.h: Likewise.
59384         * iconvdata/ibm902.h: Likewise.
59385         * iconvdata/ibm9030.h: Likewise.
59386         * iconvdata/ibm9066.h: Likewise.
59387         * iconvdata/ibm921.h: Likewise.
59388         * iconvdata/ibm922.h: Likewise.
59389         * iconvdata/ibm9448.h: Likewise.
59390         * iconvdata/isiri-3342.h: Likewise.
59391         * iconvdata/jis0201.h: Likewise.
59392         * include/link.h: Likewise.
59393         * include/netdb.h: Likewise.
59394         * inet/check_native.c: Likewise.
59395         * inet/check_pf.c: Likewise.
59396         * inet/getipv4sourcefilter.c: Likewise.
59397         * inet/getnameinfo.c: Likewise.
59398         * inet/getsourcefilter.c: Likewise.
59399         * inet/htonl.c: Likewise.
59400         * inet/setipv4sourcefilter.c: Likewise.
59401         * inet/setsourcefilter.c: Likewise.
59402         * inet/test-inet6_opt.c: Likewise.
59403         * inet/tst-network.c: Likewise.
59404         * locale/C-collate.c: Likewise.
59405         * locale/C-ctype.c: Likewise.
59406         * locale/C-time.c: Likewise.
59407         * locale/C-translit.h: Likewise.
59408         * locale/loadarchive.c: Likewise.
59409         * locale/programs/3level.h: Likewise.
59410         * locale/programs/charmap.c: Likewise.
59411         * locale/programs/charmap.h: Likewise.
59412         * locale/programs/ld-address.c: Likewise.
59413         * locale/programs/ld-collate.c: Likewise.
59414         * locale/programs/ld-ctype.c: Likewise.
59415         * locale/programs/ld-identification.c: Likewise.
59416         * locale/programs/ld-measurement.c: Likewise.
59417         * locale/programs/ld-messages.c: Likewise.
59418         * locale/programs/ld-monetary.c: Likewise.
59419         * locale/programs/ld-name.c: Likewise.
59420         * locale/programs/ld-numeric.c: Likewise.
59421         * locale/programs/ld-paper.c: Likewise.
59422         * locale/programs/ld-telephone.c: Likewise.
59423         * locale/programs/ld-time.c: Likewise.
59424         * locale/programs/linereader.c: Likewise.
59425         * locale/programs/locale.c: Likewise.
59426         * locale/programs/locarchive.c: Likewise.
59427         * locale/programs/locfile.h: Likewise.
59428         * locale/programs/repertoire.c: Likewise.
59429         * locale/programs/simple-hash.c: Likewise.
59430         * locale/programs/simple-hash.h: Likewise.
59431         * malloc/memusage.c: Likewise.
59432         * malloc/memusagestat.c: Likewise.
59433         * nis/nis_defaults.c: Likewise.
59434         * nis/nis_hash.c: Likewise.
59435         * nis/nis_print.c: Likewise.
59436         * nis/nis_xdr.c: Likewise.
59437         * nscd/connections.c: Likewise.
59438         * nscd/hstcache.c: Likewise.
59439         * nscd/nscd_gethst_r.c: Likewise.
59440         * nscd/nscd_getserv_r.c: Likewise.
59441         * nscd/nscd_helper.c: Likewise.
59442         * nscd/servicescache.c: Likewise.
59443         * nss/makedb.c: Likewise.
59444         * nss/nss_db/db-XXX.c: Likewise.
59445         * nss/nss_db/db-initgroups.c: Likewise.
59446         * nss/nss_db/db-netgrp.c: Likewise.
59447         * nss/nss_files/files-network.c: Likewise.
59448         * nss/nss_files/files-parse.c: Likewise.
59449         * posix/bug-regex5.c: Likewise.
59450         * posix/fnmatch_loop.c: Likewise.
59451         * posix/regcomp.c: Likewise.
59452         * posix/regexec.c: Likewise.
59453         * posix/tst-rfc3484-2.c: Likewise.
59454         * posix/tst-rfc3484-3.c: Likewise.
59455         * posix/tst-rfc3484.c: Likewise.
59456         * resolv/nss_dns/dns-canon.c: Likewise.
59457         * resolv/nss_dns/dns-network.c: Likewise.
59458         * resolv/res_init.c: Likewise.
59459         * resolv/res_mkquery.c: Likewise.
59460         * resolv/tst-aton.c: Likewise.
59461         * stdlib/cxa_atexit.c: Likewise.
59462         * stdlib/cxa_finalize.c: Likewise.
59463         * stdlib/gen-fpioconst.c: Likewise.
59464         * stdlib/strtol_l.c: Likewise.
59465         * string/tst-endian.c: Likewise.
59466         * sunrpc/auth_des.c: Likewise.
59467         * sunrpc/clnt_udp.c: Likewise.
59468         * sunrpc/rtime.c: Likewise.
59469         * sunrpc/svcauth_des.c: Likewise.
59470         * sunrpc/xdr.c: Likewise.
59471         * sunrpc/xdr_intXX_t.c: Likewise.
59472         * sunrpc/xdr_rec.c: Likewise.
59473         * sysdeps/generic/ldconfig.h: Likewise.
59474         * sysdeps/generic/ldsodefs.h: Likewise.
59475         * sysdeps/generic/memusage.h: Likewise.
59476         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
59477         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
59478         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
59479         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
59480         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59481         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
59482         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
59483         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
59484         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
59485         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
59486         * sysdeps/posix/getaddrinfo.c: Likewise.
59487         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
59488         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
59489         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
59490         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
59491         * sysdeps/powerpc/test-gettimebase.c: Likewise.
59492         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
59493         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
59494         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
59495         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
59496         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
59497         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
59498         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
59499         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
59500         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
59501         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
59502         * sysdeps/x86_64/dl-tls.h: Likewise.
59503         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
59504         * time/alt_digit.c: Likewise.
59505         * time/era.c: Likewise.
59506         * wcsmbs/tst-c16c32-1.c: Likewise.
59508 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
59510         * math/libm-test.inc (struct test_sincos_data): New type.
59511         (RUN_TEST_LOOP_sincos): New macro.
59512         (sincos_test_data): New variable.
59513         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
59515 2013-05-16  Richard Henderson  <rth@redhat.com>
59517         * math/atest-exp2.c (LIMB64): New macro.
59518         (CONSTSZ): New macro.
59519         (mp_exp1, mp_exp_m1, mp_log2): New variables.
59520         (hexdig): Move ...
59521         (print_mpn_fp): ... to function scope.
59522         (read_mpn_hex): Remove.
59523         (get_log2): Remove.
59524         (exp2_mpn): Use mp_log2.
59525         (main): Use mp_exp1.
59527 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
59529         * math/libm-test.inc: Remove comment about not testing "inexact"
59530         exceptions.
59531         (INEXACT_EXCEPTION): New macro.
59532         (NO_INEXACT_EXCEPTION): Likewise.
59533         (INVALID_EXCEPTION_OK): Update value.
59534         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
59535         (OVERFLOW_EXCEPTION_OK): Likewise.
59536         (UNDERFLOW_EXCEPTION_OK): Likewise.
59537         (IGNORE_ZERO_INF_SIGN): Likewise.
59538         (ERRNO_UNCHANGED): Likewise.
59539         (ERRNO_EDOM): Likewise.
59540         (ERRNO_ERANGE): Likewise.
59541         (test_exceptions): Handle testing "inexact" exceptions.
59542         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
59543         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
59544         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
59545         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
59546         INEXACT_EXCEPTION.
59547         (rint_towardzero_test_data): Likewise.
59548         (rint_downward_test_data): Likewise.
59549         (rint_upward_test_data): Likewise.
59551         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
59552         with OVERFLOW_EXCEPTION.
59553         (exp10_test_data): Likewise.
59554         (exp2_test_data): Likewise.
59555         (expm1_test_data): Likewise.
59556         (lgamma_test_data): Likewise.
59557         (pow_test_data): Likewise.
59558         (tgamma_test_data): Likewise.
59559         (yn_test_data): Remove duplicate test of overflow.
59561         * math/libm-test.inc (struct test_cc_c_data): New type.
59562         (RUN_TEST_LOOP_cc_c): New macro.
59563         (cpow_test_data): New variable.
59564         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
59566         * math/libm-test.inc (struct test_f_L_data): New type.
59567         (RUN_TEST_LOOP_f_L): New macro.
59568         (llrint_test_data): New variable.
59569         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
59570         (llrint_tonearest_test_data): New variable.
59571         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
59572         (llrint_towardzero_test_data): New variable.
59573         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
59574         (llrint_downward_test_data): New variable.
59575         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
59576         (llrint_upward_test_data): New variable.
59577         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
59578         (llround_test_data): New variable.
59579         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
59581 2013-05-13  Peter Collingbourne  <pcc@google.com>
59583         * math/atest-exp2.c (get_log2): Remove const attribute.
59585 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
59587         * math/libm-test.inc (struct test_f_l_data): New type.
59588         (RUN_TEST_LOOP_f_l): New macro.
59589         (lrint_test_data): New variable.
59590         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
59591         (lrint_tonearest_test_data): New variable.
59592         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
59593         (lrint_towardzero_test_data): New variable.
59594         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
59595         (lrint_downward_test_data): New variable.
59596         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
59597         (lrint_upward_test_data): New variable.
59598         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
59599         (lround_test_data): New variable.
59600         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
59602 2013-05-15  Peter Collingbourne  <pcc@google.com>
59604         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
59605         (EXTRACT_WORDS64) Use where appropriate.
59606         (INSERT_WORDS64) Likewise.
59608         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
59609         constraints with x constraints.
59610         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
59612         * malloc/obstack.c (_obstack_compat): Add initializer.
59614 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
59616         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
59617         si_trapno and add si_addr_lsb to _sifields.sigfault.
59618         (si_trapno): Remove macro.
59619         (si_addr_lsb): Define new macro.
59620         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
59622 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
59624         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
59625         instead of TEST_f_l.
59626         (llrint_test_tonearest): Likewise.
59627         (llrint_test_towardzero): Likewise.
59628         (llrint_test_downward): Likewise.
59629         (llrint_test_upward): Likewise.
59630         (llround_test): Likewise.
59632         * math/libm-test.inc (struct test_f_i_data): Add comment.
59633         (RUN_TEST_LOOP_f_b): New macro.
59634         (RUN_TEST_LOOP_f_b_tg): Likewise.
59635         (finite_test_data): New variable.
59636         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
59637         (isfinite_test_data): New variable.
59638         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59639         (isinf_test_data): New variable.
59640         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59641         (isnan_test_data): New variable.
59642         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59643         (isnormal_test_data): New variable.
59644         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59645         (issignaling_test_data): New variable.
59646         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59647         (signbit_test_data): New variable.
59648         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59650         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
59651         with INVALID_EXCEPTION.
59652         (acosh_test_data): Likewise.
59653         (asin_test_data): Likewise.
59654         (atanh_test_data): Likewise.
59655         (fmod_test_data): Likewise.
59656         (log_test_data): Likewise.
59657         (log10_test_data): Likewise.
59658         (log2_test_data): Likewise.
59659         (pow_test_data): Likewise.
59660         (sqrt_test_data): Likewise.
59661         (y0_test_data): Likewise.
59662         (y1_test_data): Likewise.
59663         (yn_test_data): Likewise.
59665         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
59666         function contents.
59668         * math/libm-test.inc (struct test_ff_i_data): New type.
59669         (RUN_TEST_LOOP_ff_i_tg): New macro.
59670         (isgreater_test_data): New variable.
59671         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59672         (isgreaterequal_test_data): New variable.
59673         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59674         (isless_test_data): New variable.
59675         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59676         (islessequal_test_data): New variable.
59677         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59678         (islessgreater_test_data): New variable.
59679         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59680         (isunordered_test_data): New variable.
59681         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59683 2013-05-14  David S. Miller  <davem@davemloft.net>
59685         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59687 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
59689         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
59691         * math/libm-test.inc (struct test_fF_f1_data): Change type of
59692         extra_test to int.
59693         (struct test_f_i_data): Change type of max_ulp to int.
59695         * math/libm-test.inc (test_ffI_f1_data): New type.
59696         (RUN_TEST_LOOP_ffI_f1): New macro.
59697         (remquo_test_data): New variable.
59698         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
59700         * setjmp/tst-setjmp-fp.c: New file.
59701         * setjmp/Makefile (tests): Add tst-setjmp-fp.
59702         (link-libm): New variable.
59703         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
59705         * math/libm-test.inc (struct test_f_i_data): New type.
59706         (RUN_TEST_LOOP_f_i): New macro.
59707         (RUN_TEST_LOOP_f_i_tg): Likewise.
59708         (fpclassify_test_data): New variable.
59709         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
59710         (ilogb_test_data): New variable.
59711         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
59713         * math/libm-test.inc (scalbln_test): Correct function name in END
59714         call.
59716         * math/libm-test.inc (struct test_f_f1_data): Add comment.
59717         (RUN_TEST_LOOP_fI_f1): New macro.
59718         (frexp_test_data): New variable.
59719         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
59721         * math/libm-test.inc (struct test_fF_f1_data): New type.
59722         (RUN_TEST_LOOP_fF_f1): New macro.
59723         (modf_test_data): New variable.
59724         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
59726         * math/libm-test.inc (struct test_f_f1_data): New type.
59727         (RUN_TEST_LOOP_f_f1): New macro.
59728         (gamma_test_data): New variable.
59729         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
59730         (lgamma_test_data): New variable.
59731         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
59733 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
59735         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
59736         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
59737         (main): Comment "tls" pseudo-hwcap.
59739 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
59741         * math/libm-test.inc (struct test_fl_f_data): New type.
59742         (RUN_TEST_LOOP_fl_f): New variable.
59743         (scalbln_test_data): New variable.
59744         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
59746         * math/libm-test.inc (struct test_fi_f_data): New type.
59747         (RUN_TEST_LOOP_fi_f): New macro.
59748         (ldexp_test_data): New variable.
59749         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
59750         (scalbn_test_data): New variable.
59751         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
59753         * math/libm-test.inc (struct test_c_f_data): New type.
59754         (RUN_TEST_LOOP_c_f): New macro.
59755         (cabs_test_data): New variable.
59756         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
59757         (carg_test_data): New variable.
59758         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
59759         (cimag_test_data): New variable.
59760         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
59761         (creal_test_data): New variable.
59762         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
59764         * math/libm-test.inc (struct test_if_f_data): New type.
59765         (RUN_TEST_LOOP_if_f): New macro.
59766         (jn_test_data): New variable.
59767         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
59768         (yn_test_data): New variable.
59769         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
59771         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
59773 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59775         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
59776         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
59778 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
59780         * benchtests/Makefile (CPPFLAGS-nonlib): Add
59781         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
59782         (bench-deps): Add bench-timing.h.
59783         * benchtests-bench-skeleton.c: Include bench-timing.h.
59784         (main): Use TIMING_* macros instead of clock_gettime.
59785         * benchtests/bench-timing.h: New file.
59787         [BZ #14582]
59788         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
59789         Renamed from _LIB_VERSION.
59790         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
59792 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
59794         * math/libm-test.inc (struct test_fff_f_data): New type.
59795         (RUN_TEST_LOOP_fff_f): New macro.
59796         (fma_test_data): New variable.
59797         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
59798         (fma_towardzero_test_data): New variable.
59799         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
59800         (fma_downward_test_data): New variable.
59801         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
59802         (fma_upward_test_data): New variable.
59803         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
59805         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
59806         (struct test_c_c_data): New type.
59807         (RUN_TEST_LOOP_c_c): New macro.
59808         (cacos_test_data): New variable.
59809         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
59810         (cacosh_test_data): New variable.
59811         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
59812         (casin_test_data): New variable.
59813         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
59814         (casinh_test_data): New variable.
59815         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
59816         (catan_test_data): New variable.
59817         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
59818         (catanh_test_data): New variable.
59819         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
59820         (ccos_test_data): New variable.
59821         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
59822         (ccosh_test_data): New variable.
59823         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
59824         (cexp_test_data): New variable.
59825         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
59826         (clog_test_data): New variable.
59827         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
59828         (clog10_test_data): New variable.
59829         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
59830         (conj_test_data): New variable.
59831         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
59832         (cproj_test_data): New variable.
59833         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
59834         (csin_test_data): New variable.
59835         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
59836         (csinh_test_data): New variable.
59837         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
59838         (csqrt_test_data): New variable.
59839         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
59840         (ctan_test_data): New variable.
59841         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
59842         (ctan_tonearest_test_data): New variable.
59843         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
59844         (ctan_towardzero_test_data): New variable.
59845         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
59846         (ctan_downward_test_data): New variable.
59847         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
59848         (ctan_upward_test_data): New variable.
59849         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
59850         (ctanh_test_data): New variable.
59851         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
59852         (ctanh_tonearest_test_data): New variable.
59853         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
59854         (ctanh_towardzero_test_data): New variable.
59855         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
59856         (ctanh_downward_test_data): New variable.
59857         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
59858         (ctanh_upward_test_data): New variable.
59859         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
59860         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
59861         of BUILD_COMPLEX.
59863         * math/libm-test.inc (struct test_ff_f_data): New type.
59864         (struct test_ff_f_data_nexttoward): Likewise.
59865         (RUN_TEST_LOOP_2_f): New macro.
59866         (RUN_TEST_LOOP_ff_f): Likewise.
59867         (atan2_test_data): New variable.
59868         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
59869         (copysign_test_data): New variable.
59870         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
59871         (fdim_test_data): New variable.
59872         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
59873         (fmax_test_data): New variable.
59874         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
59875         (fmin_test_data): New variable.
59876         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
59877         (fmod_test_data): New variable.
59878         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
59879         (hypot_test_data): New variable.
59880         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
59881         (nextafter_test_data): New variable.
59882         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
59883         (nexttoward_test_data): New variable.
59884         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
59885         (pow_test_data): New variable.
59886         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
59887         (pow_tonearest_test_data): New variable.
59888         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
59889         (pow_towardzero_test_data): New variable.
59890         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
59891         (pow_downward_test_data): New variable.
59892         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
59893         (pow_upward_test_data): New variable.
59894         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
59895         (remainder_test_data): New variable.
59896         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
59897         (scalb_test_data): New variable.
59898         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
59899         * sysdeps/i386/fpu/libm-test-ulps: Update.
59901 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
59903         * math/libm-test.inc (fma_test): Use max_value instead of local
59904         variable fltmax.
59905         (nextafter_test): Likewise.
59907         * math/libm-test.inc (acos_towardzero_test_data): New variable.
59908         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59909         (acos_downward_test_data): New variable.
59910         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59911         (acos_upward_test_data): New variable.
59912         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59913         (acosh_test_data): New variable.
59914         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
59915         (asin_test_data): New variable.
59916         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
59917         (asin_tonearest_test_data): New variable.
59918         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59919         (asin_towardzero_test_data): New variable.
59920         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59921         (asin_downward_test_data): New variable.
59922         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59923         (asin_upward_test_data): New variable.
59924         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59925         (asinh_test_data): New variable.
59926         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
59927         (atan_test_data): New variable.
59928         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
59929         (atanh_test_data): New variable.
59930         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
59931         (cbrt_test_data): New variable.
59932         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
59933         (ceil_test_data): New variable.
59934         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
59935         (cos_test_data): New variable.
59936         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
59937         (cos_tonearest_test_data): New variable.
59938         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59939         (cos_towardzero_test_data): New variable.
59940         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59941         (cos_downward_test_data): New variable.
59942         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59943         (cos_upward_test_data): New variable.
59944         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59945         (cosh_test_data): New variable.
59946         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
59947         (cosh_tonearest_test_data): New variable.
59948         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59949         (cosh_towardzero_test_data): New variable.
59950         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59951         (cosh_downward_test_data): New variable.
59952         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59953         (cosh_upward_test_data): New variable.
59954         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59955         (erf_test_data): New variable.
59956         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
59957         (erfc_test_data): New variable.
59958         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
59959         (exp_test_data): New variable.
59960         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
59961         (exp_tonearest_test_data): New variable.
59962         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59963         (exp_towardzero_test_data): New variable.
59964         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59965         (exp_downward_test_data): New variable.
59966         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59967         (exp_upward_test_data): New variable.
59968         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59969         (exp10_test_data): New variable.
59970         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
59971         (exp2_test_data): New variable.
59972         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
59973         (expm1_test_data): New variable.
59974         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
59975         (fabs_test_data): New variable.
59976         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
59977         (floor_test_data): New variable.
59978         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
59979         (j0_test_data): New variable.
59980         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
59981         (j1_test_data): New variable.
59982         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
59983         (log_test_data): New variable.
59984         (log_test): Run tests with RUN_TEST_LOOP_f_f.
59985         (log10_test_data): New variable.
59986         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
59987         (log1p_test_data): New variable.
59988         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
59989         (log2_test_data): New variable.
59990         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
59991         (logb_test_data): New variable.
59992         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
59993         (logb_downward_test_data): New variable.
59994         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59995         (nearbyint_test_data): New variable.
59996         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
59997         (rint_test_data): New variable.
59998         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
59999         (rint_tonearest_test_data): New variable.
60000         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60001         (rint_towardzero_test_data): New variable.
60002         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60003         (rint_downward_test_data): New variable.
60004         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60005         (rint_upward_test_data): New variable.
60006         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60007         (round_test_data): New variable.
60008         (round_test): Run tests with RUN_TEST_LOOP_f_f.
60009         (sin_test_data): New variable.
60010         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
60011         (sin_tonearest_test_data): New variable.
60012         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60013         (sin_towardzero_test_data): New variable.
60014         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60015         (sin_downward_test_data): New variable.
60016         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60017         (sin_upward_test_data): New variable.
60018         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60019         (sinh_test_data): New variable.
60020         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
60021         (sinh_tonearest_test_data): New variable.
60022         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60023         (sinh_towardzero_test_data): New variable.
60024         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60025         (sinh_downward_test_data): New variable.
60026         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60027         (sinh_upward_test_data): New variable.
60028         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60029         (sqrt_test_data): New variable.
60030         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
60031         (tan_test_data): New variable.
60032         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
60033         (tan_tonearest_test_data): New variable.
60034         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60035         (tan_towardzero_test_data): New variable.
60036         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60037         (tan_downward_test_data): New variable.
60038         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60039         (tan_upward_test_data): New variable.
60040         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60041         (tanh_test_data): New variable.
60042         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
60043         (tgamma_test_data): New variable.
60044         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
60045         (trunc_test_data): New variable.
60046         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
60047         (y0_test_data): New variable.
60048         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
60049         (y1_test_data): New variable.
60050         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
60051         (significand_test_data): New variable.
60052         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
60054 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
60056         [BZ #12387]
60057         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
60059 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
60061         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
60063 2013-05-10  Andreas Jaeger  <aj@suse.de>
60065         [BZ #15448]
60066         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
60067         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
60069 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
60071         * math/gen-libm-test.pl (adjust_arg): New function.
60072         (special_functions): Handle generating output in both functions
60073         and arrays.
60074         (parse_args): Likewise.
60075         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
60076         $in_func argument to parse_args.
60077         * math/libm-test.inc (struct test_f_f_data): New type.
60078         (IF_ROUND_INIT_): New macro.
60079         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
60080         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
60081         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
60082         (IF_ROUND_INIT_FE_UPWARD): Likewise.
60083         (ROUND_RESTORE_): Likewise.
60084         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
60085         (ROUND_RESTORE_FE_TONEAREST): Likewise.
60086         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
60087         (ROUND_RESTORE_FE_UPWARD): Likewise.
60088         (RUN_TEST_LOOP_f_f): New macro.
60089         (acos_test_data): New variable.
60090         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
60091         (acos_tonearest_test_data): New variable.
60092         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60094 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
60096         * benchtests/bench-skeleton.c (startup): Fix coding style.
60098 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
60100         [BZ #6809]
60101         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
60102         negative infinity argument.
60103         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
60104         negative infinity argument.
60105         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
60106         negative infinity argument.
60107         * math/libm-test.inc (tgamma_test): Expect errno to be set for
60108         domain errors.
60110 2013-05-10  Florian Weimer  <fweimer@redhat.com>
60112         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
60113         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
60114         * iconv/iconv_prog.c (main): Likewise.
60115         * locale/programs/charmap-dir.c (charmap_readdir)
60116         (fopen_uncompressed): Likewise.
60117         * locale/programs/locfile.c (siblings_uncached)
60118         (write_locale_data): Use lstat64 instead of lstat.
60119         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
60120         stat.
60122 2013-05-10  Andreas Jaeger  <aj@suse.de>
60124         [BZ #15395]
60125         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
60126         localization.
60127         Include <locale.h>.
60129 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
60131         * elf/dl-close.c (_dl_close_worker): Add comments.
60133 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
60135         [BZ #15359]
60136         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
60137         high part of pi/2.
60138         (__ieee754_rem_pio2l): Update comments.
60140         [BZ #15429]
60141         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
60142         high part of pi/2.
60143         (__ieee754_rem_pio2l): Update comments.
60145         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
60146         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
60148         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
60149         M_PI_4l.
60151         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
60152         (M_PI_34_LOG10El): Likewise.
60153         (M_PI2_LOG10El): Likewise.
60154         (M_PI4_LOG10El): Likewise.
60155         (M_PI_LOG10El): Likewise.
60157 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60159         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60161 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
60163         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
60164         (MINUS_ZERO_INIT): Likewise.
60165         (PLUS_INFTY_INIT): Likewise.
60166         (MINUS_INFTY_INIT): Likewise.
60167         (QNAN_VALUE_INIT): Likewise.
60168         (MAX_VALUE_INIT): Likewise.
60169         (MIN_VALUE_INIT): Likewise.
60170         (MIN_SUBNORM_VALUE_INIT): Likewise.
60171         (plus_zero): Initialize with PLUS_ZERO_INIT.
60172         (minus_zero): Initialize with MINUS_ZERO_INIT.
60173         (plus_infty): Initialize with PLUS_INFTY_INIT.
60174         (minus_infty): Initialize with MINUS_INFTY_INIT.
60175         (qnan_value): Initialize with QNAN_VALUE_INIT.
60176         (max_value): Initialize with MAX_VALUE_INIT.
60177         (min_value): Initialize with MIN_VALUE_INIT.
60178         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
60180         * math/libm-test.inc (RUN_TEST_if_f): New macro.
60181         (jn_test): Use TEST_if_f instead of TEST_ff_f.
60182         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
60183         (yn_test): Use TEST_if_f instead of TEST_ff_f.
60185         * math/libm-test.inc (RUN_TEST_f_f): New macro.
60186         (RUN_TEST_2_f): Likewise.
60187         (RUN_TEST_ff_f): Likewise.
60188         (RUN_TEST_fi_f): Likewise.
60189         (RUN_TEST_fl_f): Likewise.
60190         (RUN_TEST_fff_f): Likewise.
60191         (RUN_TEST_c_f): Likewise.
60192         (RUN_TEST_f_f1): Likewise.
60193         (RUN_TEST_fF_f1): Likewise.
60194         (RUN_TEST_fI_f1): Likewise.
60195         (RUN_TEST_ffI_f1): Likewise.
60196         (RUN_TEST_c_c): Likewise.
60197         (RUN_TEST_cc_c): Likewise.
60198         (RUN_TEST_f_i): Likewise.
60199         (RUN_TEST_f_i_tg): Likewise.
60200         (RUN_TEST_ff_i_tg): Likewise.
60201         (RUN_TEST_f_b): Likewise.
60202         (RUN_TEST_f_b_tg): Likewise.
60203         (RUN_TEST_f_l): Likewise.
60204         (RUN_TEST_f_L): Likewise.
60205         (RUN_TEST_sincos): Likewise.
60206         * math/gen-libm-test.pl (new_test): Take new argument to indicate
60207         whether to show exceptions.  Do not include ");\n" in return
60208         value.
60209         (special_functions): Output call to RUN_TEST_sincos instead of
60210         check_float calls.  Update calls to new_test.
60211         (parse_args): Output call to single RUN_TEST_* macro instead of
60212         check_* calls and other assignments.  Update calls to new_test.
60214         [BZ #2546]
60215         [BZ #2560]
60216         [BZ #5159]
60217         [BZ #15426]
60218         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
60219         input to result for tgamma overflow.
60220         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
60221         (gamma_coeff): New variable.
60222         (NCOEFF): New macro.
60223         (gamma_positive): New function.
60224         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
60225         underflow here.  Use gamma_positive instead of exp (lgamma) for
60226         other arguments.
60227         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
60228         (gamma_coeff): New variable.
60229         (NCOEFF): New macro.
60230         (gammaf_positive): New function.
60231         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
60232         underflow here.  Use gamma_positive instead of exp (lgamma) for
60233         other arguments.
60234         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
60235         (gamma_coeff): New variable.
60236         (NCOEFF): New macro.
60237         (gammal_positive): New function.
60238         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
60239         underflow here.  Use gamma_positive instead of exp (lgamma) for
60240         other arguments.
60241         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
60242         (gamma_coeff): New variable.
60243         (NCOEFF): New macro.
60244         (gammal_positive): New function.
60245         (__ieee754_gammal_r): Handle positive infinity, overflow and
60246         underflow here.  Handle NaN the same as positive infinity.  Remove
60247         check x < 0xffffffff for negative integers.  Use gamma_positive
60248         instead of exp (lgamma) for other arguments.
60249         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
60250         (gamma_coeff): New variable.
60251         (NCOEFF): New macro.
60252         (gammal_positive): New function.
60253         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
60254         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
60255         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
60256         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
60257         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
60258         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
60259         * sysdeps/generic/math_private.h (__gamma_productf): New
60260         prototype.
60261         (__gamma_product): Likewise.
60262         (__gamma_productl): Likewise.
60263         * math/Makefile (libm-calls): Add gamma_product.
60264         * math/libm-test.inc (tgamma_test): Add more tests.
60265         * sysdeps/i386/fpu/libm-test-ulps: Update.
60266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60268 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
60270         * benchtests/bench-skeleton.c (main): Preheat CPU.
60272 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
60274         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
60276 2013-05-07  Roland McGrath  <roland@hack.frob.com>
60278         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
60279         and _dl_skip_args_internal.
60281 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
60283         * manual/message.texi (Message Translation): Talk about users.
60284         Message to key mapping impacts design.
60286 2013-05-06  Roland McGrath  <roland@hack.frob.com>
60288         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
60290         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
60292         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
60293         * sysdeps/wordsize-64/glob64.c: ... here.
60295         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
60296         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
60297         New macros.
60299         * debug/getlogin_r_chk.c: Moved to ...
60300         * login/getlogin_r_chk.c: ... here.
60301         * debug/Makefile (routines): Move getlogin_r_chk to ...
60302         * login/Makefile (routines): ... here.
60303         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
60304         * login/Versions (libc: GLIBC_2.4): ... here.
60306         * io/poll.c (__poll): Renamed from poll.
60307         Add libc_hidden_def.
60308         (poll): Define as weak alias.
60310         * debug/ptsname_r_chk.c: Moved to ...
60311         * login/ptsname_r_chk.c: ... here.
60312         * debug/Makefile (routines): Move ptsname_r_chk to ...
60313         * login/Makefile (routines): ... here.
60314         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
60315         * login/Versions (libc: GLIBC_2.4): ... here.
60317         * posix/getlogin.c: Moved to ...
60318         * login/getlogin.c: ... here.
60319         * posix/getlogin_r.c: Moved to ...
60320         * login/getlogin_r.c: ... here.
60321         * posix/getlogin_r.c: Moved to ...
60322         * login/getlogin_r.c: ... here.
60323         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
60324         * login/Makefile (routines): ... here.
60325         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
60326         * login/Versions (libc: GLIBC_2.0): ... here.
60328         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
60329         (setrlimit): Define as weak alias.
60331         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
60332         Call __ names for open, ftruncate, and close.
60333         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
60334         (truncate): Define as weak alias.
60336 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
60338         * math/gen-libm-test.pl (parse_args): Initialize x before each
60339         test of frexp, modf and remquo.
60341         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
60342         test signgam value.
60344 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60346         [BZ #15418]
60347         [BZ #15419]
60348         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
60349         internal tests.
60350         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
60352 2013-05-06  Roland McGrath  <roland@hack.frob.com>
60354         * elf/dl-writev.h: New file.
60355         * elf/dl-misc.c: Include it.
60356         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
60357         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
60359 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
60361         * math/libm-test.inc (noXFails): Remove variable.
60362         (noXPasses): Likewise.
60363         (BUILD_COMPLEX_INT): Remove macro.
60364         (print_screen): Remove xfail argument.
60365         (print_screen_max_error): Likewise.
60366         (update_stats): Likewise.
60367         (print_max_error): Likewise.  Update calls to other affected
60368         functions.
60369         (print_complex_max_error): Likewise.
60370         (test_single_exception): Update calls to print_screen.
60371         (test_single_errno): Likewise.
60372         (check_float_internal): Remove xfail argument.  Update calls to
60373         other affected functions.
60374         (check_float): Likewise.
60375         (check_complex): Likewise.
60376         (check_int): Likewise.
60377         (check_long): Likewise.
60378         (check_bool): Likewise.
60379         (check_longlong): Likewise.
60380         (main): Don't print noXFails and noXPasses.
60381         * math/gen-libm-test.pl (top level): Don't mention expected
60382         failure handling in comment.
60383         (new_test): Don't handle expected failures.
60384         (parse_args): Don't mention expected failure handling in comment.
60385         (generate_testfile): Don't handle expected failures.
60386         (parse_ulps): Likewise.
60387         (print_ulps_file): Likewise.
60388         (get_failure): Remove function.
60389         (output_test): Don't handle expected failures.
60390         * make/README.libm-test: Don't mention expected failure handling.
60392         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
60393         (minus_zero): Likewise.
60394         (plus_infty): Likewise.
60395         (minus_infty): Likewise.
60396         (qnan_value): Likewise.
60397         (max_value): Likewise.
60398         (min_value): Likewise.
60399         (min_subnorm_value): Likewise.
60400         (initialize): Do not initialize those variables dynamically.
60402 2013-05-03  Roland McGrath  <roland@hack.frob.com>
60404         * io/open.c (__open_2): Moved to ...
60405         * io/open_2.c: ... this new file.
60406         * io/open64.c (__open64_2): Moved to ...
60407         * io/open64_2.c: ... this new file.
60408         * io/openat.c (__openat_2): Moved to ...
60409         * io/openat_2.c: ... this new file.
60410         * io/openat64.c (__openat64_2): Moved to ...
60411         * io/openat64_2.c: ... this new file.
60412         * io/Makefile (routines): Add them.
60413         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
60414         * sysdeps/unix/sysv/linux/open_2.c: File removed.
60415         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
60416         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
60417         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
60418         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
60419         (__openat64): Add hidden_ver.
60420         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
60421         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
60423         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
60424         Separately conditionalize setting of GLRO(dl_sysinfo) so
60425         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
60426         as well, but the actual setting is only under [NEED_DL_SYSINFO].
60428 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60430         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
60431         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
60432         definition.
60433         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
60434         * sysdeps/unix/sysv/linux/powerpc/init-first.c
60435         (_libc_vdso_platform_setup): Add __vdso_time initialization.
60436         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
60437         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
60439 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
60441         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
60442         test signgam value.
60444         * math/libm-test.inc (hypot_test): Do not use
60445         IGNORE_ZERO_INF_SIGN.
60447 2013-05-03  Andreas Jaeger  <aj@suse.de>
60449         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
60450         Linux 3.9.
60451         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
60452         (PF_MAX): Adjust for VSOCK change.
60454 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60456         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60458 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
60460         [BZ #15264]
60461         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
60462         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
60463         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
60465 2013-05-02  David S. Miller  <davem@davemloft.net>
60467         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60469 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
60471         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
60473 2013-05-01  Roland McGrath  <roland@hack.frob.com>
60475         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
60477 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
60479         [BZ #14952]
60480         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
60481         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
60482         Use __attribute__ ((__gnu_inline__)).
60483         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
60484         Don't use __attribute__ ((__gnu_inline__)).
60486 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
60488         [BZ #15423]
60489         * math/s_catan.c (__catan): Handle small real or imaginary part of
60490         input specially to avoid spurious underflow.
60491         * math/s_catanf.c (__catanf): Likewise.
60492         * math/s_catanh.c (__catanh): Likewise.
60493         * math/s_catanhf.c (__catanhf): Likewise.
60494         * math/s_catanhl.c (__catanhl): Likewise.
60495         * math/s_catanl.c (__catanl): Likewise.
60496         * math/libm-test.inc (catan_test): Add more tests.
60497         (catanh_test): Likewise.
60498         * sysdeps/i386/fpu/libm-test-ulps: Update.
60499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60501 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60503         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60505 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
60507         [BZ #15416]
60508         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
60509         accurately for denominator in atan2.
60510         * math/s_catanf.c (__catanf): Likewise.
60511         * math/s_catanh.c (__catanh): Likewise.
60512         * math/s_catanhf.c (__catanhf): Likewise.
60513         * math/s_catanhl.c (__catanhl): Likewise.
60514         * math/s_catanl.c (__catanl): Likewise.
60515         * math/libm-test.inc (catan_test): Add more tests.
60516         (catanh_test): Likewise.
60517         * sysdeps/i386/fpu/libm-test-ulps: Update.
60518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60520 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
60522         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
60524         * benchtests/Makefile (bench): Remove slow benchmarks.
60525         * benchtests/atan-inputs: Add slow benchmark inputs.
60526         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
60527         (BENCH_FUNC): Accept variant offset.
60528         (VARIANT): Define.
60529         * benchtests/bench-skeleton.c (main): Run benchmark for each
60530         variant.
60531         * benchtests/cos-inputs: Add slow benchmark inputs.
60532         * benchtests/exp-inputs: Likewise.
60533         * benchtests/pow-inputs: Likewise.
60534         * benchtests/sin-inputs: Likewise.
60535         * benchtests/slowatan-inputs: Remove.
60536         * benchtests/slowatan.c: Remove.
60537         * benchtests/slowcos-inputs: Remove.
60538         * benchtests/slowcos.c: Remove.
60539         * benchtests/slowexp-inputs: Remove.
60540         * benchtests/slowexp.c: Remove.
60541         * benchtests/slowpow-inputs: Remove.
60542         * benchtests/slowpow.c: Remove.
60543         * benchtests/slowsin-inputs: Remove.
60544         * benchtests/slowsin.c: Remove.
60545         * benchtests/slowtan-inputs: Remove.
60546         * benchtests/slowtan.c: Remove.
60547         * benchtests/tan-inputs: Add slow benchmark inputs.
60548         * scripts/bench.pl: Parse comments and directives.
60550         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
60551         in CPPFLAGS.
60552         ($(objpfx)bench-%.c): Remove *-ITER.
60553         * benchtests/bench-modf.c: Remove definition of ITER.
60554         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
60555         (main): Loop for DURATION seconds instead of fixed number of
60556         iterations.
60557         * scripts/bench.pl: Don't expect iterations in parameters.
60559 2013-04-29  Roland McGrath  <roland@hack.frob.com>
60561         * io/fchdir.c (__fchdir): Renamed from fchdir.
60562         (fchdir): Define as weak alias.
60564 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
60566         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
60567         (ERRNO_EDOM): Likewise.
60568         (ERRNO_ERANGE): Likewise.
60569         (noErrnoTests): New variable.
60570         (init_max_error): Set errno to 0.
60571         (test_single_errno): New function.
60572         (test_errno): Likewise.
60573         (check_float_internal): Call test_errno.  Set errno to 0.
60574         (check_complex): Refer to errno tests in comment.
60575         (check_int): Call test_errno.  Set errno to 0.
60576         (check_long): Likewise.
60577         (check_bool): Likewise.
60578         (check_longlong): Likewise.
60579         (cos_test): Use ERRNO_* flags for errno tests instead of
60580         check_int.
60581         (expm1_test): Likewise.
60582         (fmod_test): Likewise.
60583         (ilogb_test): Likewise.
60584         (lgamma_test): Likewise.
60585         (pow_test): Likewise.
60586         (remainder_test): Likewise.
60587         (sin_test): Likewise.
60588         (tan_test): Likewise.
60589         (yn_test): Likewise.
60590         (initialize): Set errno to 0.
60591         (main): Print number of errno tests.
60592         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
60594 2013-04-29  Andreas Jaeger  <aj@suse.de>
60596         [BZ #15084]
60597         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
60598         and RES_USEVC.
60600         [BZ #15085]
60601         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
60602         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
60603         unimplemented.
60605         [BZ #15380]
60606         * stdlib/random.c (__initstate): Return NULL if
60607         __initstate fails.
60609         [BZ #15086]
60610         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
60611         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
60612         RES_SNGLKUPREOP.
60614 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60616         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60618 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
60620         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
60621         of individual tests.
60622         (casin_test): Likewise.
60623         (casinh_test): Likewise.
60625 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
60627         [BZ #15409]
60628         * math/s_catan.c (__catan): Handle arguments with large real or
60629         imaginary part separately without squaring.
60630         * math/s_catanf.c (__catanf): Likewise.
60631         * math/s_catanh.c (__catanh): Likewise.
60632         * math/s_catanhf.c (__catanhf): Likewise.
60633         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
60634         and redefine.
60635         (__catanhl): Handle arguments with large real or imaginary part
60636         separately without squaring.
60637         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
60638         and redefine.
60639         (__catanl): Handle arguments with large real or imaginary part
60640         separately without squaring.
60641         * math/libm-test.inc (catan_test): Add more tests.
60642         (catanh_test): Likewise.
60643         * sysdeps/i386/fpu/libm-test-ulps: Update.
60644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60646 2013-04-27  Andreas Jaeger  <aj@suse.de>
60648         [BZ #15007]
60649         * stdlib/stdlib.h: Update guards for qecvt.
60650         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
60651         <stdlib.h>.
60653 2013-04-27  Allan McRae  <allan@archlinux.org>
60655         * sysdeps/i386/fpu/libm-test-ulps: Update.
60657 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
60659         [BZ #15406]
60660         * math/s_catan.c: Include <float.h>.
60661         (__catan): Ensure underflow exception occurs for underflowed
60662         result.
60663         * math/s_catanf.c: Include <float.h>.
60664         (__catanf): Ensure underflow exception occurs for underflowed
60665         result.
60666         * math/s_catanh.c: Include <float.h>.
60667         (__catanh): Ensure underflow exception occurs for underflowed
60668         result.
60669         * math/s_catanhf.c: Include <float.h>.
60670         (__catanhf): Ensure underflow exception occurs for underflowed
60671         result.
60672         * math/s_catanhl.c: Include <float.h>.
60673         (__catanhl): Ensure underflow exception occurs for underflowed
60674         result.
60675         * math/s_catanl.c: Include <float.h>.
60676         (__catanl): Ensure underflow exception occurs for underflowed
60677         result.
60678         * math/libm-test.inc (catan_test): Add more tests.
60679         (catanh_test): Likewise.
60681         [BZ #15405]
60682         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
60683         underflowed result.
60684         * math/s_ccoshf.c (__ccoshf): Likewise.
60685         * math/s_ccoshl.c (__ccoshl): Likewise.
60686         * math/s_csin.c (__csin): Likewise.
60687         * math/s_csinf.c (__csinf): Likewise.
60688         * math/s_csinh.c (__csinh): Likewise.
60689         * math/s_csinhf.c (__csinhf): Likewise.
60690         * math/s_csinhl.c (__csinhl): Likewise.
60691         * math/s_csinl.c (__csinl): Likewise.
60692         * math/libm-test.inc (ccos_test): Add more tests.
60693         (ccosh_test): Likewise.
60694         (csin_test): Likewise.
60695         (csinh_test): Likewise.
60697 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60699         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
60700         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
60701         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
60702         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
60703         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
60704         powerpc/power5+/fpu folders.
60705         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
60708 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
60710         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60712 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
60714         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
60715         additions to variable.
60716         [$(config-machine) = x86_64] (modules-names): Likewise.
60717         ($(objpfx)tst-audit3): Remove dependency.
60718         ($(objpfx)tst-audit3.out): Likewise.
60719         ($(objpfx)tst-audit4): Likewise.
60720         ($(objpfx)tst-audit4.out): Likewise.
60721         ($(objpfx)tst-audit5): Likewise.
60722         ($(objpfx)tst-audit5.out): Likewise.
60723         ($(objpfx)tst-audit6): Likewise.
60724         ($(objpfx)tst-audit6.out): Likewise.
60725         ($(objpfx)tst-audit7): Likewise.
60726         ($(objpfx)tst-audit7.out): Likewise.
60727         (tst-audit3-ENV): Remove variable.
60728         (tst-audit4-ENV): Likewise.
60729         (tst-audit5-ENV): Likewise.
60730         (tst-audit6-ENV): Likewise.
60731         (tst-audit7-ENV): Likewise.
60732         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
60733         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
60734         addition to variable.
60735         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
60736         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
60737         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
60738         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
60739         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
60740         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
60741         tst-audit3, tst-audit4 and tst-audit5.
60742         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
60743         tst-audit6 and tst-audit7.
60744         [$(subdir) = elf] (modules-names): Add audit modules for those
60745         tests.
60746         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
60747         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
60748         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
60749         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
60750         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
60751         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
60752         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
60753         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
60754         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
60755         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
60756         [$(subdir) = elf] (tst-audit3-ENV): New variable.
60757         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
60758         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
60759         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
60760         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
60761         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
60762         Likewise.
60763         [$(subdir) = elf && $(config-cflags-avx) = yes]
60764         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
60765         [$(subdir) = elf && $(config-cflags-avx) = yes]
60766         (CFLAGS-tst-auditmod4a.c): Likewise.
60767         [$(subdir) = elf && $(config-cflags-avx) = yes]
60768         (CFLAGS-tst-auditmod4b.c): Likewise.
60769         [$(subdir) = elf && $(config-cflags-avx) = yes]
60770         (CFLAGS-tst-auditmod6b.c): Likewise.
60771         [$(subdir) = elf && $(config-cflags-avx) = yes]
60772         (CFLAGS-tst-auditmod6c.c): Likewise.
60773         [$(subdir) = elf && $(config-cflags-avx) = yes]
60774         (CFLAGS-tst-auditmod7b.c): Likewise.
60775         * elf/tst-audit3.c: Move to ...
60776         * sysdeps/x86_64/tst-audit3.c: ... here.
60777         * elf/tst-audit4.c: Move to ...
60778         * sysdeps/x86_64/tst-audit4.c: ... here.
60779         * elf/tst-audit5.c: Move to ...
60780         * sysdeps/x86_64/tst-audit5.c: ... here.
60781         * elf/tst-audit6.c: Move to ...
60782         * sysdeps/x86_64/tst-audit6.c: ... here.
60783         * elf/tst-audit7.c: Move to ...
60784         * sysdeps/x86_64/tst-audit7.c: ... here.
60785         * elf/tst-auditmod3a.c: Move to ...
60786         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
60787         * elf/tst-auditmod3b.c: Move to ...
60788         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
60789         * elf/tst-auditmod4a.c: Move to ...
60790         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
60791         * elf/tst-auditmod4b.c: Move to ...
60792         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
60793         * elf/tst-auditmod5a.c: Move to ...
60794         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
60795         * elf/tst-auditmod5b.c: Move to ...
60796         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
60797         * elf/tst-auditmod6a.c: Move to ...
60798         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
60799         * elf/tst-auditmod6b.c: Move to ...
60800         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
60801         * elf/tst-auditmod6c.c: Move to ...
60802         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
60803         * elf/tst-auditmod7a.c: Move to ...
60804         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
60805         * elf/tst-auditmod7b.c: Move to ...
60806         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
60808 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
60810         [BZ #15366]
60811         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
60812         define unconditionally.
60813         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
60814         define unconditionally.
60815         (INT8_C, INT16_C, etc.): Likewise.
60817 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
60819         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
60820         __ehdr_start with hidden visibility.
60822         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
60824 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
60826         * math/libm-test.inc (cos_test): Use accurate hex constants.
60827         (sincost_test): Likewise.
60829 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
60831         * math/libm-test.inc (catan_test): Add more tests.
60832         (catanh_test): Likewise.
60834         * math/s_catanf.c (__catanf): Use suffixed floating-point
60835         constants.
60836         * math/s_catanhf.c (__catanhf): Likewise.
60837         * math/s_catanhl.c (__catanhl): Likewise.
60838         * math/s_catanl.c (__catanl): Likewise.
60840         [BZ #15394]
60841         * math/s_catan.c (__catan): Calculate imaginary part of result
60842         with log1p not log unless computing log of number close to 0.
60843         * math/s_catanf.c (__catanf): Likewise.
60844         * math/s_catanl.c (__catanl): Likewise.
60845         * math/s_catanh.c (__catanh): Calculate real part of result with
60846         log1p not log unless computing log of number close to 0.
60847         * math/s_catanhf.c (__catanhf): Likewise.
60848         * math/s_catanhl.c (__catanhl): Likewise.
60849         * math/libm-test.inc (catan_test): Add more tests.
60850         (catanh_test): Likewise.
60851         * sysdeps/i386/fpu/libm-test-ulps: Update.
60852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60854 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
60856         * benchtests/Makefile: Mention files in which fast and slow
60857         paths of math functions are implemented.
60859 2013-04-23  Roland McGrath  <roland@hack.frob.com>
60861         * sysdeps/posix/timespec_get.c: New file.
60863 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60865         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
60866         POWER.
60867         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
60868         for POWER.
60869         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
60870         powerpc/power5/fpu folders.
60871         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
60872         * benchtests/Makefile: Add modf testcase.
60873         * benchtests/bench-modf.c: New file: Benchmark test for mo
60875 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
60877         [BZ #14888]
60878         * time/Makefile (tests): Add tst-strptime-whitespace.
60879         * time/strptime_l.c (get_number): Use ISSPACE.
60880         (__strptime_internal): Likewise.
60881         * time/tst-strptime-whitespace.c: New test case.
60883 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
60885         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
60886         member.
60887         (_nss_files_init): Set it here.
60889 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
60891         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
60892         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
60893         unsigned.
60895 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
60897         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
60899 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
60901         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
60902         size just once.
60904 2013-04-21  David S. Miller  <davem@davemloft.net>
60906         * po/ru.po: Update Russion translation from translation project.
60908 2013-04-17  Adam Conrad  <adconrad@0c3.net>
60910         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
60911         and setfsgid.
60913 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
60915         * configure.in: Remove i386 configure warning. Remove i386 case.
60916         * configure: Regenerate.
60917         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
60918         Add example to error message.
60919         * sysdeps/i386/configure: Regenerate.
60921 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
60923         * benchtests/Makefile (bench): Add cos, tan, slowcos and
60924         slowtan.
60925         * benchtests/cos-inputs: New file.
60926         * benchtests/slowcos-inputs: New file.
60927         * benchtests/slowcos.c: New file.
60928         * benchtests/slowtan-inputs: New file.
60929         * benchtests/slowtan.c: New file.
60930         * benchtests/tan-inputs: New file.
60932 2013-04-16  Roland McGrath  <roland@hack.frob.com>
60934         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
60935         considered kosher.
60937 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
60939         * benchtests/Makefile: Include cppflags-iterator.mk to add
60940         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
60942         * Makefile.in (bench-clean): New target.
60943         * benchtests/Makefile (bench-clean): Likewise.
60945 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
60947         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
60949 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
60951         * stdio-common/tstdiomisc.c: Fix coding-style violation.
60953 2013-04-15  Andreas Schwab  <schwab@suse.de>
60955         * nscd/grpcache.c (cache_addgr): Properly check for short write.
60956         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60957         * nscd/pwdcache.c (cache_addpw): Likewise.
60958         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
60959         more than recsize.
60961 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60963         * benchtests/Makefile (bench): Write all output to
60964         bench-out.tmp together.
60966 2013-04-15  Andreas Schwab  <schwab@suse.de>
60968         * nscd/nscd.c (main): Don't fork again after closing files.
60970 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60972         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
60974         * benchtests/Rules (bench-deps): Collect dependencies into a
60975         single variable.  Add Makefile to dependencies.
60976         ($(objpfx)bench-%.c): Depend on bench-deps.
60978 2013-04-12  Roland McGrath  <roland@hack.frob.com>
60979             Xavier Roche  <roche+kml2@exalead.com>
60981         [BZ #15361]
60982         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
60983         just that it's a file descriptor.
60984         * manual/llio.texi (Synchronizing AIO Operations): Update description
60985         for EBADF error from aio_fsync.
60987 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
60989         * Rules (bench): Move target definition...
60990         * benchtests/Makefile: ... here.
60992 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
60994         * math/libm-test.inc (cos_test): Fix PI/2 test.
60995         (sincos_test): Likewise.
60996         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
60997         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
60999 2013-04-11  Andreas Schwab  <schwab@suse.de>
61001         [BZ #13988]
61002         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
61003         accept exponent character only when digits were seen.
61004         * stdio-common/Makefile (tests): Add bug26.
61005         * stdio-common/bug26.c: New file.
61007         [BZ #14293]
61008         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
61009         non-freeable.
61011 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
61013         * Makeconfig (rtld-prefix): Define built linker prefix.
61014         * Rules (run-bench): Use it.
61015         * math/Makefile (run-regen-ulps): Likewise.
61017         * Rules (bench): Remove eval.
61019 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
61020             Roland McGrath  <roland@hack.frob.com>
61021             Ondrej Bilka  <neleai@seznam.cz>
61023         [BZ #15346]
61024         * time/getdate.c: Include ctype.h and alloca.h.
61025         (__getdate_r): Trim leading and trailing spaces of input.
61026         * time/tst-getdate.c (tests): Add tests with leading and
61027         trailing spaces.
61029 2013-04-08  Roland McGrath  <roland@hack.frob.com>
61031         [BZ #14280]
61032         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
61033         when computing value.
61035 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
61037         * math/README.libm-test (How can I generate "libm-test-ulps"?):
61038         Use testrun.sh to run libm tests.
61040         [BZ #15309]
61041         * elf/dl-open.c (dl_open_worker): memset all of seen array.
61043 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
61045         [BZ #15264]
61046         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
61048 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
61050         * Makefile.in (regen-ulps): New target.
61051         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
61052         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
61053         [ifneq (no,$(PERL)] (regen-ulps): New target.
61054         [ifeq (no,$(PERL)] (regen-ulps): New target.
61055         * math/libm-test.inc (ulps_file_name): Define.
61056         (output_dir): New variable.
61057         (options): Add "output-dir" option.
61058         (parse_opt): Handle 'o' case.
61059         (main): If output_dir is non-NULL use it as a prefix
61060         otherwise use "".
61061         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
61063 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
61065         [BZ #10060, #10062]
61066         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
61067         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
61068         fail configure if __sync_val_compare_and_swap is not inlined.
61069         * sysdeps/i386/configure: Regenerate.
61070         * configure.in: Build for i686 when configured for i386.
61071         * configure: Regenerate.
61072         * README: Remove i386 reference.
61074 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
61076         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
61077         * sysdeps/s390/s390-64/sysdep.h: Likewise.
61079 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
61081         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
61082         (lmsnanval): New variables.
61083         (F): Add conversion tests.
61084         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
61085         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
61087         * stdio-common/tstdiomisc.c (F): Properly collect individual
61088         tests' results.
61090         [BZ #14686, #15336]
61091         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
61092         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
61093         Instead, use input NaN values or generate a qNaN by arithmetic
61094         operation.  Also fix bugs to comply with the standard.
61095         * math/libm-test.inc (remainder_test): Add more tests.
61097         [BZ #15335, #15342]
61098         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
61099         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
61100         input NaN values or generate a qNaN by arithmetic operation.
61102         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
61103         unreachable code.
61105         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
61106         definitions.
61108 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
61110         [BZ #14478]
61111         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
61112         underflowed result.
61113         * math/s_cexpf.c (__cexpf): Likewise.
61114         * math/s_cexpl.c (__cexpl): Likewise.
61115         * math/libm-test.inc (cexp_test): Add more tests.
61117 2013-04-03  Andreas Schwab  <schwab@suse.de>
61119         [BZ #15330]
61120         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
61121         order arrays from heap if bigger than alloca cutoff.
61123 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
61125         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
61126         (SNAN_TESTS_double): Refer to GCC PR56831.
61127         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
61128         GCC PR56828.
61130 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
61132         * Rules (bench): Move bench.out after the run is complete.
61134         * Rules (bench): Echo currently running benchmark.
61136         * benchtests/Makefile (bench): Add atan and slowatan.
61137         * benchtests/atan-inputs: New file.
61138         * benchtests/slowatan-inputs: New file.
61139         * benchtests/slowatan.c: New file.
61141         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
61142         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
61143         its value.
61145         [BZ #15305]
61146         * sysdeps/unix/sysv/linux/kernel-features.h
61147         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
61148         __ASSUME_XFS_RESTRICTED_CHOWN.
61149         * sysdeps/unix/sysv/linux/pathconf.c
61150         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
61151         Save and restore errno.
61153 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
61155         [BZ #15327]
61156         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
61157         arguments using __kernel_casinh.
61158         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
61159         arguments using __kernel_casinhf.
61160         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
61161         arguments using __kernel_casinhl.
61162         * math/libm-test.inc (cacosh_test): Add more tests.
61163         * sysdeps/i386/fpu/libm-test-ulps: Update.
61164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61166 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
61168         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
61169         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
61171         * bench/Makefile (bench): Add sin and slowsin.
61172         * benchtests/sin-inputs: New file.
61173         * benchtests/slowsin-inputs: New file.
61174         * benchtests/slowsin.c: New file.
61176         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
61177         (bench): Add slowexp and slowpow.
61178         (exp-ITER): Increase iterations.
61179         (pow-ITER): Likewise.
61180         * benchtests/exp-inputs: Change input.
61181         * benchtests/pow-inputs: Likewise.
61182         * benchtests/slowexp-inputs: New file.
61183         * benchtests/slowexp.c: New file.
61184         * benchtests/slowpow-inputs: New file.
61185         * benchtests/slowpow.c: New file.
61187 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61189         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
61190         instructions.
61191         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
61192         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
61193         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
61194         * benchtests/Makefile: Add rint benchtest.
61195         * benchtests/rint-inputs: Input for rint benchtest.
61197 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
61199         * Versions.def (libm): Add GLIBC_2.18.
61200         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
61201         hidden libm prototypes.
61202         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
61203         * math/Makefile (libm-calls): Add s_issignaling.
61204         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
61205         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
61206         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
61207         declaration.
61208         * math/math.h [__USE_GNU] (issignaling): New macro.
61209         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
61210         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
61211         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
61212         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
61213         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
61214         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
61215         * manual/arith.texi (issignaling): New section.
61216         * manual/libm-err-tab.pl (@all_functions): Update comment.
61217         * math/gen-libm-test.pl (parse_args): Apply special handling for
61218         issignaling.
61219         * math/libm-test.inc (print_float, issignaling_test): New
61220         functions.
61221         (check_float_internal): Add issignaling checks.
61222         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
61223         default definition.
61224         * sysdeps/powerpc/math-tests.h: New file.
61225         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
61226         tests.
61227         * math/test-snan.c (TEST_FUNC): Likewise.
61229 2013-03-30  David S. Miller  <davem@davemloft.net>
61231         * po/de.po: Update from translation team.
61233 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
61235         [BZ #10357]
61236         * math/k_casinh.c (__kernel_casinh): Handle arguments with
61237         imaginary part less than 1.0 and real part less than 0.5
61238         specially.
61239         * math/k_casinhf.c (__kernel_casinhf): Likewise.
61240         * math/k_casinhl.c (__kernel_casinhl): Likewise.
61241         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
61242         (cacos_test): Add more tests.
61243         (casin_test): Likewise.
61244         (casinh_test): Likewise.
61245         * sysdeps/i386/fpu/libm-test-ulps: Update.
61246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61248 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61250         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
61251         ONE with its value.
61253         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
61254         (__pow_mp): Replace ONE and MONE with their values.
61255         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
61256         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
61257         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
61258         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
61259         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
61260         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
61262         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
61264         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
61265         (__pow_mp): Replace ZERO and MZERO with their values.
61266         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
61267         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
61268         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
61269         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
61270         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
61271         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
61272         (__sqr): Likewise.
61274         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
61276         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
61278 2013-03-28  Roland McGrath  <roland@hack.frob.com>
61280         * include/stdlib.h [!SHARED] (__call_tls_dtors):
61281         Declare with __attribute__ ((weak)).
61282         * stdlib/exit.c (__libc_atexit) [!SHARED]:
61283         Call __call_tls_dtors only if it's not NULL.
61285 2013-03-28  Roland McGrath  <roland@hack.frob.com>
61287         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
61288         didn't do it already, then set _dl_phdr and _dl_phnum based on the
61289         magic __ehdr_start linker symbol if it's defined.
61290         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
61291         them up here if it was already done.
61293         * elf/dl-support.c (_dl_phdr): Make pointer to const.
61294         (_dl_aux_init): Use const in cast when setting it.
61295         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
61296         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
61297         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
61299         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
61300         Declare them here.
61301         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
61302         * csu/libc-tls.c: Nor here.
61303         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
61305         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
61306         (__libc_message): Never call vsyslog.
61308 2013-03-28  Alan Modra  <amodra@gmail.com>
61310         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
61311         Define as empty.
61312         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
61313         Likewise.
61315 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61317         [BZ #15214]
61318         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
61319         underflow.
61320         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61322 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61324         [BZ #15304]
61325         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
61326         Don't add gid passed as argument.
61328         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
61330 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
61332         [BZ #15307]
61333         * math/k_casinh.c (__kernel_casinh): Handle arguments with
61334         imaginary part between 1.0 and 1.5 and real part less than 0.5
61335         specially.
61336         * math/k_casinhf.c (__kernel_casinhf): Likewise.
61337         * math/k_casinhl.c (__kernel_casinhl): Likewise.
61338         * math/libm-test.inc (cacos_test): Add more tests.
61339         (casin_test): Likewise.
61340         (casinh_test): Likewise.
61341         * sysdeps/i386/fpu/libm-test-ulps: Update.
61342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61344 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61346         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
61347         constants.
61348         (norm): Likewise.
61349         (denorm): Likewise.
61350         (__dbl_mp): Likewise.
61351         (add_magnitudes): Likewise.
61352         (sub_magnitudes): Likewise.
61353         (__add): Likewise.
61354         (__sub): Likewise.
61355         (__mul): Likewise.
61356         (__sqr): Likewise.
61357         (__inv): Likewise.
61358         (__dvd): Likewise.
61360         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
61361         commented code.
61362         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
61363         (__dubcos): Likewise.
61364         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
61365         (__ieee754_acos): Likewise.
61366         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
61367         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
61368         (__exp1): Likewise.
61369         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
61370         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
61371         (log1): Likewise.
61372         (my_log2): Likewise.
61373         (checkint): Likewise.
61374         * sysdeps/ieee754/dbl-64/e_remainder.c
61375         (__ieee754_remainder): Likewise.
61376         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
61377         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
61378         (bsloww): Likewise.
61379         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
61381         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
61382         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
61383         MANTISSA_STORE_T to store computations on mantissa.  Use
61384         macros for rounding and division.
61385         (denorm): Likewise.
61386         (__dbl_mp): Likewise.
61387         (add_magnitudes): Likewise.
61388         (sub_magnitudes): Likewise.
61389         (__mul): Likewise.
61390         (__sqr): Likewise.
61391         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
61392         powers of two in terms of TWOPOW macro.
61393         (mp_no): Make type of mantissa as MANTISSA_T.
61394         [!RADIXI]: Define RADIXI.
61395         [!TWO52]: Define TWO52.
61396         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
61398 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61400         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
61401         llroundl symbol when building for PPC32.
61403 2013-03-24  Mark H Weaver  <mhw@netris.org>
61405         * manual/arith.texi (Normalization Functions): Fix prototypes for
61406         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
61408 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61410         [BZ #13889]
61411         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
61412         high value to check if expl overflow.
61413         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
61414         to check for underflow and overflow.
61415         * math/libm-test.inc: Add exp test.
61417 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
61419         [BZ #11120]
61420         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
61421         with NOT_IN_libc.
61423 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61425         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
61426         symbol.
61428 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
61430         * math/gen-libm-test.pl (parse_args, special_functions): Properly
61431         wrap blocks consisting of several statements.
61433         * sysdeps/generic/math-tests.h: New file.
61434         * sysdeps/i386/fpu/math-tests.h: Likewise.
61435         * math/test-snan.c: Include it.
61436         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
61438 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
61440         [BZ #15285]
61441         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
61442         (__ieee754_j0l): Do not improve calculations using cos of twice
61443         input for inputs above LDBL_MAX / 2.0L.
61444         (__ieee754_y0l): Likewise.
61445         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
61446         (__ieee754_j1l): Do not improve calculations using cos of twice
61447         input for inputs above LDBL_MAX / 2.0L.
61448         (__ieee754_y1l): Likewise.
61449         * math/libm-test.inc (j0_test): Add another test.
61450         (j1_test): Likewise.
61451         (y0_test): Likewise.
61452         (y1_test): Likewise.
61453         * sysdeps/i386/fpu/libm-test-ulps: Update.
61455 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61457         * Rules ($(objpfx)bench-%.c): Include code from a C source
61458         file.
61460 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
61462         [BZ #15287]
61463         * math/k_casinh.c (__kernel_casinh): Handle arguments with
61464         imaginary part 1.0 and real part less than 0.5 specially.
61465         * math/k_casinhf.c (__kernel_casinhf): Likewise.
61466         * math/k_casinhl.c (__kernel_casinhl): Likewise.
61467         * math/libm-test.inc (cacos_test): Add more tests.
61468         (casin_test): Likewise.
61469         (casinh_test): Likewise.
61470         * sysdeps/i386/fpu/libm-test-ulps: Update.
61471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61473 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61475         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
61476         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
61478 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
61480         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
61481         * config.make.in (config-cflags-sse4): Remove variable.
61482         (config-cflags-avx): Likewise.
61483         (config-cflags-sse2avx): Likewise.
61484         (config-cflags-novzeroupper): Likewise.
61485         (config-asflags-i686): Likewise.
61486         (have-mfma4): Likewise.
61487         (have-as-vis3): Likewise.
61488         (MIG): Likewise.
61489         * configure.in (MIG): Do not AC_SUBST.
61490         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
61491         (libc_cv_cc_sse4): Do not AC_SUBST.
61492         (libc_cv_cc_avx): Likewise.
61493         (libc_cv_cc_sse2avx): Likewise.
61494         (libc_cv_cc_novzeroupper): Likewise.
61495         (libc_cv_cc_fma4): Likewise.
61496         (libc_cv_as_i686): Likewise.
61497         (libc_cv_sparc_as_vis3): Likewise.
61498         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
61499         LIBC_CONFIG_VAR.
61500         (config-asflags-i686): Likewise.
61501         (config-cflags-avx): Likewise.
61502         (config-cflags-sse2avx): Likewise.
61503         (have-mfma4): Likewise.
61504         (config-cflags-novzeroupper): Likewise.
61505         * sysdeps/mach/configure.in (MIG): Likewise.
61506         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
61507         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
61508         LIBC_CONFIG_VAR.
61509         (config-cflags-avx): Likewise.
61510         (config-cflags-sse2avx): Likewise.
61511         (have-mfma4): Likewise.
61512         (config-cflags-novzeroupper): Likewise.
61513         * configure: Regenerated.
61514         * sysdeps/i386/configure: Likewise.
61515         * sysdeps/mach/configure: Likewise.
61516         * sysdeps/sparc/configure: Likewise.
61517         * sysdeps/x86_64/configure: Likewise.
61519 2013-03-20  Roland McGrath  <roland@hack.frob.com>
61521         [BZ #14812]
61522         * locale/programs/localedef.c (options): Put N_ translation marker
61523         on argument names, not just descriptions.
61525 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61527         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
61529 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
61531         [BZ #14176]
61532         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
61534 2013-03-19  Roland McGrath  <roland@hack.frob.com>
61536         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
61537         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
61538         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
61539         [!BEFORE_ABORT] (before_abort): New function.
61540         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
61541         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
61542         (writev_for_fatal): New function.
61543         (WRITEV_FOR_FATAL): New macro; call that.
61544         (backtrace_and_maps): New function.
61545         (BEFORE_ABORT): New macro; call that.
61546         (struct str_list): Type removed.
61547         (__libc_message, __libc_fatal): Functions removed.
61548         Include <sysdeps/posix/libc_fatal.c> instead.
61550 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
61552         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
61553         constants.
61554         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
61555         double constants.
61557 2013-03-19  Andreas Schwab  <schwab@suse.de>
61559         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
61560         * sysdeps/gnu/configure: Regenerate.
61562         * configure.in: Substitute libc_cv_rtlddir.
61563         * configure: Regenerate.
61564         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
61565         * Makeconfig (rtlddir, inst_rtlddir): New variables.
61566         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
61567         * elf/Makefile (install-others, CFLAGS-interp.c)
61568         (ldso_install, common-ldd-rewrite): Likewise.
61569         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
61570         $(inst_slibdir)/$(rtld-installed-name).
61571         * scripts/rellns-sh: Add -p option.
61572         * Makerules (make-shlib-link): Use rellns-sh to get relative name
61573         for source.
61575 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
61577         * manual/nptl.texi: Renamed to ...
61578         * manual/threads.texi: ... this.
61579         * manual/Makefile (chapters): Update.
61581 2013-03-18  Roland McGrath  <roland@hack.frob.com>
61583         [BZ #14812]
61584         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
61585         on argument names, not just descriptions.
61586         * malloc/memusagestat.c (options): Likewise.
61587         * nss/getent.c (options): Likewise.
61589 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
61591         [BZ #14812]
61592         * iconv/iconv_prog.c (options): Put N_ translation marker
61593         on argument names, not just descriptions.
61594         * iconv/iconvconfig.c (options): Likewise.
61596 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
61598         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
61599         implementation which is faster on all x86_64 architectures.
61600         Tested on AMD, Intel Nehalem, SNB, IVB.
61601         * sysdeps/x86_64/strnlen.S: Likewise.
61603         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
61604         Remove all multiarch strlen and strnlen versions.
61605         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
61606         Remove strlen and strnlen related parts.
61608         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
61609         Inline strlen part.
61610         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
61612         * sysdeps/x86_64/multiarch/strlen.S: Remove.
61613         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
61614         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
61615         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
61616         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
61617         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
61619 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
61621         * manual/memory.texi (Malloc Tunable Parameters):
61622         Sort parameters alphabetically. Add comments for missing entries.
61624 2013-03-17  David S. Miller  <davem@davemloft.net>
61626         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61628 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
61630         [BZ #15283]
61631         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
61632         for arguments at most half maximum finite value.
61633         * math/libm-test.inc (j0_test): Add more tests.
61634         (j1_test): Likewise.
61635         (y0_test): Likewise.
61636         (y1_test): Likewise.
61637         * sysdeps/i386/fpu/libm-test-ulps: Update.
61638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61640         [BZ #14155]
61641         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
61642         1 / x and functions P and Q for arguments above 0x1p256L.
61643         (__ieee754_y0l): Likewise.
61644         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
61645         (__ieee754_y1l): Likewise.
61646         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
61647         (j1_test): Likewise.
61648         (y0_test): Likewise.
61649         (y1_test): Likewise.
61651 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
61653         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
61654         variable.
61656 2013-03-15  Roland McGrath  <roland@hack.frob.com>
61658         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
61659         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
61660         zero since it's initialized to EXEC_PAGESIZE.
61662         * sysdeps/unix/sysv/linux/ldsodefs.h
61663         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
61664         * sysdeps/generic/ldsodefs.h: ... here.
61666 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
61668         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
61670         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
61671         math/test-snan.c.
61672         * math/test-snan.c: Renamed from
61673         sysdeps/powerpc/fpu/test-powerpc-snan.c.
61674         * math/Makefile (tests): Add test-snan.
61675         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
61676         test-powerpc-snan.
61678         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
61679         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
61680         functions.
61681         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
61682         __builtin_nan family of functions.
61683         * math/libm-test.inc (initialize): Initialize qnan_value with
61684         __builtin_nan family of functions.
61685         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
61686         Remove variables.
61687         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
61688         Remove functions.
61689         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
61690         storage class.  Initialize qNaN_var and sNaN_var with
61691         __builtin_nan and __builtin_nans families of functions,
61692         respectively.
61694         * math/libm-test.inc (acosh_test): Also test with qNaN input.
61695         (sqrt_test): Remove duplicate test with qNaN input.
61696         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
61697         (round_test, signbit_test, significand_test): Note missing +/-Inf
61698         as well as qNaN tests.
61700         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
61701         qNaN_var.  Fix a few strings, too.
61702         * math/libm-test.inc (nan_value): Rename to qnan_value.
61703         * math/gen-libm-test.pl (%beautify): Adjust to that.
61704         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
61705         * math/test-misc.c (main): Likewise.
61706         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
61707         to __qnan_bytes, and __qnan_union, respectively.
61708         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
61709         Likewise.
61710         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
61711         and lqnanval, respectively.
61712         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
61713         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
61714         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
61715         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
61717         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
61718         * math/test-misc.c (main) [__x86_64__]: Enable test for long
61719         doubles.
61721         * math/test-misc.c (main): Fix copy'n'pastos.
61722         * misc/tst-efgcvt.c (special): Likewise.
61724         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
61725         Remove declarations.
61727 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
61729         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
61730         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
61731         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
61732         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
61734 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61736         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
61737         macro to return vdso values correctly in IFUNC implementations.
61738         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
61739         Optimization by using IFUNC.
61741 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
61742             Richard Henderson  <rth@redhat.com>
61743             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61745         * Makefile.in (bench): New target.
61746         * NEWS: Mention the benchmark framework.
61747         * Rules (bench): Likewise.
61748         (binaries-bench): Generate binaries for functions to
61749         benchmark.
61750         * benchtests/Makefile: New makefile for benchmark tests.
61751         * benchtests/bench-skeleton.c: New skeleton file for benchmark
61752         programs.
61753         * benchtests/exp-inputs: New input file for EXP function.
61754         * benchtests/pow-inputs: New input file for POW function.
61755         * scripts/bench.pl: New script to generate source files for
61756         benchmark programs.
61758 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
61760         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
61761         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
61762         computations on mantissa.  Use macros for rounding and
61763         division.
61764         (denorm): Likewise.
61765         (__dbl_mp): Likewise.
61766         (add_magnitudes): Likewise.
61767         (sub_magnitudes): Likewise.
61768         (__mul): Likewise.
61769         (__sqr): Likewise.
61770         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
61771         powers of two in terms of TWOPOW macro.
61772         (mp_no): Make type of mantissa as MANTISSA_T.
61773         [!RADIXI]: Define RADIXI.
61774         [!TWO52]: Define TWO52.
61775         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
61777         * manual/nptl.texi (cindex): Modify threads to pthreads.
61779 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
61781         * sysdeps/x86_64/preconfigure: Regenerated.
61783 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
61785         [BZ #14155]
61786         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
61787         0x1p28 and above.
61788         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
61789         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
61790         0x1p28 and above.
61791         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
61792         * math/libm-test.inc (j0_test): Do not allow one spurious
61793         underflow exception.
61794         (y1_test): Likewise.
61796 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
61798         * manual/Makefile (chapters): Add nptl.
61799         * manual/debug.texi (Debugging Support): Add link to Threads
61800         chapter.
61801         * manual/nptl.texi: New file.
61803         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
61805 2013-03-14  Petr Baudis  <pasky@ucw.cz>
61807         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
61808         for non-NULL pointer before the memory validity test. Pointed
61809         out by Holger Brunck <holger.brunck@keymile.com>.
61811 2013-03-13  Andreas Schwab  <schwab@suse.de>
61813         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
61814         instead of .os.
61816 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
61818         * timezone/zic.c: Update from tzcode 2013b.
61820 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
61822         * manual/install.texi (Configuring and compiling):
61823         Mention i686 and i586.
61824         * INSTALL: Regenerate.
61826 2013-03-12  Roland McGrath  <roland@hack.frob.com>
61828         * sysdeps/init_array/elf-init.c: New file.
61829         * csu/elf-init.c
61830         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
61831         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
61833         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
61834         __gmon_start__ as global, but as static with a .preinit_array pointer.
61835         * sysdeps/init_array/gmon-start.c: New file.  Use that.
61836         * sysdeps/init_array/crti.S: New file, empty except for comments.
61837         * sysdeps/init_array/crtn.S: Likewise.
61839 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
61841         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
61842         definining bcopy.
61843         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61844         Remove Prefer_SSE_for_memop.
61845         * sysdeps/x86_64/multiarch/init-arch.h: Remove
61846         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
61847         HAS_PREFER_SSE_FOR_MEMOP.
61848         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
61849         memset-x86-64.
61850         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
61851         Remove bzero, memset ifunc support.
61852         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
61853         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
61854         * sysdeps/x86_64/multiarch/memset.S: Likewise.
61855         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
61857 2013-03-11  Andreas Schwab  <schwab@suse.de>
61859         [BZ #15234]
61860         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
61861         by SHLIB_COMPAT.
61862         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
61863         (GLIBC_2.16): Remove pthread_atfork.
61865 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
61867         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
61868         (ptestcases.h): Likewise.
61870 2013-03-08  Roland McGrath  <roland@hack.frob.com>
61872         * Makeconfig ($(common-objpfx)config.status): Depend on
61873         sysdeps/*/preconfigure{,.in} too.
61875 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
61877         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
61878         (__free_hook): Use void * instead of __malloc_ptr_t.
61879         (__malloc_hook): Likewise.
61880         (__realloc_hook): Likewise.
61881         (__memalign_hook): Likewise.
61882         (__after_morecore_hook): Likewise.
61883         * malloc/arena.c (save_malloc_hook): Likewise.
61884         (save_free_hook): Likewise.
61885         * malloc/hooks.c (malloc_hook_ini): Likewise.
61886         (realloc_hook_ini): Likewise.
61887         (memalign_hook_ini): Likewise.
61888         * malloc/malloc.c (malloc_hook_ini): Likewise.
61889         (realloc_hook_ini): Likewise.
61890         (memalign_hook_ini): Likewise.
61891         (__free_hook): Likewise.
61892         (__malloc_hook): Likewise.
61893         (__realloc_hook): Likewise.
61894         (__memalign_hook): Likewise.
61895         (__libc_malloc): Likewise.
61896         (__libc_free): Likewise.
61897         (__libc_realloc): Likewise.
61898         (__libc_memalign): Likewise.
61899         (__libc_valloc): Likewise.
61900         (__libc_pvalloc): Likewise.
61901         (__libc_calloc): Likewise.
61902         (__posix_memalign): Likewise.
61903         * malloc/morecore.c (__sbrk): Likewise.
61904         (__default_morecore): Likewise.
61906         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
61908         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
61909         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
61910         __malloc_ptrdiff_t.
61912         * malloc/malloc.h (__malloc_size_t): Remove macro.
61913         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
61914         __malloc_size_t.
61915         (old_memalign_hook): Likewise.
61916         (old_realloc_hook): Likewise.
61917         (struct hdr): Likewise.
61918         (flood): Likewise.
61919         (mallochook): Likewise.
61920         (memalignhook): Likewise.
61921         (reallochook): Likewise.
61922         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
61923         (tr_old_realloc_hook): Likewise.
61924         (tr_old_memalign_hook): Likewise.
61925         (tr_mallochook): Likewise.
61926         (tr_reallochook): Likewise.
61927         (tr_memalignhook): Likewise.
61929 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61931         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
61932         default_ldbl_pack and using as default implementation.
61933         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
61934         implementation.
61935         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
61936         redundant definition.
61937         (ldbl_insert_mantissa): Likewise.
61938         (ldbl_canonicalize): Likewise.
61939         (ldbl_nearbyint): Likewise.
61940         (ldbl_pack): Rename to ldbl_pack_ppc.
61941         (ldbl_unpack): Rename to ldbl_unpack_ppc.
61942         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
61943         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
61945 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
61947         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
61948         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
61949         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
61950         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
61951         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
61952         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
61953         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
61954         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
61956 2013-03-07  Andreas Jaeger  <aj@suse.de>
61958         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61959         bits/mman-linux.h.
61961 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
61963         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
61964         Include mpa.h and declare __MPEXP.
61965         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
61966         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
61967         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
61968         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
61969         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
61970         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
61971         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
61973         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
61974         (__slowpow): Use long double EXPL and LOGL functions to
61975         compute POW.
61976         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
61977         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
61978         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
61979         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
61980         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
61981         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
61983         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
61984         intermediate variable to calculate exponent.
61985         (__sqr): Likewise.
61986         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
61987         Likewise.
61988         (__sqr): Likewise.
61990         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
61991         [!NO__SQR]: Define __sqr.
61992         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
61993         and NO__SQR.  Remove all code except __mul and __sqr.  Include
61994         sysdeps/ieee754/dbl-64/mpa.c.
61995         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61997         [BZ #12723]
61998         * posix/Makefile (tests): Add tst-pathconf.
61999         * posix/tst-pathconf.c: New test case.
62000         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
62001         _PC_PIPE_BUF.
62002         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
62004 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
62006         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
62008 2013-03-06  Andreas Jaeger  <aj@suse.de>
62010         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
62011         definition via __MAP_ANONYMOUS.
62013         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
62014         it's not part of Linux headers.
62016         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
62017         (MAP_HUGE_MASK): Define.
62019         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
62020         Define.
62021         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
62022         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
62023         Define.
62024         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
62025         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
62026         Define.
62027         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
62028         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
62029         Define.
62030         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
62032         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
62033         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
62034         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
62035         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
62036         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
62037         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
62039         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
62040         Handle f2fs.
62042         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62043         Handle f2fs and efivarfs.
62045         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
62046         f2fs.
62048         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
62049         (EFIVARFS_MAGIC): Add.
62050         (F2FS_LINK_MAX): Add.
62052 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
62054         * stdio-common/vfprintf.c: Replace __builtin_expect with
62055         __glibc_unlikely.
62057 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
62059         [BZ #13550]
62060         * sysdeps/generic/bp-sym.h: Remove file.
62061         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
62062         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
62063         <bp-sym.h> and <bp-asm.h>.
62064         (__longjmp): Don't use BP_SYM.
62065         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
62066         and <bp-asm.h>.
62067         (memcpy): Don't use BP_SYM.
62068         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
62069         <bp-sym.h> and <bp-asm.h>.
62070         (memcpy): Don't use BP_SYM.
62071         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
62072         <bp-asm.h>.
62073         (memcpy): Don't use BP_SYM.
62074         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
62075         <bp-asm.h>.
62076         (memset): Don't use BP_SYM.
62077         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
62078         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
62079         (__bzero): Don't use BP_SYM.
62080         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
62081         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
62082         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
62083         <bp-sym.h> and <bp-asm.h>.
62084         (memcmp): Don't use BP_SYM.  Remove comment about bounded
62085         pointers.
62086         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
62087         <bp-sym.h> and <bp-asm.h>.
62088         (memcpy): Don't use BP_SYM.
62089         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
62090         <bp-sym.h> and <bp-asm.h>.
62091         (memset): Don't use BP_SYM.
62092         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
62093         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
62094         (__bzero): Don't use BP_SYM.
62095         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
62096         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
62097         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
62098         <bp-sym.h> and <bp-asm.h>.
62099         (strncmp): Don't use BP_SYM.  Remove comment about bounded
62100         pointers.
62101         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
62102         <bp-sym.h> and <bp-asm.h>.
62103         (memcpy): Don't use BP_SYM.
62104         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
62105         <bp-sym.h> and <bp-asm.h>.
62106         (memset): Don't use BP_SYM.
62107         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
62108         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
62109         (__bzero): Don't use BP_SYM.
62110         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
62111         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
62112         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
62113         <bp-sym.h> and <bp-asm.h>.
62114         (__memchr): Don't use BP_SYM.
62115         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
62116         <bp-sym.h> and <bp-asm.h>.
62117         (memcmp): Don't use BP_SYM.  Remove comment about bounded
62118         pointers.
62119         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
62120         <bp-sym.h> and <bp-asm.h>.
62121         (memcpy): Don't use BP_SYM.
62122         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
62123         <bp-sym.h> and <bp-asm.h>.
62124         (__mempcpy): Don't use BP_SYM.
62125         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
62126         <bp-sym.h> and <bp-asm.h>.
62127         (__memrchr): Don't use BP_SYM.
62128         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
62129         <bp-sym.h> and <bp-asm.h>.
62130         (memset): Don't use BP_SYM.
62131         (__bzero): Likewise.
62132         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
62133         <bp-sym.h> and <bp-asm.h>.
62134         (__rawmemchr): Don't use BP_SYM.
62135         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
62136         <bp-sym.h> and <bp-asm.h>.
62137         (__STRCMP): Don't use BP_SYM.
62138         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
62139         <bp-sym.h> and <bp-asm.h>.
62140         (strchr): Don't use BP_SYM.
62141         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
62142         <bp-sym.h> and <bp-asm.h>.
62143         (__strchrnul): Don't use BP_SYM.
62144         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
62145         <bp-sym.h> and <bp-asm.h>.
62146         (strlen): Don't use BP_SYM.
62147         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
62148         <bp-sym.h> and <bp-asm.h>.
62149         (strncmp): Don't use BP_SYM.  Remove comment about bounded
62150         pointers.
62151         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
62152         <bp-sym.h> and <bp-asm.h>.
62153         (__strnlen): Don't use BP_SYM.
62154         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
62155         <bp-sym.h> and <bp-asm.h>.
62156         (__GI__setjmp): Don't use BP_SYM.
62157         (_setjmp): Likewise.
62158         (__sigsetjmp): Likewise.
62159         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
62160         (L(start_addresses)): Don't use BP_SYM.
62161         (_start): Likewise.
62162         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
62163         <bp-asm.h>.
62164         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
62165         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
62166         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62167         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
62168         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
62169         <bp-asm.h>.
62170         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
62171         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
62172         about bounded pointers.
62173         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
62174         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
62175         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
62176         <bp-asm.h>.
62177         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
62178         about bounded pointers.  Remove GKM FIXME comments.
62179         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
62180         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
62181         <bp-asm.h>.
62182         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
62183         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
62184         Remove GKM FIXME comments.
62185         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62186         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
62187         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
62188         <bp-asm.h>.
62189         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
62190         about bounded pointers.  Remove GKM FIXME comment.
62191         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
62192         and <bp-asm.h>.
62193         (strncmp): Don't use BP_SYM.  Remove comment about bounded
62194         pointers.
62195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
62196         <bp-sym.h> and <bp-asm.h>.
62197         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
62198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
62199         <bp-sym.h> and <bp-asm.h>.
62200         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
62201         comment.
62203 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
62205         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
62206         call free(NULL).
62208 2013-03-05  David S. Miller  <davem@davemloft.net>
62210         * po/es.po: Update from translation team.
62212 2013-03-05  Andreas Jaeger  <aj@suse.de>
62214         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
62215         <bits/mman-linux.h>.
62216         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
62217         is fine.
62218         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
62219         <bits/mman-linux.h> to end of file.
62220         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
62221         is fine.
62222         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
62223         <bits/mman-linux.h> to end of file.
62224         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
62225         is fine.
62226         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
62227         <bits/mman-linux.h> to end of file.
62229         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
62230         (MCL_CURRENT, MCL_FUTURE): Define here.
62232 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62234         [BZ #15232]
62235         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
62236         attribute_hidden.
62237         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
62239 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62241         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
62242         fourth parameter needed for rt_sigprocmask syscall.
62243         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
62244         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
62245         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
62246         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
62247         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
62248         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
62250 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
62252         [BZ #13550]
62253         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
62254         comment about bounded pointers.
62255         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
62256         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
62258 2013-03-04  Andreas Jaeger  <aj@suse.de>
62260         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
62261         common definitions.
62263         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
62264         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
62265         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
62266         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62267         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
62268         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62270 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62272         [BZ #15055]
62273         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
62274         __ieee754_sqrl instead of __sqrl.
62276 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
62278         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
62279         * sysdeps/powerpc/fpu_control.h: ... here.
62280         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
62281         * sysdeps/powerpc/bits/fenvinline.h: ... here.
62282         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
62283         * sysdeps/powerpc/bits/mathinline.h: ... here.
62285 2013-03-01  Roland McGrath  <roland@hack.frob.com>
62287         * elf/dl-hwcaps.c (_dl_important_hwcaps):
62288         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
62289         to just [NEED_DL_SYSINFO_DSO].
62290         * elf/dl-support.c: Likewise.
62291         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
62292         * elf/rtld.c (dl_main): Likewise.
62293         * elf/setup-vdso.h (setup_vdso): Likewise.
62294         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
62295         * sysdeps/unix/sysv/linux/dl-sysdep.c
62296         (_dl_discover_osversion): Likewise.
62298 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
62300         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
62301         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
62303 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
62305         * NEWS: Mention libm performance improvements and non-x86 PI
62306         futex support.
62308         * csu/libc-start.c (__pthread_initialize_minimal): Change
62309         function arguments.
62310         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
62312 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
62314         [BZ #13550]
62315         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
62316         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
62317         <bp-sym.h> and <bp-asm.h>.
62318         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
62319         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
62320         and <bp-asm.h>.
62321         (memcpy): Don't use BP_SYM.
62322         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
62323         <bp-asm.h>.
62324         (__mpn_add_n): Don't use BP_SYM.
62325         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
62326         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
62327         and <bp-asm.h>.
62328         (__mpn_addmul_1): Don't use BP_SYM.
62329         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62330         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
62331         <bp-sym.h>.
62332         (_setjmp): Don't use BP_SYM.
62333         (__novmx_setjmp): Likewise.
62334         (__GI__setjmp): Likewise.
62335         (__vmx_setjmp): Likewise.
62336         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
62337         <bp-sym.h>.
62338         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
62339         (__bzero): Don't use BP_SYM.
62340         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
62341         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
62342         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
62343         <bp-sym.h> and <bp-asm.h>.
62344         (memcpy): Don't use BP_SYM.
62345         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
62346         <bp-sym.h> and <bp-asm.h>.
62347         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
62348         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
62349         <bp-sym.h> and <bp-asm.h>.
62350         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
62351         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
62352         <bp-asm.h>.
62353         (__mpn_lshift): Don't use BP_SYM.
62354         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62355         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
62356         <bp-asm.h>.
62357         (memset): Don't use BP_SYM.
62358         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
62359         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
62360         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
62361         <bp-asm.h>.
62362         (__mpn_mul_1): Don't use BP_SYM.
62363         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62364         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
62365         <bp-sym.h> and <bp-asm.h>.
62366         (memcmp): Don't use BP_SYM.
62367         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
62368         <bp-sym.h> and <bp-asm.h>.
62369         (memcpy): Don't use BP_SYM.
62370         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
62371         <bp-sym.h> and <bp-asm.h>.
62372         (memset): Don't use BP_SYM.
62373         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
62374         <bp-sym.h> and <bp-asm.h>.
62375         (strncmp): Don't use BP_SYM.
62376         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
62377         <bp-sym.h> and <bp-asm.h>.
62378         (memcpy): Don't use BP_SYM.
62379         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
62380         <bp-sym.h> and <bp-asm.h>.
62381         (memset): Don't use BP_SYM.
62382         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
62383         <bp-sym.h> and <bp-asm.h>.
62384         (__memchr): Don't use BP_SYM.
62385         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
62386         <bp-sym.h> and <bp-asm.h>.
62387         (memcmp): Don't use BP_SYM.
62388         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
62389         <bp-sym.h> and <bp-asm.h>.
62390         (memcpy): Don't use BP_SYM.
62391         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
62392         <bp-sym.h> and <bp-asm.h>.
62393         (__mempcpy): Don't use BP_SYM.
62394         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
62395         <bp-sym.h> and <bp-asm.h>.
62396         (__memrchr): Don't use BP_SYM.
62397         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
62398         <bp-sym.h> and <bp-asm.h>.
62399         (memset): Don't use BP_SYM.
62400         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
62401         <bp-sym.h> and <bp-asm.h>.
62402         (__rawmemchr): Don't use BP_SYM.
62403         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
62404         <bp-sym.h> and <bp-asm.h>.
62405         (__STRCMP): Don't use BP_SYM.
62406         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
62407         <bp-sym.h> and <bp-asm.h>.
62408         (strchr): Don't use BP_SYM.
62409         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
62410         <bp-sym.h> and <bp-asm.h>.
62411         (__strchrnul): Don't use BP_SYM.
62412         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
62413         <bp-sym.h> and <bp-asm.h>.
62414         (strlen): Don't use BP_SYM.
62415         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
62416         <bp-sym.h> and <bp-asm.h>.
62417         (strncmp): Don't use BP_SYM.
62418         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
62419         <bp-sym.h> and <bp-asm.h>.
62420         (__strnlen): Don't use BP_SYM.
62421         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
62422         <bp-asm.h>.
62423         (__mpn_rshift): Don't use BP_SYM.
62424         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62425         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
62426         <bp-sym.h> and <bp-asm.h>.
62427         (__sigsetjmp): Don't use BP_SYM.
62428         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
62429         (L(start_addresses)): Don't use BP_SYM.
62430         (_start): Likewise.
62431         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
62432         <bp-asm.h>.
62433         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
62434         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62435         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
62436         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
62437         <bp-asm.h>.
62438         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
62439         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
62440         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
62441         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
62442         <bp-asm.h>.
62443         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
62444         comments.
62445         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
62446         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
62447         <bp-asm.h>.
62448         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
62449         FIXME comments.
62450         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62451         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
62452         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
62453         <bp-asm.h>.
62454         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
62455         comment.
62456         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
62457         and <bp-asm.h>.
62458         (strncmp): Don't use BP_SYM,
62459         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
62460         <bp-asm.h>.
62461         (__mpn_sub_n): Don't use BP_SYM.
62462         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62463         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
62464         and <bp-asm.h>.
62465         (__mpn_submul_1): Don't use BP_SYM.
62466         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
62468         <bp-sym.h> and <bp-asm.h>.
62469         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
62470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
62471         <bp-sym.h> and <bp-asm.h>.
62472         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
62473         comment.
62475 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62477         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
62478         Use ZK to minimize writes to Z.
62479         (sub_magnitudes): Simplify code a bit.
62480         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
62481         Use ZK to minimize writes to Z.
62482         (sub_magnitudes): Simplify code a bit.
62484 2013-02-27  Roland McGrath  <roland@hack.frob.com>
62486         * csu/gmon-start.c: Add special exception to license text.
62488 2013-02-27  Richard Henderson  <rth@redhat.com>
62490         * scripts/config.guess: Update from config.git.
62491         * scripts/config.sub: Likewise.
62493 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
62495         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
62497         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
62499         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
62501         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
62503         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
62505 2013-02-26  Roland McGrath  <roland@hack.frob.com>
62507         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
62508         [$(build-shared = yes].
62510 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62512         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
62513         (__mul): Reduce iterations for calculating mantissa.
62515         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
62516         MPTWO.
62517         (__mpranred): Likewise.
62519         [BZ #15160]
62520         * malloc/memusagestat.c (main): Draw graphs for heap and stack
62521         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
62523 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
62525         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
62526         Define __attribute__.
62528 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62530         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
62531         unused.
62532         * posix/regex_internal.h (__attribute): Remove.
62533         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
62534         (re_string_context_at): Likewise.
62535         (bitset_not): Use __attribute__ and mark function as possibly
62536         unused.
62537         (bitset_merge): Likewise.
62538         (bitset_mask): Likewise.
62539         (re_string_char_size_at): Likewise.
62540         (re_string_wchar_at): Likewise.
62541         (re_string_elem_size_at): Likewise.
62543 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
62545         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
62546         code.
62547         (cc32): Likewise.
62549         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
62550         (__acr): Likewise.
62551         (__cpy): Likewise.
62552         (norm): Likewise.
62553         (denorm): Likewise.
62554         (__dbl_mp): Likewise.
62555         (add_magnitudes): Likewise.
62556         (sub_magnitudes): Likewise.
62557         (__mul): Likewise.
62558         (__inv): Likewise.
62560         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
62561         style.
62563         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
62564         style.
62566         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
62567         code.
62569         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
62570         up changes with default code.
62571         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
62572         Likewise.
62574 2013-02-24  Allan McRae  <allan@archlinux.org>
62576         * manual/socket.texi (The Internet Namespace): Order menu items
62577         to match that in the file.
62579         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
62580         node listing of the info page menu.
62582 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
62584         [BZ #13550]
62585         * sysdeps/i386/bp-asm.h: Remove file.
62586         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
62587         (PARMS): Do not use macros from bp-asm.h.
62588         (S1): Likewise.
62589         (S2): Likewise.
62590         (SIZE): Likewise.
62591         (__mpn_add_n): Do not use BP_SYM
62592         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
62593         "bp-asm.h".
62594         (PARMS): Do not use macros from bp-asm.h.
62595         (S1): Likewise.
62596         (SIZE): Likewise.
62597         (__mpn_addmul_1): Do not use BP_SYM
62598         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
62599         "bp-asm.h".
62600         (PARMS): Do not use macros from bp-asm.h.
62601         (SIGMSK): Likewise.
62602         (_setjmp): Likewise.  Do not use BP_SYM.
62603         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
62604         "bp-asm.h".
62605         (PARMS): Do not use macros from bp-asm.h.
62606         (SIGMSK): Likewise.
62607         (setjmp): Likewise.  Do not use BP_SYM.
62608         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
62609         "bp-asm.h".
62610         (PARMS): Do not use macros from bp-asm.h.
62611         (__frexp): Do not use BP_SYM.
62612         (frexp): Likewise.
62613         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
62614         "bp-asm.h".
62615         (PARMS): Do not use macros from bp-asm.h.
62616         (__frexpf): Do not use BP_SYM.
62617         (frexpf): Likewise.
62618         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
62619         "bp-asm.h".
62620         (PARMS): Do not use macros from bp-asm.h.
62621         (__frexpl): Do not use BP_SYM.
62622         (frexpl): Likewise.
62623         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
62624         "bp-asm.h".
62625         (PARMS): Do not use macros from bp-asm.h.
62626         (__remquo): Do not use BP_SYM.
62627         (remquo): Likewise.
62628         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
62629         "bp-asm.h".
62630         (PARMS): Do not use macros from bp-asm.h.
62631         (__remquof): Do not use BP_SYM.
62632         (remquof): Likewise.
62633         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
62634         "bp-asm.h".
62635         (PARMS): Do not use macros from bp-asm.h.
62636         (__remquol): Do not use BP_SYM.
62637         (remquol): Likewise.
62638         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
62639         "bp-asm.h".
62640         (PARMS): Do not use macros from bp-asm.h.
62641         (DEST): Likewise.
62642         (SRC): Likewise.
62643         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
62644         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
62645         "bp-asm.h".
62646         (PARMS): Do not use macros from bp-asm.h.
62647         (strlen): Do not use BP_SYM.
62648         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
62649         "bp-asm.h".
62650         (PARMS): Do not use macros from bp-asm.h.
62651         (S1): Likewise.
62652         (S2): Likewise.
62653         (SIZE): Likewise.
62654         (__mpn_add_n): Do not use BP_SYM.
62655         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
62656         "bp-asm.h".
62657         (PARMS): Do not use macros from bp-asm.h.
62658         (S1): Likewise.
62659         (SIZE): Likewise.
62660         (__mpn_addmul_1): Do not use BP_SYM.
62661         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
62662         weak_alias.
62663         (bzero): Likewise.
62664         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
62665         "bp-asm.h".
62666         (PARMS): Do not use macros from bp-asm.h.
62667         (S): Likewise.
62668         (SIZE): Likewise.
62669         (__mpn_lshift): Do not use BP_SYM.
62670         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
62671         "bp-asm.h".
62672         (PARMS): Do not use macros from bp-asm.h.
62673         (DEST): Likewise.
62674         (SRC): Likewise.
62675         (LEN): Likewise.
62676         (memcpy): Likewise.  Do not use BP_SYM.
62677         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
62678         libc_hidden_def and weak_alias.
62679         (mempcpy): Do not use BP_SYM in weak_alias.
62680         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
62681         "bp-asm.h".
62682         (PARMS): Do not use macros from bp-asm.h.
62683         (DEST): Likewise.
62684         (LEN): Likewise.
62685         [!BZERO_P] (CHR): Likewise.
62686         (memset): Likewise.  Do not use BP_SYM.
62687         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
62688         "bp-asm.h".
62689         (PARMS): Do not use macros from bp-asm.h.
62690         (S1): Likewise.
62691         (SIZE): Likewise.
62692         (__mpn_mul_1): Do not use BP_SYM.
62693         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
62694         "bp-asm.h".
62695         (PARMS): Do not use macros from bp-asm.h.
62696         (S): Likewise.
62697         (SIZE): Likewise.
62698         (__mpn_rshift): Do not use BP_SYM.
62699         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
62700         "bp-asm.h".
62701         (PARMS): Do not use macros from bp-asm.h.
62702         (STR): Likewise.
62703         (CHR): Likewise.
62704         (strchr): Likewise.  Do not use BP_SYM.
62705         (index): Do not use BP_SYM in weak_alias.
62706         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
62707         "bp-asm.h".
62708         (PARMS): Do not use macros from bp-asm.h.
62709         (DEST): Likewise.
62710         (SRC): Likewise.
62711         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
62712         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
62713         "bp-asm.h".
62714         (PARMS): Do not use macros from bp-asm.h.
62715         (strlen): Do not use BP_SYM.
62716         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
62717         "bp-asm.h".
62718         (PARMS): Do not use macros from bp-asm.h.
62719         (S1): Likewise.
62720         (S2): Likewise.
62721         (SIZE): Likewise.
62722         (__mpn_sub_n): Do not use BP_SYM.
62723         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
62724         "bp-asm.h".
62725         (PARMS): Do not use macros from bp-asm.h.
62726         (S1): Likewise.
62727         (SIZE): Likewise.
62728         (__mpn_submul_1): Do not use BP_SYM.
62729         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
62730         "bp-asm.h".
62731         (PARMS): Do not use macros from bp-asm.h.
62732         (S1): Likewise.
62733         (S2): Likewise.
62734         (SIZE): Likewise.
62735         (__mpn_add_n): Do not use BP_SYM.
62736         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
62737         weak_alias.
62738         (bzero): Likewise.
62739         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
62740         "bp-asm.h".
62741         (PARMS): Do not use macros from bp-asm.h.
62742         (BLK2): Likewise.
62743         (LEN): Likewise.
62744         (memcmp): Do not use BP_SYM.
62745         (bcmp): Do not use BP_SYM in weak_alias.
62746         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
62747         "bp-asm.h".
62748         (PARMS): Do not use macros from bp-asm.h.
62749         (DEST): Likewise.
62750         (SRC): Likewise.
62751         (LEN): Likewise.
62752         (memcpy): Likewise.  Do not use BP_SYM.
62753         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
62754         "bp-asm.h".
62755         (PARMS): Do not use macros from bp-asm.h.
62756         (DEST): Likewise.
62757         (SRC): Likewise.
62758         (LEN): Likewise.
62759         (memmove): Likewise.  Do not use BP_SYM.
62760         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
62761         "bp-asm.h".
62762         (PARMS): Do not use macros from bp-asm.h.
62763         (DEST): Likewise.
62764         (SRC): Likewise.
62765         (LEN): Likewise.
62766         (__mempcpy): Likewise.  Do not use BP_SYM.
62767         (mempcpy): Do not use BP_SYM in weak_alias.
62768         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
62769         "bp-asm.h".
62770         (PARMS): Do not use macros from bp-asm.h.
62771         (DEST): Likewise.
62772         (LEN): Likewise.
62773         [!BZERO_P] (CHR): Likewise.
62774         (memset): Likewise.  Do not use BP_SYM.
62775         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
62776         "bp-asm.h".
62777         (PARMS): Do not use macros from bp-asm.h.
62778         (STR2): Likewise.
62779         (strcmp): Do not use BP_SYM.
62780         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
62781         "bp-asm.h".
62782         (PARMS): Do not use macros from bp-asm.h.
62783         (STR): Likewise.
62784         (DELIM): Likewise.
62785         [USE_AS_STRTOK_R] (SAVE): Likewise.
62786         (FUNCTION): Likewise.  Do not use BP_SYM.
62787         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
62788         aliases.
62789         (strtok_r): Likewise.
62790         (__GI___strtok_r): Likewise.
62791         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
62792         (PARMS): Do not use macros from bp-asm.h.
62793         (S): Likewise.
62794         (SIZE): Likewise.
62795         (__mpn_lshift): Do not use BP_SYM.
62796         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
62797         (PARMS): Do not use macros from bp-asm.h.
62798         (STR): Likewise.
62799         (CHR): Likewise.
62800         (__memchr): Do not use BP_SYM.
62801         (memchr): Do not use BP_SYM in weak_alias.
62802         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
62803         (PARMS): Do not use macros from bp-asm.h.
62804         (BLK2): Likewise.
62805         (LEN): Likewise.
62806         (memcmp): Do not use BP_SYM.
62807         (bcmp): Do not use BP_SYM in weak_alias.
62808         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
62809         (PARMS): Do not use macros from bp-asm.h.
62810         (S1): Likewise.
62811         (SIZE): Likewise.
62812         (__mpn_mul_1): Do not use BP_SYM.
62813         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
62814         "bp-asm.h".
62815         (PARMS): Do not use macros from bp-asm.h.
62816         (STR): Likewise.
62817         (CHR): Likewise.
62818         (__rawmemchr): Do not use BP_SYM.
62819         (rawmemchr): Do not use BP_SYM in weak_alias.
62820         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
62821         (PARMS): Do not use macros from bp-asm.h.
62822         (S): Likewise.
62823         (SIZE): Likewise.
62824         (__mpn_rshift): Do not use BP_SYM.
62825         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
62826         (PARMS): Do not use macros from bp-asm.h.
62827         (SIGMSK): Likewise.
62828         (__sigsetjmp): Likewise.  Do not use BP_SYM.
62829         * sysdeps/i386/start.S: Do not include "bp-sym.h".
62830         (_start): Do not use BP_SYM.
62831         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
62832         (PARMS): Do not use macros from bp-asm.h.
62833         (DEST): Likewise.
62834         (SRC): Likewise.
62835         (__stpcpy): Likewise.  Do not use BP_SYM.
62836         (stpcpy): Do not use BP_SYM in weak_alias.
62837         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
62838         "bp-asm.h".
62839         (PARMS): Do not use macros from bp-asm.h.
62840         (DEST): Likewise.
62841         (SRC): Likewise.
62842         (LEN): Likewise.
62843         (__stpncpy): Likewise.  Do not use BP_SYM.
62844         (stpncpy): Do not use BP_SYM in weak_alias.
62845         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
62846         (PARMS): Do not use macros from bp-asm.h.
62847         (STR): Likewise.
62848         (CHR): Likewise.
62849         (strchr): Likewise.  Do not use BP_SYM.
62850         * sysdeps/i386/strchrnul.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         (CHR): Likewise.
62855         (__strchrnul): Likewise.  Do not use BP_SYM.
62856         (strchrnul): Do not use BP_SYM in weak_alias.
62857         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
62858         "bp-asm.h".
62859         (PARMS): Do not use macros from bp-asm.h.
62860         (STOP): Likewise.
62861         (strcspn): Do not use BP_SYM.
62862         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
62863         "bp-asm.h".
62864         (PARMS): Do not use macros from bp-asm.h.
62865         (STR): Likewise.
62866         (STOP): Likewise.
62867         (strpbrk): Likewise.  Do not use BP_SYM.
62868         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
62869         "bp-asm.h".
62870         (PARMS): Do not use macros from bp-asm.h.
62871         (STR): Likewise.
62872         (CHR): Likewise.
62873         (strrchr): Likewise.  Do not use BP_SYM.
62874         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
62875         (PARMS): Do not use macros from bp-asm.h.
62876         (SKIP): Likewise.
62877         (strspn): Do not use BP_SYM.
62878         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
62879         (PARMS): Do not use macros from bp-asm.h.
62880         (STR): Likewise.
62881         (DELIM): Likewise.
62882         (SAVE): Likewise.
62883         (FUNCTION): Likewise.  Do not use BP_SYM.
62884         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
62885         aliases.
62886         (strtok_r): Likewise.
62887         (__GI___strtok_r): Likewise.
62888         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
62889         (PARMS): Do not use macros from bp-asm.h.
62890         (S1): Likewise.
62891         (S2): Likewise.
62892         (SIZE): Likewise.
62893         (__mpn_sub_n): Do not use BP_SYM.
62894         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
62895         "bp-asm.h".
62896         (PARMS): Do not use macros from bp-asm.h.
62897         (S1): Likewise.
62898         (SIZE): Likewise.
62899         (__mpn_submul_1): Do not use BP_SYM.
62900         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
62901         <bp-sym.h>.
62902         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
62903         and <bp-asm.h>.
62904         (PARMS): Do not use macros from bp-asm.h.
62905         (FLAGS): Likewise.
62906         (PTID): Likewise.
62907         (TLS): Likewise.
62908         (CTID): Likewise.
62909         (__clone): Do not use BP_SYM.
62910         (clone): Do not use BP_SYM in weak_alias.
62911         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
62912         and <bp-asm.h>.
62913         (PARMS): Do not use macros from bp-asm.h.
62914         (LEN): Likewise.
62915         (__mmap64): Do not use BP_SYM.
62916         (mmap64): Do not use BP_SYM in weak_alias.
62917         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
62918         <bp-sym.h> and <bp-asm.h>.
62919         (PARMS): Do not use macros from bp-asm.h.
62920         (__posix_fadvise64_l64): Do not use BP_SYM.
62921         * sysdeps/unix/sysv/linux/i386/semtimedop.S
62922         (PARMS): Do not use macros from bp-asm.h.
62923         (NSOPS): Likewise.
62924         (semtimedop): Do not use BP_SYM.
62925         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
62926         and <bp-asm.h>.
62928 2013-02-21  Allan McRae  <allan@archlinux.org>
62930         * manual/message.texi (Charset conversion in gettext):
62931         Move @end statement to beginning of line.
62933 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62935         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
62936         static.
62937         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
62938         Likewise.
62940         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
62941         (denorm): Likewise.
62942         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
62943         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
62945 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62947         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
62948         tail-call to the resolved function if pltexit isn't needed.
62950 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62952         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
62953         or Y being zero as being unlikely.
62954         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
62955         Likewise.
62957 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
62959         * manual/nss.texi (System Databases and Name Service Switch):
62960         Remove frobnicate @pxref.
62962 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
62964         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
62965         __attribute__ ((unused)) to __attribute__ ((__unused__)).
62967 2013-02-20  Petr Machata  <pmachata@redhat.com>
62969         * elf/elf.h (R_ARM_TARGET1): New macro.
62970         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
62971         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
62972         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
62973         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
62974         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
62975         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
62976         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
62977         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
62978         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
62979         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
62980         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
62981         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
62982         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
62983         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
62984         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
62985         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
62986         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
62987         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
62988         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
62989         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
62990         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
62991         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
62992         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
62993         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
62994         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
62995         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
62996         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
62997         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
62998         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
62999         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
63000         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
63001         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
63002         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
63003         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
63004         (R_ARM_THM_GOT_BREL12): Likewise.
63005         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
63006         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
63007         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
63008         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
63009         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
63010         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
63011         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
63012         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
63013         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
63015 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
63017         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
63018         __attribute_used__ to __attribute__ ((unused)).
63020 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
63022         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
63023         powerpc mpa.c.
63024         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
63025         comment formatting.
63026         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
63028 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
63030         [BZ #13550]
63031         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
63032         Remove macro.
63033         (ENTER): Remove both macro definitions.
63034         (LEAVE): Likewise.
63035         (CHECK_BOUNDS_LOW): Likewise.
63036         (CHECK_BOUNDS_HIGH): Likewise.
63037         (CHECK_BOUNDS_BOTH): Likewise.
63038         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
63039         (RETURN_BOUNDED_POINTER): Likewise.
63040         (RETURN_NULL_BOUNDED_POINTER): Likewise.
63041         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
63042         (POP_ERRNO_LOCATION_RETURN): Likewise.
63043         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
63044         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63045         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
63046         macros.
63047         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63048         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
63049         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
63050         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
63051         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
63052         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
63053         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
63054         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
63055         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
63056         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
63057         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
63058         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
63059         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63060         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
63061         removed macros.
63062         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63063         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
63064         macros.
63065         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63066         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
63067         * sysdeps/i386/i586/memset.S (memset): Likewise.
63068         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
63069         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63070         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
63071         macros.
63072         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63073         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
63074         Change uses of L(2) to L(out).
63075         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
63076         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
63077         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
63078         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63079         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
63080         removed macros.
63081         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63082         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
63083         macros.
63084         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63085         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
63086         (RETURN): Do not use macro LEAVE.
63087         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
63088         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
63089         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
63090         * sysdeps/i386/i686/memset.S (memset): Likewise.
63091         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
63092         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
63093         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
63094         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
63095         Likewise.
63096         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
63097         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
63098         L(1_2) and L(1_3) into L(1).
63099         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
63100         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
63101         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63102         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
63103         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
63104         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
63105         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
63106         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63107         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
63108         macros.
63109         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
63110         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63111         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
63112         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
63113         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
63114         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63115         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
63116         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
63117         * sysdeps/i386/strcspn.S (strcspn): Likewise.
63118         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
63119         * sysdeps/i386/strrchr.S (strrchr): Likewise.
63120         * sysdeps/i386/strspn.S (strspn): Likewise.
63121         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
63122         conditional code.
63123         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
63124         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
63125         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
63126         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
63127         L(1_3) into L(1_1).
63128         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
63129         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63130         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
63131         macros.
63132         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63134 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
63136         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
63137         macro.
63139 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
63141         * math/atest-exp.c (exp_mpn): Remove ROUND.
63142         * math/atest-exp2.c (exp_mpn): Likewise.
63143         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
63145         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
63146         * stdlib/tst-tls-atexit-lib.c: Likewise.
63147         * stdlib/tst-tls-atexit.c: Likewise.
63149 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
63151         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
63152         and __attribute_alloc_size__.
63154 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
63156         * include/programs/xmalloc.h: Change __attribute_alloc_size to
63157         __attribute_alloc_size__.
63158         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
63159         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
63161 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
63163         * include/programs/xmalloc.h: New file.
63164         * catgets/gencat.c: Include it.
63165         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
63166         * elf/pldd.c: Likewise.
63167         * iconv/iconv_charmap.c: Likewise.
63168         * iconv/iconvconfig.c: Likewise.
63169         * iconv/strtab.c: Likewise.
63170         * locale/programs/locale.c: Likewise.
63171         * locale/programs/localedef.h: Likewise.
63172         * locale/programs/simple-hash.c: Likewise.
63173         * nscd/nscd.h: Likewise.
63174         * nss/makedb.c: Likewise.
63175         * sysdeps/generic/ldconfig.h: Likewise.
63177 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
63179         * Versions.def: Add GLIBC_2.18.
63180         * include/link.h (struct link_map): New member l_tls_dtor_count.
63181         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
63182         (__call_tls_dtors): Likewise.
63183         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
63184         __cxa_thread_atexit_impl.
63185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63186         Likewise.
63187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63188         Likewise.
63189         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
63190         Likewise.
63191         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
63192         Likewise.
63193         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
63194         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
63195         Likewise.
63196         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
63197         Likewise.
63198         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
63199         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
63200         Likewise.
63201         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
63202         (tests): Add test case tst-tls-atexit.
63203         (modules-names): Add shared library for tst-tls-atexit.
63204         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
63205         (GLIBC_PRIVATE): Add __call_tls_dtors.
63206         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
63207         for libstdc++.
63208         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
63209         * stdlib/tst-tls-atexit.c: New test case.
63210         * stdlib/tst-tls-atexit-lib.c: New test case.
63212         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
63214         * elf/Versions (ld): Add _dl_find_dso_for_object.
63215         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
63216         * elf/dl-open.c (_dl_find_dso_for_object): New function.
63217         (dl_open_worker): Use _dl_find_dso_for_object.
63218         * elf/dl-sym.c (do_sym): Likewise.
63219         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
63221 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63223         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
63224         Syntactic changes only.
63225         (_dl_runtime_profile): Do a tail-call to the resolved function.
63227 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
63229         [BZ #13550]
63230         * sysdeps/x86_64/bp-asm.h: Remove file.
63231         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
63232         <bp-sym.h> and <bp-asm.h>.
63233         (__clone): Do not use BP_SYM.
63234         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
63235         <bp-sym.h> and <bp-asm.h>.
63236         * sysdeps/unix/x86_64/sysdep.S: Likewise.
63237         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
63238         "bp-asm.h".
63239         (_setjmp): Do not use BP_SYM.
63240         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
63241         "bp-asm.h".
63242         (setjmp): Do not use BP_SYM.
63243         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
63244         libc_hidden_def.
63245         (mempcpy): Do not use BP_SYM in weak_alias.
63246         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
63247         "bp-asm.h".
63248         (strchr): Do not use BP_SYM.
63249         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
63250         "bp-asm.h".
63251         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
63252         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
63253         (_start): Do not use BP_SYM.
63254         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
63255         "bp-asm.h".
63256         (strcat): Do not use BP_SYM.
63257         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
63258         "bp-asm.h".
63259         (STRCMP): Do not use BP_SYM.
63260         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
63261         "bp-asm.h".
63262         (STRCPY): Do not use BP_SYM.
63263         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
63264         "bp-asm.h".
63265         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
63266         "bp-asm.h".
63267         (FUNCTION): Do not use BP_SYM.
63268         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
63269         weak_alias.
63270         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
63272 2013-02-17  Andreas Jaeger  <aj@suse.de>
63274         * time/Versions: Sort entries.
63275         * string/Versions: Likewise.
63276         * resolv/Versions: Likewise.
63277         * posix/Versions: Likewise.
63278         * iconv/Versions: Likewise.
63279         * elf/Versions: Likewise.
63280         * wcsmbs/Versions: Likewise.
63282 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63284         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
63285         loop termination condition.
63287         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
63288         variable to calculate EZ.
63289         (__sqr): Likewise.
63291         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
63292         the lower precision input.
63294 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
63296         [BZ #13550]
63297         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
63298         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
63299         (run-via-rtld-prefix): Do not handle %-bp tests.
63300         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
63301         (all-object-suffixes): Remove .ob.
63302         (bppfx): Remove variable.
63303         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
63304         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
63305         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
63306         [$(build-bounded) = yes] (libtype.ob): Likewise.
63307         * Makerules (elide-routines.ob): Remove variable.
63308         (do-tests-clean): Do not handle *-bp.out.
63309         (common-mostlyclean): Do not handle *-bp and *-bp.out.
63310         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
63311         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
63312         (tests): Do not include $(tests-bp.out).
63313         (xtests): Do not include $(xtests-bp.out).
63314         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
63315         [$(build-bounded) = yes] ($(addprefix
63316         $(objpfx),$(binaries-bounded))): Remove rule.
63317         ($(objpfx)%-bp.out): Remove rule.
63318         * config.make.in (build-bounded): Remove variable.
63319         * crypt/Makefile [$(build-bounded) = yes]
63320         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
63321         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
63322         append to variable.
63323         [$(build-bounded) = yes] (install-lib): Likewise.
63324         [$(build-bounded) = yes] (generated): Likewise.
63325         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
63326         Remove rule.
63327         * intl/Makefile [$(build-bounded) = yes]
63328         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
63329         * math/Makefile [$(build-bounded) = yes]
63330         ($(tests:%=$(objpfx)%-bp): Likewise.
63331         * misc/Makefile [$(build-bounded) = yes]
63332         ($(objpfx)tst-tsearch-bp): Likewise.
63333         * nptl/Makeconfig (bounded-thread-library): Remove variable.
63334         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
63335         Remove dependency.
63336         * string/Makefile (o-objects.ob): Remove variable.
63337         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
63338         (CFLAGS-.ob): Remove variable.
63339         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
63340         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
63341         both definitions of variable.
63342         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
63343         (ASFLAGS-.ob): Remove variable.
63345 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
63347         [BZ #13550]
63348         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
63349         Remove __BOUNDED_POINTERS__ from condition.
63350         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
63351         * string/bits/string2.h [!__NO_STRING_INLINES &&
63352         !__BOUNDED_POINTERS__]: Likewise.
63353         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
63354         Likewise.
63355         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
63356         Remove conditional code.
63357         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
63358         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
63359         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
63360         condition.
63362         [BZ #13550]
63363         * csu/libc-start.c: Do not include <bp-sym.h>.
63364         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
63365         * elf/dl-open.c: Do not include <bp-sym.h>.
63366         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
63367         * math/fegetenv.c: Do not include <bp-sym.h>.
63368         (fegetenv): Do not use BP_SYM in versioned symbols.
63369         * nptl/sysdeps/pthread/bits/libc-lockP.h
63370         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
63371         <bp-sym.h>.
63372         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63373         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
63374         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63375         (__pthread_mutex_destroy): Likewise.
63376         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63377         (__pthread_mutex_lock): Likewise.
63378         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63379         (__pthread_mutex_trylock): Likewise.
63380         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63381         (__pthread_mutex_unlock): Likewise.
63382         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63383         (__pthread_mutexattr_init): Likewise.
63384         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63385         (__pthread_mutexattr_destroy): Likewise.
63386         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63387         (__pthread_mutexattr_settype): Likewise.
63388         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63389         (__pthread_rwlock_init): Likewise.
63390         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63391         (__pthread_rwlock_destroy): Likewise.
63392         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63393         (__pthread_rwlock_rdlock): Likewise.
63394         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63395         (__pthread_rwlock_tryrdlock): Likewise.
63396         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63397         (__pthread_rwlock_wrlock): Likewise.
63398         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63399         (__pthread_rwlock_trywrlock): Likewise.
63400         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63401         (__pthread_rwlock_unlock): Likewise.
63402         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63403         (__pthread_key_create): Likewise.
63404         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63405         (__pthread_setspecific): Likewise.
63406         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63407         (__pthread_getspecific): Likewise.
63408         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
63409         Likewise.
63410         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63411         (_pthread_cleanup_push_defer): Likewise.
63412         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63413         (_pthread_cleanup_pop_restore): Likewise.
63414         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63415         (pthread_setcancelstate): Likewise.
63416         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
63417         <bp-sym.h>.
63418         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
63419         (memchr): Do not use BP_SYM in weak_alias.
63420         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
63421         (fegetenv): Do not use BP_SYM in versioned symbols.
63422         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
63423         (fesetenv): Do not use BP_SYM in versioned symbols.
63424         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
63425         (feupdateenv): Do not use BP_SYM in versioned symbols.
63426         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
63427         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
63428         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
63429         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
63430         (open64): Do not use BP_SYM in weak_alias.
63431         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
63432         (fegetenv): Do not use BP_SYM in versioned symbols.
63433         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
63434         (fesetenv): Do not use BP_SYM in versioned symbols.
63435         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
63436         (feupdateenv): Do not use BP_SYM in versioned symbols.
63437         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
63438         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
63439         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
63440         (feraiseexcept): Do not use BP_SYM in versioned symbols.
63441         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
63442         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
63443         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
63444         <bp-sym.h>.
63445         (__libc_start_main): Do not use BP_SYM.
63447 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
63449         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
63450         redundant return line.
63451         (norm): Likewise.
63452         (denorm): Likewise.
63453         (dbl_mp): Likewise.
63454         (sub_magnitudes): Likewise.
63455         (__add): Likewise.
63456         (__sub): Likewise.
63457         (__mul): Likewise.
63458         (__inv): Likewise.
63459         (__dvd): Likewise.
63460         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
63461         (norm): Likewise.
63462         (denorm): Likewise.
63463         (dbl_mp): Likewise.
63464         (sub_magnitudes): Likewise.
63465         (__add): Likewise.
63466         (__sub): Likewise.
63467         (__mul): Likewise.
63468         (__inv): Likewise.
63469         (__dvd): Likewise.
63471         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
63472         instead of __mul.
63473         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
63474         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
63475         (cc32): Likewise.
63477         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
63478         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
63479         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
63480         of __mul for squares.
63481         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
63482         function
63483         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
63484         Likewise.
63485         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
63486         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
63488 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
63490         [BZ #13550]
63491         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
63492         code.
63493         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
63494         prototype or function definition.  Rename ubp_* variables and
63495         parameters.  Remove argv definitions conditional on
63496         [__BOUNDED_POINTERS__].
63497         * debug/backtrace.c (__backtrace): Do not use __unbounded.
63498         * elf/dl-runtime.c (_dl_fixup): Likewise.
63499         * include/set-hooks.h (RUN_HOOK): Likewise.
63500         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
63501         definition.
63502         * string/strcpy.c (strcpy): Do not use __unbounded.
63503         * sysdeps/generic/frame.h (struct layout): Likewise.
63504         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
63505         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
63506         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
63507         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
63508         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
63509         (__backtrace): Likewise.
63510         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
63511         use __ptrvalue.
63512         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
63513         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
63514         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
63515         Likewise.
63516         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
63517         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
63518         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
63519         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
63520         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
63521         Do not use __unbounded.
63522         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
63523         Rename __unboundedrlimits parameter to rlimits in prototype.
63524         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
63525         Do not use __unbounded.
63526         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
63527         not use __ptrvalue.
63528         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
63529         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
63530         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
63531         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
63532         __ptrvalue or __unbounded.
63533         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
63534         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
63535         use __unbounded.
63536         (__new_msgctl): Do not use __ptrvalue.
63537         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
63538         __unbounded.
63539         (__libc_msgrcv): Do not use __ptrvalue.
63540         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
63541         startup_info): Do not use __unbounded.
63542         (__libc_start_main): Likewise.  Rename ubp_* variables and
63543         parameters.  Remove argv definitions conditional on
63544         [__BOUNDED_POINTERS__].
63545         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
63546         __ptrvalue.
63547         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
63548         use __unbounded.
63549         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
63550         or __ptrvalue.
63551         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
63552         use __unbounded.
63553         (__new_shmctl): Do not use __ptrvalue.
63554         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
63555         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
63556         Likewise.
63557         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
63558         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
63559         (__libc_sigaction): Likewise.
63560         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
63561         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
63562         Likewise.
63563         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
63565 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
63567         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
63569         * string/mempcpy.c: Implement by calling memcpy.
63571 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
63573         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
63575         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
63576         evaluation.
63578         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
63579         values in the mantissa.
63581         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
63582         minimize writes to Z.
63583         (sub_magnitudes): Simplify code a bit.
63585 2013-02-12  Roland McGrath  <roland@hack.frob.com>
63587         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
63588         from the message.  The linker prefixes all warnings with that already.
63590 2013-02-12  Andreas Schwab  <schwab@suse.de>
63592         [BZ #15078]
63593         * posix/regexec.c (extend_buffers): Add parameter min_len.
63594         (check_matching): Pass minimum needed length.
63595         (clean_state_log_if_needed): Likewise.
63596         (get_subexp): Likewise.
63597         * posix/Makefile (tests): Add bug-regex34.
63598         (bug-regex34-ENV): Define.
63599         * posix/bug-regex34.c: New file.
63601         [BZ #11561]
63602         * posix/regcomp.c (parse_bracket_exp): When looking up collating
63603         elements compare against the byte sequence of it, not its name.
63604         * posix/Makefile (tests): Add bug-regex35.
63605         (bug-regex35-ENV): Define.
63606         * posix/bug-regex35.c: New file.
63608 2013-02-11  Tom de Vries  <tom@codesourcery.com>
63610         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
63611         comment.
63612         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
63613         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
63614         (CHECK_EOL): Add undef.
63616 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
63618         * bits/stdlib-bsearch.h: New file.
63619         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
63620         * stdlib/stdlib.h: Likewise.
63622 2013-02-11  Roland McGrath  <roland@hack.frob.com>
63624         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
63625         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
63626         declaration.
63627         * manual/search.texi (Array Search Function): Add missing const in
63628         lfind prototype.
63629         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
63630         declaration to use rlim_t.
63631         (Basic Scheduling Functions): Remove erroneous const from
63632         sched_getparam prototype.  Remove erroneous * from
63633         sched_get_priority_max and sched_get_priority_min prototypes.
63634         (Resource Usage): Fix summary @comment on vtimes to refer to
63635         sys/vtimes.h rather than vtimes.h.
63636         Add missing *s in vtimes prototype.
63637         (Limits on Resources): Fix ulimit prototype to return long int.
63638         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
63639         prototypes to use long int rather than double.
63640         (BSD Random): Fix initstate and setstate to use char *, not void *.
63641         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
63642         prototype to make second argument 'struct aiocb64 *const[]'.
63643         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
63644         (Status of AIO Operations): Remove erroneous const in aio_return and
63645         aio_return64 prototypes.
63646         (Synchronizing I/O): Fix sync prototype to return void.
63647         * manual/startup.texi (Suboptions): Remove an erroneous const in
63648         getsubopt prototype.
63649         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
63650         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
63651         use size_t rather than int.
63652         (Scanning All Users): Likewise for getpwent_r.
63653         (Setting Groups): Add missing const to setgroups prototype.
63654         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
63655         * manual/socket.texi (Host Names): Fix gethostbyaddr and
63656         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
63657         'const void *' rather than 'const char *'.
63658         (Host Address Functions): Likewise for inet_ntop.
63659         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
63660         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
63661         ssize_t for return value.
63662         (Sending Data): Likewise for send, sendto, sendmsg.
63663         (Socket Option Functions): Add a missing const in setsockopt prototype.
63664         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
63665         use wchar_t for the argument.
63666         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
63667         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
63668         take no arguments.
63669         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
63670         double/float/long double for second argument.
63671         Fix return types of significand, significandf, significandl.
63672         * manual/filesys.texi (Setting Permissions): Use mode_t for second
63673         argument in fchmod prototype.
63674         (File Owner): Use uid_t and gid_t in fchown prototype.
63675         (File Times): Add const to utimes, futimes, and lutimes prototypes.
63676         (Making Special Files): Use mode_t and dev_t in mknod prototype.
63677         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
63678         use 'const struct dirent **' as argument types to CMP function pointer
63679         argument.
63680         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
63681         (File Times): Fix summary magic @comment for struct utimbuf and utime
63682         to refer to utime.h, not time.h.
63683         * manual/string.texi (Argz Functions): Add missing const in
63684         argz_extract and argz_next prototypes.
63685         (Finding Tokens in a String): Likewise for basename.
63686         (String/Array Comparison): Fix typo in wcscasecmp prototype.
63687         (Copying and Concatenation): Fix typo in wmemmove prototype.
63688         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
63689         (Signal Stack): Remove erroneous const in sigstack prototype.
63690         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
63691         prototype.
63692         (Simple Calendar Time): Likewise for stime.
63693         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
63694         prototype.
63695         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
63696         say sys/sysctl.h instead.
63697         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
63698         and vsyslog prototypes.
63700 2013-02-11  Tom de Vries  <tom@codesourcery.com>
63702         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
63703         Remove.
63705 2013-02-11  Roland McGrath  <roland@hack.frob.com>
63707         * misc/sys/mman.h: Fix typo in mremap comment.
63709 2013-02-08  Roland McGrath  <roland@hack.frob.com>
63711         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
63712         the '\0' terminator.
63714 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
63716         [BZ #13550]
63717         * debug/segfault.c: Don't include <bp-checks.h>.
63718         * sysdeps/generic/bp-checks.h: Remove file.
63719         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
63720         (__GETDENTS): Don't use CHECK_N.
63721         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
63722         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
63723         (__getgroups): Don't use CHECK_N.
63724         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
63725         (setgroups): Don't use CHECK_N.
63726         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
63727         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
63728         (__libc_msgrcv): Don't use CHECK_N.
63729         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
63730         (__libc_msgsnd): Don't use CHECK_N.
63731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
63732         <bp-checks.h>.
63733         (__libc_pread): Don't use CHECK_N.
63734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
63735         include <bp-checks.h>.
63736         (__libc_pread64): Don't use CHECK_N.
63737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
63738         include <bp-checks.h>.
63739         (__libc_pwrite): Don't use CHECK_N.
63740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
63741         include <bp-checks.h>.
63742         (__libc_pwrite64): Don't use CHECK_N.
63743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
63744         <bp-checks.h>.
63745         (__libc_pread): Don't use CHECK_N.
63746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
63747         include <bp-checks.h>.
63748         (__libc_pread64): Don't use CHECK_N.
63749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
63750         include <bp-checks.h>.
63751         (__libc_pwrite): Don't use CHECK_N.
63752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
63753         include <bp-checks.h>.
63754         (__libc_pwrite64): Don't use CHECK_N.
63755         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
63756         (do_pread): Don't use CHECK_N.
63757         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
63758         (do_pread64): Don't use CHECK_N.
63759         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
63760         (do_pwrite): Don't use CHECK_N.
63761         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
63762         (do_pwrite64): Don't use CHECK_N.
63763         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
63764         (__libc_readv): Don't use CHECK_N.
63765         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
63766         (semop): Don't use CHECK_N.
63767         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
63768         <bp-checks.h>.
63769         (semtimedop): Don't use CHECK_N.
63770         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
63771         (__libc_pread): Don't use CHECK_N.
63772         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
63773         <bp-checks.h>.
63774         (__libc_pread64): Don't use CHECK_N.
63775         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
63776         <bp-checks.h>.
63777         (__libc_pwrite): Don't use CHECK_N.
63778         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
63779         <bp-checks.h>.
63780         (__libc_pwrite64): Don't use CHECK_N.
63781         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
63782         <bp-checks.h>.
63783         (__libc_msgrcv): Don't use CHECK_N.
63784         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
63785         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
63786         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
63787         (__libc_writev): Don't use CHECK_N.
63789 2013-02-08  Roland McGrath  <roland@hack.frob.com>
63791         * string/strcpy.c: Removed unused variable.
63793         * Makeconfig (+sysdep-includes): Define with := rather than =.
63794         Use an existing include/ subdir of each sysdeps dir before it.
63796 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
63798         * nscd/connection.c (register_traced_file): Comment function.
63799         [HAVE_INOTIFY] (union __inev): Define.
63800         [HAVE_INOTIFY] (inotify_check_files): New function.
63801         [HAVE_INOTIFY] (clear_db_cache): Likewise.
63802         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
63803         clear_db_cache.
63804         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
63806 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
63808         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
63809         loaded if not already and that a failure is permanent.
63811 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
63813         [BZ #15006]
63814         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
63815         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
63817 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
63819         [BZ #13550]
63820         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
63821         (CHECK_1_NULL_OK): Likewise.
63822         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
63823         (__fxstat): Do not use CHECK_1.
63824         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
63825         <bp-checks.h>.
63826         (___fxstat64): Do not use CHECK_1.
63827         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
63828         <bp-checks.h>.
63829         (__fxstatat): Do not use CHECK_1.
63830         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
63831         <bp-checks.h>.
63832         (__fxstatat64): Do not use CHECK_1.
63833         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
63834         <bp-checks.h>.
63835         (__fxstat): Do not use CHECK_1.
63836         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
63837         <bp-checks.h>.
63838         (__fxstatat): Do not use CHECK_1.
63839         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
63840         <bp-checks.h>.
63841         (__getresgid): Do not use CHECK_1.
63842         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
63843         <bp-checks.h>.
63844         (__getresuid): Do not use CHECK_1.
63845         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
63846         <bp-checks.h>.
63847         (__lxstat): Do not use CHECK_1.
63848         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
63849         <bp-checks.h>.
63850         (__old_msgctl): Do not use CHECK_1.
63851         (__new_msgctl): Likewise.
63852         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
63853         <bp-checks.h>.
63854         (__new_setrlimit): Do not use CHECK_1.
63855         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
63856         <bp-checks.h>.
63857         (__old_shmctl): Do not use CHECK_1.
63858         (__new_shmctl): Likewise.
63859         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
63860         <bp-checks.h>.
63861         (__xstat): Do not use CHECK_1.
63862         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
63863         (__lxstat): Do not use CHECK_1.
63864         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
63865         <bp-checks.h>.
63866         (___lxstat64): Do not use CHECK_1.
63867         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
63868         (__old_msgctl): Do not use CHECK_1.
63869         (__new_msgctl): Likewise.
63870         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
63871         <bp-checks.h>.
63872         (__gettimeofday): Do not use CHECK_1.
63873         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
63874         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
63875         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
63876         <bp-checks.h>.
63877         (__gettimeofday): Do not use CHECK_1.
63878         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
63879         (__old_shmctl): Do not use CHECK_1_NULL_OK.
63880         (__new_shmctl): Do not use CHECK_1.
63881         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
63882         <bp-checks.h>.
63883         (do_sigtimedwait): Do not use CHECK_1.
63884         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
63885         <bp-checks.h>.
63886         (do_sigwaitinfo): Do not use CHECK_1.
63887         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
63888         <bp-checks.h>.
63889         (msgctl): Do not use CHECK_1.
63890         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
63891         <bp-checks.h>.
63892         (shmctl): Do not use CHECK_1.
63893         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
63894         (ustat): Do not use CHECK_1.
63895         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
63896         <bp-checks.h>.
63897         (__fxstat): Do not use CHECK_1.
63898         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
63899         <bp-checks.h>.
63900         (__fxstatat): Do not use CHECK_1.
63901         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
63902         <bp-checks.h>.
63903         (__lxstat): Do not use CHECK_1.
63904         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
63905         <bp-checks.h>.
63906         (__xstat): Do not use CHECK_1.
63907         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
63908         (__xstat): Do not use CHECK_1.
63909         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
63910         (___xstat64): Do not use CHECK_1.
63912         [BZ #13550]
63913         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
63914         definitions.
63915         (CHECK_BOUNDS_HIGH): Likewise.
63916         * string/strcpy.c: Do not include <bp-checks.h>.
63917         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
63919 2013-02-07  Roland McGrath  <roland@hack.frob.com>
63921         * nscd/nscd-client.h (__nscd_drop_map_ref):
63922         Add __attribute__ ((unused)).
63923         * nis/nss-nisplus.h (niserr2nss): Likewise.
63925         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
63926         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
63928         * csu/libc-tls.c (init_static_tls, init_slotinfo):
63929         Remove inline keyword.
63930         * include/rounding-mode.h (round_away): Likewise.
63931         * libio/wfileops.c (adjust_wide_data): Likewise.
63932         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
63933         (__m128i_strloadu_tolower): Likewise.
63934         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
63935         (__m128i_strloadu_tolower): Likewise.
63936         * time/mktime.c (ydhms_diff): Likewise.
63937         * locale/elem-hash.h (elem_hash): Likewise.
63938         * locale/setlocale.c (setdata): Likewise.
63939         * posix/regex_internal.h (re_string_char_size_at): Likewise.
63940         (re_string_wchar_at): Likewise.
63941         (bitset_not, bitset_merge, bitset_mask): Likewise.
63942         [!(__GNUC__ > 3)] (inline): Remove macro.
63943         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
63944         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
63945         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
63946         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
63947         * string/memcmp.c (memcmp_bytes): Likewise.
63948         * locale/programs/locarchive.c (compute_hashval): Likewise.
63949         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
63950         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
63951         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
63952         * nss/getent.c (print_rpc, print_protocols): Likewise.
63953         (print_passwd, print_group, print_aliases): Likewise.
63954         * nis/nss-nisplus.h (niserr2nss): Likewise.
63955         * nscd/connections.c (restart_p): Likewise.
63956         Change return type to bool.
63958 2013-02-05  Roland McGrath  <roland@hack.frob.com>
63960         * Makeconfig (all-Depend-files): Add existing
63961         $(sorted-subdirs:=/Depend) files.
63962         (all-subdirs): Remove nss.
63963         * sysdeps/unix/inet/Subdirs: Add it here instead.
63964         * hesiod/Depend: New file.
63966         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
63967         instead of calling alloca.
63969         * io/lseek.c (__lseek): Rename to __libc_lseek.
63970         Define __lseek as an alias.
63972         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
63974 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
63976         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
63977         else clause and remove check for non-standard endianness.
63979 2013-02-04  David S. Miller  <davem@davemloft.net>
63981         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63983 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
63985         [BZ #13550]
63986         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
63987         (__ubp_memchr): Remove prototype.
63988         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
63989         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
63990         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
63991         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
63992         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
63993         Remove alias.
63994         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
63995         (__ubp_memchr): Likewise.
63996         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
63997         (__ubp_memchr): Likewise.
63998         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
63999         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
64000         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
64001         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
64002         CHECK_STRING.
64003         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
64004         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
64005         (__getcwd): Do not use CHECK_STRING.
64006         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
64007         <bp-checks.h>.
64008         (__real_chown): Do not use CHECK_STRING.
64009         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
64010         <bp-checks.h>.
64011         (fchownat): Do not use CHECK_STRING.
64012         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
64013         CHECK_STRING.
64014         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
64015         <bp-checks.h>.
64016         (__lchown): Do not use CHECK_STRING.
64017         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
64018         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
64019         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
64020         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
64021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
64022         include <bp-checks.h>.
64023         (truncate64): Do not use CHECK_STRING.
64024         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
64025         <bp-checks.h>.
64026         (__real_chown): Do not use CHECK_STRING.
64027         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
64028         <bp-checks.h>.
64029         (__lchown): Do not use CHECK_STRING.
64030         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
64031         <bp-checks.h>.
64032         (__chown): Do not use CHECK_STRING.
64033         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
64034         <bp-checks.h>.
64035         (truncate64): Do not use CHECK_STRING.
64036         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
64037         Likewise.
64038         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
64039         (__xmknod): Do not use CHECK_STRING.
64040         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
64041         <bp-checks.h>.
64042         (__xmknodat): Do not use CHECK_STRING.
64043         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
64044         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
64046 2013-02-04  Andreas Schwab  <schwab@suse.de>
64048         [BZ #14142]
64049         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
64050         * include/netdb.h: Likewise for h_errno.
64051         * elf/tst-stackguard1.c: Include <tls.h>.
64053 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
64055         * elf/link.h (struct link_map): Extend the l_addr comment.
64056         * include/link.h (struct link_map): Likewise.
64058 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
64060         [BZ #13550]
64061         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
64062         (BOUNDED_1): Remove macro.
64063         * debug/backtrace.c: Don't include <bp-checks.h>.
64064         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
64065         (__backtrace): Likewise.
64066         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
64067         <bp-checks.h>.
64068         (__backtrace): Don't use BOUNDED_1.
64069         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
64070         <bp-checks.h>.
64071         (__backtrace): Don't use BOUNDED_1.
64072         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
64073         (__backtrace): Don't use BOUNDED_1.
64074         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
64075         (shmat): Don't use BOUNDED_N.
64077 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
64079         [BZ #13550]
64080         * sysdeps/generic/bp-start.h: Remove file.
64081         * csu/libc-start.c: Don't include <bp-start.h>.
64082         (LIBC_START_MAIN): Set up __environ directly instead of using
64083         INIT_ARGV_and_ENVIRON.
64084         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
64085         <bp-start.h>.
64087         [BZ #13550]
64088         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
64089         definitions.
64090         (CHECK_FCNTL): Likewise.
64091         (CHECK_N_PAGES): Likewise.
64093         [BZ #13550]
64094         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
64095         definitions.
64096         (CHECK_SIGSET_NULL_OK): Likewise.
64097         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
64098         <bp-checks.h>.
64099         (sigpending): Don't use CHECK_SIGSET.
64100         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
64101         <bp-checks.h>.
64102         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
64103         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
64104         <bp-checks.h>.
64105         (do_sigsuspend): Don't use CHECK_SIGSET.
64106         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
64107         use CHECK_SIGSET.
64108         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
64109         (do_sigwait): Don't use CHECK_SIGSET.
64110         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
64111         use CHECK_SIGSET.
64112         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
64113         include <bp-checks.h>.
64114         (sigpending): Don't use CHECK_SIGSET.
64115         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
64116         include <bp-checks.h>.
64117         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
64118         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
64119         <bp-checks.h>.
64120         (sigpending): Don't use CHECK_SIGSET.
64121         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
64122         <bp-checks.h>.
64123         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
64125         [BZ #13550]
64126         * sysdeps/generic/bp-semctl.h: Remove file.
64127         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
64128         <bp-checks.h> and <bp-semctl.h>.
64129         (__old_semctl): Don't use CHECK_SEMCTL.
64130         (__new_semctl): Likewise.
64131         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
64132         and <bp-semctl.h>.
64133         (__old_semctl): Don't use CHECK_SEMCTL.
64134         (__new_semctl): Likewise.
64135         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
64136         <bp-checks.h> and <bp-semctl.h>.
64137         (__old_semctl): Don't use CHECK_SEMCTL.
64138         (__new_semctl): Likewise.
64139         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
64140         <bp-checks.h> and <bp-semctl.h>.
64141         (semctl): Don't use CHECK_SEMCTL.
64143         [BZ #13550]
64144         * Makerules (elide-bp-thunks): Remove variable.
64145         (elide-routines.oS): Don't use $(elide-bp-thunks).
64146         (elide-routines.os): Likewise.
64147         (elide-routines.o): Likewise.
64148         (elide-routines.op): Likewise.
64149         (elide-routines.og): Likewise.
64150         (objects): Don't use $(bp-thunks).
64151         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
64152         include.
64153         (common-generated): Do not add s-proto-bp.d.
64154         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
64155         (int): Likewise.
64156         (typ): Likewise.
64157         Do not generate makefile rules for bounded-pointer thunks.
64158         * sysdeps/generic/bp-thunks.h: Remove file.
64159         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
64160         * sysdeps/unix/s-proto-bp.S: Likewise.
64162         [BZ #15062]
64163         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
64164         parts of result separately when argument is not close to line from
64165         -i to i and one part of argument is small.
64166         * math/k_casinhf.c (__kernel_casinhf): Likewise.
64167         * math/k_casinhl.c (__kernel_casinhl): Likewise.
64168         * math/libm-test.inc (cacos_test): Add more tests.
64169         (casin_test): Likewise.
64170         (casinh_test): Likewise.
64171         * sysdeps/i386/fpu/libm-test-ulps: Update.
64172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64174 2013-01-31  David S. Miller  <davem@davemloft.net>
64176         * po/de.po: Update from translation team.
64178 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
64180         * time/tzfile.c: Include stdint.h for SIZE_MAX.
64182 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
64184         * configure.in (_AC_PROG_CC_C89): New definition.
64185         * configure: Regenerate.
64187         * configure.in (AC_PROG_CPP): New definition.
64188         * configure: Regenerate.
64190 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
64192         * debug/tst-backtrace.h: New file.
64193         * debug/tst-backtrace2.c: Include tst-backtrace.h.
64194         (ret): Remove variable.
64195         (x): Likewise.
64196         (FAIL): Remove macro.
64197         (NO_INLINE): Likewise.
64198         (fn1): Use match function instead of strstr.
64199         * debug/tst-backtrace3.c: Include tst-backtrace.h.
64200         (ret): Remove variable.
64201         (x): Likewise.
64202         (FAIL): Remove macro.
64203         (NO_INLINE): Likewise.
64204         (fn): Use match function instead of strstr.
64205         * debug/tst-backtrace4.c: Include tst-backtrace.h.
64206         (ret): Remove variable.
64207         (x): Likewise.
64208         (FAIL): Remove macro.
64209         (NO_INLINE): Likewise.
64210         (handle_signal): Use match function instead of strstr.
64211         * debug/tst-backtrace5.c: Include tst-backtrace.h.
64212         (ret): Remove variable.
64213         (x): Likewise.
64214         (FAIL): Remove macro.
64215         (NO_INLINE): Likewise.
64216         (handle_signal): Use match function instead of strstr.
64218 2013-01-23  Roland McGrath  <roland@hack.frob.com>
64220         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
64222 2013-01-23  David S. Miller  <davem@davemloft.net>
64224         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
64225         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
64226         argument of CAS if possible.
64227         * sysdeps/sparc/sparc64/bits/atomic.h
64228         (__arch_compare_and_exchange_val_32_acq): Likewise.
64229         (__arch_compare_and_exchange_val_64_acq): Likewise.
64231 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
64233         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
64234         * sysdeps/posix/ulimit.c: ... this.
64235         Include <limits.h>.
64236         * sysdeps/unix/bsd/ulimit.c: Remove file.
64238 2013-01-23  Adam Conrad  <adconrad@0c3.net>
64240         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
64241         (LDFLAGS-tst-array5): Likewise.
64243 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
64245         [BZ #15036]
64246         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
64247         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
64248         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
64249         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
64251 2013-01-21  David S. Miller  <davem@davemloft.net>
64253         * sysdeps/sparc/backtrace.c: New file.
64254         * sysdeps/sparc/sparc32/backtrace.h: New file.
64255         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
64256         * sysdeps/sparc/sparc64/backtrace.h: New file.
64257         * sysdeps/sparc/sparc64/backtrace.c: Delete.
64258         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
64259         -funwind-tables.
64261 2013-01-21  Andreas Schwab  <schwab@suse.de>
64263         [BZ #15020]
64264         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
64265         closed its stdout.
64267 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
64269         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
64270         "mpa2.h".
64271         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
64273 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
64274             Mark Mitchell  <mark@codesourcery.com>
64275             Tom de Vries  <tom@codesourcery.com>
64276             Paul Pluzhnikov  <ppluzhnikov@google.com>
64278         * debug/tst-backtrace2.c: New file.
64279         * debug/tst-backtrace3.c: Likewise.
64280         * debug/tst-backtrace4.c: Likewise.
64281         * debug/tst-backtrace5.c: Likewise.
64282         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
64283         (CFLAGS-tst-backtrace3.c): Likewise.
64284         (CFLAGS-tst-backtrace4.c): Likewise.
64285         (CFLAGS-tst-backtrace5.c): Likewise.
64286         (LDFLAGS-tst-backtrace2): Likewise.
64287         (LDFLAGS-tst-backtrace3): Likewise.
64288         (LDFLAGS-tst-backtrace4): Likewise.
64289         (LDFLAGS-tst-backtrace5): Likewise.
64290         (tests): Add new tests tst-backtrace2, tst-backtrace3,
64291         tst-backtrace4 and tst-backtrace5.
64293 2013-01-18  Anton Blanchard  <anton@samba.org>
64294             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64296         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
64297         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
64298         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
64299         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
64300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
64301         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
64302         "+r" and remove output regs list as redundant.  Add explicit inline
64303         asm to specify register of return val to work around compiler codegen
64304         bug.  Remove (int) cast on return value.  Add return type parameter to
64305         use in macro so that this macro does not truncate return value for
64306         64-bit values.
64307         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
64308         pass to INTERNAL_VSYSCALL_NCS.
64309         (INLINE_VSYSCALL): Add 'long int' as return type to
64310         INTERNAL_VSYSCALL_NCS macro invocation.
64311         (INTERNAL_VSYSCALL): Add 'long int' as return type to
64312         INTERNAL_VSYSCALL_NCS macro invocation.
64313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
64315 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
64317         [BZ #14496]
64318         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
64319         Fix application of SIMD FP exception mask.
64321         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
64322         mp_no from a power of two.
64323         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
64324         __mpexp_twomm1.  Use __pow_mp.
64326         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
64327         multiplication.
64329 2013-01-17  David S. Miller  <davem@davemloft.net>
64331         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64333 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
64335         [BZ #15023]
64336         * include/complex.h: Condition contents on [!_COMPLEX_H].
64337         (__kernel_casinhf): New prototype.
64338         (__kernel_casinh): Likewise.
64339         (__kernel_casinhl): Likewise.
64340         * math/Makefile (libm_calls): Add k_casinh.
64341         * math/k_casinh.c: New file.
64342         * math/k_casinhf.c: Likewise.
64343         * math/k_casinhl.c: Likewise.
64344         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
64345         finite nonzero arguments.
64346         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
64347         finite nonzero arguments.
64348         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
64349         finite nonzero arguments.
64350         * math/s_casinh.c: Do not include <float.h>.
64351         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
64352         * math/s_casinhf.c: Do not include <float.h>.
64353         (__casinhf): Move code for finite nonzero arguments to
64354         k_casinhf.c.
64355         * math/s_casinhl.c: Do not include <float.h>.
64356         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
64357         redefine.
64358         (__casinhl): Move code for finite nonzero arguments to
64359         k_casinhl.c.
64360         * math/libm-test.inc (cacos_test): Add more tests.
64361         * sysdeps/i386/fpu/libm-test-ulps: Update.
64362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64364 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
64366         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
64367         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
64368         [!HAVE_MREMAP]: Remove [defined linux] case.
64369         * malloc/arena.c: Do not include <malloc-sysdep.h>.
64371 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
64373         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
64375 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
64377         * elf/elf.h (R_386_SIZE32): New relocation.
64378         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
64379         R_386_SIZE32.
64380         (elf_machine_rela): Likewise.
64381         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
64382         R_X86_64_SIZE64 and R_X86_64_SIZE32.
64384 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
64386         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
64387         (FP_FAST_FMA): Do not define.
64388         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
64389         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
64390         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
64391         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
64392         !_SOFT_FLOAT]: Likewise.
64393         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
64394         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
64395         value.
64396         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
64397         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
64398         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
64399         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
64400         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
64401         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
64402         file.
64404 2013-01-16  Andreas Schwab  <schwab@suse.de>
64406         [BZ #14327]
64407         * include/stdlib.h (__mktemp): Add declaration.
64408         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
64409         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
64411 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
64413         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
64414         definitions.
64415         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
64416         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
64417         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
64418         definitions here.
64419         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
64420         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
64421         definitions.
64422         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
64423         and ONE.
64424         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
64425         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
64426         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
64427         definitions.
64428         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
64429         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
64430         definitions.
64431         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
64433         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
64435 2013-01-15  David S. Miller  <davem@davemloft.net>
64437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
64438         trunc{,f} to libm-sysdep_routes.
64439         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
64440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
64441         file.
64442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
64443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
64444         file.
64445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
64446         file.
64447         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
64448         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
64449         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
64450         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
64451         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
64452         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
64453         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
64454         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
64456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
64457         nearbyint{,f} to libm-sysdep_routes.
64458         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
64459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
64460         New file.
64461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
64462         file.
64463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
64464         New file.
64465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
64466         file.
64467         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
64468         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
64469         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
64470         file.
64471         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
64472         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
64473         file.
64474         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
64475         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
64476         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
64478         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
64479         libc_feholdexcept and libc_fesetenv.
64481 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
64483         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
64485 2013-01-14  David S. Miller  <davem@davemloft.net>
64487         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
64488         (SPARC_ASM_VIS2_IFUNC): Likewise.
64489         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
64490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
64491         use of 'siam' instruction.
64492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
64493         Likewise.
64494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
64495         Likewise.
64496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
64497         Likewise.
64498         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
64499         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
64500         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
64501         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
64502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
64503         file.
64504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
64505         file.
64506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
64507         file.
64508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
64509         file.
64510         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
64511         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
64512         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
64513         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
64514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
64515         new VIS2 routines.
64516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
64517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
64518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
64519         Likewise.
64520         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
64521         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
64522         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
64523         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
64524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
64525         routines to libm-sysdep_routines.
64526         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
64528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
64529         fdim/fdimf to libm-sysdep_routines.
64530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
64531         file.
64532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
64533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
64534         file.
64535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
64536         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
64537         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
64538         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
64539         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
64540         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
64541         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
64543 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
64545         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
64546         to optimize copies.
64548         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
64549         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
64550         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
64552         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
64553         local variable MPTWO.
64554         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
64555         Likewise.
64557 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
64559         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
64560         GLOB_NOESCAPE.
64562 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
64564         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
64566 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
64568         * manual/pattern.texi (glob_t): Document gl_flags.
64569         (glob64_t): Likewise.
64571 2013-01-11  David S. Miller  <davem@davemloft.net>
64573         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
64574         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
64575         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
64576         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
64577         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
64578         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
64579         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
64580         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
64581         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
64582         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
64583         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
64584         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
64585         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
64587         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
64588         sparc V9 rather than using V8 code.
64589         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
64590         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
64592         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
64593         Move to...
64594         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
64595         Here.
64597 2013-01-11  Roland McGrath  <roland@hack.frob.com>
64599         [BZ #14941]
64600         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
64601         not in the main loop.
64602         * configure: Regenerated.
64604 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
64606         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
64607         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
64608         to just #else.
64609         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
64610         [!__GLIBC_HAVE_LONG_LONG] case.
64611         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
64612         condition to just #else.
64613         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
64614         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
64615         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
64616         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
64617         unconditional.
64618         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
64619         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
64620         #elif condition to just #else.
64621         * sysdeps/unix/sysv/linux/sys/sysmacros.h
64622         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
64623         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
64624         #elif condition to just #else.
64626 2013-01-11  Steve Ellcey  <sellcey@mips.com>
64628         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
64629         (EF_MIPS_ARCH_64): Fix value.
64630         (EF_MIPS_ARCH_32R2): New.
64631         (EF_MIPS_ARCH_64R2): New.
64633 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
64635         * Makeconfig (+link-pie-before-libc): New.
64636         (+link-pie-after-libc): Likewise.
64637         (+link-pie-tests): Likewise.
64638         (+link-pie): Rewritten.
64639         (link-before-libc): Remove $(config-LDFLAGS).
64640         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
64641         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
64642         (config-LDFLAGS): Renamed to ...
64643         (rtld-LDFLAGS): This.
64644         (rtld-tests-LDFLAGS): New macro.
64645         (link-libc-rpath-link): Likewise.
64646         (link-libc-tests-rpath-link): Likewise.
64647         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
64648         (link-libc): Prepand $(link-libc-rpath-link).
64649         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
64650         (test-program-prefix): New macro.
64651         (test-via-rtld-prefix): Likewise.
64652         (test-program-cmd): Likewise.
64653         (host-test-program-cmd): Likewise.
64654         * Makefile ($(common-objpfx)testrun.sh): Replace
64655         $(run-program-prefix) with $(test-program-prefix).
64656         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
64657         $(rtld-LDFLAGS).
64658         ($(common-objpfx)shlib.lds): Likewise.
64659         (build-module-helper): Likewise.
64660         ($(common-objpfx)format.lds): Likewise.
64661         * Rules (binaries-pie-tests): New.
64662         (binaries-pie-notests): Likewise.
64663         (binaries-pie): Rewritten.
64664         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
64665         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
64666         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
64667         (make-test-out): Replace $(host-built-program-cmd) with
64668         $(host-test-program-cmd).
64669         * config.make.in (build-hardcoded-path-in-tests): New variable.
64670         * configure.in (--enable-hardcoded-path-in-tests): New configure
64671         option.
64672         (hardcoded_path_in_tests): New AC_SUBST.
64673         * configure: Regenerated.
64674         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
64675         $(built-program-cmd) with $(test-program-cmd).
64676         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
64677         (test_program_cmd): This.
64678         * elf/Makefile ($(objpfx)order.out): Run test with
64679         $(test-program-prefix).
64680         ($(objpfx)order2.out): Likewise.
64681         ($(objpfx)tst-initorder.out): Likewise.
64682         ($(objpfx)tst-initorder2.out): Likewise.
64683         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
64684         $(test-program-cmd).
64685         ($(objpfx)tst-array1-static.out): Likewise.
64686         ($(objpfx)tst-array2.out): Likewise.
64687         ($(objpfx)tst-array3.out): Likewise.
64688         ($(objpfx)tst-array4.out): Likewise.
64689         ($(objpfx)tst-array5.out): Likewise.
64690         ($(objpfx)tst-array5-static.out): Likewise.
64691         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
64692         $(test-program-cmd).
64693         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
64694         $(run-program-prefix) with $(test-program-prefix).
64695         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
64696         (test_program_prefix): This.
64697         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
64698         $(run-program-prefix) with $(test-program-prefix).
64699         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
64700         (test_program_prefix): This.
64701         * iconvdata/tst-tables.sh: Likewise.
64702         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
64703         $(run-program-prefix) with $(test-program-prefix).
64704         ($(objpfx)tst-translit.out): Likewise.
64705         ($(objpfx)tst-gettext2.out): Likewise.
64706         ($(objpfx)tst-gettext4.out): Likewise.
64707         ($(objpfx)tst-gettext6.out): Likewise.
64708         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
64709         (test_program_prefix): This.
64710         * intl/tst-gettext2.sh: Likewise.
64711         * intl/tst-gettext4.sh  Likewise.
64712         * intl/tst-gettext6.sh: Likewise.
64713         * intl/tst-translit.sh: Likewise.
64714         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
64715         with $(test-program-cmd).
64716         * libio/Makefile ($(objpfx)test-freopen.out): Replace
64717         $(run-program-prefix) with $(test-program-prefix).
64718         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
64719         (test_program_prefix): This.
64720         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
64721         $(run-program-prefix) with $(test-program-prefix).
64722         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
64723         (test_program_prefix): This.
64724         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
64725         * posix/Makefile ($(objpfx)globtest.out): Replace
64726         $(run-via-rtld-prefix) and $(test-wrapper) with
64727         $(test-program-prefix) and $(test-via-rtld-prefix).
64728         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
64729         $(test-program-prefix).
64730         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
64731         $(host-test-program-cmd).
64732         (tst-spawn-ARGS): Likewise.
64733         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
64734         $(test-program-prefix).
64735         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
64736         (test_via_rtld_prefix): This.
64737         (test_wrapper): Renamed to ...
64738         (test_program_prefix): This.
64739         (run_program_prefix): Replaced by test_program_prefix.
64740         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
64741         (test_program_prefix): This.
64742         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
64743         with $(host-test-program-cmd).
64744         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
64745         $(run-program-prefix) with $(test-program-prefix).
64746         ($(objpfx)tst-printf.out): Likewise.
64747         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
64748         $(test-program-cmd).
64749         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
64750         (test_program_prefix): This.
64751         * stdio-common/tst-unbputc.sh: Likewise.
64752         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
64753         $(run-program-prefix) with $(test-program-prefix).
64754         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
64755         (test_program_prefix): This.
64756         * string/Makefile ($(objpfx)tst-svc.out):  Replace
64757         $(built-program-cmd) with $(test-program-cmd).
64759 2013-01-11  Andreas Jaeger  <aj@suse.de>
64761         [BZ #15003]
64762         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
64763         value. Sync with Linux 3.7.
64765 2013-01-10  David S. Miller  <davem@davemloft.net>
64767         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
64768         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
64769         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
64771 2013-01-10  Roland McGrath  <roland@hack.frob.com>
64773         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
64774         never set.
64775         * configure: Regenerated.
64777 2013-01-10  David S. Miller  <davem@davemloft.net>
64779         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
64780         sparc V9 rather than using V8 code.
64781         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
64782         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
64784 2013-01-10  Roland McGrath  <roland@hack.frob.com>
64786         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
64787         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
64788         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
64789         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
64790         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
64791         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
64792         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
64793         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
64794         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
64795         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
64796         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
64797         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
64798         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
64799         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
64800         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
64801         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
64802         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
64803         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
64804         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
64805         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
64806         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
64807         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
64808         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
64809         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
64810         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
64811         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
64812         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
64814 2013-01-10  David S. Miller  <davem@davemloft.net>
64816         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64818 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
64820         * posix/Makefile (tests-static): New variable.
64821         (tests): Add $(tests-static).
64822         (tst-exec-static-ARGS): New variable.
64823         (tst-spawn-static-ARGS): Likewise.
64824         * posix/tst-exec-static.c: New file.
64825         * posix/tst-spawn-static.c: Likewise.
64826         * posix/tst-exec.c: Support run directly.
64827         * posix/tst-spawn.c: Likewise.
64829 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
64831         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
64832         long.
64833         * math/bits/mathcalls.h (llrint): Likewise.
64834         (llround): Likewise.
64835         * stdlib/stdlib.h (struct drand48_data): Likewise.
64836         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
64837         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
64838         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
64839         Likewise.
64840         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
64841         Likewise.
64842         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
64843         (elf_greg_t): Likewise.
64844         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
64845         (__jmp_buf): Likewise.
64846         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
64847         definitions.
64848         (llrint): Likewise, for all definitions.
64849         (llrintl): Likewise.
64851         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
64852         Remove [__GNUC__] condition.
64853         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
64854         condition to just [__USE_ISOC99].
64855         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
64857 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
64859         [BZ #14200]
64860         * sysdeps/unix/sysv/linux/x86/bits/environments.h
64861         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
64862         defined.
64863         (_POSIX_V6_ILP32_OFF32): Likewise.
64864         (_XBS5_ILP32_OFF32): Likewise.
64865         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
64866         (__ILP32_OFFBIG_LDFLAGS): Likewise.
64868 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
64870         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
64872         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
64873         doubles __mpexp_twomm1.  Adjust usage.
64874         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
64875         Remove.
64877 2013-01-10  Andreas Schwab  <schwab@suse.de>
64879         [BZ #14964]
64880         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
64881         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
64883 2013-01-09  David S. Miller  <davem@davemloft.net>
64885         [BZ #15003]
64886         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
64887         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
64888         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
64889         (TCP_FASTOPEN): Define.
64890         (tcp_repair_opt): New structure.
64891         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
64892         enum values.
64893         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
64894         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
64895         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
64896         (tcp_cookie_transactions): New structure.
64898 2013-01-09  Anton Blanchard  <anton@samba.org>
64900         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
64901         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
64902         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
64903         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
64905 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
64907         * include/features.h (__USE_ANSI): Remove.
64909 2013-01-09  Roland McGrath  <roland@hack.frob.com>
64911         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
64913         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
64915 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
64917         * sysdeps/s390/fpu/libm-test-ulps: Update.
64919         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64921         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
64922         (__acr): Likewise.
64923         (__cpy): Likewise.
64924         (norm): Likewise.
64925         (denorm): Likewise.
64926         (__mp_dbl): Likewise.
64927         (__dbl_mp): Likewise.
64928         (add_magnitudes): Likewise.
64929         (sub_magnitudes): Likewise.
64930         (__add): Likewise.
64931         (__sub): Likewise.
64932         (__mul): Likewise.
64933         (__inv): Likewise.
64934         (__dvd): Likewise.
64935         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
64936         (__acr): Likewise.
64937         (__cpy): Likewise.
64938         (norm): Likewise.
64939         (denorm): Likewise.
64940         (__mp_dbl): Likewise.
64941         (__dbl_mp): Likewise.
64942         (add_magnitudes): Likewise.
64943         (sub_magnitudes): Likewise.
64944         (__add): Likewise.
64945         (__sub): Likewise.
64946         (__mul): Likewise.
64947         (__inv): Likewise.
64948         (__dvd): Likewise.
64949         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
64950         (__acr): Likewise.
64951         (__cpy): Likewise.
64952         (norm): Likewise.
64953         (denorm): Likewise.
64954         (__mp_dbl): Likewise.
64955         (__dbl_mp): Likewise.
64956         (add_magnitudes): Likewise.
64957         (sub_magnitudes): Likewise.
64958         (__add): Likewise.
64959         (__sub): Likewise.
64960         (__mul): Likewise.
64961         (__inv): Likewise.
64962         (__dvd): Likewise.
64964 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
64966         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
64967         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
64968         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
64969         2 && __USE_EXTERN_INLINES]: Likewise.
64971 2013-01-08  Andreas Jaeger  <aj@suse.de>
64973         [BZ# 14985]
64974         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
64975         Remove.
64976         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
64977         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
64979 2013-01-07  Anton Blanchard  <anton@samba.org>
64981         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
64982         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
64983         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
64984         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
64985         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
64986         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
64987         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
64988         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
64989         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
64990         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
64991         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
64992         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
64993         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
64994         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
64995         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
64996         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
64997         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
64998         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
64999         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
65000         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
65001         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
65002         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
65003         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
65004         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
65005         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
65006         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
65007         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
65008         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
65009         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
65010         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
65011         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
65012         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65013         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
65014         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
65015         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
65016         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
65017         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
65018         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
65019         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
65020         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
65021         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
65022         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
65023         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
65025 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
65027         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
65028         (__MALLOC_PMT): Likewise.
65029         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
65030         [__GNUC__], only on [_LIBC].
65031         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
65032         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
65033         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
65034         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
65035         forward declaration.
65036         (realloc_hook_ini): Likewise.
65037         (memalign_hook_ini): Likewise.
65038         (__libc_memalign): Do not use __MALLOC_PMT in variable
65039         declaration.
65040         (__libc_valloc): Likewise.
65041         (__libc_pvalloc): Likewise.
65042         (__libc_calloc): Likewise.
65043         (__posix_memalign): Likewise.
65045         [BZ #14996]
65046         * math/s_casinh.c: Include <float.h>.
65047         (__casinh): Do not do computation with squaring and square root
65048         for large arguments.
65049         * math/s_casinhf.c: Include <float.h>.
65050         (__casinhf): Do not do computation with squaring and square root
65051         for large arguments.
65052         * math/s_casinhl.c: Include <float.h>.
65053         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
65054         (__casinhl): Do not do computation with squaring and square root
65055         for large arguments.
65056         * math/libm-test.inc (casin_test): Add more tests.
65057         (casinh_test): Likewise.
65058         * sysdeps/i386/fpu/libm-test-ulps: Update.
65059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65061 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
65063         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
65064         (__x86_64_raw_data_cache_size): Likewise.
65065         (__x86_64_data_cache_size_half): Likewise.
65066         (__x86_64_raw_data_cache_size_half): Likewise.
65067         (__x86_64_shared_cache_size): Likewise.
65068         (__x86_64_raw_shared_cache_size): Likewise.
65069         (__x86_64_shared_cache_size_half): Likewise.
65070         (__x86_64_raw_shared_cache_size_half): Likewise.
65071         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
65072         to ...
65073         (__x86_data_cache_size): This.
65074         (__x86_64_raw_data_cache_size): Renamed to ...
65075         (__x86_raw_data_cache_size): This.
65076         (__x86_64_data_cache_size_half): Renamed to ...
65077         (__x86_data_cache_size_half): This.
65078         (__x86_64_raw_data_cache_size_half): Renamed to ...
65079         (__x86_raw_data_cache_size_half): This.
65080         (__x86_64_shared_cache_size): Renamed to ...
65081         (__x86_shared_cache_size): This.
65082         (__x86_64_raw_shared_cache_size): Renamed to ...
65083         (__x86_raw_shared_cache_size): This.
65084         (__x86_64_shared_cache_size_half): Renamed to ...
65085         (__x86_shared_cache_size_half): This.
65086         (__x86_64_raw_shared_cache_size_half): Renamed to ...
65087         (__x86_raw_shared_cache_size_half): This.
65088         * sysdeps/x86_64/memcpy.S: Updated.
65089         * sysdeps/x86_64/memset.S: Likewise.
65090         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
65091         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
65092         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
65094 2013-01-04  David S. Miller  <davem@davemloft.net>
65096         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65098 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
65100         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
65101         1 to avoid redefinition warning.
65102         (__USE_GNU): Don't define.
65103         (init_signaling_nan): Protoize.
65105         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65107 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
65109         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
65110         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
65111         (__cpymn): Likewise.
65112         (norm): Remove commented code.
65113         (denorm): Likewise.
65114         (__mp_dbl): Likewise.
65115         (__inv): Likewise.
65116         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
65117         (__cpymn): Likewise.
65118         (norm): Remove commented code.
65119         (denorm): Likewise.
65120         (__mp_dbl): Likewise.
65121         (__inv): Likewise.
65123         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
65124         mp_no value for 1.0 and 2.0.
65125         (norm): Use RADIXI instead of radixi.d.
65126         (denorm): Likewise.
65127         (__mul): Use 0.0 instead of zero.d.
65128         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
65129         mp_no value for 1.0 and 2.0.
65130         (norm): Use RADIXI instead of radixi.d.
65131         (denorm): Likewise.
65132         (__mul): Use 0.0 instead of zero.d.
65134 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
65136         [BZ #14994]
65137         * math/s_casinh.c (__casinh): Reduce finite argument to first
65138         quadrant then set signs of results at the end.
65139         * math/s_casinhf.c (__casinhf): Likewise.
65140         * math/s_casinhl.c (__casinhl): Likewise.
65141         * math/libm-test.inc (casin_test): Add more tests.
65142         (casinh_test): Likewise.
65143         * sysdeps/i386/fpu/libm-test-ulps: Update.
65144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65146 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
65148         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
65150         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
65152         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
65153         declarations.
65154         (denorm): Likewise.
65155         (__mp_dbl): Likewise.
65156         (__inv): Likewise.
65158         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
65159         and adjust the header comment.
65161         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
65162         variable name from declaration.
65164 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
65166         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65167         Initialize COMMON_CPUID_INDEX_7 element.
65168         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
65169         (CPUID_RTM): Likewise.
65170         (HAS_RTM): Likewise.
65171         (COMMON_CPUID_INDEX_7): New enum.
65173 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
65175         [BZ #14981]
65176         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
65177         size is zero, record memory as freed.
65179 2013-01-03  Andreas Jaeger  <aj@suse.de>
65181         * po/ia.po: Add new Interlingua translation.
65183 2012-01-03  Allan McRae  <allan@archlinux.org>
65185         * locale/programs/localedef.c: Fix description of '--posix' flag.
65187 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
65189         * NEWS: Update dates in second copyright notice.
65190         * README: Update copyright dates in example.
65191         * manual/libc.texinfo: Update copyright dates.
65192         * scripts/test-installation.pl: Update copyright date in --version
65193         output.
65195         * hurd/ctty-input.c: Fix copyright notice formatting.
65196         * hurd/ctty-output.c: Likewise.
65197         * hurd/dtable.c: Likewise.
65198         * hurd/hurd-raise.c: Likewise.
65199         * hurd/hurdprio.c: Likewise.
65200         * hurd/msgportdemux.c: Likewise.
65201         * misc/sys/file.h: Likewise.
65202         * misc/sys/ioctl.h: Likewise.
65203         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
65204         * sysdeps/mach/hurd/chdir.c: Likewise.
65205         * sysdeps/mach/hurd/fchdir.c: Likewise.
65206         * sysdeps/mach/hurd/rename.c: Likewise.
65207         * sysdeps/mach/hurd/rmdir.c: Likewise.
65208         * sysdeps/mach/hurd/seekdir.c: Likewise.
65209         * sysdeps/mach/hurd/setsid.c: Likewise.
65210         * sysdeps/posix/wait3.c: Likewise.
65212         * All files with FSF copyright notices: Update copyright dates
65213         using scripts/update-copyrights.
65214         * intl/plural.c: Regenerated.
65215         * locale/programs/charmap-kw.h: Likewise.
65216         * locale/programs/locfile-kw.h: Likewise.
65218 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
65220         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
65221         four values.
65223         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
65224         calculation loop and add branch prediction.
65226         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
65227         check access beyond bounds of m1np.
65229         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
65230         MPTWO.
65231         (__inv): Remove local variable MPTWO to use the global
65232         constant.
65233         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
65234         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
65235         variable MPTWO.
65236         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
65237         MP3HALFS static const.
65239 2013-01-01  David S. Miller  <davem@davemloft.net>
65241         * po/ca.po: Update from translation team.
65243 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
65245         * scripts/update-copyrights: New file.
65246         * Makeconfig: Reformat copyright notice.
65247         * ctype/ctype.h: Likewise.
65248         * debug/swprintf_chk.c: Likewise.
65249         * elf/dl-cache.c: Likewise.
65250         * elf/dl-debug.c: Likewise.
65251         * elf/dl-object.c: Likewise.
65252         * grp/initgroups.c: Likewise.
65253         * hurd/Makefile: Likewise.
65254         * hurd/hurd/signal.h: Likewise.
65255         * hurd/hurdfault.c: Likewise.
65256         * hurd/hurdioctl.c: Likewise.
65257         * hurd/hurdlookup.c: Likewise.
65258         * hurd/intr-msg.c: Likewise.
65259         * iconv/gconv_open.c: Likewise.
65260         * libio/swprintf.c: Likewise.
65261         * locale/lc-ctype.c: Likewise.
65262         * locale/nl_langinfo.c: Likewise.
65263         * mach/Machrules: Likewise.
65264         * mach/Makefile: Likewise.
65265         * malloc/obstack.h: Likewise.
65266         * manual/Makefile: Likewise.
65267         * manual/tsort.awk: Likewise.
65268         * misc/bits/stab.def: Likewise.
65269         * nis/nis_print_group_entry.c: Likewise.
65270         * nis/nis_table.c: Likewise.
65271         * nis/nss_compat/compat-pwd.c: Likewise.
65272         * nis/nss_compat/compat-spwd.c: Likewise.
65273         * po/Makefile: Likewise.
65274         * posix/fnmatch.c: Likewise.
65275         * posix/regex.h: Likewise.
65276         * resolv/Makefile: Likewise.
65277         * resolv/nss_dns/dns-network.c: Likewise.
65278         * resolv/res_hconf.c: Likewise.
65279         * scripts/gen-sorted.awk: Likewise.
65280         * soft-fp/soft-fp.h: Likewise.
65281         * stdio-common/printf.h: Likewise.
65282         * stdlib/monetary.h: Likewise.
65283         * stdlib/random.c: Likewise.
65284         * stdlib/random_r.c: Likewise.
65285         * sysdeps/generic/Makefile: Likewise.
65286         * sysdeps/gnu/Makefile: Likewise.
65287         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
65288         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65289         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
65290         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65291         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65292         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65293         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65294         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
65295         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
65296         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65297         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
65298         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
65299         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
65300         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
65301         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
65302         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
65303         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
65304         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65305         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
65306         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65307         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
65308         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
65309         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
65310         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
65311         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
65312         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
65313         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
65314         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
65315         * sysdeps/mach/hurd/errnos.awk: Likewise.
65316         * sysdeps/mach/hurd/fork.c: Likewise.
65317         * sysdeps/mach/hurd/getcwd.c: Likewise.
65318         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
65319         * sysdeps/mach/hurd/mmap.c: Likewise.
65320         * sysdeps/mach/hurd/utimes.c: Likewise.
65321         * sysdeps/mach/hurd/xmknod.c: Likewise.
65322         * sysdeps/posix/profil.c: Likewise.
65323         * sysdeps/posix/readdir_r.c: Likewise.
65324         * sysdeps/powerpc/bits/mathdef.h: Likewise.
65325         * sysdeps/powerpc/bits/setjmp.h: Likewise.
65326         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
65327         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
65328         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
65329         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
65330         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
65331         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
65332         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65333         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
65334         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
65335         * sysdeps/pthread/lio_listio.c: Likewise.
65336         * sysdeps/sparc/dl-procinfo.h: Likewise.
65337         * sysdeps/unix/i386/sysdep.S: Likewise.
65338         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
65339         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
65340         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
65341         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
65342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
65343         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
65344         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
65345         * sysdeps/unix/sysv/linux/speed.c: Likewise.
65346         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
65347         * sysdeps/wordsize-32/divdi3.c: Likewise.
65348         * time/sys/time.h: Likewise.
65349         * wcsmbs/Makefile: Likewise.
65351 2013-01-01  David S. Miller  <davem@davemloft.net>
65353         * po/fr.po: Update from translation team.
65355         * catgets/gencat.c: Update copyright year.
65356         * csu/version.c: Likewise.
65357         * debug/catchsegv.sh: Likewise.
65358         * debug/pcprofiledump.c: Likewise.
65359         * debug/xtrace.sh: Likewise.
65360         * elf/ldconfig.c: Likewise.
65361         * elf/ldd.bash.in: Likewise.
65362         * elf/pldd.c: Likewise.
65363         * elf/sotruss.ksh: Likewise.
65364         * elf/sprof.c: Likewise.
65365         * iconv/iconv_prog.c: Likewise.
65366         * iconv/iconvconfig.c: Likewise.
65367         * locale/programs/locale.c: Likewise.
65368         * locale/programs/localedef.c: Likewise.
65369         * login/programs/pt_chown.c: Likewise.
65370         * malloc/memusage.sh: Likewise.
65371         * malloc/memusagestat.c: Likewise.
65372         * malloc/mtrace.pl: Likewise.
65373         * nscd/nscd.c: Likewise.
65374         * nss/getent.c: Likewise.
65375         * nss/makedb.c: Likewise.
65376         * posix/getconf.c: Likewise.
65378 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
65380         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
65381         numbers.
65383 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
65385         * math/bits/mathcalls.h (modf): Use __nonnull.
65387 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
65389         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
65390         (split): Use macro CN instead of the bare value.
65391         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
65392         could be used.
65393         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
65394         instead of the bare value.
65395         (power1): Likewise.
65397 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65399         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
65400         __ATAN_TWOM.
65401         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
65403         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
65404         their values.
65405         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
65406         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
65407         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
65408         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
65410 2012-12-28  Andreas Jaeger  <aj@suse.de>
65412         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
65413         values are from Linux 3.7.
65415         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
65416         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
65418 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65420         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
65421         TRUE case.
65423         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
65424         (norm): Likewise.
65425         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
65426         variables with preprocessor constants.
65427         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
65428         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
65429         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
65431 2012-12-27  Bruno Haible  <bruno@clisp.org>
65433         [BZ #14317]
65434         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
65435         only if needed.
65437 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
65439         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
65440         and use variable directly.
65441         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
65443         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
65444         MPONE.
65445         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
65446         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
65447         variable MPONE.
65448         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
65449         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
65450         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
65451         include directive.  Remove local variable MPONE.
65452         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
65453         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
65454         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
65456 2012-12-25  David S. Miller  <davem@davemloft.net>
65458         * version.h (RELEASE): Set to "development".
65459         (VERSION): Set to "2.17.90".
65460         * NEWS: Add 2.18 section.
65462 2012-12-21  David S. Miller  <davem@davemloft.net>
65464         * po/hr.po: Update from translation team.
65466 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65468         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
65470 2012-12-19  Steve Ellcey  <sellcey@mips.com>
65472         * NEWS:  Mention new memcpy for MIPS.
65474 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65476         * manual/contrib.texi (Contributors): Spelling correction.
65478 2012-12-15  David S. Miller  <davem@davemloft.net>
65480         * po/ru.po: Update from translation team.
65482 2012-12-13  David S. Miller  <davem@davemloft.net>
65484         * NEWS: Mention IFUNC testsuite enhancements.
65486         * po/pl.po: Update from translation team.
65487         * po/bg.po: Likewise.
65489         * manual/contrib.texi (Contributors): Update entries for Hongjiu
65490         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
65492 2012-12-11  David S. Miller  <davem@davemloft.net>
65494         * po/sv.po: Update from translation team.
65496         * po/vi.po: Update from translation team.
65498         * po/cs.po: Update from translation team.
65500         * po/de.po: Update from translation team.
65501         * po/eo.po: Likewise.
65502         * po/nl.po: Likewise.
65504 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
65506         [BZ #14246]
65507         * manual/argp.texi (Argp Helper Functions): Move node to follow
65508         Argp Parsing State.
65510         [BZ #14872]
65511         * manual/conf.texi (Limits on File System Capacity): Mention if
65512         terminating null is included in the max size.
65514 2012-12-10  Andreas Jaeger  <aj@suse.de>
65516         * po/cs.po: Update from translation team.
65518 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
65520         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
65521         void pointer and cast to uintptr_t.
65522         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
65523         path.
65524         * sysdeps/s390/s390-64/memcpy.S: Likewise.
65525         * sysdeps/s390/s390-64/memset.S: Likewise.
65527 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
65529         [BZ #14833]
65530         * menual/message.texi (Message Translation): Fix typos.
65531         (Helper programs for gettext): Likewise.
65533 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
65535         [BZ #14898]
65536         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
65537         Change to -1.
65539 2012-12-07  David S. Miller  <davem@davemloft.net>
65541         * po/libc.pot: Update.
65543 2012-12-07  Richard Henderson  <rth@redhat.com>
65545         [BZ #10114]
65546         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
65547         normal/normal case to before the switch.
65548         (_FP_DIV): Likewise.
65550 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
65551             Mike Frysinger  <vapier@gentoo.org>
65553         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
65554         check for __NR_fadvise64_64.
65556 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
65558         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
65559         0, not just to plain "0" as a statement.
65560         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
65561         with cw.
65563 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
65565         * NEWS: Use sourceware.org in Bugzilla URL.
65567 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
65569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
65570         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
65572         * stdio-common/tst-put-error.c (do_test): Add newline to the
65573         padded test to ensure flush.
65575 2012-12-05  Jeff Law  <law@redhat.com>
65577         * sunrpc/etc.rpc (fedfs_admin): Add entry.
65579 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
65581         * README: Don't refer to ports add-on as distributed separately.
65582         Mention AArch64 in list of systems supported in the ports add-on.
65584         * LICENSES: Add more non-FSF copyright and license notices.
65586         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
65587         ((unused)).
65589         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
65591         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
65592         10000 as width of padded output.
65594 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
65596         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
65598         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
65599         variable LX with __attribute__ ((unused)).
65600         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
65601         Likewise.
65602         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
65603         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
65604         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
65605         with __attribute__ ((unused)).
65607 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
65609         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
65611 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
65613         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
65614         (CFLAGS-nldbl-acos.c): New variable.
65615         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
65616         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
65617         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
65618         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
65619         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
65620         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
65621         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
65622         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
65623         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
65624         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
65625         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
65626         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
65627         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
65628         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
65629         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
65630         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
65631         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
65632         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
65633         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
65634         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
65635         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
65636         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
65637         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
65638         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
65639         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
65640         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
65641         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
65642         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
65643         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
65644         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
65645         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
65646         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
65647         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
65648         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
65649         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
65650         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
65651         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
65652         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
65653         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
65654         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
65655         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
65656         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
65657         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
65658         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
65659         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
65660         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
65661         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
65662         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
65663         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
65664         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
65665         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
65666         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
65667         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
65668         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
65669         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
65670         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
65671         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
65672         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
65673         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
65674         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
65675         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
65676         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
65677         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
65678         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
65679         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
65680         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
65681         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
65682         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
65683         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
65684         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
65685         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
65686         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
65687         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
65688         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
65689         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
65690         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
65691         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
65692         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
65693         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
65694         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
65695         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
65696         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
65697         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
65698         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
65699         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
65700         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
65701         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
65702         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
65703         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
65704         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
65705         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
65706         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
65707         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
65708         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
65709         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
65710         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
65711         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
65713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
65714         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
65716         [BZ #14914]
65717         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
65718         whole low double instead of just low 47 bits when splitting values
65719         into two parts.
65721 2012-12-03  Allan McRae  <allan@archlinux.org>
65723         * manual/stdio.texi (Predefined Printf Handlers): Remove
65724         @hsep and @vsep usage.
65726 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
65728         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
65729         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
65731 2012-12-03  Jeff Law  <law@redhat.com>
65733         * time/sys/time.h (settimeofday): Do not mark TV argument
65734         as __nonnull.
65736 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
65738         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
65739         when currently writing and seek to current position when not.
65740         * libio/Makefile (tests): Remove bug-fclose1.
65741         * libio/bug-fclose1.c: Delete.
65743 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
65745         * manual/arith.texi (feenableexcept): Fix typo.
65746         (fedisableexcept): Likewise.
65748 2012-11-30  Roland McGrath  <roland@hack.frob.com>
65750         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
65751         second, differently-typed declaration, rather than a cast.
65753 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
65755         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
65756         * include/rpc/svc.h: ... here.
65758 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
65760         [BZ #13013]
65761         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
65762         depending n and resplen2 to catch cases where answer
65763         equals answerp2.
65765 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
65767         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
65768         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
65770 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
65772         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
65774 2012-11-29  Roland McGrath  <roland@hack.frob.com>
65776         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
65778 2012-11-28  Jeff Law  <law@redhat.com>
65780         [BZ #13761]
65781         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
65782         dataset_temporary.  Track alloca usage into alloca_used.
65783         If dataset is large allocate and release it via malloc/free.
65785 2012-06-04  Florian Weimer  <fweimer@redhat.com>
65787         [BZ #14197]
65788         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
65790 2012-11-28  David S. Miller  <davem@davemloft.net>
65792         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65794 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
65796         [BZ #14803]
65797         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
65798         of pi/2 rounded to nearest to 64 bits.
65799         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
65800         nearest to 64 bits.
65801         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
65802         bits.
65804 2012-11-28  Jeff Law <law@redhat.com>
65805             Martin Osvald <mosvald@redhat.com>
65807         [BZ #14889]
65808         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
65809         * sunrpc/svc.c: Include time.h.
65810         (__svc_accept_failed): New function.
65811         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
65812         any reason other than EINTR, call __svc_accept_failed.
65813         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
65814         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
65816 2012-11-28  Andreas Schwab  <schwab@suse.de>
65818         * scripts/abilist.awk: Also handle indirect functions in .opd
65819         section.
65821 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
65823         [BZ #13881]
65824         * sysdeps/x86/fpu/powl_helper.c: New file.
65825         * sysdeps/x86/fpu/Makefile: Likewise.
65826         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
65827         (p3): New object.
65828         (__ieee754_powl): Use __powl_helper for finite arguments except
65829         integer exponents below 8.
65830         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
65831         (p3): New object.
65832         (__ieee754_powl): Use __powl_helper for finite arguments except
65833         integer exponents below 8.
65834         * math/libm-test.inc (pow_test): Add more tests and enable some
65835         previously disabled tests.
65836         * sysdeps/i386/fpu/libm-test-ulps: Update.
65837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65839 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65840             Carlos O'Donell  <carlos_odonell@mentor.com>
65842         * nss/makedb.c (is_prime): Assert that input is odd and greater
65843         than 4.  Note that fact in a comment too.
65844         (next_prime): Add 4 to input.
65846 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
65848         [BZ #11741]
65849         * libio/Makefile (tests): Add test case tst-fwrite-error.
65850         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
65851         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
65852         * libio/tst-fwrite-error.c: New test case.
65854 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
65856         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
65857         before casting to void *.
65858         * include/libc-internal.h (__pointer_type): New macro.
65859         (__integer_if_pointer_type_sub): Likewise.
65860         (__integer_if_pointer_type): Likewise.
65861         (cast_to_integer): Likewise.
65862         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
65863         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
65864         before casting to atomic64_t.
65865         (atomic_exchange_acq): Likewise.
65866         (__arch_exchange_and_add_body): Likewise.
65867         (__arch_add_body): Likewise.
65868         (atomic_add_negative): Likewise.
65869         (atomic_add_zero): Likewise.
65871 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
65873         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
65874         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
65875         (add_fdes): Likewise.
65876         (linear_search_fdes): Likewise.
65877         (binary_search_unencoded_fdes): Likewise.
65879 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
65881         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
65883 2012-11-24  Adam Conrad  <adconrad@0c3.net>
65885         * configure.in: Autodetect C++ header directories.
65886         * configure: Regenerated.
65888 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
65890         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
65892 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
65894         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65896 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
65898         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
65899         LDBL_MANT_DIG == 106]: Disable some tests.
65900         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
65901         Likewise.
65902         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
65903         Likewise.
65905         [BZ #14871]
65906         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
65907         input for small inputs.  Return +/- pi/2 for large inputs.
65908         * math/libm-test.inc (atan_test): Add more tests.
65910         * sysdeps/generic/unwind-dw2-fde-glibc.c
65911         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
65912         __attribute__ ((unused)).
65914         [BZ #14645]
65915         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
65916         x * y if x and y are nonzero and z is zero.
65918         [BZ #14811]
65919         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
65920         nonzero exponents with absolute value below 0x1p-117 to +/-
65921         0x1p-117.
65923         [BZ #14869]
65924         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
65925         up arguments below 2**-450, not just those below 2**-500.
65926         * math/libm-test.inc (hypot_test): Add another test.
65928         [BZ #14868]
65929         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
65930         Return a+b for ratio over 2**120, not 2**60.
65931         * math/libm-test.inc (hypot_test): Add another test.
65933         * math/libm-test.inc (clog_test): Use
65934         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
65935         (clog10_test): Likewise.
65937         [BZ #6778]
65938         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
65940 2012-11-22  Andreas Schwab  <schwab@suse.de>
65942         * sysdeps/i386/fpu/libm-test-ulps: Update.
65944 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
65946         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
65947         printf output with newline.
65949 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
65951         [BZ #14865]
65952         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
65953         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
65954         -z nodlopen, -z initfirst and -z execstack support.
65955         * configure: Regenerated.
65957         * elf/elf.h (DF_1_NODIRECT): New macro.
65958         (DF_1_IGNMULDEF): Likewise.
65959         (DF_1_NOKSYMS): Likewise.
65960         (DF_1_NOHDR): Likewise.
65961         (DF_1_EDITED): Likewise.
65962         (DF_1_NORELOC): Likewise.
65963         (DF_1_SYMINTPOSE): Likewise.
65964         (DF_1_GLOBAUDIT): Likewise.
65965         (DF_1_SINGLETON): Likewise.
65966         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
65967         DT_1_SUPPORTED_MASK bits.
65968         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
65970 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
65972         * sysdeps/unix/make-syscalls.sh: Document prefixes.
65974 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
65976         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
65977         macro.
65979         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
65980         (sendmmsg): Move declarations...
65981         * socket/sys/socket.h: ... here.
65982         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
65983         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
65984         include it from...
65985         * socket/recvmmsg.c: ... this new file.
65986         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
65987         (sendmmsg): Rename to __sendmmsg, create weak alias and make
65988         definition of __sendmmsg hidden.
65989         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
65990         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
65991         Move ENOSYS stub into and include it from...
65992         * socket/sendmmsg.c: ... this new file.
65993         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
65994         (sysdep_routines): Move recvmmsg and sendmmsg...
65995         * socket/Makefile (routines): ... here.
65996         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
65997         (GLIBC_PRIVATE): Add __sendmmsg.
65998         * include/sys/socket.h (__sendmmsg): Add declarations.
65999         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
66000         sendmmsg.
66002 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
66004         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
66005         variable I1 with __attribute__ ((unused)).
66006         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
66008 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
66010         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
66011         DUMMY variables with __attribute__ ((unused)).
66013         * bits/byteswap.h: Include <bits/types.h>.
66014         (__bswap_64): Use __uint64_t instead of unsigned long long int.
66016 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
66018         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
66019         string_t.  Do not manually set errno.
66020         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
66021         length with __strnlen.  Make sure to both set errno and return it on
66022         failure.
66024 2012-11-19  David S. Miller  <davem@davemloft.net>
66026         With help from Joseph Myers.
66027         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
66028         very large arguments properly.
66029         * math/libm-test.inc (atan_test): New tests.
66030         (atan2_test): New tests.
66031         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66032         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66034 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
66036         [BZ #14856]
66037         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
66038         Define to 3.
66040         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
66041         [POSIX] (EADDRNOTAVAIL): Likewise.
66042         [POSIX] (EAFNOSUPPORT): Likewise.
66043         [POSIX] (EALREADY): Likewise.
66044         [POSIX] (ECONNABORTED): Likewise.
66045         [POSIX] (ECONNREFUSED): Likewise.
66046         [POSIX] (ECONNRESET): Likewise.
66047         [POSIX] (EDESTADDRREQ): Likewise.
66048         [POSIX] (EDQUOT): Likewise.
66049         [POSIX] (EHOSTUNREACH): Likewise.
66050         [POSIX] (EIDRM): Likewise.
66051         [POSIX] (EISCONN): Likewise.
66052         [POSIX] (ELOOP): Likewise.
66053         [POSIX] (EMULTIHOP): Likewise.
66054         [POSIX] (ENETDOWN): Likewise.
66055         [POSIX] (ENETUNREACH): Likewise.
66056         [POSIX] (ENOBUFS): Likewise.
66057         [POSIX] (ENODATA): Likewise.
66058         [POSIX] (ENOLINK): Likewise.
66059         [POSIX] (ENOMSG): Likewise.
66060         [POSIX] (ENOPROTOOPT): Likewise.
66061         [POSIX] (ENOSR): Likewise.
66062         [POSIX] (ENOSTR): Likewise.
66063         [POSIX] (ENOTCONN): Likewise.
66064         [POSIX] (ENOTSOCK): Likewise.
66065         [POSIX] (EOPNOTSUPP): Likewise.
66066         [POSIX] (EOVERFLOW): Likewise.
66067         [POSIX] (EPROTO): Likewise.
66068         [POSIX] (EPROTONOSUPPORT): Likewise.
66069         [POSIX] (EPROTOTYPE): Likewise.
66070         [POSIX] (ESTALE): Likewise.
66071         [POSIX] (ETIME): Likewise.
66072         [POSIX] (ETXTBSY): Likewise.
66073         [POSIX] (EWOULDBLOCK): Likewise.
66074         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
66075         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
66076         [POSIX] (SEEK_CUR): Likewise.
66077         [POSIX] (SEEK_END): Likewise.
66078         [POSIX || UNIX98] (mode_t): Do not require.
66079         [POSIX] (off_t): Likewise.
66080         [POSIX] (pid_t): Likewise.
66081         [POSIX] (sys/stat.h): Do not allow header.
66082         [POSIX] (unistd.h): Likewise.
66083         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
66084         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
66085         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
66086         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
66087         require.
66088         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
66089         sigevent): Specify elements.
66090         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
66091         entry.
66092         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
66093         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
66095         * conform/data/cpio.h-data [POSIX]: Disable whole file.
66096         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
66097         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
66098         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
66099         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
66100         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
66101         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
66102         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
66103         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
66104         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
66105         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
66106         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
66107         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
66108         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
66109         Likewise.
66110         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
66111         Likewise.
66112         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
66113         Likewise.
66114         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
66115         Likewise.
66116         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
66117         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
66118         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
66119         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
66120         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
66121         Specify lower bound on value.
66122         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
66123         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
66124         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
66125         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
66126         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
66127         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
66128         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
66129         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
66130         value.
66131         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
66132         as optional.
66133         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
66134         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
66135         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
66136         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
66137         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
66138         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
66139         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
66140         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
66141         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
66142         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
66143         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
66144         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
66145         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
66146         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
66147         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
66148         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
66149         entry.
66150         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
66151         optional.
66152         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
66153         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
66154         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
66155         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
66156         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
66157         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
66158         Likewise.
66159         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
66160         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
66161         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
66162         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
66163         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
66164         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
66165         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
66166         as optional.
66167         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
66168         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
66169         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
66170         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
66171         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
66172         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
66173         specify as optional.
66174         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
66175         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
66176         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
66177         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
66178         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
66179         [XPG3] (NL_LANGMAX): Likewise.
66180         [POSIX || XPG3] (NL_MSGMAX): Likewise.
66181         [POSIX || XPG3] (NL_NMAX): Likewise.
66182         [POSIX || XPG3] (NL_SETMAX): Likewise.
66183         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
66184         [XPG3] (NZERO): Likewise.
66185         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
66186         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
66187         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
66188         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
66189         (REG_ERANGE): Expect.
66190         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
66191         optional-constant.
66192         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
66193         Use (void) in prototype.
66194         [POSIX] (*_t): Allow.
66195         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
66196         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
66197         (WRDE_BADVAL): Expect.
66199         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
66200         expect.
66201         [XPG3 || XPG4] (O_RSYNC): Likewise.
66202         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
66203         Likewise.
66204         [XPG3 || XPG4] (pthread_sigmask): Likewise.
66205         [XPG3 || XPG4] (sigqueue): Likewise.
66206         [XPG3 || XPG4] (sigtimedwait): Likewise.
66207         [XPG3 || XPG4] (sigwaitinfo): Likewise.
66208         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
66209         [XPG3 || XPG4] (vsnprintf): Likewise.
66210         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
66211         Likewise.
66212         [XPG3 || XPG4] (blksize_t): Likewise.
66213         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
66214         Likewise.
66215         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
66216         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
66217         [XPG3 || XPG4] (struct itimerspec): Likewise.
66218         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
66219         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
66220         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
66221         [XPG3 || XPG4] (clockid_t): Likewise.
66222         [XPG3 || XPG4] (timer_t): Likewise.
66223         [XPG3 || XPG4] (clock_getres): Likewise.
66224         [XPG3 || XPG4] (clock_gettime): Likewise.
66225         [XPG3 || XPG4] (clock_settime): Likewise.
66226         [XPG3 || XPG4] (nanosleep): Likewise.
66227         [XPG3 || XPG4] (timer_create): Likewise.
66228         [XPG3 || XPG4] (timer_delete): Likewise.
66229         [XPG3 || XPG4] (timer_gettime): Likewise.
66230         [XPG3 || XPG4] (timer_getoverrun): Likewise.
66231         [XPG3 || XPG4] (timer_settime): Likewise.
66232         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
66233         [XPG3 || XPG4] (getlogin_r): Likewise.
66234         [XPG3 || XPG4] (pread): Likewise.
66235         [XPG3 || XPG4] (pthread_atfork): Likewise.
66236         [XPG3 || XPG4] (pwrite): Likewise.
66238         [BZ #14835]
66239         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
66240         <bits/siginfo.h>.
66242 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
66244         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
66245         finalizing MALLSTREAM.
66247         * sysdeps/mach/hurd/syncfs.c: New file.
66249 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
66251         [BZ #14719]
66252         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
66253         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
66254         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
66255         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
66256         (_nss_dns_gethostbyname4_r): Likewise.
66257         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
66258         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
66260 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
66262         [BZ #13763]
66263         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
66265 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
66267         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
66268         * elf/cache.c (print_entry): Print ",AArch64" for
66269         FLAG_AARCH64_LIB64
66271         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
66272         * elf/cache.c (print_entry): Print ",hard-float" for
66273         FLAG_ARM_LIBHF.
66275 2012-11-18  David S. Miller  <davem@davemloft.net>
66277         With help from Joseph Myers.
66278         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
66279         cutoff to 2**-13.
66280         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
66281         cutoff to 2**-25.
66282         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
66283         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
66284         small.
66285         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
66286         * math/libm-test.inc (y0_test): New tests.
66287         (y1_test): New tests.
66288         * sysdeps/i386/fpu/libm-test-ulps: Update.
66289         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66290         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66292 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
66294         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
66295         64-bit targets.
66296         * configure: Regenerated.
66298 2012-11-17  David S. Miller  <davem@davemloft.net>
66300         [BZ #14811]
66301         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
66302         nonzero exponents with absolute value below 0x1p-128 to +/-
66303         0x1p-128.
66305 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
66307         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
66309         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
66311         * posix/getconf-speclist.c: New file.
66312         * posix/posix-envs.def: Likewise.
66313         * posix/confstr.c (START_ENV_GROUP): New macro.
66314         (END_ENV_GROUP): Likewise.
66315         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
66316         (KNOWN_PRESENT_ENV_STRING): Likewise.
66317         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
66318         (UNKNOWN_ENVIRONMENT): Likewise.
66319         (confstr): Include posix-envs.def instead of handling
66320         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
66321         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
66322         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
66323         (END_ENV_GROUP): Likewise.
66324         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
66325         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
66326         (UNKNOWN_ENVIRONMENT): Likewise.
66327         (__sysconf): Include posix-envs.def instead of handling associated
66328         cases directly here.
66329         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
66330         preprocessing getconf-speclist.c rather than running getconf or
66331         generating empty file.
66333 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
66335         * scripts/check-local-headers.sh: Ignore 'mach' headers.
66337 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
66339         [BZ #14672]
66340         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
66342 2012-11-16  David S. Miller  <davem@davemloft.net>
66344         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
66345         smaller than LDBL_EPSILON/2.0L, just return xm1.
66347 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
66349         * elf/tst-array1.c (init): Set constructor priority to 1000.
66350         (fini): Set destructor priority to 1000.
66351         * elf/tst-array2dep.c: Likewise.
66353 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
66355         [BZ #11741]
66356         * libio/fileops.c (_IO_new_file_write): Correctly return error.
66357         (_IO_new_file_xsputn): Also return EOF if none of the input
66358         data was written when overflow failed.
66359         * libio/iopadn.c (_IO_padn): Likewise.
66360         * libio/iowpadn.c (_IO_wpadn): Likewise.
66361         * stdio-common/tst-put-error.c: Add copyright notice.
66362         (do_test): Add case for printing padded string.
66363         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
66364         _IO_padn returned error.
66365         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
66366         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
66367         return EOF.
66369 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
66371         * libio/libioP.h: Add comment note that the references to C++
66372         bits are now obsolete.
66374 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66376         * math/libm-test.inc (check_complex): Use asprintf.
66378 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
66380         * debug/pcprofiledump.c (print_version): Update copyright year.
66381         * malloc/memusagestat.c (print_version): Likewise.
66383 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
66385         [BZ #14831]
66386         * elf/Makefile (tests): Add tst-audit8.
66387         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
66388         ($(objpfx)tst-audit8.out): New target.
66389         (tst-audit8-ENV): New variable.
66390         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
66391         audit if l_reloc_result is NULL.
66392         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
66393         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
66394         * elf/tst-audit8.c: New file.
66396 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66398         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
66399         * misc/Makefile (CFLAGS-select.c): Define.
66400         * posix/Makefile (CFLAGS-pause.c): Define.
66402 2012-11-13  David S. Miller  <davem@davemloft.net>
66404         * crypt/Makefile: Move test targets after toplevel Rules
66405         inclusion.  Grab any necessary sysdep routines when linking.
66406         * crypt/md5.c (md5_process_block): Remove define, we will always
66407         name it __md5_process_block.
66408         (md5_finish_ctx): Update md5_process_block call.
66409         (md5_stream): Likewise.
66410         (md5_process_bytes): Likewise.
66411         (md5_process_block): Rename to __md5_process_block and move to ...
66412         * crypt/md5-block.c: ... here.
66413         * crypt/sha256.c (sha256_process_block): Move to ...
66414         * crypt/sha256-block.c: ... here.
66415         * crypt/sha512.c (sha512_process_block): Move to ...
66416         * crypt/sha512-block.c: ... here.
66417         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
66418         path.
66419         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
66420         * sysdeps/sparc/sparc64/multiarch/Makefile
66421         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
66422         crypt subdir.
66423         (localedef-aux): Add md5 crypto assembler when in locale subdir.
66424         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
66425         multiarch changes.
66426         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
66427         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
66428         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
66429         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
66430         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
66431         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
66432         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
66433         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
66434         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
66435         file.
66436         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
66437         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
66438         file.
66439         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
66441 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
66443         * timezone/tzselect.ksh: Update from tzcode git revision
66444         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
66445         * timezone/zdump.c: Likewise.
66446         * timezone/zic.c: Likewise.
66447         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
66448         in TZVERSION setting, not $(PKGVERSION).
66449         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
66450         REPORT_BUGS_TO settings.
66452         [BZ #14838]
66453         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
66454         macro.
66456 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66458         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
66459         detection to immediately after _FP_ROUND().
66460         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
66461         bits are 0.
66463 2012-11-11  David S. Miller  <davem@davemloft.net>
66465         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
66466         inttypes.h
66467         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
66468         __close rather than their public counterparts.
66470 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
66472         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
66473         file.
66474         [UNIX98] (sem_timedwait): Do not expect.
66475         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
66476         [XPG4 || UNIX98] (sockatmark): Do not expect.
66477         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
66478         (clock_getcpuclockid): Do not expect.
66479         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
66480         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
66481         Do not expect.
66482         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
66483         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
66484         [UNIX98] (vwscanf): Likewise.
66485         [UNIX98] (vswscanf): Likewise.
66487 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
66489         * timezone/version.h: Remove file.
66490         * timezone/README: Do not refer to version.h.
66491         * timezone/Makefile ($(objpfx)zic.o): New dependency on
66492         $(objpfx)version.h.
66493         ($(objpfx)zdump.o): Likewise.
66494         ($(objpfx)version.h): New target.
66496         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
66497         2012i.
66498         * timezone/README: Don't mention modification to tzselect.ksh.
66499         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
66500         work on unmodified tzselect.ksh.  Substitute version numbers in
66501         tzselect.ksh.
66503         * Makefile (format-me): Remove.
66504         (INSTALL): Adjust indentation.  Use commands directly instead of
66505         using $(format-me).
66507         * aclocal.m4 (ACX_PKGVERSION): New macro.
66508         (ACX_BUGURL): Likewise.
66509         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
66510         (PKGVERSION): New AC_DEFINE_UNQUOTED.
66511         (REPORT_BUGS_TO): Likewise.
66512         * configure: Regenerated.
66513         * config.h.in (PKGVERSION): New macro.
66514         (REPORT_BUGS_TO): Likewise.
66515         * config.make.in (PKGVERSION): New variable.
66516         (PKGVERSION_TEXI): Likewise.
66517         (REPORT_BUGS_TO): Likewise.
66518         (REPORT_BUGS_TEXI): Likewise.
66519         * Makefile (format-me): Use -I$(common-objpfx)manual.
66520         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
66521         ($(common-objpfx)manual/%): New target.
66522         (manual/%): Remove target.
66523         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
66524         (print_version): Use PKGVERSION.
66525         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
66526         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
66527         and REPORT_BUGS_TO.
66528         ($(objpfx)xtrace): Likewise.
66529         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
66530         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
66531         (print_version): Use PKGVERSION.
66532         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
66533         (do_version): Use PKGVERSION.
66534         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
66535         REPORT_BUGS_TO.
66536         (common-ldd-rewrite): Likewise.
66537         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
66538         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
66539         (print_version): Use PKGVERSION.
66540         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
66541         * elf/pldd.c (argp_program_bug_address): Remove variable.
66542         (more_help): New function.
66543         (argp): Use more_help.
66544         (print_version): Use PKGVERSION.
66545         * elf/sln.c (main): Use PKGVERSION.
66546         (usage): Use REPORT_BUGS_TO.
66547         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
66548         (top level): Use PKGVERSION.
66549         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
66550         (print_version): Use PKGVERSION.
66551         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
66552         (print_version): Use PKGVERSION.
66553         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
66554         (print_version): Use PKGVERSION.
66555         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
66556         (print_version): Use PKGVERSION.
66557         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
66558         (print_version): Use PKGVERSION.
66559         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
66560         (print_version): Use PKGVERSION.
66561         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
66562         and BUGURL.
66563         ($(objpfx)memusage): Likewise.
66564         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
66565         (do_version): Use PKGVERSION.
66566         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
66567         (print_version): Use PKGVERSION.
66568         * malloc/mtrace.pl ($PACKAGE): Remove variable.
66569         ($PKGVERSION): New variable.
66570         ($REPORT_BUGS_TO): Likewise.
66571         (usage): Use $REPORT_BUGS_TO.
66572         (top level): Use $PKGVERSION.
66573         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
66574         ($(objpfx)pkgvers.texi): New rule.
66575         ($(objpfx)stamp-pkgvers): Likewise.
66576         * manual/install.texi: Include pkgvers.texi.
66577         (--with-pkgversion): Document new configure option.
66578         (--with-bugurl): Likewise.
66579         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
66580         than necessarily for this particular distribution.  Use
66581         REPORT_BUGS_TO for where to report bugs.
66582         * INSTALL: Regenerated.
66583         * manual/libc.texinfo: Include pkgvers.texi.
66584         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
66585         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
66586         (print_version): Use PKGVERSION.
66587         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
66588         (print_version): Use PKGVERSION.
66589         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
66590         (print_version): Use PKGVERSION.
66591         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
66592         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
66593         macro.
66594         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
66595         (print_version): Use PKGVERSION.
66596         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
66597         (print_version): Use PKGVERSION.
66598         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
66599         and PKGVERSION.
66601         * timezone/checktab.awk: Update from tzcode 2012i.
66602         * timezone/ialloc.c: Likewise.
66603         * timezone/private.h: Likewise.
66604         * timezone/scheck.c: Likewise.
66605         * timezone/tzfile.h: Likewise.
66606         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
66607         (TZVERSION): Hardcode tzcode version number.
66608         * timezone/zdump.c: Update from tzcode 2012i.
66609         * timezone/zic.c: Likewise.
66610         * timezone/version.h: New file.
66611         * timezone/README: Describe version.h.  Update upstream location.
66613         [BZ #14824]
66614         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
66615         (mktemp): Enable declaration.
66616         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
66617         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
66618         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
66619         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
66620         Likewise.
66621         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
66622         Likewise.
66623         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
66624         Likewise.
66625         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
66626         Likewise.
66627         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
66628         Likewise.
66629         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
66630         Likewise.
66632         [BZ #14821]
66633         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
66634         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
66635         for copies of such integer values.
66636         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
66637         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
66639 2012-11-09  Andreas Jaeger  <aj@suse.de>
66641         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
66642         definitions and declarations that are provided by
66643         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
66645 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66647         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
66648         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
66649         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
66650         definition.
66652 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66654         * elf/elf.h: Update comment before AArch64 relocations.
66656 2012-11-07  David S. Miller  <davem@davemloft.net>
66658         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
66659         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
66660         (__start_context): Declare.
66661         (__makecontext_ret): Delete.
66662         (__makecontext): Hook up __start_context instead of
66663         __makecontext_ret.
66664         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
66665         (sysdep_routines): Add __start_context when in stdlib.
66667 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
66669         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
66670         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
66671         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
66672         hardcoded "nm".
66673         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
66674         (READELF): New variable.  Use it instead of hardcoded "readelf".
66676 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
66678         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
66679         * sysdeps/x86/Makefile: Here.
66680         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
66681         * sysdeps/x86/tst-xmmymm.sh: This.
66683 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
66685         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
66686         expectations.
66687         [UNIX98] (pthread_barrier_t): Do not expect.
66688         [UNIX98] (pthread_barrierattr_t): Likewise.
66689         [UNIX98] (pthread_spinlock_t): Likewise.
66690         [UNIX98] (pthread_barrier_destroy): Likewise.
66691         [UNIX98] (pthread_barrier_init): Likewise.
66692         [UNIX98] (pthread_barrier_wait): Likewise.
66693         [UNIX98] (pthread_barrierattr_destroy): Likewise.
66694         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
66695         [UNIX98] (pthread_barrierattr_init): Likewise.
66696         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
66697         [UNIX98] (pthread_getcpuclockid): Likewise.
66698         [UNIX98] (pthread_mutex_timedlock): Likewise.
66699         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
66700         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
66701         [UNIX98] (pthread_sigmask): Likewise.
66702         [UNIX98] (pthread_spin_destroy): Likewise.
66703         [UNIX98] (pthread_spin_init): Likewise.
66704         [UNIX98] (pthread_spin_lock): Likewise.
66705         [UNIX98] (pthread_spin_trylock): Likewise.
66706         [UNIX98] (pthread_spin_unlock): Likewise.
66707         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
66708         Do not expect.
66709         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
66710         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
66711         [XPG3 || XPG4] (pthread_cond_t): Likewise.
66712         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
66713         [XPG3 || XPG4] (pthread_key_t): Likewise.
66714         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
66715         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
66716         [XPG3 || XPG4] (pthread_once_t): Likewise.
66717         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
66718         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
66719         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
66720         [XPG3 || XPG4] (pthread_t): Likewise.
66722         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
66723         not expect.
66724         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
66726         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
66727         Change function return type to int.
66729         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
66730         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
66731         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
66732         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
66733         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
66734         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
66735         [!POSIX] (posix_madvise): Likewise.
66736         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
66737         && !UNIX98].
66738         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
66739         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
66740         (mode_t): Likewise.
66741         (posix_mem_offset): Likewise.
66742         (posix_typed_mem_get_info): Likewise.
66743         (posix_typed_mem_open): Likewise.
66745         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
66746         Change condition to [XOPEN2K8].
66748         * conform/conformtest.pl: Preprocess allow-header data with -x c
66749         instead of from stdin.
66750         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
66751         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
66752         [C99-based standards] (cerfc): Likewise.
66753         [C99-based standards] (cexp2): Likewise.
66754         [C99-based standards] (cexpm1): Likewise.
66755         [C99-based standards] (clog10): Likewise.
66756         [C99-based standards] (clog1p): Likewise.
66757         [C99-based standards] (clog2): Likewise.
66758         [C99-based standards] (clgamma): Likewise.
66759         [C99-based standards] (ctgamma): Likewise.
66760         [C99-based standards] (cerff): Likewise.
66761         [C99-based standards] (cerfcf): Likewise.
66762         [C99-based standards] (cexp2f): Likewise.
66763         [C99-based standards] (cexpm1f): Likewise.
66764         [C99-based standards] (clog10f): Likewise.
66765         [C99-based standards] (clog1pf): Likewise.
66766         [C99-based standards] (clog2f): Likewise.
66767         [C99-based standards] (clgammaf): Likewise.
66768         [C99-based standards] (ctgammaf): Likewise.
66769         [C99-based standards] (cerfl): Likewise.
66770         [C99-based standards] (cerfcl): Likewise.
66771         [C99-based standards] (cexp2l): Likewise.
66772         [C99-based standards] (cexpm1l): Likewise.
66773         [C99-based standards] (clog10l): Likewise.
66774         [C99-based standards] (clog1pl): Likewise.
66775         [C99-based standards] (clog2l): Likewise.
66776         [C99-based standards] (clgammal): Likewise.
66777         [C99-based standards] (ctgammal): Likewise.
66778         * conform/data/inttypes.h-data [C99-based standards]: Include
66779         stdint.h-data.  Remove all expectations for stdint.h contents.
66780         [C99-based standards] (PRI*): Do not allow.
66781         [C99-based standards] (SCN*): Likewise.
66782         [C99-based standards] (*_t): Likewise.
66783         [C99-based-standards] (PRId8): Expect macro.
66784         [C99-based-standards] (PRIi8): Likewise.
66785         [C99-based-standards] (PRIo8): Likewise.
66786         [C99-based-standards] (PRIu8): Likewise.
66787         [C99-based-standards] (PRIx8): Likewise.
66788         [C99-based-standards] (PRIX8): Likewise.
66789         [C99-based-standards] (SCNd8): Likewise.
66790         [C99-based-standards] (SCNi8): Likewise.
66791         [C99-based-standards] (SCNo8): Likewise.
66792         [C99-based-standards] (SCNu8): Likewise.
66793         [C99-based-standards] (SCNx8): Likewise.
66794         [C99-based-standards] (PRIdLEAST8): Likewise.
66795         [C99-based-standards] (PRIiLEAST8): Likewise.
66796         [C99-based-standards] (PRIoLEAST8): Likewise.
66797         [C99-based-standards] (PRIuLEAST8): Likewise.
66798         [C99-based-standards] (PRIxLEAST8): Likewise.
66799         [C99-based-standards] (PRIXLEAST8): Likewise.
66800         [C99-based-standards] (SCNdLEAST8): Likewise.
66801         [C99-based-standards] (SCNiLEAST8): Likewise.
66802         [C99-based-standards] (SCNoLEAST8): Likewise.
66803         [C99-based-standards] (SCNuLEAST8): Likewise.
66804         [C99-based-standards] (SCNxLEAST8): Likewise.
66805         [C99-based-standards] (PRIdFAST8): Likewise.
66806         [C99-based-standards] (PRIiFAST8): Likewise.
66807         [C99-based-standards] (PRIoFAST8): Likewise.
66808         [C99-based-standards] (PRIuFAST8): Likewise.
66809         [C99-based-standards] (PRIxFAST8): Likewise.
66810         [C99-based-standards] (PRIXFAST8): Likewise.
66811         [C99-based-standards] (SCNdFAST8): Likewise.
66812         [C99-based-standards] (SCNiFAST8): Likewise.
66813         [C99-based-standards] (SCNoFAST8): Likewise.
66814         [C99-based-standards] (SCNuFAST8): Likewise.
66815         [C99-based-standards] (SCNxFAST8): Likewise.
66816         [C99-based-standards] (PRId16): Likewise.
66817         [C99-based-standards] (PRIi16): Likewise.
66818         [C99-based-standards] (PRIo16): Likewise.
66819         [C99-based-standards] (PRIu16): Likewise.
66820         [C99-based-standards] (PRIx16): Likewise.
66821         [C99-based-standards] (PRIX16): Likewise.
66822         [C99-based-standards] (SCNd16): Likewise.
66823         [C99-based-standards] (SCNi16): Likewise.
66824         [C99-based-standards] (SCNo16): Likewise.
66825         [C99-based-standards] (SCNu16): Likewise.
66826         [C99-based-standards] (SCNx16): Likewise.
66827         [C99-based-standards] (PRIdLEAST16): Likewise.
66828         [C99-based-standards] (PRIiLEAST16): Likewise.
66829         [C99-based-standards] (PRIoLEAST16): Likewise.
66830         [C99-based-standards] (PRIuLEAST16): Likewise.
66831         [C99-based-standards] (PRIxLEAST16): Likewise.
66832         [C99-based-standards] (PRIXLEAST16): Likewise.
66833         [C99-based-standards] (SCNdLEAST16): Likewise.
66834         [C99-based-standards] (SCNiLEAST16): Likewise.
66835         [C99-based-standards] (SCNoLEAST16): Likewise.
66836         [C99-based-standards] (SCNuLEAST16): Likewise.
66837         [C99-based-standards] (SCNxLEAST16): Likewise.
66838         [C99-based-standards] (PRIdFAST16): Likewise.
66839         [C99-based-standards] (PRIiFAST16): Likewise.
66840         [C99-based-standards] (PRIoFAST16): Likewise.
66841         [C99-based-standards] (PRIuFAST16): Likewise.
66842         [C99-based-standards] (PRIxFAST16): Likewise.
66843         [C99-based-standards] (PRIXFAST16): Likewise.
66844         [C99-based-standards] (SCNdFAST16): Likewise.
66845         [C99-based-standards] (SCNiFAST16): Likewise.
66846         [C99-based-standards] (SCNoFAST16): Likewise.
66847         [C99-based-standards] (SCNuFAST16): Likewise.
66848         [C99-based-standards] (SCNxFAST16): Likewise.
66849         [C99-based-standards] (PRId32): Likewise.
66850         [C99-based-standards] (PRIi32): Likewise.
66851         [C99-based-standards] (PRIo32): Likewise.
66852         [C99-based-standards] (PRIu32): Likewise.
66853         [C99-based-standards] (PRIx32): Likewise.
66854         [C99-based-standards] (PRIX32): Likewise.
66855         [C99-based-standards] (SCNd32): Likewise.
66856         [C99-based-standards] (SCNi32): Likewise.
66857         [C99-based-standards] (SCNo32): Likewise.
66858         [C99-based-standards] (SCNu32): Likewise.
66859         [C99-based-standards] (SCNx32): Likewise.
66860         [C99-based-standards] (PRIdLEAST32): Likewise.
66861         [C99-based-standards] (PRIiLEAST32): Likewise.
66862         [C99-based-standards] (PRIoLEAST32): Likewise.
66863         [C99-based-standards] (PRIuLEAST32): Likewise.
66864         [C99-based-standards] (PRIxLEAST32): Likewise.
66865         [C99-based-standards] (PRIXLEAST32): Likewise.
66866         [C99-based-standards] (SCNdLEAST32): Likewise.
66867         [C99-based-standards] (SCNiLEAST32): Likewise.
66868         [C99-based-standards] (SCNoLEAST32): Likewise.
66869         [C99-based-standards] (SCNuLEAST32): Likewise.
66870         [C99-based-standards] (SCNxLEAST32): Likewise.
66871         [C99-based-standards] (PRIdFAST32): Likewise.
66872         [C99-based-standards] (PRIiFAST32): Likewise.
66873         [C99-based-standards] (PRIoFAST32): Likewise.
66874         [C99-based-standards] (PRIuFAST32): Likewise.
66875         [C99-based-standards] (PRIxFAST32): Likewise.
66876         [C99-based-standards] (PRIXFAST32): Likewise.
66877         [C99-based-standards] (SCNdFAST32): Likewise.
66878         [C99-based-standards] (SCNiFAST32): Likewise.
66879         [C99-based-standards] (SCNoFAST32): Likewise.
66880         [C99-based-standards] (SCNuFAST32): Likewise.
66881         [C99-based-standards] (SCNxFAST32): Likewise.
66882         [C99-based-standards] (PRId64): Likewise.
66883         [C99-based-standards] (PRIi64): Likewise.
66884         [C99-based-standards] (PRIo64): Likewise.
66885         [C99-based-standards] (PRIu64): Likewise.
66886         [C99-based-standards] (PRIx64): Likewise.
66887         [C99-based-standards] (PRIX64): Likewise.
66888         [C99-based-standards] (SCNd64): Likewise.
66889         [C99-based-standards] (SCNi64): Likewise.
66890         [C99-based-standards] (SCNo64): Likewise.
66891         [C99-based-standards] (SCNu64): Likewise.
66892         [C99-based-standards] (SCNx64): Likewise.
66893         [C99-based-standards] (PRIdLEAST64): Likewise.
66894         [C99-based-standards] (PRIiLEAST64): Likewise.
66895         [C99-based-standards] (PRIoLEAST64): Likewise.
66896         [C99-based-standards] (PRIuLEAST64): Likewise.
66897         [C99-based-standards] (PRIxLEAST64): Likewise.
66898         [C99-based-standards] (PRIXLEAST64): Likewise.
66899         [C99-based-standards] (SCNdLEAST64): Likewise.
66900         [C99-based-standards] (SCNiLEAST64): Likewise.
66901         [C99-based-standards] (SCNoLEAST64): Likewise.
66902         [C99-based-standards] (SCNuLEAST64): Likewise.
66903         [C99-based-standards] (SCNxLEAST64): Likewise.
66904         [C99-based-standards] (PRIdFAST64): Likewise.
66905         [C99-based-standards] (PRIiFAST64): Likewise.
66906         [C99-based-standards] (PRIoFAST64): Likewise.
66907         [C99-based-standards] (PRIuFAST64): Likewise.
66908         [C99-based-standards] (PRIxFAST64): Likewise.
66909         [C99-based-standards] (PRIXFAST64): Likewise.
66910         [C99-based-standards] (SCNdFAST64): Likewise.
66911         [C99-based-standards] (SCNiFAST64): Likewise.
66912         [C99-based-standards] (SCNoFAST64): Likewise.
66913         [C99-based-standards] (SCNuFAST64): Likewise.
66914         [C99-based-standards] (SCNxFAST64): Likewise.
66915         [C99-based-standards] (PRIdMAX): Likewise.
66916         [C99-based-standards] (PRIiMAX): Likewise.
66917         [C99-based-standards] (PRIoMAX): Likewise.
66918         [C99-based-standards] (PRIuMAX): Likewise.
66919         [C99-based-standards] (PRIxMAX): Likewise.
66920         [C99-based-standards] (PRIXMAX): Likewise.
66921         [C99-based-standards] (SCNdMAX): Likewise.
66922         [C99-based-standards] (SCNiMAX): Likewise.
66923         [C99-based-standards] (SCNoMAX): Likewise.
66924         [C99-based-standards] (SCNuMAX): Likewise.
66925         [C99-based-standards] (SCNxMAX): Likewise.
66926         [C99-based-standards] (PRIdPTR): Likewise.
66927         [C99-based-standards] (PRIiPTR): Likewise.
66928         [C99-based-standards] (PRIoPTR): Likewise.
66929         [C99-based-standards] (PRIuPTR): Likewise.
66930         [C99-based-standards] (PRIxPTR): Likewise.
66931         [C99-based-standards] (PRIXPTR): Likewise.
66932         [C99-based-standards] (SCNdPTR): Likewise.
66933         [C99-based-standards] (SCNiPTR): Likewise.
66934         [C99-based-standards] (SCNoPTR): Likewise.
66935         [C99-based-standards] (SCNuPTR): Likewise.
66936         [C99-based-standards] (SCNxPTR): Likewise.
66937         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
66938         allow.
66939         * conform/data/stdint.h-data: Update comments to clarify
66940         requirements.
66941         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
66942         type.
66943         [C99-based standards] (INT8_MAX): Likewise.
66944         [C99-based standards] (INT16_MIN): Likewise.
66945         [C99-based standards] (INT16_MAX): Likewise.
66946         [C99-based standards] (INT32_MIN): Likewise.
66947         [C99-based standards] (INT32_MAX): Likewise.
66948         [C99-based standards] (INT64_MIN): Likewise.
66949         [C99-based standards] (INT64_MAX): Likewise.
66950         [C99-based standards] (UINT8_MAX): Likewise.
66951         [C99-based standards] (UINT16_MAX): Likewise.
66952         [C99-based standards] (UINT32_MAX): Likewise.
66953         [C99-based standards] (UINT64_MAX): Likewise.
66954         [C99-based standards] (INT_LEAST8_MIN): Likewise.
66955         [C99-based standards] (INT_LEAST8_MAX): Likewise.
66956         [C99-based standards] (INT_LEAST16_MIN): Likewise.
66957         [C99-based standards] (INT_LEAST16_MAX): Likewise.
66958         [C99-based standards] (INT_LEAST32_MIN): Likewise.
66959         [C99-based standards] (INT_LEAST32_MAX): Likewise.
66960         [C99-based standards] (INT_LEAST64_MIN): Likewise.
66961         [C99-based standards] (INT_LEAST64_MAX): Likewise.
66962         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
66963         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
66964         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
66965         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
66966         [C99-based standards] (INT_FAST8_MIN): Likewise.
66967         [C99-based standards] (INT_FAST8_MAX): Likewise.
66968         [C99-based standards] (INT_FAST16_MIN): Likewise.
66969         [C99-based standards] (INT_FAST16_MAX): Likewise.
66970         [C99-based standards] (INT_FAST32_MIN): Likewise.
66971         [C99-based standards] (INT_FAST32_MAX): Likewise.
66972         [C99-based standards] (INT_FAST64_MIN): Likewise.
66973         [C99-based standards] (INT_FAST64_MAX): Likewise.
66974         [C99-based standards] (UINT_FAST8_MAX): Likewise.
66975         [C99-based standards] (UINT_FAST16_MAX): Likewise.
66976         [C99-based standards] (UINT_FAST32_MAX): Likewise.
66977         [C99-based standards] (UINT_FAST64_MAX): Likewise.
66978         [C99-based standards] (INTPTR_MIN): Likewise.
66979         [C99-based standards] (INTPTR_MAX): Likewise.
66980         [C99-based standards] (UINTPTR_MAX): Likewise.
66981         [C99-based standards] (INTMAX_MIN): Likewise.
66982         [C99-based standards] (INTMAX_MAX): Likewise.
66983         [C99-based standards] (UINTMAX_MAX): Likewise.
66984         [C99-based standards] (PTRDIFF_MIN): Likewise.
66985         [C99-based standards] (PTRDIFF_MAX): Likewise.
66986         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
66987         [C99-based standards] (SIZE_MAX): Likewise.
66988         [C99-based standards] (WCHAR_MAX): Likewise.
66989         [C99-based standards] (WINT_MAX): Likewise.
66990         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
66991         constraint on value.
66992         [C99-based standards] (WCHAR_MIN): Likewise.
66993         [C99-based standards] (WINT_MIN): Likewise.
66994         [C99-based standards] (*_t): Allow.
66995         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
66996         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
66997         Include math.h-data and complex.h-data.  Remove all expectations
66998         of math.h and complex.h contents.
66999         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
67000         at end of line.
67001         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
67002         (struct tm): Expect tag.
67003         [C99-based-standards] (wcstof): Expect function.
67004         [C99-based-standards] (wcstold): Likewise.
67005         [C99-based-standards] (wcstoll): Likewise.
67006         [C99-based-standards] (wcstoull): Likewise.
67007         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
67008         macro-int-constant.  Specify type.
67009         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
67010         constraint on value.
67011         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
67012         Specify type.
67013         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
67014         Specify value.
67015         [ISO C standards]: Do not allow headers.
67016         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
67017         wcs[abcdefghijklmnopqrstuvwxyz]*.
67018         [ISO C standards] (*_t): Do not allow.
67019         * conform/data/wctype.h-data [C99-based standards] (iswblank):
67020         Expect function.
67021         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
67022         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
67023         Specify type.
67024         [ISO C standards]: Do not allow headers.
67025         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
67026         is[abcdefghijklmnopqrstuvwxyz]*.
67027         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
67028         to[abcdefghijklmnopqrstuvwxyz]*.
67029         [ISO C standards] (*_t): Do not allow.
67030         * conform/data/stdalign.h-data: New file.
67031         * conform/data/stdbool.h-data: Likewise.
67032         * conform/data/stdnoreturn.h-data: Likewise.
67034 2012-11-07  Roland McGrath  <roland@hack.frob.com>
67036         [BZ #14815]
67037         * manual/filesys.texi (Directory Entries): Typo fix.
67038         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
67040 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67042         * elf/elf.h (EM_AARCH64): New macro.
67043         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
67044         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
67045         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
67046         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
67047         (R_AARCH64_TLSDESC): Likewise.
67048         (NT_ARM_TLS): Likewise.
67049         (NT_ARM_HW_BREAK): Likewise.
67050         (NT_ARM_HW_WATCH): Likewise.
67052 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
67054         [BZ #14811]
67055         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
67056         (__ieee754_powl): Saturate nonzero exponents with absolute value
67057         below 0x1p-79 to +/- 0x1p-79.
67058         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
67059         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
67060         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
67061         nonzero exponents with absolute value below 0x1p-32 to +/-
67062         0x1p-32.
67063         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
67064         (__ieee754_powl): Saturate nonzero exponents with absolute value
67065         below 0x1p-79 to +/- 0x1p-79.
67066         * math/libm-test.inc (pow_test): Add more tests.
67068 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67070         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
67071         _dl_s390_cap_flags with kernel. Increase string length.
67072         (_dl_s390_platforms): Add z196 and zEC12.
67074 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
67076         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
67077         Change XOPEN21K to XOPEN2K.
67079 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
67081         * string/memmove.c: Use memcpy when possible.
67083 2012-11-06  Andreas Jaeger  <aj@suse.de>
67085         * po/eo.po: Update from translation team.
67087 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
67089         [BZ #14793]
67090         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
67091         exponent and small x and y exponents, scale x or y up.  Increase
67092         by 2 the exponent used in scaling up.
67093         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
67094         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67095         * math/libm-test.inc (fma_test): Add more tests.
67096         (fma_test_towardzero): Likewise.
67097         (fma_test_downward): Likewise.
67098         (fma_test_upward): Likewise.
67100 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
67102         [BZ #14805]
67103         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
67104         fenv_t *.
67106         [BZ #14801]
67107         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
67108         namespace for names of struct fields.
67109         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
67110         fenv_t fields.
67111         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
67112         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
67114 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67116         [BZ #3665]
67117         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
67119 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
67121         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
67122         PTR_DEMANGLE.
67124         [BZ #5246]
67125         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
67126         PTR_DEMANGLE.
67128 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
67130         [BZ #14797]
67131         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
67132         definitely overflow as x * y not x * y + z.
67133         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
67134         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67135         * math/libm-test.inc (fma_test): Add more tests.
67136         (fma_test_towardzero): Likewise.
67137         (fma_test_downward): Likewise.
67138         (fma_test_upward): Likewise.
67140 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
67142         [BZ #157]
67144         * include/stub-tag.h: Remove file.
67145         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
67146         '#include' of it.
67147         * manual/maint.texi (Porting): Don't reference it.
67148         * Makerules ($(objpfx)stubs): Likewise.
67149         * dirent/closedir.c: Don't include <stub-tag.h>.
67150         * dirent/dirfd.c: Likewise.
67151         * dirent/fdopendir.c: Likewise.
67152         * dirent/getdents.c: Likewise.
67153         * dirent/getdents64.c: Likewise.
67154         * dirent/opendir.c: Likewise.
67155         * dirent/readdir.c: Likewise.
67156         * dirent/readdir64.c: Likewise.
67157         * dirent/readdir64_r.c: Likewise.
67158         * dirent/readdir_r.c: Likewise.
67159         * dirent/rewinddir.c: Likewise.
67160         * dirent/seekdir.c: Likewise.
67161         * dirent/telldir.c: Likewise.
67162         * gmon/profil.c: Likewise.
67163         * grp/setgroups.c: Likewise.
67164         * inet/if_index.c: Likewise.
67165         * io/access.c: Likewise.
67166         * io/chdir.c: Likewise.
67167         * io/chmod.c: Likewise.
67168         * io/chown.c: Likewise.
67169         * io/close.c: Likewise.
67170         * io/dup.c: Likewise.
67171         * io/dup2.c: Likewise.
67172         * io/dup3.c: Likewise.
67173         * io/euidaccess.c: Likewise.
67174         * io/faccessat.c: Likewise.
67175         * io/fchdir.c: Likewise.
67176         * io/fchmod.c: Likewise.
67177         * io/fchmodat.c: Likewise.
67178         * io/fchown.c: Likewise.
67179         * io/fchownat.c: Likewise.
67180         * io/fcntl.c: Likewise.
67181         * io/flock.c: Likewise.
67182         * io/fstatfs.c: Likewise.
67183         * io/fstatfs64.c: Likewise.
67184         * io/fstatvfs.c: Likewise.
67185         * io/fstatvfs64.c: Likewise.
67186         * io/futimens.c: Likewise.
67187         * io/fxstat.c: Likewise.
67188         * io/fxstat64.c: Likewise.
67189         * io/fxstatat.c: Likewise.
67190         * io/fxstatat64.c: Likewise.
67191         * io/getcwd.c: Likewise.
67192         * io/isatty.c: Likewise.
67193         * io/lchmod.c: Likewise.
67194         * io/lchown.c: Likewise.
67195         * io/link.c: Likewise.
67196         * io/linkat.c: Likewise.
67197         * io/lseek.c: Likewise.
67198         * io/lseek64.c: Likewise.
67199         * io/lxstat64.c: Likewise.
67200         * io/mkdir.c: Likewise.
67201         * io/mkdirat.c: Likewise.
67202         * io/mkfifo.c: Likewise.
67203         * io/mkfifoat.c: Likewise.
67204         * io/open.c: Likewise.
67205         * io/open64.c: Likewise.
67206         * io/openat.c: Likewise.
67207         * io/openat64.c: Likewise.
67208         * io/pipe.c: Likewise.
67209         * io/pipe2.c: Likewise.
67210         * io/poll.c: Likewise.
67211         * io/posix_fadvise.c: Likewise.
67212         * io/posix_fadvise64.c: Likewise.
67213         * io/posix_fallocate.c: Likewise.
67214         * io/posix_fallocate64.c: Likewise.
67215         * io/read.c: Likewise.
67216         * io/readlink.c: Likewise.
67217         * io/readlinkat.c: Likewise.
67218         * io/rmdir.c: Likewise.
67219         * io/sendfile.c: Likewise.
67220         * io/sendfile64.c: Likewise.
67221         * io/statfs.c: Likewise.
67222         * io/statfs64.c: Likewise.
67223         * io/statvfs.c: Likewise.
67224         * io/statvfs64.c: Likewise.
67225         * io/symlink.c: Likewise.
67226         * io/symlinkat.c: Likewise.
67227         * io/ttyname.c: Likewise.
67228         * io/ttyname_r.c: Likewise.
67229         * io/umask.c: Likewise.
67230         * io/unlink.c: Likewise.
67231         * io/unlinkat.c: Likewise.
67232         * io/utime.c: Likewise.
67233         * io/utimensat.c: Likewise.
67234         * io/write.c: Likewise.
67235         * io/xmknod.c: Likewise.
67236         * io/xmknodat.c: Likewise.
67237         * io/xstat.c: Likewise.
67238         * io/xstat64.c: Likewise.
67239         * login/getpt.c: Likewise.
67240         * login/grantpt.c: Likewise.
67241         * login/unlockpt.c: Likewise.
67242         * math/e_acoshl.c: Likewise.
67243         * math/e_acosl.c: Likewise.
67244         * math/e_asinl.c: Likewise.
67245         * math/e_atan2l.c: Likewise.
67246         * math/e_atanhl.c: Likewise.
67247         * math/e_coshl.c: Likewise.
67248         * math/e_expl.c: Likewise.
67249         * math/e_fmodl.c: Likewise.
67250         * math/e_gammal_r.c: Likewise.
67251         * math/e_hypotl.c: Likewise.
67252         * math/e_j0l.c: Likewise.
67253         * math/e_j1l.c: Likewise.
67254         * math/e_jnl.c: Likewise.
67255         * math/e_lgammal_r.c: Likewise.
67256         * math/e_log10l.c: Likewise.
67257         * math/e_log2l.c: Likewise.
67258         * math/e_logl.c: Likewise.
67259         * math/e_powl.c: Likewise.
67260         * math/e_rem_pio2l.c: Likewise.
67261         * math/e_sinhl.c: Likewise.
67262         * math/e_sqrtl.c: Likewise.
67263         * math/fclrexcpt.c: Likewise.
67264         * math/fedisblxcpt.c: Likewise.
67265         * math/feenablxcpt.c: Likewise.
67266         * math/fegetenv.c: Likewise.
67267         * math/fegetexcept.c: Likewise.
67268         * math/fegetround.c: Likewise.
67269         * math/feholdexcpt.c: Likewise.
67270         * math/fesetenv.c: Likewise.
67271         * math/fesetround.c: Likewise.
67272         * math/feupdateenv.c: Likewise.
67273         * math/fgetexcptflg.c: Likewise.
67274         * math/fraiseexcpt.c: Likewise.
67275         * math/fsetexcptflg.c: Likewise.
67276         * math/ftestexcept.c: Likewise.
67277         * math/k_cosl.c: Likewise.
67278         * math/k_rem_pio2l.c: Likewise.
67279         * math/k_sinl.c: Likewise.
67280         * math/k_tanl.c: Likewise.
67281         * math/s_asinhl.c: Likewise.
67282         * math/s_atanl.c: Likewise.
67283         * math/s_cbrtl.c: Likewise.
67284         * math/s_erfl.c: Likewise.
67285         * math/s_expm1l.c: Likewise.
67286         * math/s_log1pl.c: Likewise.
67287         * math/s_tanhl.c: Likewise.
67288         * misc/acct.c: Likewise.
67289         * misc/brk.c: Likewise.
67290         * misc/chflags.c: Likewise.
67291         * misc/chroot.c: Likewise.
67292         * misc/fchflags.c: Likewise.
67293         * misc/fgetxattr.c: Likewise.
67294         * misc/flistxattr.c: Likewise.
67295         * misc/fremovexattr.c: Likewise.
67296         * misc/fsetxattr.c: Likewise.
67297         * misc/fsync.c: Likewise.
67298         * misc/ftruncate.c: Likewise.
67299         * misc/futimes.c: Likewise.
67300         * misc/futimesat.c: Likewise.
67301         * misc/getdomain.c: Likewise.
67302         * misc/getdtsz.c: Likewise.
67303         * misc/gethostid.c: Likewise.
67304         * misc/gethostname.c: Likewise.
67305         * misc/getloadavg.c: Likewise.
67306         * misc/getpagesize.c: Likewise.
67307         * misc/getsysstats.c: Likewise.
67308         * misc/getxattr.c: Likewise.
67309         * misc/gtty.c: Likewise.
67310         * misc/ioctl.c: Likewise.
67311         * misc/lgetxattr.c: Likewise.
67312         * misc/listxattr.c: Likewise.
67313         * misc/llistxattr.c: Likewise.
67314         * misc/lremovexattr.c: Likewise.
67315         * misc/lsetxattr.c: Likewise.
67316         * misc/lutimes.c: Likewise.
67317         * misc/madvise.c: Likewise.
67318         * misc/mincore.c: Likewise.
67319         * misc/mlock.c: Likewise.
67320         * misc/mlockall.c: Likewise.
67321         * misc/mmap.c: Likewise.
67322         * misc/mprotect.c: Likewise.
67323         * misc/msync.c: Likewise.
67324         * misc/munlock.c: Likewise.
67325         * misc/munlockall.c: Likewise.
67326         * misc/munmap.c: Likewise.
67327         * misc/preadv.c: Likewise.
67328         * misc/preadv64.c: Likewise.
67329         * misc/ptrace.c: Likewise.
67330         * misc/pwritev.c: Likewise.
67331         * misc/pwritev64.c: Likewise.
67332         * misc/readv.c: Likewise.
67333         * misc/reboot.c: Likewise.
67334         * misc/remap_file_pages.c: Likewise.
67335         * misc/removexattr.c: Likewise.
67336         * misc/revoke.c: Likewise.
67337         * misc/select.c: Likewise.
67338         * misc/setdomain.c: Likewise.
67339         * misc/setegid.c: Likewise.
67340         * misc/seteuid.c: Likewise.
67341         * misc/sethostid.c: Likewise.
67342         * misc/sethostname.c: Likewise.
67343         * misc/setregid.c: Likewise.
67344         * misc/setreuid.c: Likewise.
67345         * misc/setxattr.c: Likewise.
67346         * misc/sstk.c: Likewise.
67347         * misc/stty.c: Likewise.
67348         * misc/swapoff.c: Likewise.
67349         * misc/swapon.c: Likewise.
67350         * misc/sync.c: Likewise.
67351         * misc/syncfs.c: Likewise.
67352         * misc/syscall.c: Likewise.
67353         * misc/truncate.c: Likewise.
67354         * misc/ualarm.c: Likewise.
67355         * misc/usleep.c: Likewise.
67356         * misc/ustat.c: Likewise.
67357         * misc/utimes.c: Likewise.
67358         * misc/vhangup.c: Likewise.
67359         * misc/writev.c: Likewise.
67360         * posix/_exit.c: Likewise.
67361         * posix/alarm.c: Likewise.
67362         * posix/execve.c: Likewise.
67363         * posix/fexecve.c: Likewise.
67364         * posix/fork.c: Likewise.
67365         * posix/fpathconf.c: Likewise.
67366         * posix/getaddrinfo.c: Likewise.
67367         * posix/getegid.c: Likewise.
67368         * posix/geteuid.c: Likewise.
67369         * posix/getgid.c: Likewise.
67370         * posix/getgroups.c: Likewise.
67371         * posix/getlogin.c: Likewise.
67372         * posix/getlogin_r.c: Likewise.
67373         * posix/getpgid.c: Likewise.
67374         * posix/getpid.c: Likewise.
67375         * posix/getppid.c: Likewise.
67376         * posix/getresgid.c: Likewise.
67377         * posix/getresuid.c: Likewise.
67378         * posix/getsid.c: Likewise.
67379         * posix/getuid.c: Likewise.
67380         * posix/glob64.c: Likewise.
67381         * posix/nanosleep.c: Likewise.
67382         * posix/pathconf.c: Likewise.
67383         * posix/pause.c: Likewise.
67384         * posix/posix_madvise.c: Likewise.
67385         * posix/pread.c: Likewise.
67386         * posix/pread64.c: Likewise.
67387         * posix/pwrite.c: Likewise.
67388         * posix/pwrite64.c: Likewise.
67389         * posix/sched_getaffinity.c: Likewise.
67390         * posix/sched_getp.c: Likewise.
67391         * posix/sched_gets.c: Likewise.
67392         * posix/sched_primax.c: Likewise.
67393         * posix/sched_primin.c: Likewise.
67394         * posix/sched_rr_gi.c: Likewise.
67395         * posix/sched_setaffinity.c: Likewise.
67396         * posix/sched_setp.c: Likewise.
67397         * posix/sched_sets.c: Likewise.
67398         * posix/sched_yield.c: Likewise.
67399         * posix/setgid.c: Likewise.
67400         * posix/setlogin.c: Likewise.
67401         * posix/setpgid.c: Likewise.
67402         * posix/setresgid.c: Likewise.
67403         * posix/setresuid.c: Likewise.
67404         * posix/setsid.c: Likewise.
67405         * posix/setuid.c: Likewise.
67406         * posix/sleep.c: Likewise.
67407         * posix/spawni.c: Likewise.
67408         * posix/sysconf.c: Likewise.
67409         * posix/times.c: Likewise.
67410         * posix/wait.c: Likewise.
67411         * posix/wait3.c: Likewise.
67412         * posix/wait4.c: Likewise.
67413         * posix/waitpid.c: Likewise.
67414         * resolv/gai_sigqueue.c: Likewise.
67415         * resource/getpriority.c: Likewise.
67416         * resource/getrlimit.c: Likewise.
67417         * resource/getrusage.c: Likewise.
67418         * resource/nice.c: Likewise.
67419         * resource/setpriority.c: Likewise.
67420         * resource/setrlimit.c: Likewise.
67421         * resource/ulimit.c: Likewise.
67422         * rt/aio_cancel.c: Likewise.
67423         * rt/aio_fsync.c: Likewise.
67424         * rt/aio_read.c: Likewise.
67425         * rt/aio_sigqueue.c: Likewise.
67426         * rt/aio_suspend.c: Likewise.
67427         * rt/aio_write.c: Likewise.
67428         * rt/clock_getres.c: Likewise.
67429         * rt/clock_gettime.c: Likewise.
67430         * rt/clock_nanosleep.c: Likewise.
67431         * rt/clock_settime.c: Likewise.
67432         * rt/lio_listio.c: Likewise.
67433         * rt/mq_close.c: Likewise.
67434         * rt/mq_getattr.c: Likewise.
67435         * rt/mq_notify.c: Likewise.
67436         * rt/mq_open.c: Likewise.
67437         * rt/mq_receive.c: Likewise.
67438         * rt/mq_send.c: Likewise.
67439         * rt/mq_setattr.c: Likewise.
67440         * rt/mq_timedreceive.c: Likewise.
67441         * rt/mq_timedsend.c: Likewise.
67442         * rt/mq_unlink.c: Likewise.
67443         * rt/shm_open.c: Likewise.
67444         * rt/shm_unlink.c: Likewise.
67445         * rt/timer_create.c: Likewise.
67446         * rt/timer_delete.c: Likewise.
67447         * rt/timer_getoverr.c: Likewise.
67448         * rt/timer_gettime.c: Likewise.
67449         * rt/timer_settime.c: Likewise.
67450         * setjmp/__longjmp.c: Likewise.
67451         * setjmp/setjmp.c: Likewise.
67452         * signal/kill.c: Likewise.
67453         * signal/killpg.c: Likewise.
67454         * signal/raise.c: Likewise.
67455         * signal/sigaction.c: Likewise.
67456         * signal/sigaltstack.c: Likewise.
67457         * signal/sigblock.c: Likewise.
67458         * signal/sigignore.c: Likewise.
67459         * signal/sigintr.c: Likewise.
67460         * signal/signal.c: Likewise.
67461         * signal/sigpause.c: Likewise.
67462         * signal/sigpending.c: Likewise.
67463         * signal/sigqueue.c: Likewise.
67464         * signal/sigreturn.c: Likewise.
67465         * signal/sigset.c: Likewise.
67466         * signal/sigsetmask.c: Likewise.
67467         * signal/sigstack.c: Likewise.
67468         * signal/sigsuspend.c: Likewise.
67469         * signal/sigtimedwait.c: Likewise.
67470         * signal/sigvec.c: Likewise.
67471         * signal/sigwait.c: Likewise.
67472         * signal/sigwaitinfo.c: Likewise.
67473         * signal/sysv_signal.c: Likewise.
67474         * socket/accept.c: Likewise.
67475         * socket/accept4.c: Likewise.
67476         * socket/bind.c: Likewise.
67477         * socket/connect.c: Likewise.
67478         * socket/getpeername.c: Likewise.
67479         * socket/getsockname.c: Likewise.
67480         * socket/getsockopt.c: Likewise.
67481         * socket/isfdtype.c: Likewise.
67482         * socket/listen.c: Likewise.
67483         * socket/recv.c: Likewise.
67484         * socket/recvfrom.c: Likewise.
67485         * socket/recvmsg.c: Likewise.
67486         * socket/send.c: Likewise.
67487         * socket/sendmsg.c: Likewise.
67488         * socket/sendto.c: Likewise.
67489         * socket/setsockopt.c: Likewise.
67490         * socket/shutdown.c: Likewise.
67491         * socket/sockatmark.c: Likewise.
67492         * socket/socket.c: Likewise.
67493         * socket/socketpair.c: Likewise.
67494         * stdio-common/ctermid.c: Likewise.
67495         * stdio-common/cuserid.c: Likewise.
67496         * stdio-common/remove.c: Likewise.
67497         * stdio-common/rename.c: Likewise.
67498         * stdio-common/renameat.c: Likewise.
67499         * stdio-common/tempname.c: Likewise.
67500         * stdlib/getcontext.c: Likewise.
67501         * stdlib/makecontext.c: Likewise.
67502         * stdlib/setcontext.c: Likewise.
67503         * stdlib/swapcontext.c: Likewise.
67504         * stdlib/system.c: Likewise.
67505         * streams/fattach.c: Likewise.
67506         * streams/fdetach.c: Likewise.
67507         * streams/getmsg.c: Likewise.
67508         * streams/getpmsg.c: Likewise.
67509         * streams/putmsg.c: Likewise.
67510         * streams/putpmsg.c: Likewise.
67511         * sysdeps/unix/bsd/getpt.c: Likewise.
67512         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
67513         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
67514         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
67515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
67516         Likewise.
67517         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
67518         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
67519         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
67520         * sysvipc/msgctl.c: Likewise.
67521         * sysvipc/msgget.c: Likewise.
67522         * sysvipc/msgrcv.c: Likewise.
67523         * sysvipc/msgsnd.c: Likewise.
67524         * sysvipc/semctl.c: Likewise.
67525         * sysvipc/semget.c: Likewise.
67526         * sysvipc/semop.c: Likewise.
67527         * sysvipc/semtimedop.c: Likewise.
67528         * sysvipc/shmat.c: Likewise.
67529         * sysvipc/shmctl.c: Likewise.
67530         * sysvipc/shmdt.c: Likewise.
67531         * sysvipc/shmget.c: Likewise.
67532         * termios/tcdrain.c: Likewise.
67533         * termios/tcflow.c: Likewise.
67534         * termios/tcflush.c: Likewise.
67535         * termios/tcgetattr.c: Likewise.
67536         * termios/tcgetpgrp.c: Likewise.
67537         * termios/tcsendbrk.c: Likewise.
67538         * termios/tcsetattr.c: Likewise.
67539         * termios/tcsetpgrp.c: Likewise.
67540         * time/adjtime.c: Likewise.
67541         * time/clock.c: Likewise.
67542         * time/getitimer.c: Likewise.
67543         * time/gettimeofday.c: Likewise.
67544         * time/setitimer.c: Likewise.
67545         * time/settimeofday.c: Likewise.
67546         * time/stime.c: Likewise.
67547         * time/time.c: Likewise.
67549 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
67551         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
67552         /usr/old/bin.
67554         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
67555         instead of spaces.
67556         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
67558 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
67560         [BZ #14796]
67561         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
67562         FE_TONEAREST before applying Dekker multiplication and Knuth
67563         addition.  Clear inexact exceptions and check for exact zero
67564         results afterwards.
67565         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
67566         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
67567         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67568         * math/libm-test.inc (fma_test): Add more tests.
67569         (fma_test_towardzero): Likewise.
67570         (fma_test_downward): Likewise.
67571         (fma_test_upward): Likewise.
67572         * sysdeps/generic/math_private.h (default_libc_fesetround): New
67573         function.
67574         (libc_fesetround): New macro.
67575         (libc_fesetroundf): Likewise.
67576         (libc_fesetroundl): Likewise.
67577         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
67578         function.
67579         (libc_fesetround_387): Likewise.
67580         (libc_fesetroundf): New macro.
67581         (libc_fesetround): Likewise.
67582         (libc_fesetroundl): Likewise.
67583         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
67584         function.
67585         (libc_fesetroundf): New macro.
67586         (libc_fesetround): Likewise.
67587         (libc_fesetroundl): Likewise.
67588         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
67589         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
67590         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
67591         libm_hidden_ver.
67592         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
67593         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
67594         libm_hidden_def.
67595         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
67596         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
67597         libm_hidden_ver.
67598         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
67599         libm_hidden_def.
67601         [BZ #3439]
67602         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
67603         integer constant usable in #if and use that to give value to enum
67604         constant.
67605         (FE_DIVBYZERO): Likewise.
67606         (FE_UNDERFLOW): Likewise.
67607         (FE_OVERFLOW): Likewise.
67608         (FE_INVALID): Likewise.
67609         (FE_INVALID_SNAN): Likewise.
67610         (FE_INVALID_ISI): Likewise.
67611         (FE_INVALID_IDI): Likewise.
67612         (FE_INVALID_ZDZ): Likewise.
67613         (FE_INVALID_IMZ): Likewise.
67614         (FE_INVALID_COMPARE): Likewise.
67615         (FE_INVALID_SOFTWARE): Likewise.
67616         (FE_INVALID_SQRT): Likewise.
67617         (FE_INVALID_INTEGER_CONVERSION): Likewise.
67618         (FE_TONEAREST): Likewise.
67619         (FE_TOWARDZERO): Likewise.
67620         (FE_UPWARD): Likewise.
67621         (FE_DOWNWARD): Likewise.
67622         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
67623         (FE_DIVBYZERO): Likewise.
67624         (FE_OVERFLOW): Likewise.
67625         (FE_UNDERFLOW): Likewise.
67626         (FE_INEXACT): Likewise.
67627         (FE_TONEAREST): Likewise.
67628         (FE_DOWNWARD): Likewise.
67629         (FE_UPWARD): Likewise.
67630         (FE_TOWARDZERO): Likewise.
67631         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
67632         (FE_UNDERFLOW): Likewise.
67633         (FE_OVERFLOW): Likewise.
67634         (FE_DIVBYZERO): Likewise.
67635         (FE_INVALID): Likewise.
67636         (FE_TONEAREST): Likewise.
67637         (FE_TOWARDZERO): Likewise.
67638         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
67639         (FE_OVERFLOW): Likewise.
67640         (FE_UNDERFLOW): Likewise.
67641         (FE_DIVBYZERO): Likewise.
67642         (FE_INEXACT): Likewise.
67643         (FE_TONEAREST): Likewise.
67644         (FE_TOWARDZERO): Likewise.
67645         (FE_UPWARD): Likewise.
67646         (FE_DOWNWARD): Likewise.
67647         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
67648         (FE_DIVBYZERO): Likewise.
67649         (FE_OVERFLOW): Likewise.
67650         (FE_UNDERFLOW): Likewise.
67651         (FE_INEXACT): Likewise.
67652         (FE_TONEAREST): Likewise.
67653         (FE_DOWNWARD): Likewise.
67654         (FE_UPWARD): Likewise.
67655         (FE_TOWARDZERO): Likewise.
67657 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
67659         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
67661 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
67663         * scripts/cross-test-ssh.sh (command): Use newlines to separate
67664         commands.  Quote $PWD.
67665         (blacklist_exports): Don't use remove_newlines.  Replace "declare
67666         -x" by "export".
67667         (remove_newlines): Remove.
67669 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
67671         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
67672         * stdlib/stdlib.h (atof): Moved to ...
67673         * include/bits/stdlib-float.h: Here.  New file.
67674         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
67675         * stdlib/bits/stdlib-float.h: New file.
67676         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
67677         -mno-sse -mno-mmx.
67678         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
67679         <xmmintrin.h>.
67681 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
67683         * conform/conformtest.pl (@headers): Add fenv.h.
67684         * conform/data/fenv.h-data: New file.
67685         * include/fenv.h [_ISOMAC]: Disable all contents of file except
67686         include of <math/fenv.h>.
67688         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
67689         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
67690         && !UNIX98].  Enables tests for XOPEN2K8.
67691         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
67692         POSIX2008]: Likewise.
67694         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
67695         (struct rusage): Do not expect type or its members.
67697         [BZ #3439]
67698         * math/math.h (FP_NAN): Define macro to integer constant usable in
67699         #if and use that to give value to enum constant.
67700         (FP_INFINITE): Likewise.
67701         (FP_ZERO): Likewise.
67702         (FP_SUBNORMAL): Likewise.
67703         (FP_NORMAL): Likewise.
67705 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
67707         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
67708         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
67709         arguments.
67711 2012-11-02  Roland McGrath  <roland@hack.frob.com>
67713         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
67714         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
67715         autoconf-time if not.
67716         * configure.in: Remove AC_PREREQ.
67718 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67720         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
67721         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
67722         of the internal implementation.
67724 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
67726         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
67727         except include of <misc/sys/syslog.h>.
67729 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
67731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
67732         function returns with a NULL context exit with zero.
67734 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67736         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
67738 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
67740         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
67741         (run_program_cmd): This.
67742         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
67743         (tst_langinfo): New variable.  Use it.
67745 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
67747         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
67748         floating point opcodes.
67750 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
67752         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
67753         variable.
67755         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
67757         * sysdeps/mach/hurd/powerpc: Remove directory.
67758         * sysdeps/mach/powerpc: Likewise.
67760 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
67762         * scripts/check-local-headers.sh: Ignore c++ headers.
67764 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
67766         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
67767         __libc_cleanup_region_start argument.
67769 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
67771         [BZ #14784]
67772         [BZ #14785]
67773         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
67774         x * y using scaling, not as x * y + z.
67775         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
67776         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67777         * math/libm-test.inc (fma_test): Add more tests.
67778         (fma_test_towardzero): Likewise.
67779         (fma_test_downward): Likewise.
67780         (fma_test_upward): Likewise.
67782 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
67784         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
67786 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
67788         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
67789         New variable.
67791 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
67793         * rt/tst-shm.c (worker): Correct checking for mmap failure.
67795 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
67797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67798         Fix sort order.
67799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67800         Likewise.
67802 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67805         Fix the order of the list for glibc 2.17.
67806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67807         Likewise.
67809 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
67811         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67813 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
67815         [BZ #14610]
67816         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
67817         for low part of x being zero before using __atanl (y).
67818         * math/libm-test.inc (atan2_test): Add another test.
67820         * manual/install.texi (Configuring and compiling): Document
67821         general use of test-wrapper and test-wrapper-env.
67822         * INSTALL: Regenerated.
67824         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
67825         (__fma): Do not extract and scale down low bits on after-rounding
67826         systems when result rounded to normal precision would have normal
67827         exponent.
67828         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
67829         (__fmal): Do not extract and scale down low bits on after-rounding
67830         systems when result rounded to normal precision would have normal
67831         exponent.
67832         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
67833         (__fmal): Do not extract and scale down low bits on after-rounding
67834         systems when result rounded to normal precision would have normal
67835         exponent.
67836         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
67837         macro.
67838         (fma_test): Add more tests.
67839         (fma_test_towardzero): Likewise.
67840         (fma_test_downward): Likewise.
67841         (fma_test_upward): Likewise.
67843 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
67845         * sysdeps/i386/tininess.h: Renamed to ...
67846         * sysdeps/x86/tininess.h: This.
67847         * sysdeps/x86_64/tininess.h: Removed.
67849 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
67851         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
67852         input.  Use $(build-program-cmd).
67853         ($(objpfx)tst-array1-static.out): Likewise.
67854         ($(objpfx)tst-array2.out): Likewise.
67855         ($(objpfx)tst-array3.out): Likewise.
67856         ($(objpfx)tst-array4.out): Likewise.
67857         ($(objpfx)tst-array5.out): Likewise.
67858         ($(objpfx)tst-array5-static.out): Likewise.
67860 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
67862         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
67863         if defined.
67865         * nss/nsswitch.h (nss_interface_function): Provide new
67866         macro for use with NSS functions.
67867         * grp/initgroups.c: Use new macro.
67868         * nss/getXXbyYY.c: Likewise.
67869         * nss/getXXbyYY_r.c: Likewise.
67870         * nss/getXXent.c: Likewise.
67871         * nss/getXXent_r.c: Likewise.
67872         * sysdeps/posix/getaddrinfo.c: Likewise.
67874 2012-10-30  Andreas Jaeger  <aj@suse.de>
67876         * po/ru.po: Update Russion translation from translation project.
67878 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
67880         [BZ #14152]
67881         [BZ #14783]
67882         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
67883         result and shift together with sticky bit instead of replicating
67884         round-to-nearest rounding.
67885         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
67886         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67887         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
67888         missing underflow exceptions.
67889         (fma_test_towardzero): Add more tests.
67890         (fma_test_downward): Likewise.
67891         (fma_test_upward): Likewise.
67893         [BZ #14047]
67894         * sysdeps/generic/tininess.h: New file.
67895         * sysdeps/i386/tininess.h: Likewise.
67896         * sysdeps/sh/tininess.h: Likewise.
67897         * sysdeps/x86_64/tininess.h: Likewise.
67898         * stdlib/tst-strtod-underflow.c: Likewise.
67899         * stdlib/tst-tininess.c: Likewise.
67900         * stdlib/strtod_l.c: Include <tininess.h>.
67901         (round_and_return): Do not set errno for exact underflow cases.
67902         Force an underflow exception when setting errno for underflow.
67903         Determine underflow based on rounding to normal precision if
67904         TININESS_AFTER_ROUNDING.
67905         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
67906         ERANGE for exact underflow cases.
67907         * stdlib/Makefile (tests): Add tst-tininess and
67908         tst-strtod-underflow.
67909         ($(objpfx)tst-tininess): Use $(link-libm).
67910         ($(objpfx)tst-strtod-underflow): Likewise.
67912 2012-10-30  Andreas Jaeger  <aj@suse.de>
67914         [BZ#14767]
67915         * elf/Makefile (tests): Remove conditional for have-initfini-array
67916         since this is now always required and the variable does not exist
67917         anymore.
67918         (tests-static): Likewise.
67919         (modules-names): Likewise.
67921         * po/eo.po: Add Esperanto translation from translation project.
67923         * elf/tst-array1.c (fini_array): Make writeable so that it can be
67924         merged with constructor/destructor.
67925         (init_array): Likewise.
67926         * elf/tst-array2dep.c (fini_array): Likewise.
67927         (init_array): Likewise.
67929 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
67931         * manual/message.texi: Delete @cartouche tags.
67933 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
67935         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
67936         EOPNOTSUPP.
67937         * sysdeps/mach/hurd/fsync.c: Likewise.
67939         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
67940         [_POSIX_REALTIME_SIGNALS]: Change condition to
67941         [_POSIX_REALTIME_SIGNALS > 0].
67943 2012-10-27  Andreas Jaeger  <aj@suse.de>
67945         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
67946         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
67947         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
67948         [__WORDSIZE != 64]: Likewise.
67950 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
67952         *  iconvdata/tst-table.sh: Remove ${SHELL}.
67953         *  iconvdata/tst-tables.sh: Likewise.
67955 2012-10-25  David S. Miller  <davem@davemloft.net>
67957         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67958         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
67959         of strtoull.
67961         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
67962         ifunc-impl-list.c
67963         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67964         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
67965         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
67966         file.
67968 2012-10-25  Roland McGrath  <roland@hack.frob.com>
67970         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67971         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
67972         __getdirentries.
67974 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
67975             Jim Blandy  <jimb@codesourcery.com>
67977         * scripts/cross-test-ssh.sh: New file.
67978         * manual/install.texi (Configuring and compiling): Document use of
67979         cross-test-ssh.sh.
67980         * INSTALL: Regenerated.
67982 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
67984         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
67985         EOPNOTSUPP.
67987 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
67989         * Makeconfig (run-program-prefix): Fix comment.
67991 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
67992             Jim Blandy  <jimb@codesourcery.com>
67994         * Makeconfig (test-wrapper): New variable,
67995         (test-wrapper-env): Likewise.
67996         [$(cross-compiling) = yes && $(test-wrapper) != ""]
67997         (run-built-tests): Define to yes.
67998         (run-program-prefix): Use $(test-wrapper).
67999         (built-program-cmd): Likewise.
68000         * Rules (make-test-out): Use $(test-wrapper-env) and
68001         $(host-built-program-cmd).
68002         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
68003         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
68004         tst-pathopt.sh.
68005         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
68006         $(test-wrapper-env) to tst-rtld-load-self.sh.
68007         ($(objpfx)order2.out): Use $(test-wrapper).
68008         ($(objpfx)tst-initorder.out): Likewise.
68009         ($(objpfx)tst-initorder2.out): Likewise.
68010         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
68011         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
68012         (test_wrapper_env): New variable.  Use it to run ld.so.
68013         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
68014         Use it to run ld.so.
68015         (test_wrapper_env): Likewise.
68016         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
68017         $(test-wrapper) to run-iconv-test.sh.
68018         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
68019         (ICONV): Use $test_wrapper.
68020         * posix/Makefile ($(objpfx)globtest.out): Pass
68021         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
68022         globtest.sh, not $(run-program-prefix).
68023         * posix/globtest.sh (run_via_rtld_prefix): New variable.
68024         (test_wrapper): Likewise.
68025         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
68026         set together with run_via_rtld_prefix.
68027         (run_program_prefix): Define in terms of test_wrapper and
68028         run_via_rtld_prefix.
68030 2012-10-24  Roland McGrath  <roland@hack.frob.com>
68032         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
68033         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
68034         Targets removed.
68036         [BZ #14743]
68037         * include/time.h: Remove librt_hidden_proto (clock_gettime).
68038         Declare __clock_getres, __clock_gettime, __clock_settime,
68039         __clock_nanosleep, and __clock_getcpuclockid.
68040         * rt/clock_gettime.c: Define __clock_gettime as an alias.
68041         Remove librt_hidden_def (clock_gettime).
68042         * sysdeps/unix/clock_gettime.c: Likewise.
68043         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
68044         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
68045         * rt/clock_getres.c: Define __clock_getres as an alias.
68046         * sysdeps/posix/clock_getres.c: Likewise.
68047         * rt/clock_settime.c: Define __clock_settime as an alias.
68048         * sysdeps/unix/clock_settime.c: Likewise.
68049         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
68050         * sysdeps/unix/clock_nanosleep.c: Likewise.
68051         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
68052         * rt/clock-compat.c: New file.
68053         * rt/Makefile (librt-routines): Add clock-compat and move
68054         $(clock-routines) to ...
68055         (routines): ... here, new variable.
68056         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
68057         Don't add get_clockfreq here.
68058         * rt/Versions (libc: GLIBC_2.17): New version set.
68059         Add clock_* symbols here.
68060         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
68061         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
68062         (GLIBC_2.17): Add clock_* symbols.
68063         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
68064         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
68065         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
68066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68067         Likewise.
68068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68069         Likewise.
68070         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
68071         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
68072         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
68073         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
68074         * NEWS: Mention the move.
68076         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
68077         Use __open, __read, __close rather than their public counterparts.
68078         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68079         (__get_clockfreq_via_cpuinfo): Likewise.
68080         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
68081         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
68083         * config.h.in (HAVE_IFUNC): New #undef.
68084         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
68085         was successful.
68086         * configure: Regenerated.
68088 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
68090         * configure.in: Move READELF check to start of file.
68091         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
68092         libc_cv_asm_gnu_indirect_function in the process.
68093         * configure: Regenerated.
68095 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
68097         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
68098         send the output to /dev/null.
68099         (libc_cv_cc_with_libunwind): Likewise.
68100         (libc_cv_as_noexecstack): Likewise.
68101         * configure: Regenerate.
68103 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
68105         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
68107         * posix/globtest.sh (TMPDIR): Do not set.
68108         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
68109         (testout): Likewise.
68111 2012-10-24  Andreas Jaeger  <aj@suse.de>
68113         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
68114         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
68115         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
68116         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
68117         posix_fadvise64, posix_fallocate64.
68119         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
68120         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
68121         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
68122         Likewise.
68123         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
68124         Likewise.
68125         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
68127         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
68128         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
68129         <bits/fcntl-linux.h>.
68130         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
68132         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
68133         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
68134         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
68135         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
68136         [__WORDSIZE != 64]: Likewise.
68138 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
68140         * Makeconfig (run-built-tests): New variable.
68141         * Rules [$(cross-compiling) = yes]: Change condition to
68142         [$(run-built-tests) = no].
68143         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
68144         to [$(run-built-tests) = yes].
68145         * elf/Makefile [$(cross-compiling) = no]: Likewise.
68146         * grp/Makefile [$(cross-compiling) = no]: Likewise.
68147         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
68148         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
68149         * intl/Makefile [$(cross-compiling) = no]: Likewise.
68150         * io/Makefile [$(cross-compiling) = no]: Likewise.
68151         * libio/Makefile [$(cross-compiling) = no]: Likewise.
68152         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
68153         * misc/Makefile [$(cross-compiling) = no]: Likewise.
68154         * posix/Makefile [$(cross-compiling) = no]: Likewise.
68155         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
68156         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
68157         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
68158         * string/Makefile [$(cross-compiling) = no]: Likewise.
68160         * posix/Makefile ($(objpfx)globtest.out): Pass
68161         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
68162         $(rtld-installed-name).
68163         * posix/globtest.sh (elf_objpfx): Remove variable.
68164         (rtld_installed_name): Likewise.
68165         (library_path): Likewise.
68166         (run_program_prefix): New variable.  Use for running globtest
68167         binary.
68169 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
68170             Joseph Myers  <joseph@codesourcery.com>
68172         * Makeconfig (host-built-program-cmd): New variable.
68173         * elf/Makefile (tst-stackguard1-ARGS): Use
68174         $(host-built-program-cmd).
68175         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
68176         (tst-spawn-ARGS): Likewise.
68177         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
68179 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
68180             Jim Blandy  <jimb@codesourcery.com>
68182         * Makeconfig (run-via-rtld-prefix): New variable.
68183         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
68184         (built-program-cmd): Likewise.
68186 2012-10-22  Andreas Jaeger  <aj@suse.de>
68188         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
68189         __O_RSYNC if it exists, otherwise to O_SYNC.
68191 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
68192             Joseph Myers  <joseph@codesourcery.com>
68194         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
68195         /dev/null.
68196         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
68197         from /dev/null
68198         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
68199         /dev/null.
68201 2012-10-22  Andreas Jaeger  <aj@suse.de>
68203         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
68204         Define always.
68205         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
68207         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68208         bits/fcntl-linux.h.
68210         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
68211         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
68213         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
68214         to __O_LARGEFILE.
68215         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
68216         to __O_LARGEFILE.
68218 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
68219             Joseph Myers  <joseph@codesourcery.com>
68221         * config.make.in (NM): New variable.
68223 2012-10-21  Andreas Jaeger  <aj@suse.de>
68225         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
68226         definitions and declarations that are provided by
68227         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
68229 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
68231         [BZ #14683]
68232         * elf/Makefile (tests-static): Add tst-leaks1-static.
68233         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
68234         ($(objpfx)tst-leaks1-static): New rule.
68235         ($(objpfx)tst-leaks1-static-mem): Likewise.
68236         (tst-leaks1-static-ENV): New macro.
68237         * elf/dl-open.c (dl_open_worker): Check the main application
68238         only if SHARED is defined.
68239         * elf/tst-leaks1-static.c: New file.
68241 2012-10-20  Andreas Jaeger  <aj@suse.de>
68243         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
68244         generic values for Linux.
68245         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
68246         and declarations that are provided by <bits/fcntl-linux.h> and
68247         include <bits/fcntl-linux.h>.
68248         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68249         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68251 2012-10-20  Roland McGrath  <roland@hack.frob.com>
68253         * io/fcntl.h: Move include of <bits/types.h> to the top and
68254         include it unconditionally.
68256 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
68258         * wcsmbs/Makefile (tests-ifunc): New variable.
68259         (tests): Add $(tests-ifunc).
68260         * wcsmbs/test-wcschr-ifunc.c: New file.
68261         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
68262         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
68263         * wcsmbs/test-wcslen-ifunc.c: Likewise.
68264         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
68265         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
68267         * string/Makefile (tests-ifunc): New variable.
68268         (tests): Add $(tests-ifunc).
68269         * string/test-memccpy.c (TEST_NAME): New macro.
68270         * string/test-memchr.c (TEST_NAME): Likewise.
68271         * string/test-memcmp.c (TEST_NAME): Likewise.
68272         * string/test-memcpy.c (TEST_NAME): Likewise.
68273         * string/test-memmem.c (TEST_NAME): Likewise.
68274         * string/test-memmove.c (TEST_NAME): Likewise.
68275         * string/test-memset.c (TEST_NAME): Likewise.
68276         * string/test-rawmemchr.c (TEST_NAME): Likewise.
68277         * string/test-stpcpy.c (TEST_NAME): Likewise.
68278         * string/test-stpncpy.c (TEST_NAME): Likewise.
68279         * string/test-strcasecmp.c (TEST_NAME): Likewise.
68280         * string/test-strcasestr.c (TEST_NAME): Likewise.
68281         * string/test-strcat.c (TEST_NAME): Likewise.
68282         * string/test-strchr.c (TEST_NAME): Likewise.
68283         * string/test-strcmp.c(TEST_NAME): Likewise.
68284         * string/test-strcpy.c (TEST_NAME): Likewise.
68285         * string/test-strcspn.c (TEST_NAME): Likewise.
68286         * string/test-strlen.c (TEST_NAME): Likewise.
68287         * string/test-strncasecmp.c (TEST_NAME): Likewise.
68288         * string/test-strncmp.c (TEST_NAME): Likewise.
68289         * string/test-strncpy.c (TEST_NAME): Likewise.
68290         * string/test-strnlen.c (TEST_NAME): Likewise.
68291         * string/test-strpbrk.c (TEST_NAME): Likewise.
68292         * string/test-strrchr.c (TEST_NAME): Likewise.
68293         * string/test-strspn.c (TEST_NAME): Likewise.
68294         * string/test-strstr.c (TEST_NAME): Likewise.
68295         * string/test-bcopy-ifunc.c: New file.
68296         * string/test-bzero-ifunc.c: Likewise.
68297         * string/test-memccpy-ifunc.c: Likewise.
68298         * string/test-memchr-ifunc.c: Likewise.
68299         * string/test-memcmp-ifunc.c: Likewise.
68300         * string/test-memcpy-ifunc.c: Likewise.
68301         * string/test-memmem-ifunc.c: Likewise.
68302         * string/test-memmove-ifunc.c: Likewise.
68303         * string/test-mempcpy-ifunc.c: Likewise.
68304         * string/test-memset-ifunc.c: Likewise.
68305         * string/test-rawmemchr-ifunc.c: Likewise.
68306         * string/test-stpcpy-ifunc.c: Likewise.
68307         * string/test-stpncpy-ifunc.c: Likewise.
68308         * string/test-strcasecmp-ifunc.c: Likewise.
68309         * string/test-strcasestr-ifunc.c: Likewise.
68310         * string/test-strcat-ifunc.c: Likewise.
68311         * string/test-strchr-ifunc.c: Likewise.
68312         * string/test-strchrnul-ifunc.c: Likewise.
68313         * string/test-strcmp-ifunc.c: Likewise.
68314         * string/test-strcpy-ifunc.c: Likewise.
68315         * string/test-strcspn-ifunc.c: Likewise.
68316         * string/test-strlen-ifunc.c: Likewise.
68317         * string/test-strncasecmp-ifunc.c: Likewise.
68318         * string/test-strncat-ifunc.c: Likewise.
68319         * string/test-strncmp-ifunc.c: Likewise.
68320         * string/test-strncpy-ifunc.c: Likewise.
68321         * string/test-strnlen-ifunc.c: Likewise.
68322         * string/test-strpbrk-ifunc.c: Likewise.
68323         * string/test-strrchr-ifunc.c: Likewise.
68324         * string/test-strspn-ifunc.c: Likewise.
68325         * string/test-strstr-ifunc.c: Likewise.
68327         * debug/Makefile (tests-ifunc): New variable.
68328         (tests): Add $(tests-ifunc).
68329         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
68330         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
68331         * debug/test-stpcpy_chk-ifunc.c: New file.
68332         * debug/test-strcpy_chk-ifunc.c: Likewise.
68334 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
68336         [BZ #13601]
68337         * elf/dl-load.c (open_verify): Retry read if the entire ELF
68338         header is not read in.
68340 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
68342         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
68343         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
68344         directly.  Pass built executable to script as
68345         $(built-program-cmd).
68346         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
68347         $testprogram without using LD_LIBRARY_PATH and $ldso.
68349         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
68350         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
68351         $(rtld-installed-name).
68352         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
68353         (rtld_installed_name): Likewise.
68354         (library_path): Likewise.
68355         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
68356         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
68357         $(run-program-prefix) to tst-tables.sh.
68358         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
68359         it to run tst-table-from and tst-table-to.
68360         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
68361         Pass it to tst-table.sh.
68362         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
68363         $(run-program-prefix) to tst-gettext.sh.
68364         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
68365         tst-translit.sh.
68366         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
68367         tst-gettext2.sh.
68368         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
68369         to run tst-gettext.
68370         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
68371         to run tst-gettext2.
68372         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
68373         to run tst-translit.
68374         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
68375         $(run-program-prefix) to tst-mtrace.sh.
68376         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
68377         to run tst-mtrace.
68378         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
68379         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
68380         $(rtld-installed-name).
68381         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
68382         (rtld_installed_name): Likewise.
68383         (run_program_prefix): New variable.  Use it to run wordexp-test.
68385         * Makeconfig (ARCH): Remove all definitions.
68386         (machine): Likewise.
68387         [ARCH]: Remove conditional code.
68388         [!objdir]: Give error.
68389         [!objdir] (objpfx): Remove.
68390         [!objdir] (common-objpfx): Likewise.
68391         [!objdir] (common-objdir): Likewise.
68392         * configure.in (config_makefile): Remove.  Hardcode Makefile in
68393         AC_CONFIG_FILES call.
68394         * configure: Regenerated.
68396         [BZ #13888]
68397         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
68398         or TMPDIR.
68399         (testout): Likewise.
68401         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
68402         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
68403         $(rtld-installed-name).
68404         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
68405         (rtld_installed_name): Likewise.
68406         (runit): Remove function.
68407         (run_getconf): New variable,  Use it for running getconf binary.
68409 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
68411         [BZ #14716]
68412         * string/test-memmem.c (check_result): New function.
68413         (do_one_test): Use it.
68414         (check1): New function.
68415         (test_main): Use it.
68417 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
68419         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
68421 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
68423         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
68424         (_G_LSEEK64): Likewise.
68425         (_G_MMAP64): Likewise.
68426         (_G_FSTAT64): Likewise.
68427         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
68428         (_G_LSEEK64): Likewise.
68429         (_G_MMAP64): Likewise.
68430         (_G_FSTAT64): Likewise.
68431         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
68432         unconditional.  Call __mmap64 directly.
68433         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
68434         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
68435         __lseek64 directly.
68436         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
68437         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
68438         __mmap64 directly.
68439         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
68440         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
68441         __lseek64 directly.
68442         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
68443         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
68444         __lseek64 directly.
68445         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
68446         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
68447         __lseek64 directly.
68448         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
68449         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
68450         __fxstat64 directly.
68451         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
68452         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
68453         unconditional.
68454         (freopen64) [!_G_OPEN64]: Remove conditional code.
68455         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
68456         unconditional.
68457         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
68458         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
68459         unconditional.
68460         (ftello64) [!_G_LSEEK64]: Remove conditional code.
68461         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
68462         unconditional.
68463         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
68464         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
68465         unconditional.
68466         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
68467         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
68468         unconditional.
68469         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
68470         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
68471         unconditional.
68472         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
68473         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
68474         unconditional.
68475         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
68477 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
68479         [BZ #12140]
68480         * manual/memory.texi (Malloc Tunable Parameters): Add note
68481         about free list pointers overwriting some perturb bytes.
68482         Wording suggested by Roland McGrath.
68484 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
68486         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
68487         (lgamma_test): Likewise.
68488         (tgamma_test): Likewise.
68490 2012-10-16  Florian Weimer  <fweimer@redhat.com>
68492         [BZ #14700]
68493         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
68494         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
68496 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
68498         * NEWS: Mention BZ #14716.
68499         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
68500         when removing AVAILABLE1_USES_J macro.
68502 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
68504         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
68505         (__bswap_64): __uint64_t for unsigned 64-bit int.
68507 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
68509         * include/string.h (memmem): Declare libc hidden alias.
68510         * string/memmem.c (memmem): Define libc hidden alias.
68511         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
68512         __read, __close instead of open, read, close.
68514 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
68516         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
68517         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
68518         global and hidden.
68519         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
68520         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
68521         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
68522         Likewise.
68523         (__rawmemchr_sse2): Likewise.
68524         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
68525         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
68526         (__strchr_sse2): Likewise.
68527         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
68528         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
68529         (__strcasecmp_sse2): Likewise.
68530         (__strncasecmp_sse2): Likewise.
68531         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
68532         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
68533         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
68534         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
68535         (__strrchr_sse2): Likewise.
68536         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
68537         ifunc-impl-list.c.
68538         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
68539         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
68540         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
68541         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
68542         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
68543         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
68544         * sysdeps/x86_64/multiarch/memset.S: Likewise.
68545         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
68546         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
68547         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
68548         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
68549         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
68550         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
68551         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
68552         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
68553         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
68554         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
68555         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
68556         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
68557         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
68558         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
68559         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
68560         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
68561         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
68562         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
68563         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
68564         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
68565         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
68566         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
68567         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
68569         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
68570         global and hidden.
68571         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
68572         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
68573         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
68574         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
68575         Likewise.
68576         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
68577         Likewise.
68578         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
68579         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
68580         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
68581         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
68582         ifunc-impl-list.c.
68583         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
68584         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
68585         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
68586         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
68587         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
68588         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
68589         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
68590         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
68591         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
68592         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
68593         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
68594         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
68595         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
68596         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
68597         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
68598         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
68599         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
68600         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
68601         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
68602         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
68603         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
68604         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
68605         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
68606         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
68607         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
68608         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
68609         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
68610         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
68611         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
68612         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
68613         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
68614         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
68615         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
68616         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
68617         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
68618         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
68619         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
68620         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
68621         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
68622         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
68623         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
68625         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
68626         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
68627         * include/ifunc-impl-list.h: New file.
68628         * misc/ifunc-impl-list.c: Likewise.
68629         * misc/Makefile (routines): Add ifunc-impl-list.
68630         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
68631         * string/test-string.h: Include <ifunc-impl-list.h>.
68632         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
68633         TEST_NAME]: New variables.
68634         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
68635         are defined.
68636         (test_init): Call __libc_ifunc_impl_list to initialize
68637         func_list if TEST_IFUNC and TEST_NAME are defined.
68639         * string/Makefile (strop-tests): Add bcopy and bzero.
68640         * string/test-bcopy.c: New file.
68641         * string/test-bzero.c: Likewise.
68642         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
68643         defined.
68644         * string/test-memset.c: Support bzero test if TEST_BZERO is
68645         defined.
68646         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
68647         __libc_memmove.
68648         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
68649         __libc_memset.
68650         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
68651         of memset.
68653 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
68655         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
68656         * configure: Regenerated.
68658         * Makeconfig (+link-static-before-libc): Don't include
68659         $(link-static-libc).
68661         * libio/libio.h (_IO_pos_t): Remove.
68663 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
68665         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
68666         McGrath.
68668 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
68670         * crypt/crypt-entry.c: Include fips-private.h.
68671         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
68672         * crypt/md5c-test.c (main): Tolerate disabled MD5.
68673         * sysdeps/unix/sysv/linux/fips-private.h: New file.
68674         * sysdeps/generic/fips-private.h: New file, dummy fallback.
68676 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
68678         * crypt/crypt-private.h: Include stdbool.h.
68679         (_ufc_setup_salt_r): Return bool.
68680         * crypt/crypt-entry.c: Include errno.h.
68681         (__crypt_r): Return NULL with EINVAL for bad salt.
68682         * crypt/crypt_util.c (bad_for_salt): New.
68683         (_ufc_setup_salt_r): Check that salt is long enough and within
68684         the specified alphabet.
68685         * crypt/badsalttest.c: New file.
68686         * crypt/Makefile (tests): Add it.
68687         ($(objpfx)badsalttest): New.
68689 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
68691         * NEWS: Add entry for BZ #14602.
68693 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
68695         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
68696         type-generic.
68697         * math/libm-test.inc: Update comment listing what functions and
68698         macros are tested.
68699         (isgreater_test): New function.
68700         (isgreaterequal_test): Likewise.
68701         (isless_test): Likewise.
68702         (islessequal_test): Likewise.
68703         (islessgreater_test): Likewise.
68704         (isunordered_test): Likewise.
68705         (main): Call the new functions.
68707 2012-10-09  Roland McGrath  <roland@hack.frob.com>
68709         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
68710         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
68711         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
68712         * sysdeps/i386/configure: Regenerated.
68713         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
68714         * sysdeps/mach/configure: Regenerated.
68715         * sysdeps/mach/hurd/configure: Regenerated.
68716         * sysdeps/powerpc/configure: Regenerated.
68717         * sysdeps/powerpc/powerpc32/configure: Regenerated.
68718         * sysdeps/powerpc/powerpc64/configure: Regenerated.
68719         * sysdeps/s390/s390-32/configure: Regenerated.
68720         * sysdeps/s390/s390-64/configure: Regenerated.
68721         * sysdeps/sh/configure: Regenerated.
68722         * sysdeps/sparc/configure: Regenerated.
68723         * sysdeps/unix/sysv/linux/configure: Regenerated.
68724         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
68725         * sysdeps/x86_64/configure: Regenerated.
68727         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
68728         defined.  Don't check if MAP is NULL.
68730 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
68732         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
68733         (_G_stat64): Likewise.
68734         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
68735         (_G_stat64): Likewise.
68736         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
68737         instead of struct _G_stat64.
68738         * libio/fileops.c (mmap_remap_check): Likewise.
68739         (decide_maybe_mmap): Likewise.
68740         (_IO_new_file_seekoff): Likewise.
68741         (_IO_file_stat): Likewise.
68742         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
68743         _G_off64_t.
68744         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
68745         instead of struct _G_stat64.
68746         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
68748 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
68750         [BZ #14602]
68751         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
68752         Replace with ...
68753         (CHECK_EOL): New macro.
68754         (two_way_short_needle): Check beginning of haystack for EOL.  Use
68755         CHECK_EOL.
68756         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
68757         Replace with CHECK_EOL.
68758         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
68759         Replace with CHECK_EOL.
68761 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
68763         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
68764         type-generic.
68765         * math/libm-test.inc: Update comment listing what functions and
68766         macros are tested.
68767         (finite_test): New function.
68768         (isinf_test): Likewise.
68769         (isnan_test): Likewise.
68770         (fpclassify_test): Test subnormal input.
68771         (isfinite_test): Likewise.
68772         (isnormal_test): Likewise.
68773         (main): Call the new functions.
68775 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
68777         [BZ #14660]
68778         * Makerules (%.dynsym): Force C locale when running
68779         $(OBJDUMP) --dynamic-syms.
68781 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
68783         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
68784         <stdint.h>.
68786 2012-10-06  David S. Miller  <davem@davemloft.net>
68788         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
68789         upper 32-bits of the length value in %o2 since we use branch-on-register
68790         tests which consider the entire 64-bit register.
68792 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
68794         * string/test-strstr.c (check2): Add a test for page boundary.
68796 2012-10-05  David S. Miller  <davem@davemloft.net>
68798         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
68799         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
68800         file.
68801         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
68802         sysdep_routines.
68803         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
68804         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
68805         and bzero when HWCAP_SPARC_CRYPTO is present.
68807 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
68809         [BZ #14602]
68810         * string/test-strstr.c (check2): New function.
68811         (test_main): Call check2.
68813         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
68814         and bug-strchr1.
68815         * string/bug-strcasestr1.c (do_test): Moved to ...
68816         * string/test-strcasestr.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-strchr1.c (do_test): Moved to ...
68822         * string/test-strchr.c (check1): Here.  New function.
68823         (do_one_test): Break out result checking code into ...
68824         (check_result): This.  New function.
68825         (do_one_test): Call check_result.
68826         (test_main): Call check1.
68827         * string/bug-strstr1.c (main): Moved to ...
68828         * string/test-strstr.c (check1): Here.  New function.
68829         (do_one_test): Break out result checking code into ...
68830         (check_result): This.  New function.
68831         (do_one_test): Call check_result.
68832         (test_main): Call check1.
68833         * string/bug-strcasestr1.c: Removed.
68834         * string/bug-strchr1.c: Likewise.
68835         * string/bug-strstr1.c: Likewise.
68837         * elf/Makefile (dl-routines): Add hwcaps.
68838         * elf/dl-support.c (_dl_important_hwcaps): Removed.
68839         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
68840         (_dl_important_hwcaps): Moved to ...
68841         * elf/dl-hwcaps.c: Here.  New file.
68842         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
68844         [BZ #14557]
68845         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
68846         if IS_IN_rtld isn't defined.
68848         * elf/dl-support.c (_dl_sysinfo_map): New.
68849         Include "get-dynamic-info.h" and "setup-vdso.h".
68850         (_dl_non_dynamic_init): Call setup_vdso.
68851         * elf/dynamic-link.h: Don't include <assert.h>.
68852         (elf_get_dynamic_info): Moved to ...
68853         * elf/get-dynamic-info.h: Here.  New file.
68854         * elf/dynamic-link.h: Include "get-dynamic-info.h".
68855         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
68856         * elf/setup-vdso.h: Here.  New file.
68857         * elf/rtld.c: Include "setup-vdso.h".
68858         (dl_main): Call setup_vdso.
68860 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
68862         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
68863         creal in comment listing functions tested.  List finite, isinf,
68864         isnan, isless, islessequal, isgreater, isgreaterequal,
68865         islessgreater, isunordered, lgamma_r and pow10 as functions and
68866         macros not tested.  Mention which functions not tested are aliases
68867         for other functions.  Fix typo.  Note that signs of NaNs are not
68868         tested.
68870         * scripts/config.guess: Update from config.git.
68871         * scripts/config.sub: Likewise.
68873 2012-10-04  Roland McGrath  <roland@hack.frob.com>
68875         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
68876         * misc/madvise.c (madvise): Renamed to __madvise.
68877         Make madvise a weak alias.
68878         * include/sys/mman.h: Declare __madvise.
68879         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
68880         * sysdeps/unix/syscalls.list
68881         (madvise): Make __madvise the strong name, and madvise a weak alias.
68882         * sysdeps/unix/sysv/linux/syscalls.list
68883         (madvise, mmap): Remove redundant entries.
68884         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
68885         * malloc/malloc.c (mtrim): Likewise.
68886         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
68888 2012-10-03  Roland McGrath  <roland@hack.frob.com>
68890         * sysdeps/mach/hurd/dl-cache.c: File removed.
68891         * config.h.in (USE_LDCONFIG): New #undef.
68892         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
68893         * configure: Regenerated.
68894         * elf/Makefile (dl-routines): Add dl-cache only under
68895         [$(use-ldconfig) = yes].
68896         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
68897         cache on [USE_LDCONFIG].
68898         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
68899         [USE_LDCONFIG].
68900         * elf/rtld.c (dl_main): Likewise.
68902 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
68904         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
68905         _SC_LEVEL4_CACHE_LINESIZE.
68907 2012-10-03  Roland McGrath  <roland@hack.frob.com>
68909         * sysdeps/unix/bsd/confstr.h: File removed.
68911 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
68913         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
68914         sys/sdt-config.h.
68916 2012-10-02  Roland McGrath  <roland@hack.frob.com>
68918         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
68919         Make 'mapoff' field ElfW(Off) rather than off_t.
68921 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
68923         * nscd/Makefile: Remove nscd-cflags and all its users.
68924         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
68925         (CFLAGS-nonlib): Add compiler flags for nscd modules.
68927         [BZ #10631]
68928         * malloc.c (malloc_printerr): Clarify error message.
68930 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
68932         [BZ #14648]
68933         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68934         Set bit_FMA_Usable if FMA is supported.
68935         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
68936         macro.
68937         (bit_FMA4_Usable): Updated.
68938         (index_FMA_Usable): New macro.
68939         (CPUID_FMA): Likewise.
68940         (HAS_FMA): Defined with bit_FMA_Usable.
68942 2012-10-01  Roland McGrath  <roland@hack.frob.com>
68944         * bits/types.h (__swblk_t): Type removed.
68945         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
68946         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
68947         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68948         (__SWBLK_T_TYPE): Likewise.
68949         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
68950         (__SWBLK_T_TYPE): Likewise.
68951         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68952         (__SWBLK_T_TYPE): Likewise.
68953         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68954         (__SWBLK_T_TYPE): Likewise.
68956 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
68957             Honza Horak <hhorak@redhat.com>
68959         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
68960         (xdr_mapname): Use YPMAXMAP as maxsize.
68961         (xdr_peername): Use YPMAXPEER as maxsize.
68962         (xdr_keydat): Use YPAXRECORD as maxsize.
68963         (xdr_valdat): Use YPMAXRECORD as maxsize.
68965 2012-10-01  Roland McGrath  <roland@hack.frob.com>
68967         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
68969         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
68970         * csu/init-first.c: ... here.
68971         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
68972         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
68973         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
68974         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
68975         * sysdeps/i386/init-first.c: File removed.
68976         * sysdeps/sh/init-first.c: File removed.
68978 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
68980         [BZ #14645]
68981         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
68982         if x * y might underflow to zero and z is zero.
68983         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68984         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68985         * math/libm-test.inc (min_subnorm_value): New variable.
68986         (fma_test): Add more tests.
68987         (fma_test_towardzero): Likewise.
68988         (fma_test_downward): Likewise.
68989         (fma_test_upward): Likewise.
68990         (initialize): Set min_subnorm_value.
68992 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
68994         [BZ #14638]
68995         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
68996         0 + 0.
68997         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
68998         mode for addition resulting in exact zero.
68999         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
69000         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
69001         exact 0 + 0.
69002         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
69003         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69004         * math/libm-test.inc (fma_test): Add more tests.
69005         (fma_test_towardzero): New function.
69006         (fma_test_downward): Likewise.
69007         (fma_test_upward): Likewise.
69008         (main): Call the new functions.
69010 2012-09-28  David S. Miller  <davem@davemloft.net>
69012         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
69014 2012-09-28  Roland McGrath  <roland@hack.frob.com>
69016         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
69017         instead of SIGALRM.
69019         * sysdeps/gnu/_G_config.h: Moved to ...
69020         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
69021         * sysdeps/mach/hurd/_G_config.h: Moved to ...
69022         * sysdeps/generic/_G_config.h: ... here.
69024         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
69026         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
69028         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
69029         Conditionalize target on [libnss_test1.so-version].
69031         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
69033         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
69034         (elfobjdir): Move out of conditionals.
69036         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
69037         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
69038         (__nss_lookup_function): Conditionalize label remove_from_tree on
69039         [!DO_STATIC_NSS || SHARED], matching its only use.
69041 2012-09-28  David S. Miller  <davem@davemloft.net>
69043         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
69044         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
69045         file.
69046         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
69047         sysdep_routines.
69048         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
69049         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
69050         when HWCAP_SPARC_CRYPTO is present.
69052 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
69054         * io/tst-mknodat.c: Create a FIFO instead of a socket.
69056 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
69058         [BZ #6530]
69059         * stdio-common/vfprintf.c (process_string_arg): Revert
69060         2000-07-22 change.
69062 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
69064         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
69065         for testcase.
69066         * stdio-common/tst-sprintf.c: Include <locale.h>
69067         (main): Test sprintf's handling of incomplete multibyte
69068         characters.
69070 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
69072         * elf/dl-runtime.c (VERSYMIDX): Removed.
69073         * elf/dl-version.c (VERSYMIDX): Likewise.
69074         * elf/do-rel.h (VERSYMIDX): Likewise.
69075         (VALIDX): Likewise.
69076         * elf/dynamic-link.h (VERSYMIDX): Likewise.
69077         * elf/rtld.c (VALIDX): Likewise.
69078         (ADDRIDX): Likewise.
69079         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
69080         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
69081         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
69082         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
69083         (VALIDX): Likewise.
69084         (ADDRIDX): Likewise.
69086 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
69088         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
69090 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
69092         [BZ #11438]
69093         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
69094         to global scope.
69095         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
69096         addresses are in the same scope as 192.0.2/24.
69097         * posix/gai.conf: Document new scope table defaults.
69099 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69101         [BZ #5298]
69102         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
69103         for ftell.  Compute offsets from write pointers instead.
69104         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
69106 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69108         [BZ #14543]
69109         * libio/Makefile (tests): New test case tst-fseek.
69110         * libio/tst-fseek.c: New test case to verify that fseek/ftell
69111         combination works in wide mode.
69112         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
69113         state when the external buffer state changes.
69115 2012-09-27  David S. Miller  <davem@davemloft.net>
69117         [BZ #14376]
69118         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
69119         pass reloc->r_addend in as the 'high' argument to
69120         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
69122         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69124 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
69126         * rt/tst-aio2.c: Include <pthread.h>.
69127         * rt/tst-aio3.c: Likewise.
69129 2012-09-27  Steve Ellcey  <sellcey@mips.com>
69131         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
69133 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
69135         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
69136         contents on [SHARED].
69138 2012-09-26  Marek Polacek  <polacek@redhat.com>
69140         [BZ #14530]
69141         [BZ #13741]
69142         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
69143         for C++ and GCC <4.3 as well as for non GCC compilers.
69145 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
69147         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69149 2012-09-25  Roland McGrath  <roland@hack.frob.com>
69151         * Makefile.in (all, install): Declare with .PHONY.
69152         Reported by Michael Hope <michael.hope@linaro.org>.
69154 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69156         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
69157         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
69158         system header.
69159         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
69160         Likewise.
69161         (sydep_routines): Add the new and the internal functions.
69162         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
69163         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
69164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
69165         (GLIBC_2.17): Add the new function.
69166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
69167         (GLIBC_2.17): Likewise.
69168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
69169         (GLIBC_2.17): Likewise.
69170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
69171         (GLIBC_2.17): Likewise.
69172         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
69174 2012-09-25  Alan Modra  <amodra@gmail.com>
69176         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
69177         Add release barrier before setting once_control to say
69178         initialisation is done.  Add hints on lwarx.  Use macro in
69179         place of isync.
69180         (clear_once_control): Add release barrier.
69182 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
69184         [BZ #13629]
69185         * math/s_clog.c (__clog): Handle more values close to |z| = 1
69186         specially.
69187         * math/s_clog10.c (__clog10): Likewise.
69188         * math/s_clog10f.c (__clog10f): Likewise.
69189         * math/s_clog10l.c (__clog10l): Likewise.
69190         * math/s_clogf.c (__clogf): Likewise.
69191         * math/s_clogl.c (__clogl): Likewise.
69192         * math/Makefile (libm-calls): Add x2y2m1.
69193         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
69194         (__x2y2m1): Likewise.
69195         (__x2y2m1l): Likewise.
69196         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
69197         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
69198         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
69199         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
69200         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
69201         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
69202         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
69203         * sysdeps/i386/fpu/libm-test-ulps: Update.
69204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69206         [BZ #14621]
69207         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
69208         int as type of variable DEPTH.
69209         (glob): Use size_t instead of int as type of variables NEWCOUNT
69210         and OLD_PATHC.
69212 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69214         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
69215         Add s_sincosf-sse2.
69216         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
69217         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
69218         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
69219         macros for using routine as __sincosf_ia32.
69220         Use macro for function declaration and weak_alias.
69221         * sysdeps/i386/fpu/libm-test-ulps: Update.
69223         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
69224         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69226         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
69227         subnormal argument.
69228         * math/s_cexpf.c (__cexpf): Likewise.
69229         * math/s_csinf.c (__csinf): Likewise.
69230         * math/s_csinhf.c (__csinhf): Likewise.
69231         * math/s_ctanf.c (__ctanf): Likewise.
69232         * math/s_ctanhf.c (__ctanhf): Likewise.
69233         * math/s_ccosh.c (__ccoshf): Likewise.
69234         * math/s_cexp.c (__cexpl): Likewise.
69235         * math/s_csin.c (__csin): Likewise.
69236         * math/s_csinh.c (__csinh): Likewise.
69237         * math/s_ctan.c (__ctan): Likewise.
69238         * math/s_ctanh.c (ctanh): Likewise.
69239         * math/s_ccoshl.c (__ccoshl): Likewise.
69240         * math/s_cexpl.c (__cexpl): Likewise.
69241         * math/s_csinl.c (__csinl): Likewise.
69242         * math/s_csinhl.c (__csinhl): Likewise.
69243         * math/s_ctanl.c (__ctanl): Likewise.
69244         * math/s_ctanhl.c (__ctanhl): Likewise.
69246 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
69248         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
69249         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
69250         (_IO_off_t): Define to __off_t, not _G_off_t.
69251         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
69252         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
69253         (_IO_wint_t): Define to wint_t, not _G_wint_t.
69254         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
69255         type of __dummy and __dummy2 fields.
69256         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
69257         (_G_ssize_t): Likewise.
69258         (_G_off_t): Likewise.
69259         (_G_pid_t): Likewise.
69260         (_G_uid_t): Likewise.
69261         (_G_wchar_t): Likewise.
69262         (_G_wint_t): Likewise.
69263         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
69264         (_G_ssize_t): Likewise.
69265         (_G_off_t): Likewise.
69266         (_G_pid_t): Likewise.
69267         (_G_uid_t): Likewise.
69268         (_G_wchar_t): Likewise.
69269         (_G_wint_t): Likewise.
69270         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
69271         (_G_ssize_t): Likewise.
69272         (_G_off_t): Likewise.
69273         (_G_pid_t): Likewise.
69274         (_G_uid_t): Likewise.
69275         (_G_wchar_t): Likewise.
69276         (_G_wint_t): Likewise.
69278 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
69280         * malloc/arena.c: Include malloc-sysdep.h.
69281         (shrink_heap): Use check_may_shrink_heap to decide if madvise
69282         is sufficient to shrink the heap or an unmap is needed.
69283         * sysdeps/generic/malloc-sysdep.h: New file.  Define
69284         new function check_may_shrink_heap.
69285         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
69286         new function check_may_shrink_heap.
69288 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
69290         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
69291         comments.
69293 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
69295         * catgets/test-gencat.sh: Add "set -e".
69296         * elf/tst-pathopt.sh: Likewise.
69297         * grp/tst_fgetgrent.sh: Likewise.
69298         * iconvdata/run-iconv-test.sh: Likewise.
69299         * intl/tst-gettext.sh: Likewise.
69300         * intl/tst-gettext2.sh: Likewise.
69301         * intl/tst-gettext4.sh: Likewise.
69302         * intl/tst-gettext6.sh: Likewise.
69303         * intl/tst-translit.sh: Likewise.
69304         * io/ftwtest-sh: Likewise.
69305         * libio/test-freopen.sh: Likewise.
69306         * malloc/tst-mtrace.sh: Likewise.
69307         * posix/globtest.sh: Likewise.
69308         * posix/tst-getconf.sh: Likewise.
69309         * posix/wordexp-tst.sh: Likewise.
69310         * stdio-common/tst-printf.sh: Likewise.
69311         * stdio-common/tst-unbputc.sh: Likewise.
69312         * stdlib/tst-fmtmsg.sh: Likewise.
69313         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
69314         * catgets/Makefile: Do not specify -e option when running
69315         testsuite shell scripts.
69316         * elf/Makefile: Likewise.
69317         * grp/Makefile: Likewise.
69318         * iconvdata/Makefile: Likewise.
69319         * intl/Makefile: Likewise.
69320         * io/Makefile: Likewise.
69321         * libio/Makefile: Likewise.
69322         * malloc/Makefile: Likewise.
69323         * posix/Makefile: Likewise.
69324         * stdio-common/Makefile: Likewise.
69325         * stdlib/Makefile: Likewise.
69326         * sysdeps/x86_64/Makefile: Likewise.
69328         * io/ftwtest-sh: Add copyright header.
69329         * posix/globtest.sh: Likewise.
69330         * posix/tst-getconf.sh: Likewise.
69331         * posix/wordexp-tst.sh: Likewise.
69332         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
69334 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
69336         [BZ #13679]
69337         * Makeconfig (+link): Defined as $(+link-static) if
69338         $(build-shared) isn't yes.
69339         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
69340         isn't yes.
69341         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
69343         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
69345         [BZ #14562]
69346         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
69347         new chunk size with MALLOC_ALIGN_MASK.
69349 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
69351         [BZ #5044]
69352         * stdio-common/printf_fphex.c: Include <stdbool.h> and
69353         <rounding-mode.h>.
69354         (__printf_fphex): Determine rounding using get_rounding_mode and
69355         round_away.
69356         * stdio-common/tst-printf-round.c (struct hex_test): New
69357         structure.
69358         (hex_tests): New variable.
69359         (test_hex_in_one_mode): New function.
69360         (do_test): Also run tests for hex float output.
69362 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
69364         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
69365         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
69366         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
69367         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
69368         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
69369         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
69370         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
69371         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
69373 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
69375         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
69376         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
69377         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
69378         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
69380 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
69382         [BZ #14579]
69383         * elf/rtld.c (dl_main): Limit the check for self loading to normal
69384         mode only.
69385         * elf/tst-rtld-load-self.sh: New test.
69386         * elf/Makefile: Run it.
69388 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
69390         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
69391         (tst-writev-ENV): Remove.
69392         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
69394 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
69396         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
69398 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
69400         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
69401         unconditional.
69402         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
69403         Likewise.
69404         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
69405         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
69406         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
69407         Likewise.
69409 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
69411         [BZ #14587]
69412         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
69413         * config.make.in (have-cpp-asm-debuginfo): Removed.
69414         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
69415         * configure: Regenerated.
69417 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
69419         [BZ #5044]
69420         * stdio-common/printf_fp.c: Include <stdbool.h> and
69421         <rounding-mode.h>.
69422         (___printf_fp): Determine rounding using get_rounding_mode and
69423         round_away.
69424         * stdio-common/tst-printf-round.c: New file.
69425         * stdio-common/Makefile (tests): Add tst-printf-round.
69426         (link-libm): New variable.
69427         ($(objpfx)tst-printf-round): Depend in $(link-libm).
69429 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
69431         [BZ #14576]
69432         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
69433         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
69434         Likewise.
69435         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
69436         Likewise.
69438 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
69440         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
69441         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
69442         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
69443         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
69445 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
69447         [BZ #14518]
69448         * include/rounding-mode.h: New file.
69449         * sysdeps/generic/get-rounding-mode.h: Likewise.
69450         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
69451         * stdlib/strtod_l.c: Include <rounding-mode.h>.
69452         (MAX_VALUE): New macro.
69453         (MIN_VALUE): Likewise.
69454         (overflow_value): New function.
69455         (underflow_value): Likewise.
69456         (round_and_return): Use overflow_value and underflow_value to
69457         determine return values in overflow and underflow cases.  Use
69458         round_away to determine rounding depending on rounding mode.
69459         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
69460         determine return values in overflow and underflow cases.
69461         * stdlib/tst-strtod-round.c: Include <fenv.h>.
69462         (struct test_results): New structure.
69463         (struct test): Use struct test_results to store expected results
69464         for all rounding modes.
69465         (TEST): Include expected results for all rounding modes.
69466         (test_in_one_mode): New function.
69467         (do_test): Use test_in_one_mode to compute and check results.
69468         Check results for all rounding modes.
69469         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
69470         $(link-libm).
69472 2012-12-09  Allan McRae  <allan@archlinux.org>
69474         * sysdeps/i386/fpu/libm-test-ulps: Update
69476 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
69478         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
69479         (_G_int32_t): Likewise.
69480         (_G_uint16_t): Likewise.
69481         (_G_uint32_t): Likewise.
69482         (_G_HAVE_BOOL): Likewise.
69483         (_G_HAVE_ATEXIT): Likewise.
69484         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
69485         (_G_HAVE_IO_FILE_OPEN): Likewise.
69486         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
69487         (_G_int32_t): Likewise.
69488         (_G_uint16_t): Likewise.
69489         (_G_uint32_t): Likewise.
69490         (_G_HAVE_BOOL): Likewise.
69491         (_G_HAVE_ATEXIT): Likewise.
69492         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
69493         (_G_HAVE_IO_FILE_OPEN): Likewise.
69494         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
69495         (_G_int32_t): Likewise.
69496         (_G_uint16_t): Likewise.
69497         (_G_uint32_t): Likewise.
69498         (_G_HAVE_BOOL): Likewise.
69499         (_G_HAVE_ATEXIT): Likewise.
69500         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
69501         (_G_HAVE_IO_FILE_OPEN): Likewise.
69503 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
69505         * csu/libc-tls.c: Update copyright years.
69507 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
69509         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
69510         [!_G_USING_THUNKS]: Remove conditional code.
69511         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
69512         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
69514         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
69515         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
69516         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
69517         (_G_VTABLE_LABEL_PREFIX): Likewise.
69518         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
69519         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
69520         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
69521         (_G_VTABLE_LABEL_PREFIX): Likewise.
69522         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
69523         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
69524         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
69525         (_G_VTABLE_LABEL_PREFIX): Likewise.
69526         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
69528 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
69530         * libio/Makefile: Include ../Makeconfig before tests.
69531         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
69532         only if $(build-shared) is yes.
69534         * iconv/gconv_db.c: Update copyright years.
69536 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69538         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
69539         unwind info if defined PIC. Fix special cases description.
69540         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
69542         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
69543         DP_HI_MASK entry.
69544         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
69546 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
69548         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
69550         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
69551         is NULL.
69553         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
69554         (LDLIBS-tst-chk4): This.
69555         (LDFLAGS-tst-chk5): Renamed to ...
69556         (LDLIBS-tst-chk5): This.
69557         (LDFLAGS-tst-chk6): Renamed to ...
69558         (LDLIBS-tst-chk6): This.
69559         (LDFLAGS-tst-lfschk4): Renamed to ...
69560         (LDLIBS-tst-lfschk4): This.
69561         (LDFLAGS-tst-lfschk5): Renamed to ...
69562         (LDLIBS-tst-lfschk5): This.
69563         (LDFLAGS-tst-lfschk6): Renamed to ...
69564         (LDLIBS-tst-lfschk6): This.
69566         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
69567         on $(common-objpfx)soversions.mk.
69569 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
69571         [BZ #10014]
69572         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
69573         example host name.
69575 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
69577         * malloc/arena.c (arena_get_retry): New function that gets
69578         another arena for the caller to try its request on.
69579         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
69580         current arena cannot fulfill the request.
69581         (__libc_memalign): Likewise.
69582         (__libc_memalign): Likewise.
69583         (__libc_pvalloc): Likewise.
69584         (__libc_calloc): Likewise.
69586 2012-09-05  John Tobey  <john.tobey@gmail.com>
69588         [BZ #13542]
69589         * manual/arith.texi (Operations on Complex): Fix description
69590         of carg branch cut.
69592 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
69594         [BZ #10014]
69595         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
69596         host name.
69598         [BZ #10038]
69599         * manual/memory.texi (Memory): Make order of menu items match
69600         order of sections.
69602 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
69604         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
69605         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
69606         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
69608 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
69610         * csu/libc-tls.c (static_dtv): Renamed to ...
69611         (_dl_static_dtv): This.  Make it global.
69612         (_dl_initial_dtv): Removed.
69613         (__libc_setup_tls): Updated.
69614         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
69615         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
69616         DL_INITIAL_DTV.
69618 2012-09-06  Petr Machata  <pmachata@redhat.com>
69620         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
69621         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
69622         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
69623         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
69625 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
69627         [BZ #14545]
69628         * csu/libc-tls.c (_dl_initial_dtv): New variable.
69629         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
69630         freeing dtv[-1].
69632 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
69634         [BZ #14544]
69635         * Makeconfig (link-static-before-libc): Replace $(+prector)
69636         with $(+prectorT).
69637         (link-static-after-libc): Replace $(+postctor) with
69638         $(+postctorT).
69639         (link-bounded): Replace $(+prector)/$(+postctor) with
69640         $(+prectorT)/$(+postctorT).
69641         (+prectorT): New macro.
69642         (+postctorT): Likewise.
69644 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
69646         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
69647         (round_str): Handle values above the maximum for IBM long double
69648         as inexact.
69649         * stdlib/tst-strtod-round.c (tests): Regenerated.
69651 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69653         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
69654         assembler flag.
69655         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
69656         zarch_nohighgprs around the zarch optimized routines.
69657         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
69658         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
69659         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
69660         for zarch.
69662 2012-09-05  David S. Miller  <davem@davemloft.net>
69664         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69666         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
69667         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
69668         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
69669         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
69670         entries.
69672 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
69674         * malloc/arena.c: Fold copyright years.
69675         * malloc/mcheck.c, malloc/memusage.c: Likewise.
69677 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
69679         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
69681 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
69683         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
69685 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
69687         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
69688         change internal state upon failure.
69690 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
69692         * malloc/mcheck.c (mcheck_check_all): Fix typo.
69693         * malloc/memusage.c (mmap): Likewise.
69694         (mmap64, mremap): Likewise.  Adjust name in comment.
69696 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
69698         * libio/fileops.c: Fix typos in comments.
69699         * libio/oldfileops.c: Likewise.
69700         * libio/wfileops.c: Likewise.
69702 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
69704         [BZ #1349]
69705         * malloc/Makefile (tests): Add tst-malloc-usable test case.
69706         (tst-malloc-usable-ENV): Set environment for test case.
69707         * malloc/hooks.c (malloc_check_get_size): New function to get
69708         requested size.
69709         * malloc/malloc.c (musable): Use malloc_check_get_size.
69710         * malloc/tst-malloc-usable.c: New test case.
69712 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
69714         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
69716 2012-09-05  Allan McRae  <allan@archlinux.org>
69718         [BZ #13966]
69719         * configure.in (CXX_SYSINCLUDES): Use compiler output to
69720         determine header location.
69721         * configure: Regenerated.
69723 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
69725         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
69726         float format.
69727         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
69728         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
69729         format.
69730         (test): Regenerate.
69732 2012-09-04  David S. Miller  <davem@davemloft.net>
69734         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
69735         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
69736         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
69738 2012-09-04  Florian Weimer  <fweimer@redhat.com>
69740         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
69741         failures.
69743         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
69745 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
69747         [BZ #9914]
69748         * libio/iogetdelim.c: Include <limits.h>.
69749         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
69750         + len + 1 would overflow.
69752 2012-09-03  Andreas Jaeger  <aj@suse.de>
69754         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69755         * sysdeps/i386/fpu/libm-test-ulps: Update.
69757 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69759         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
69760         Add s_sinf-sse2, s_conf-sse2.
69762         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
69763         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
69764         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
69765         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
69767         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
69768         for using routine as __sinf_ia32.
69769         Use macro for function declaration and weak_alias.
69770         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
69771         for using routine as __cosf_ia32.
69772         Use macro for function declaration and weak_alias.
69774         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
69775         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
69777         * sysdeps/x86_64/fpu/s_sinf.S: New file.
69778         * sysdeps/x86_64/fpu/s_cosf.S: New file.
69779         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69781         * math/libm-test.inc (cos_test): Add more test cases.
69782         (sin_test): Likewise.
69783         (sincos_test): Likewise.
69785 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69787         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
69788         (IFUNC_RESOLVE): Make pointers to the specialized implementations
69789         hidden.
69790         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
69792 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
69794         [BZ #14538]
69795         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
69796         first element of the GOT.
69797         (elf_machine_load_address): Return the difference between
69798         the runtime address of _DYNAMIC and elf_machine_dynamic ().
69800 2012-09-01  Allan McRae  <allan@archlinux.org>
69802         [BZ #13412]
69803         * configure.in (AWK): Require gawk version 3.0 or later.
69804         * configure: Regenerated.
69806 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
69808         * sysdeps/unix/sysv/linux/kernel-features.h
69809         (__ASSUME_POSIX_CPU_TIMERS): Remove.
69810         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
69811         [__NR_clock_getres]: Make code unconditional.
69812         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
69813         (clock_getcpuclockid): Remove code left unreachable by removal of
69814         conditionals.
69815         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
69816         code unconditional.
69817         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
69818         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
69819         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
69820         Make code unconditional.
69821         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
69822         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
69823         * sysdeps/unix/sysv/linux/clock_settime.c
69824         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
69825         conditional code.
69826         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
69827         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
69829 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
69831         [BZ #14476]
69832         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
69833         scripts/test-installation.pl.
69835         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
69836         and $ld_so_version if it is set.
69838 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
69840         [BZ #14516]
69841         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
69842         failure if reading from procfs failed.
69843         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
69845 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
69847         * sysdeps/unix/sysv/linux/kernel-features.h
69848         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
69849         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
69850         Remove conditional code.
69851         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
69852         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
69853         Remove conditional code.
69854         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
69855         * sysdeps/unix/sysv/linux/i386/fxstat.c
69856         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
69857         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
69858         * sysdeps/unix/sysv/linux/i386/fxstatat.c
69859         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
69860         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
69861         * sysdeps/unix/sysv/linux/i386/lxstat.c
69862         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
69863         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
69864         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
69865         Remove conditional code.
69866         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
69867         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
69868         Remove conditional code.
69869         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
69870         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
69871         <kernel-features.h>.
69872         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
69873         Remove.
69874         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
69875         Remove conditional code.
69876         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
69877         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
69878         Remove conditional.
69880 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
69882         [BZ #5400]
69883         * NEWS: Add fixed bug number.
69885 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
69887         [BZ #14519]
69888         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
69889         underflowing exponent in case of negative sign.
69890         * stdlib/tst-strtod-round-data: Add more tests.
69891         * stdlib/tst-strtod-round.c (tests): Regenerated.
69893         [BZ #3479]
69894         * stdlib/strtod_l.c (NDIG): Remove.
69895         (HEXNDIG): Likewise.
69896         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
69897         smallest representable value.
69898         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
69899         lie within an exact representation of 1/2 ulp of the result.
69900         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
69901         unconditionally.
69902         (TENS_P9_IDX): Define unconditionally.
69903         (TENS_P9_SIZE): Likewise.
69904         (TENS_P10_IDX): Likewise.
69905         (TENS_P10_SIZE): Likewise.
69906         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
69907         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
69908         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
69909         entries for 10^2^13 and 10^2^14.
69910         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
69911         (TENS_P13_IDX): Define.
69912         (TENS_P13_SIZE): Likewise.
69913         (TENS_P14_IDX): Likewise.
69914         (TENS_P14_SIZE): Likewise.
69915         (_fpioconst_pow10): Change array size to
69916         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
69917         unconditional.
69918         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
69919         1024]: Add entries for 10^2^13 and 10^2^14.
69920         [LAST_POW10 > _LAST_POW10]: Remove #error.
69921         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
69922         (_fpioconst_pow10): Change array size to
69923         FPIOCONST_POW10_ARRAY_SIZE.
69924         * stdlib/gen-fpioconst.c: New file.
69925         * stdlib/gen-tst-strtod-round.c: Likewise.
69926         * stdlib/tst-strtod-round-data: Likewise.
69927         * stdlib/tst-strtod-round.c: Likewise.
69928         * stdlib/Makefile (tests): Add tst-strtod-round.
69930         [BZ #14459]
69931         * stdlib/strtod_l.c: Include <stdint.h>.
69932         (NDEBUG): Do not define.
69933         (round_and_return): Change EXPONENT parameter to type intmax_t.
69934         Rearrange calculations to avoid internal overflow possibilities.
69935         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
69936         Rearrange calculations to avoid internal overflow possibilities.
69937         Assert that number fits inside MPNSIZE limbs.
69938         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
69939         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
69940         calculations and add assertions to avoid internal overflow
69941         possibilities.  Add casts to avoid signed/unsigned operations.
69942         * stdlib/tst-strtod-overflow.c: New file.
69943         * stdlib/Makefile (tests): Add tst-strtod-overflow.
69945 2012-08-25  Marek Polacek  <polacek@redhat.com>
69947         * time/time.h: Fix some typos in comments.
69949 2012-08-23  Roland McGrath  <roland@hack.frob.com>
69951         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
69952         * posix/tst-rfc3484-2.c: Likewise.
69953         * posix/tst-rfc3484-3.c: Likewise.
69955 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
69957         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
69958         (EF_ARM_ABI_FLOAT_HARD): Likewise.
69960 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
69962         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
69963         #include of fxstatat64.c.
69965 2012-08-22  Roland McGrath  <roland@hack.frob.com>
69967         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
69968         * shadow/getspent_r.c: Likewise.
69969         * shadow/getspnam.c: Likewise.
69970         * shadow/getspnam_r.c: Likewise.
69971         * gshadow/getsgent.c: Likewise.
69972         * gshadow/getsgent_r.c: Likewise.
69973         * gshadow/getsgnam.c: Likewise.
69974         * gshadow/getsgnam_r.c: Likewise.
69975         * inet/getnetbyad.c: Likewise.
69976         * inet/getnetbyad_r.c: Likewise.
69977         * inet/getnetbynm.c: Likewise.
69978         * inet/getnetbynm_r.c: Likewise.
69979         * inet/getnetent.c: Likewise.
69980         * inet/getnetent_r.c: Likewise.
69981         * inet/getproto.c: Likewise.
69982         * inet/getproto_r.c: Likewise.
69983         * inet/getprtent.c: Likewise.
69984         * inet/getprtent_r.c: Likewise.
69985         * inet/getprtname.c: Likewise.
69986         * inet/getprtname_r.c: Likewise.
69987         * inet/getrpcbyname.c: Likewise.
69988         * inet/getrpcbyname_r.c: Likewise.
69989         * inet/getrpcbynumber.c: Likewise.
69990         * inet/getrpcbynumber_r.c: Likewise.
69991         * inet/getrpcent.c: Likewise.
69992         * inet/getrpcent_r.c: Likewise.
69993         * inet/getaliasent.c: Likewise.
69994         * inet/getaliasent_r.c: Likewise.
69995         * inet/getaliasname.c: Likewise.
69996         * inet/getaliasname_r.c: Likewise.
69997         * nscd/getgrgid_r.c: Likewise.
69998         * nscd/getgrnam_r.c: Likewise.
69999         * nscd/gethstbyad_r.c: Likewise.
70000         * nscd/gethstbynm3_r.c: Likewise.
70001         * nscd/getpwnam_r.c: Likewise.
70002         * nscd/getpwuid_r.c: Likewise.
70003         * nscd/getsrvbynm_r.c: Likewise.
70004         * nscd/getsrvbypt_r.c: Likewise.
70005         * nscd/gai.c: Likewise.
70007         * configure.in (build_nscd): New substituted variable, set
70008         by --disable-build-nscd and defaults to $use_nscd.
70009         * configure: Regenerated.
70010         * config.make.in (build-nscd): New substituted variable.
70011         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
70012         Change conditional to require [$(build-nscd) = yes] as well.
70013         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
70015         [BZ# 13696]
70016         * configure.in (use_nscd): New substituted variable, set by
70017         --disable-nscd.  If enabled, define USE_NSCD.
70018         * configure: Regenerated.
70019         * config.h.in: Add USE_NSCD.
70020         * config.make.in (use-nscd): New substituted variable.
70021         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
70022         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
70023         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
70024         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
70025         (CFLAGS-getgrnam_r.c): Likewise.
70026         (CFLAGS-initgroups.c): Likewise.
70027         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
70028         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
70029         Variables removed.
70030         * inet/getnetgrent_r.c
70031         (nscd_setnetgrent): New function, broken out of ...
70032         (setnetgrent): ... here.  Call it.
70033         (innetgr): Conditionalize nscd bits on [USE_NSCD].
70034         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
70035         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
70036         * nscd/Makefile (routines, aux): Move definitions after include of
70037         Makeconfig.  Conditionalize on [$(use-nscd) != no].
70038         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
70039         Conditionalize on [USE_NSCD].
70040         (is_nscd, nscd_init_cb): Likewise.
70041         (nss_load_library): Conditionalize init callback on [USE_NSCD].
70042         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
70043         * nss/nss_db/db-init.c: Likewise.
70044         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
70045         [USE_NSCD].
70046         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
70047         (make_request): Use it.
70048         (cache_valid_p): New function.
70049         (__check_pf): Use it.
70050         * NEWS: Add item for --disable-nscd.
70052 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
70054         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
70055         to support sed >= 4.2.1-20-ga9bf076.
70056         * configure: Regenerated.
70058 2012-08-22  Roland McGrath  <roland@hack.frob.com>
70060         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
70061         Conditionalize whole body on [IREL].
70063 2012-08-22  Jeff Law <law@redhat.com>
70065         [BZ #14505]
70066         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
70067         if the family is PF_UNSPEC.
70069 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
70071         * Makerules (lib-version): Rename from V.
70072         (install-lib-nosubdir): Change V to lib-version.
70074 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
70076         [BZ #14252]
70077         * powerpc32/power6/wcschr.c: New file.
70078         * powerpc32/power6/wcscpy.c: New file.
70079         * powerpc32/power6/wcsrchr.c: New file.
70080         * powerpc64/power6/wcschr.c: New file.
70081         * powerpc64/power6/wcscpy.c: New file.
70082         * powerpc64/power6/wcsrchr.c: New file.
70084 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
70086         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
70087         (two_way_short_needle): Use it.
70088         * string/strstr.c (AVAILABLE1_USES_J): Define.
70089         * string/strcasestr.c: Likewise.
70091         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
70092         array references.
70093         * string/strcasestr.c (TOLOWER): Make side-effect safe.
70095         [BZ #11607]
70096         * NEWS: Add an entry.
70097         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
70098         define their defaults.
70099         (two_way_short_needle): Detect end-of-string on-the-fly.
70100         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
70101         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
70102         * string/bug-strcasestr1.c: New test.
70103         * string/Makefile: Run it.
70105 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
70107         [BZ #11607]
70108         * string/str-two-way.h (two_way_short_needle): Optimize matching of
70109         the first character.
70111 2012-08-21  Roland McGrath  <roland@hack.frob.com>
70113         * csu/elf-init.c (__libc_csu_irel): Function removed.
70114         * csu/libc-start.c (apply_irel): New function.
70115         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
70117 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
70119         * sysdeps/unix/sysv/linux/kernel-features.h
70120         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
70121         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
70122         <kernel-features.h>.
70123         [__NR_fadvise64_64]: Make code unconditional.
70124         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
70125         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
70126         !__NR_fadvise64_64)]: Likewise.
70127         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
70128         !__NR_fadvise64_64))]: Likewise.
70129         [__NR_fadvise64]: Make code unconditional.
70130         [!__NR_fadvise64]: Remove conditional code.
70131         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
70132         <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.
70137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
70138         not include <kernel-features.h>.
70139         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
70140         unconditional.
70141         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
70142         conditional code.
70143         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
70144         include <kernel-features.h>.
70145         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
70146         unconditional.
70147         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
70148         conditional code.
70150 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
70152         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
70153         slight instruction rearrangements per scrollpipe analysis.
70154         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
70156 2012-08-20  Roland McGrath  <roland@hack.frob.com>
70158         * manual/syslog.texi (syslog; vsyslog, closelog):
70159         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
70160         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
70162         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
70163         DSOCAPS to match condition on defining it.
70165 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
70167         * sysdeps/unix/sysv/linux/kernel-features.h
70168         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
70169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
70170         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
70171         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
70172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
70173         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
70174         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
70175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
70176         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
70177         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
70179         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
70180         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
70182         * sysdeps/unix/sysv/linux/kernel-features.h
70183         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
70184         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
70185         unconditional.
70186         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70187         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
70188         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
70189         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70190         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
70191         Make code unconditional.
70192         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70193         (__mmap64) [!__NR_mmap2]: Likewise.
70194         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
70195         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
70196         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70197         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
70198         [__NR_mmap2]: Make code unconditional.
70199         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70200         (__mmap64) [!__NR_mmap2]: Likewise.
70202 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70204         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
70206 2012-08-18  Andreas Jaeger  <aj@suse.de>
70208         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
70210 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
70212         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
70213         * include/unistd.h (__have_sock_cloexec): Likewise.
70214         (__have_pipe2): Likewise.
70215         (__have_dup3): Likewise.
70217 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
70219         [BZ #9685]
70220         * include/unistd.h (__have_pipe2): Change define into an extern int.
70221         (__have_dup3): Likewise.
70222         * socket/have_sock_cloexec.c: Include fcntl.h.
70223         (__have_pipe2): New variable.
70224         (__have_dup3): Likewise.
70226 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
70228         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
70230 2012-08-17  Marek Polacek  <polacek@redhat.com>
70232         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
70233         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
70235 2012-08-17  Roland McGrath  <roland@hack.frob.com>
70237         * configure.in: Add AC_SUBST for sysheaders.
70238         * configure: Regenerated.
70239         * config.make.in (sysheaders): New substituted variable.
70241         * sysdeps/unix/mkfifo.c: Moved ...
70242         * sysdeps/posix/mkfifo.c: ... here.
70243         * sysdeps/unix/mkfifoat.c: Moved ...
70244         * sysdeps/posix/mkfifoat.c: ... here.
70246         * sysdeps/unix/utime.c: Moved ...
70247         * sysdeps/posix/utime.c: ... here.
70249         * sysdeps/unix/time.c: Moved ...
70250         * sysdeps/posix/time.c: ... here.
70251         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
70252         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
70254         * sysdeps/unix/nice.c: Moved ...
70255         * sysdeps/posix/nice.c: ... here.
70257         * sysdeps/unix/alarm.c: Moved ...
70258         * sysdeps/posix/alarm.c: ... here.
70260         * intl/Makefile ($(codeset_mo)): Depend on the input file.
70262 2012-08-17  Jeff Law <law@redhat.com>
70264         * intl/Makefile (codeset_mo): New variable.
70265         ($(codeset_mo)): New target.
70266         (tst-codeset.out): Depend on that.  Remove explicit rule.
70267         (tst-gettext3.out, tst-gettext5.out): Likewise.
70268         (LOCPATH-ENV, tst-codeset-ENV): New variables.
70269         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
70270         * intl/tst-codeset.sh: Remove.
70271         * intl/tst-gettext3.sh: Likewise.
70272         * intl/tst-gettext5.sh: Likewise.
70274 2012-08-17  Roland McGrath  <roland@hack.frob.com>
70276         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
70277         * sysdeps/unix/syscalls.list: ... here.
70279         * sysdeps/posix/getaddrinfo.c
70280         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
70281         (gaiconf_init, gaiconf_reload): Use them.
70282         [!_STATBUF_ST_NSEC]
70283         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
70284         Define using time_t rather than struct timespec.
70286         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
70287         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
70288         Macros removed.
70289         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
70290         [!NO_THREADS].
70291         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
70292         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
70293         Likewise.
70295         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
70296         __libc_cleanup_push argument.
70298         * bits/param.h: New file.
70299         * misc/sys/param.h: New file.
70300         * include/sys/param.h: New file.
70301         * misc/Makefile (headers): Add bits/param.h.
70302         * sysdeps/generic/sys/param.h: File removed.
70303         * sysdeps/unix/sysv/linux/bits/param.h: New file.
70304         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
70305         * sysdeps/mach/hurd/bits/param.h: New file.
70306         * sysdeps/mach/hurd/sys/param.h: File removed.
70308         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
70309         last change.
70311         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
70312         [_IO_MTSAFE_IO].
70313         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
70314         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
70315         New macros.
70317         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
70318         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
70319         rather than -D_IO_MTSAFE_IO conditionally.
70320         * stdio-common/Makefile (CPPFLAGS): Likewise.
70321         * wcsmbs/Makefile (CPPFLAGS): Likewise.
70322         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
70323         Use $(libio-mtsafe).
70324         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
70325         of -D_IO_MTSAFE_IO.
70326         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
70327         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
70328         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
70329         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
70330         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
70331         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
70332         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
70333         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
70334         (CFLAGS-fread_u_chk.c): Likewise.
70335         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
70336         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
70337         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
70338         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
70339         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
70340         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
70341         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
70342         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
70343         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
70345         * libio/Makefile: Test [$(libc-reentrant) = yes]
70346         instead of [$(filter %REENTRANT, $(defines)) nonempty].
70348         * Makeconfig
70349         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
70350         * sysdeps/pthread/configure: File removed.
70351         * sysdeps/pthread/Makeconfig: New file.
70352         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
70353         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
70355 2012-08-16  Gary Benson  <gbenson@redhat.com>
70357         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
70358         unmapping the first object in a namespace.
70360 2012-08-16  Roland McGrath  <roland@hack.frob.com>
70362         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
70363         (__internal_setnetgrent): ... this.  Add internal_function to
70364         definition.  Add libc_hidden_def.
70365         (setnetgrent): Update caller.
70366         (internal_endnetgrent): Renamed to ...
70367         (__internal_endnetgrent): ... this.  Add internal_function to
70368         definition.  Add libc_hidden_def.
70369         (endnetgrent): Update caller.
70370         (internal_getnetgrent_r): Renamed to ...
70371         (__internal_getnetgrent_r): ... this.  Add internal_function to
70372         definition.  Add libc_hidden_def.
70373         (__getnetgrent_r): Update caller.
70374         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
70376 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
70378         * stdlib/longlong.h: Update from GCC.
70380 2012-08-16  Roland McGrath  <roland@hack.frob.com>
70382         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
70383         on _QL, which is set by umul_ppmm but never used.
70384         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
70385         variables, which are set by GMP macros but never used.
70386         * stdio-common/_itowa.c (_itowa): Likewise.
70387         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
70388         * stdlib/mod_1.c (mpn_mod_1): Likewise.
70390 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
70392         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
70393         struct La_sh_regs is not constant.
70394         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
70395         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
70396         and struct La_sparc64_regs are not constant.
70398 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
70400         * sysdeps/unix/sysv/linux/kernel-features.h
70401         (__ASSUME_POSIX_TIMERS): Remove.
70402         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
70403         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70404         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
70405         Make code unconditional.
70406         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70407         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
70408         Make code unconditional.
70409         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70410         * sysdeps/unix/sysv/linux/clock_nanosleep.c
70411         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
70412         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70413         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
70414         Make code unconditional.
70415         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70416         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
70417         (__libc_missing_posix_timers): Remove.
70419 2012-08-15  Roland McGrath  <roland@hack.frob.com>
70421         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
70422         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
70424         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
70426         * elf/dl-sym.c: Include <stdlib.h>.
70428         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
70429         constants, which avoids warnings in 32-bit builds.
70431         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
70432         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
70434         * misc/lseek.c: File moved to ...
70435         * io/lseek.c: ... here.
70437         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
70439         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
70440         shifting LEN more than 31 bits at once.
70442 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70444         [BZ #14195]
70445         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
70446         segmentation fault for a case of two empty input strings.
70447         * string/test-strncasecmp.c (check1): Renamed to...
70448         (bz12205): ...this.
70449         (bz14195): Add new testcase for two empty input strings and N > 0.
70450         (test_main): Call new testcase, adapt for renamed function.
70452 2012-08-15  Andreas Jaeger  <aj@suse.de>
70454         [BZ #14090]
70455         * crypt/md5test2.c: New test, based on test supplied by Serge
70456         Belyshev <belyshev@depni.sinp.msu.ru>.
70457         * crypt/Makefile (xtests): Add md5test-giant..
70458         * crypt/Makefile ($(objpfx)md5test-giant): Add.
70460 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
70462         [BZ #14090]
70463         * crypt/md5.c (md5_process_block): Don't assume the buffer
70464         length is less than 2**32.
70465         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
70466         length is less than 2**64.
70468 2012-08-15  Roland McGrath  <roland@hack.frob.com>
70470         * string/str-two-way.h: Include <sys/param.h>.
70471         (MAX): Macro removed.
70473         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
70474         Move #define and #undef of memmove to just before and after
70475         including <string.h>.
70477         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
70478         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
70479         and after including <string.h>.  Move declarations of
70480         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
70481         to before #include "string/memmove.c".
70483         * include/dirent.h: Declare __getdirentries.
70485         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
70486         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
70488 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
70490         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
70491         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
70492         * sysdeps/i386/configure: Regenerated.
70493         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
70494         STABS_CURRENT_FILE, and STABS_FUN.
70495         (END): Remove call to STABS_FUN_END.
70496         (STABS_CURRENT_FILE1): Delete.
70497         (STABS_CURRENT_FILE): Likewise.
70498         (STABS_FUN): Likewise.
70499         (STABS_FUN_END): Likewise.
70500         (STABS_FUN2): Likewise.
70501         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
70502         * sysdeps/x86_64/configure: Regenerated.
70504 2012-08-14  Roland McGrath  <roland@hack.frob.com>
70506         * elf/dl-open.c: Include <atomic.h>.
70507         * elf/dl-lookup.c: Likewise.
70509 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
70511         * sysdeps/unix/sysv/linux/kernel-features.h
70512         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
70513         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
70514         unconditionally.
70515         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
70516         unconditionally.
70517         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
70518         condition on __ASSUME_CLONE_THREAD_FLAGS.
70520 2012-08-14  Andreas Jaeger  <aj@suse.de>
70522         * sysdeps/i386/fpu/libm-test-ulps: Update.
70524 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
70526         * include/atomic.h (atomic_exchange_and_add): Split into ...
70527         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
70528         New atomic macros.
70530 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
70532         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70534 2012-08-13  Jeff Law <law@redhat.com>
70536         * manual/stdio.texi (snprintf): Clarify handling of the trailing
70537         null byte in the output string.
70539 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
70541         * sysdeps/unix/sysv/linux/kernel-features.h
70542         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
70543         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
70544         (__ASSUME_ARG_MAX_STACK_BASED): Define.
70545         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
70546         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
70547         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
70548         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
70550 2012-08-09  Jeff Law <law@redhat.com>
70552         [BZ #13939]
70553         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
70554         When avoid_arena is set, don't retry in the that arena.  Pick the
70555         next one, whatever it might be.
70556         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
70557         (arena_lock): Pass in new parameter to arena_get2.
70558         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
70559         arena_get2.
70560         (__libc_malloc): Unify retrying after main arena failure with
70561         __libc_memalign version.
70562         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
70564 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
70566         [BZ #14166]
70567         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
70568         to __redirect_strstr.
70569         (__strstr_sse42): Use typeof __redirect_strstr.
70570         (__strstr_ia32): Likewise.
70571         (__libc_strstr): New prototype.
70572         (strstr): Renamed to ...
70573         (__libc_strstr): This.
70574         (strstr): New strong alias of __libc_strstr.
70575         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
70576         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
70577         __redirect_time.
70578         Include <time.h>.
70579         (__libc_time): New prototype.
70580         (time_ifunc): Replace time with __libc_time.
70581         (time): New strong alias and hidden definition of __libc_time.
70582         (__GI_time): Remove strong alias.
70583         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
70584         Include <stddef.h>.
70585         (memmove): Redefined to __redirect_memmove.
70586         (__memmove_sse2): Use typeof __redirect_memmove.
70587         (__memmove_ssse3): Likewise.
70588         (__memmove_ssse3_back): Likewise.
70589         (__libc_memmove): New prototype.
70590         (memmove): Renamed to ...
70591         (__libc_memmove): This.
70592         (memmove): New strong alias of __libc_memmove.
70594 2012-08-08  Mark Salter  <msalter@redhat.com>
70596         * elf/elf.h
70597         (R_MN10300_TLS_GD): Define.
70598         (R_MN10300_TLS_LD): Likewise.
70599         (R_MN10300_TLS_LDO): Likewise.
70600         (R_MN10300_TLS_GOTIE): Likewise.
70601         (R_MN10300_TLS_IE): Likewise.
70602         (R_MN10300_TLS_LE): Likewise.
70603         (R_MN10300_TLS_DTPMOD): Likewise.
70604         (R_MN10300_TLS_DTPOFF): Likewise.
70605         (R_MN10300_TLS_TPOFF): Likewise.
70606         (R_MN10300_SYM_DIFF): Likewise.
70607         (R_MN10300_ALIGN): Likewise.
70608         (R_MN10300_NUM): Update.
70610 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
70612         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
70613         Remove.
70615 2012-08-08  Roland McGrath  <roland@hack.frob.com>
70617         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
70619         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
70620         sysdeps/unix -> sysdeps/posix move.
70621         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
70623 2012-08-07      Allan McRae     <allan@archlinux.org>
70625         [BZ #14303]
70626         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
70627         (SUNOS_CPP): Likewise.
70628         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
70629         not found.
70630         (open_input): Call CPP using execvp.
70632 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
70634         * sysdeps/unix/sysv/linux/kernel-features.h
70635         (__ASSUME_PROT_GROWSUPDOWN): Remove.
70636         (__ASSUME_NO_CLONE_DETACHED): Likewise.
70637         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
70638         (__ASSUME_WAITID_SYSCALL): Likewise.
70639         * sysdeps/unix/sysv/linux/dl-execstack.c
70640         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
70641         code unconditional.
70642         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
70643         conditional code.
70644         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
70645         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
70646         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
70647         code.
70648         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
70649         unconditional.
70650         [__ASSUME_WAITID_SYSCALL]: Likewise.
70651         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
70653 2012-08-07  Roland McGrath  <roland@hack.frob.com>
70655         * sysdeps/unix/closedir.c: Renamed to ...
70656         * sysdeps/posix/closedir.c: ... here.
70657         * sysdeps/unix/dirfd.c: Renamed to ...
70658         * sysdeps/posix/dirfd.c: ... here.
70659         * sysdeps/unix/dirstream.h: Renamed to ...
70660         * sysdeps/posix/dirstream.h: ... here.
70661         * sysdeps/unix/fdopendir.c: Renamed to ...
70662         * sysdeps/posix/fdopendir.c: ... here.
70663         * sysdeps/unix/opendir.c: Renamed to ...
70664         * sysdeps/posix/opendir.c: ... here.
70665         * sysdeps/unix/readdir.c: Renamed to ...
70666         * sysdeps/posix/readdir.c: ... here.
70667         * sysdeps/unix/readdir_r.c: Renamed to ...
70668         * sysdeps/posix/readdir_r.c: ... here.
70669         * sysdeps/unix/rewinddir.c: Renamed to ...
70670         * sysdeps/posix/rewinddir.c: ... here.
70671         * sysdeps/unix/seekdir.c: Renamed to ...
70672         * sysdeps/posix/seekdir.c: ... here.
70673         * sysdeps/unix/telldir.c: Renamed to ...
70674         * sysdeps/posix/telldir.c: ... here.
70675         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
70676         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
70677         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
70678         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
70680         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
70681         * bits/fcntl.h: ... here.
70683         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
70684         not 0.
70685         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
70686         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
70687         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
70688         (struct flock): Move l_start, l_len to the beginning.
70689         Use __pid_t for l_pid.
70690         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
70691         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
70692         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
70693         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
70694         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
70695         [__USE_LARGEFILE64] (struct flock64): New type.
70696         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
70698         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
70699         * bits/dirent.h: ... here.
70701         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
70702         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
70704 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
70706         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
70707         Change from 2.6.0 to 2.6.16.
70708         * sysdeps/unix/sysv/linux/configure: Regenerated.
70709         * sysdeps/unix/sysv/linux/kernel-features.h
70710         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
70711         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
70712         version.
70713         (__ASSUME_UTIMES): Likewise.
70714         (__ASSUME_CLONE_STOPPED): Remove.
70715         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
70716         architectures, not kernel version.
70717         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
70718         (__ASSUME_NO_CLONE_DETACHED): Likewise.
70719         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
70720         (__ASSUME_WAITID_SYSCALL): Likewise.
70721         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
70722         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
70723         * README: State 2.6.16 as minimum Linux kernel version.  Do not
70724         refer to older versions.
70726 2012-08-06  Roland McGrath  <roland@hack.frob.com>
70728         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
70729         Define alphasort64 as an alias.
70730         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
70731         Define versionsort64 as an alias.
70732         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
70733         Define scandir64 as an alias.
70734         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
70735         Define scandirat64 as an alias.
70736         * dirent/alphasort64.c (alphasort64):
70737         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
70738         * dirent/versionsort64.c: Likewise.
70739         * dirent/scandir64.c: Likewise.
70740         * dirent/scandirat64.c: Likewise.
70741         * sysdeps/wordsize-64/alphasort.c: File removed.
70742         * sysdeps/wordsize-64/alphasort64.c: File removed.
70743         * sysdeps/wordsize-64/scandir.c: File removed.
70744         * sysdeps/wordsize-64/scandir64.c: File removed.
70745         * sysdeps/wordsize-64/scandirat.c: File removed.
70746         * sysdeps/wordsize-64/scandirat64.c: File removed.
70747         * sysdeps/wordsize-64/versionsort.c: File removed.
70748         * sysdeps/wordsize-64/versionsort64.c: File removed.
70749         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
70750         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
70751         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
70752         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
70753         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
70754         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
70755         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
70756         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
70758         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
70759         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
70760         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
70761         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70762         [defined __arch64__ || defined __sparcv9]
70763         (__INO_T_MATCHES_INO64_T): New macro.
70764         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
70765         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
70766         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
70767         * sysdeps/unix/sysv/linux/bits/dirent.h
70768         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
70769         (_DIRENT_MATCHES_DIRENT64): New macro.
70771         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
70772         Define lockf64 as an alias.
70773         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
70774         Define fseeko64 as an alias.
70775         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
70776         Define ftello64 as an alias.
70777         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
70778         Define _IO_fgetpos64 and fgetpos64 as aliases.
70779         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
70780         Define _IO_fsetpos64 and fsetpos64 as aliases.
70781         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
70782         Conditionalize body on this.
70783         * libio/fseeko64.c: Likewise.
70784         * libio/ftello64.c: Likewise.
70785         * libio/iofgetpos64.c: Likewise.
70786         * libio/iofsetpos64.c: Likewise.
70787         * sysdeps/wordsize-64/lockf.c: File removed.
70788         * sysdeps/wordsize-64/lockf64.c: File removed.
70789         * sysdeps/wordsize-64/fseeko.c: File removed.
70790         * sysdeps/wordsize-64/fseeko64.c: File removed.
70791         * sysdeps/wordsize-64/ftello.c: File removed.
70792         * sysdeps/wordsize-64/ftello64.c: File removed.
70793         * sysdeps/wordsize-64/iofgetpos.c: File removed.
70794         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
70795         * sysdeps/wordsize-64/iofsetpos.c: File removed.
70796         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
70797         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
70798         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
70799         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
70800         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
70801         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
70802         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
70803         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
70804         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
70805         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
70806         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
70808         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
70809         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
70810         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
70811         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70812         [defined __arch64__ || defined __sparcv9]
70813         (__OFF_T_MATCHES_OFF64_T): New macro.
70814         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
70815         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
70816         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70817         (__OFF_T_MATCHES_OFF64_T): New macro.
70819 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
70821         * stdlib/secure-getenv.c (__secure_getenv): Replace
70822         GLIBC_2_16 with GLIBC_2_17.
70824 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
70826         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
70827         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
70829 2012-08-03  David S. Miller  <davem@davemloft.net>
70831         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70833 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
70835         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
70836         Remove.
70837         (__ASSUME_CORRECT_SI_PID): Likewise.
70838         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
70839         (__ASSUME_TMPFS_NAME): Likewise.
70840         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
70841         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
70842         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
70843         (HAVE_AUX_SECURE): Make definition unconditional.
70844         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
70845         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
70847 2012-08-03  Roland McGrath  <roland@hack.frob.com>
70849         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
70850         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
70851         * sysdeps/mach/hurd/eloop-threshold.h: New file.
70852         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
70853         __eloop_threshold instead of SYMLOOP_MAX.
70855         * sysdeps/generic/eloop-threshold.h: New file.
70856         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
70857         of MAXSYMLINKS.
70858         * elf/chroot_canon.c (chroot_canon): Likewise.
70860 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
70862         [BZ #13717]
70863         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
70864         Change to 2.6.0 everywhere.
70865         * sysdeps/unix/sysv/linux/configure: Regenerated.
70866         * sysdeps/unix/sysv/linux/kernel-features.h
70867         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
70868         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
70869         kernel versions.
70870         (__ASSUME_POSIX_TIMERS): Define unconditionally.
70871         (__ASSUME_FUTEX_REQUEUE): Remove.
70872         (__ASSUME_STATFS64): Define unconditionally.
70873         (__ASSUME_AT_SECURE): Likewise.
70874         (__ASSUME_CORRECT_SI_PID): Likewise.
70875         (__ASSUME_TGKILL): Define without depending on kernel version for
70876         i386.
70877         (__ASSUME_UTIMES): Likewise.
70878         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
70879         kernel version.
70880         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
70881         (__ASSUME_TMPFS_NAME): Likewise.
70882         * README: Update reference to Linux kernel versions.
70884 2012-08-02  Marek Polacek  <polacek@redhat.com>
70886         [BZ# 14150]
70887         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
70888         libc_cv_asm_type_prefix with %.
70889         * configure: Regenerated.
70890         * include/libc-symbols.h: Remove comment about
70891         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
70892         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
70893         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
70894         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
70895         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
70896         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
70897         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
70898         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
70899         * elf/tst-unique2mod1.c: Likewise.
70900         * elf/tst-unique1mod2.c: Likewise.
70901         * elf/tst-unique1mod1.c: Likewise.
70902         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
70903         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
70904         Replace ASM_TYPE_DIRECTIVE with .type.
70905         * sysdeps/s390/s390-64/sysdep.h: Likewise.
70906         * sysdeps/i386/sysdep.h: Likewise.
70907         * sysdeps/x86_64/sysdep.h: Likewise.
70908         * sysdeps/sh/sysdep.h: Likewise.
70909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
70910         Do not define ASM_TYPE_DIRECTIVE.
70911         * sysdeps/powerpc/sysdep.h: Likewise.
70912         * sysdeps/powerpc/powerpc32/sysdep.h:
70913         Replace ASM_TYPE_DIRECTIVE with .type.
70914         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
70915         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
70916         * sysdeps/i386/fpu/e_powf.S: Likewise.
70917         * sysdeps/i386/fpu/e_expl.S: Likewise.
70918         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
70919         * sysdeps/i386/fpu/e_acosh.S: Likewise.
70920         * sysdeps/i386/fpu/e_pow.S: Likewise.
70921         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
70922         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
70923         * sysdeps/i386/fpu/s_expm1.S: Likewise.
70924         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
70925         * sysdeps/i386/fpu/e_log2.S: Likewise.
70926         * sysdeps/i386/fpu/e_log2l.S: Likewise.
70927         * sysdeps/i386/fpu/e_scalb.S: Likewise.
70928         * sysdeps/i386/fpu/e_powl.S: Likewise.
70929         * sysdeps/i386/fpu/e_log10f.S: Likewise.
70930         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
70931         * sysdeps/i386/fpu/e_logl.S: Likewise.
70932         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
70933         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
70934         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
70935         * sysdeps/i386/fpu/e_log2f.S: Likewise.
70936         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
70937         * sysdeps/i386/fpu/e_log.S: Likewise.
70938         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
70939         * sysdeps/i386/fpu/e_logf.S: Likewise.
70940         * sysdeps/i386/fpu/e_log10l.S: Likewise.
70941         * sysdeps/i386/fpu/e_atanh.S: Likewise.
70942         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
70943         * sysdeps/i386/fpu/e_log10.S: Likewise.
70944         * sysdeps/i386/fpu/s_frexp.S: Likewise.
70945         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
70946         * sysdeps/i386/fpu/s_asinh.S: Likewise.
70947         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
70948         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
70949         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
70950         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
70951         * sysdeps/i386/i686/strtok.S: Likewise.
70952         * sysdeps/i386/i386-mcount.S: Likewise.
70953         * sysdeps/i386/strtok.S: Likewise.
70954         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
70955         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
70956         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
70957         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
70958         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
70959         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
70960         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
70961         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
70962         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
70963         * sysdeps/x86_64/_mcount.S: Likewise.
70964         * sysdeps/x86_64/strtok.S: Likewise.
70965         * sysdeps/sh/_mcount.S: Likewise.
70967 2012-08-01  Roland McGrath  <roland@hack.frob.com>
70969         * libio/iofopen.c: Include <fcntl.h>.
70970         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
70971         (_IO_fopen64, fopen64): Define as aliases.
70972         * libio/iofopen64.c: Include <fcntl.h>.
70973         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
70974         Conditionalize body on this.
70975         * sysdeps/wordsize-64/iofopen.c: File removed.
70976         * sysdeps/wordsize-64/iofopen64.c: File removed.
70978 2012-08-01  Marek Polacek  <polacek@redhat.com>
70980         * libc/Makeconfig: Use elf in place of binfmt-subdir.
70981         Use dlfcn directly instead of a variable.
70982         (binfmt-subdir): Do not define.
70983         (dlfcn): Likewise.
70985 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
70987         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
70988         Remove all definitions.
70989         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
70990         <kernel-features.h>.
70991         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
70992         (miss_F_GETOWN_EX): Remove all definitions.
70993         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
70994         macro definition.
70995         [!__ASSUME_FCNTL64]: Remove conditional code.
70996         [__ASSUME_FCNTL64]: Make code unconditional.
70997         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
70998         <kernel-features.h>.
70999         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
71000         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
71001         (lockf64) [__NR_fcntl64]: Make code unconditional.
71002         (lockf64) [__ASSUME_FCNTL64]: Likewise.
71004         * sysdeps/unix/sysv/linux/kernel-features.h
71005         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
71006         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
71007         Make code unconditional.
71008         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
71009         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
71010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
71011         [__NR_vfork]: Make code unconditional.
71012         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
71013         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
71014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
71015         [__NR_vfork]: Make code unconditional.
71016         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
71017         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
71019 2012-08-01  Roland McGrath  <roland@hack.frob.com>
71021         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
71022         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
71024         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
71025         Define mkstemp64 as an alias.
71026         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
71027         Define mkstemps64 as an alias.
71028         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
71029         Define mkostemp64 as an alias.
71030         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
71031         Define mkostemps64 as an alias.
71032         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
71033         Conditionalize body on this.
71034         * misc/mkostemp64.c: Likewise.
71035         * misc/mkostemps64.c: Likewise.
71036         * misc/mkstemps64.c: Likewise.
71037         * sysdeps/wordsize-64/mkstemp64.c: File removed.
71038         * sysdeps/wordsize-64/mkostemp64.c: File removed.
71039         * sysdeps/wordsize-64/mkostemp.c: File removed.
71040         * sysdeps/wordsize-64/mkstemp.c: File removed.
71041         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
71042         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
71043         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
71044         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
71046         [BZ #14138]
71047         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
71048         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
71049         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
71050         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
71052         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
71053         compat_symbol macros from <shlib-compat.h> rather than the underlying
71054         default_symbol_version and symbol_version macros, so that DEFAULT
71055         lines in shlib-versions are respected.
71056         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
71058 2012-08-01  Florian Weimer  <fweimer@redhat.com>
71060         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
71061         Declare with warn_unused_result.
71062         (setgid, setregid, setegid, setresgid): Likewise.
71063         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
71064         Likewise.
71065         * WUR-REPORT: Remove set*id functions.
71067 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
71069         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
71071 2012-07-31  Roland McGrath  <roland@hack.frob.com>
71073         [BZ #10191]
71074         * include/sys/socket.h (__libc_accept, __libc_accept4):
71075         Add attribute_hidden.
71076         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
71078         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
71079         use of PTR_MANGLE.
71080         * inet/getnetgrent_r.c (setup): Likewise.
71082         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
71084 2012-07-31  David S. Miller  <davem@davemloft.net>
71086         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71088 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
71090         [BZ #13629]
71091         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
71092         value between 1.0 and 2.0 and smaller part has absolute value less
71093         than 1.0.
71094         * math/s_clog10.c (__clog10): Likewise.
71095         * math/s_clog10f.c (__clog10f): Likewise.
71096         * math/s_clog10l.c (__clog10l): Likewise.
71097         * math/s_clogf.c (__clogf): Likewise.
71098         * math/s_clogl.c (__clogl): Likewise.
71099         * math/libm-test.inc (clog_test): Add more tests.
71100         (clog10_test): Likewise.
71101         * sysdeps/i386/fpu/libm-test-ulps: Update.
71102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71104 2012-07-31  Florian Weimer  <fweimer@redhat.com>
71106         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
71107         Exit with zero in case no suitable GID is found, and write a
71108         message to standard error.
71110 2012-07-30  Roland McGrath  <roland@hack.frob.com>
71112         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
71113         rather than to 1.
71114         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
71115         (MAXPATHLEN): Removed.
71116         (NOGROUP, NODEV): New macros.
71117         (setbit, clrbit, isset, isclr): New macros.
71118         (howmany, roundup, powerof2): New macros.
71119         (DEV_BSIZE): New macro.
71121         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
71122         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
71124         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
71125         definition on [!__NO_LONG_DOUBLE_MATH].
71127         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
71128         PTR_MANGLE and PTR_DEMANGLE.
71130         * socket/accept4.c (accept4): Rename to __libc_accept4.
71131         Define accept4 as a weak alias.
71133         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
71134         on [_DIRENT_HAVE_D_TYPE].
71135         * io/ftw.c (ftw_dir): Likewise.
71137         * io/xmknod.c (__xmknod): Don't check PATH for being null.
71139         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
71141         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
71142         Use the BSD numbers rather than the arbitrary ones we had.
71143         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
71144         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
71145         (SIGXCPU, SIGXFSZ): New macros.
71146         (_NSIG): Now 32.
71148         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
71149         initializer on [_LIBC_REENTRANT].
71151         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
71152         definitions inside [_POSIX_MAPPED_FILES].
71154         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
71156         * dirent/opendir.c: Include <fcntl.h>.
71158         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
71159         (__libc_getspecific): Likewise.
71160         (__libc_key_create): Likewise.
71162         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
71163         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
71164         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
71165         (tmpfile64): Define as alias.
71166         * sysdeps/wordsize-64/tmpfile.c: File removed.
71167         * sysdeps/wordsize-64/tmpfile64.c: File removed.
71168         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
71169         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
71171         * stdio-common/vfscanf.c: Include <stdbool.h>.
71172         * nss/makedb.c: Likewise.
71173         * stdio-common/_i18n_number.h: Likewise.
71174         * argp/argp-help.c: Likewise.
71175         * posix/wordexp.c: Likewise.
71176         * sysdeps/posix/spawni.c: Likewise.
71177         * nss/nss_files/files-initgroups.c: Likewise.
71178         * stdio-common/reg-modifier.c: Include <stdlib.h>.
71179         * nss/nss_files/files-initgroups.c: Likewise.
71180         * nss/nss_db/db-netgrp.c: Likewise.
71181         * nss/nss_db/db-initgroups.c: Likewise.
71182         * io/fchmodat.c: Include <sys/stat.h>.
71184         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
71185         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
71187         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
71188         [HAVE_MMAP].
71190         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
71191         Add multiple inclusion protection.
71193 2012-07-27  David S. Miller  <davem@davemloft.net>
71195         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71197 2012-07-27  Gary Benson  <gbenson@redhat.com>
71199         [BZ #14298]
71200         * elf/rtld.c: Include <stap-probe.h>.
71201         (dl_main): Added static probes "init_start" and "init_complete".
71202         * elf/dl-load.c: Include <stap-probe.h>.
71203         (lose): Take new parameter "nsid".
71204         Added static probe "map_failed".
71205         (_dl_map_object_from_fd): Pass namespace id to lose.
71206         Added static probe "map_start".
71207         (open_verify): Pass namespace id to lose.
71208         * elf/dl-open.c: Include <stap-probe.h>.
71209         (dl_open_worker) Added static probes "map_complete", "reloc_start"
71210         and "reloc_complete".
71211         * elf/dl-close.c: Include <stap-probe.h>.
71212         (_dl_close_worker): Added static probes "unmap_start" and
71213         "unmap_complete".
71214         * elf/rtld-debugger-interface.txt: New file documenting the above.
71216 2012-07-26  Roland McGrath  <roland@hack.frob.com>
71218         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
71219         rather than a string variable.
71220         * sunrpc/rpc_main.c (h_output): Likewise.
71221         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
71223 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
71225         * inet/check_native.c: New file.
71227 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
71229         [BZ #13629]
71230         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
71231         if larger part has absolute value 1.0.
71232         * math/s_clog10.c (__clog10): Likewise.
71233         * math/s_clog10f.c (__clog10f): Likewise.
71234         * math/s_clog10l.c (__clog10l): Likewise.
71235         * math/s_clogf.c (__clogf): Likewise.
71236         * math/s_clogl.c (__clogl): Likewise.
71237         * math/libm-test.inc (clog_test): Add more tests.
71238         (clog10_test): Likewise.
71239         * sysdeps/i386/fpu/libm-test-ulps: Update.
71240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71242         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
71243         (pltexit): Likewise.
71244         (La_regs): Likewise.
71245         (La_retval): Likewise.
71246         (int_retval): Likewise.
71247         Update #error for removed macros to refer only to definitions in
71248         tst-audit.h.
71249         * elf/tst-auditmod3b.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-auditmod4b.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-auditmod5b.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-auditmod6b.c (pltenter): Remove all definitions of
71268         macro.
71269         (pltexit): Likewise.
71270         (La_regs): Likewise.
71271         (La_retval): Likewise.
71272         (int_retval): Likewise.
71273         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
71274         macro.
71275         (pltexit): Likewise.
71276         (La_regs): Likewise.
71277         (La_retval): Likewise.
71278         (int_retval): Likewise.
71279         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
71280         macro.
71281         (pltexit): Likewise.
71282         (La_regs): Likewise.
71283         (La_retval): Likewise.
71284         (int_retval): Likewise.
71285         * sysdeps/generic/tst-audit.h: Update comment to refer only to
71286         macro definitions in tst-audit.h.
71287         * sysdeps/i386/tst-audit.h: New file.
71288         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
71289         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
71290         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
71291         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
71292         * sysdeps/sh/tst-audit.h: Likewise.
71293         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
71294         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
71295         * sysdeps/x86_64/tst-audit.h: Likewise.
71297 2012-07-26  Andreas Jaeger  <aj@suse.de>
71299         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
71300         ptrace.
71302         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
71303         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
71304         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
71305         PTRACE_O_MASK.
71306         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
71307         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
71308         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
71310         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
71311         value.
71313         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
71314         _sigsys.
71315         (si_call_addr, si_syscall, si_arch): Define new macro.
71316         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
71317         _sigsys.
71318         (si_call_addr, si_syscall, si_arch): Define new marcro.
71319         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
71320         _sigsys.
71321         (si_call_addr, si_syscall, si_arch): Define new macro.
71322         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
71323         _sigsys.
71324         (si_call_addr, si_syscall, si_arch): Define new macro.
71326 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
71328         [BZ #13717]
71329         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
71330         Change to 2.4.21 where previously 2.4.1.
71331         * sysdeps/unix/sysv/linux/configure: Regenerated.
71332         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
71333         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
71334         Linux kernel version.
71335         (__ASSUME_STD_AUXV): Remove.
71336         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
71337         kernel version.
71338         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
71339         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
71340         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
71341         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
71342         (__ASSUME_NETLINK_SUPPORT): Likewise.
71343         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
71344         (__no_netlink_support): Remove conditional definition.
71345         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
71346         Remove.
71347         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
71348         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
71349         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
71350         (if_nameindex_ioctl): Remove.
71351         (if_nameindex_netlink): Do not handle __no_netlink_support.
71352         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
71353         code.
71354         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
71355         Remove conditional code.
71356         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
71357         code.
71358         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
71359         unconditional.
71360         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
71361         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
71362         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
71363         Remove.
71364         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
71365         [!__ASSUME_STD_AUXV]: Remove conditional code.
71366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
71367         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
71368         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
71369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
71370         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
71371         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
71372         code.
71373         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
71374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
71375         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
71376         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
71377         conditional code.
71378         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
71379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
71380         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
71381         code.
71382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
71383         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
71384         conditional code.
71385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
71386         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
71387         code unconditional.
71388         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71389         conditional code.
71390         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
71391         unconditional.
71392         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71393         conditional code.
71394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
71395         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
71396         unconditional.
71397         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71398         conditional code.
71399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
71400         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
71401         code unconditional.
71402         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71403         conditional code.
71404         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
71405         unconditional.
71406         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71407         conditional code.
71408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
71409         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
71410         code unconditional.
71411         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71412         conditional code.
71413         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
71414         unconditional.
71415         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71416         conditional code.
71418 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
71420         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
71421         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
71422         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
71423         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
71424         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
71425         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
71426         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
71427         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
71428         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
71429         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
71430         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
71431         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
71432         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
71433         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
71434         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
71435         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
71436         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
71437         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
71438         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
71439         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
71440         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
71441         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
71442         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
71444 2012-07-25  Florian Weimer  <fweimer@redhat.com>
71446         * Versions.def: Add GLIBC_2.17.
71447         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
71448         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
71449         Introduce __libc_secure_getenv.
71450         * stdlib/Versions (2.17): Add secure_getenv
71451         (GLIBC_PRIVATE): Add __libc_secure_getenv.
71452         * stdlib/secure-getenv.c: Rename __secure_getenv to
71453         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
71454         symbol __secure_getenv for GLIBC_2.0.
71455         * stdlib/tst-secure-getenv.c: New.
71456         * stdlib/Makefile (tests): Add testcase.
71457         * manual/startup.texi (Environment Access): Document
71458         secure_getenv.
71459         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
71460         __libc_secure_getenv.
71461         * inet/ruserpass.c (ruserpass): Likewise.
71462         * malloc/mtrace.c (mtrace): Likewise.
71463         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
71464         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
71465         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
71466         * sysdeps/posix/tempname.c: Likewise.  Evaluate
71467         HAVE_SECURE_GETENV.
71468         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
71469         __secure_getenv to __libc_secure_getenv.
71470         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
71471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71472         Likewise.
71473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71474         Likewise.
71475         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
71476         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
71477         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
71478         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
71479         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
71480         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
71481         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
71483 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
71485         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
71486         (struct La_i86_retval): Likewise.
71487         (struct La_x86_64_regs): Likewise.
71488         (struct La_x86_64_retval): Likewise.
71489         (struct La_x32_regs): Likewise.
71490         (struct La_x32_retval): Likewise.
71491         (struct La_ppc32_regs): Likewise.
71492         (struct La_ppc32_retval): Likewise.
71493         (struct La_ppc64_regs): Likewise.
71494         (struct La_ppc64_retval): Likewise.
71495         (struct La_sh_regs): Likewise.
71496         (struct La_sh_retval): Likewise.
71497         (struct La_s390_32_regs): Likewise.
71498         (struct La_s390_32_retval): Likewise.
71499         (struct La_s390_64_regs): Likewise.
71500         (struct La_s390_64_retval): Likewise.
71501         (struct La_sparc32_regs): Likewise.
71502         (struct La_sparc32_retval): Likewise.
71503         (struct La_sparc64_regs): Likewise.
71504         (struct La_sparc64_retval): Likewise.
71505         (struct audit_ifaces): Remove architecture-specific pltenter and
71506         pltexit members.
71507         * sysdeps/i386/ldsodefs.h: New file.
71508         * sysdeps/powerpc/ldsodefs.h: Likewise.
71509         * sysdeps/s390/ldsodefs.h: Likewise.
71510         * sysdeps/sh/ldsodefs.h: Likewise.
71511         * sysdeps/sparc/ldsodefs.h: Likewise.
71512         * sysdeps/x86_64/ldsodefs.h: Likewise.
71514 2012-07-25  Marek Polacek  <polacek@redhat.com>
71516         [BZ #6808]
71517         * math/libm-test.inc (yn_test): Add another test.
71518         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
71519         to ERANGE when the result is +-Inf.
71520         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
71521         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
71522         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
71523         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
71525 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
71527         * conform/data/time.h-data (NULL): Use macro-constant.  Require
71528         equal to 0.
71529         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
71530         clock_t.
71531         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
71533 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
71535         * configure.in <sysdeps resolving>: Correct printing
71536         Implies_before.
71537         * configure: Regenerate.
71539 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
71541         * math/w_ilogb.c: Include <limits.h>.
71542         * math/w_ilogbl.c: Likewise.
71544 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
71546         * manual/lang.texi (__va_copy): Document primarily as ISO C99
71547         va_copy.  Document allowing for unavailable va_copy only as
71548         pre-C99 compatibility.
71549         * manual/string.texi (Copying and Concatenation): Use va_copy
71550         instead of __va_copy in concat example.
71552 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
71554         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
71555         (__sendto): Use create_address_port.  Initialize APORT and deallocate
71556         it if not null.
71558         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
71559         with O_NOLINK passed to __file_name_lookup.
71561         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
71562         with O_NOLINK passed to __file_name_lookup.
71564         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
71565         negative N or less than NGIDS.
71567         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
71568         type to string_t.  Set ERANGE as errno and return it if NAME is not big
71569         enough.  Use memcpy instead of strncpy.
71571 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
71573         * elf/Makefile (check-data): Remove.
71574         (localplt.data): New vpath directive.
71575         ($(objpfx)check-localplt.out): Use localplt.data from vpath
71576         instead of $(check-data).
71577         * scripts/data/localplt-generic.data: Move to ...
71578         * sysdeps/generic/localplt.data: ... here.
71579         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
71580         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
71581         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
71582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
71583         ... here.
71584         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
71585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
71586         ... here.
71587         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
71588         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
71589         ... here.
71590         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
71591         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
71592         ... here.
71593         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
71594         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
71595         ... here.
71596         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
71597         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
71598         ... here.
71600 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71602         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
71603         PPC32 and PPC64 files.
71604         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
71605         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
71607 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71609         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
71610         __makecontext_ret to ...
71611         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
71612         ... here and call exit if uc_link is NULL.  New file.
71613         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
71614         __makecontext_ret.S.
71615         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
71616         __makecontext_ret to ...
71617         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
71618         ... here and call exit if uc_link is NULL.  New file.
71619         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
71620         __makecontext_ret.S.
71622 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71624         * elf/elf.h (R_390_IRELATIVE): New definition.
71625         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
71626         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
71627         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
71628         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
71629         (elf_machine_lazy_rel): Likewise.
71630         * sysdeps/s390/dl-irel.h: New file.
71631         * sysdeps/s390/s390-64/memcpy.S: New asm code.
71632         * sysdeps/s390/s390-64/memset.S: New asm code.
71633         * sysdeps/s390/s390-64/memcmp.S: New asm code.
71634         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
71635         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
71636         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
71637         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
71638         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
71639         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
71640         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
71641         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
71642         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
71643         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
71644         * sysdeps/s390/s390-32/memcpy.S: New asm code.
71645         * sysdeps/s390/s390-32/memset.S: New asm code.
71646         * sysdeps/s390/s390-32/memcmp.S: New asm code.
71648 2012-07-17  Marek Polacek  <polacek@redhat.com>
71650         [BZ #14349]
71651         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
71652         * sysdeps/s390/s390-64/configure.in: Likewise.
71653         * sysdeps/sparc/configure.in: Likewise.
71654         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
71655         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
71656         * sysdeps/i386/configure.in: Likewise.
71657         * sysdeps/x86_64/configure.in: Likewise.
71658         * sysdeps/sh/configure.in: Likewise.
71659         * sysdeps/s390/s390-32/configure: Regenerated.
71660         * sysdeps/s390/s390-64/configure: Likewise.
71661         * sysdeps/x86_64/configure: Likewise.
71662         * sysdeps/sh/configure: Likewise.
71663         * sysdeps/powerpc/powerpc64/configure: Likewise.
71664         * sysdeps/powerpc/powerpc32/configure: Likewise.
71665         * sysdeps/sparc/configure: Likewise.
71666         * sysdeps/i386/configure: Likewise.
71668         * elf/dl-open.c: Comment fixes.
71670 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
71672         * Makefile [CXX] (check-data): Remove.
71673         [CXX] (c++-types.data): New vpath directive.
71674         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
71675         vpath.  Do not allow for C++ type data being missing.
71676         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
71677         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
71678         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
71679         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
71680         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
71681         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
71682         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
71683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
71684         ... here.
71685         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
71686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
71687         ... here.
71688         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
71689         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
71690         ... here.
71691         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
71692         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
71693         ... here.
71694         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
71695         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
71696         ... here.
71697         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
71698         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
71699         ... here.
71700         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
71701         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
71702         ... here.
71703         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
71704         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
71706         * elf/tls-macros.h (TLS_LE): Move architecture-specific
71707         definitions to architecture-specific files.
71708         (TLS_IE): Likewise.
71709         (TLS_LD): Likewise.
71710         (TLS_GD): Likewise.
71711         * sysdeps/i386/tls-macros.h: New file.
71712         * sysdeps/powerpc/tls-macros.h: Likewise.
71713         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
71714         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
71715         * sysdeps/sh/tls-macros.h: Likewise.
71716         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
71717         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
71718         * sysdeps/x86_64/tls-macros.h: Likewise.
71720 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
71722         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
71723         zero value for regular exit case.
71725         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
71726         (__start_context): Preserve zero value for regular exit case.
71728 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
71729             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71731         * manual/setjmp.texi (setcontext): Clarify normal process
71732         termination when uc_link is the null pointer.
71733         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
71734         exit call.
71736 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
71738         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
71739         preprocessor.  Test for each exception mask separately.
71741 2012-07-16  Andreas Jaeger  <aj@suse.de>
71743         * po/ru.po: Update from translation team.
71745 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
71747         * conform/data/string.h-data (NULL): Use macro-constant.  Require
71748         equal to 0.
71749         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
71750         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
71751         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
71752         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
71753         [ISO || ISO99 || ISO11] (*_t): Do not allow.
71755 2012-07-13  Andreas Jaeger  <aj@suse.de>
71757         * po/fr.po: Update from translation team.
71759 2012-07-12  Marek Polacek  <polacek@redhat.com>
71761         [BZ #14173]
71762         * math/libm-test.inc (yn_test): Add test for BZ #14173.
71763         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
71764         loop condition.
71766 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
71768         [BZ #13717]
71769         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
71770         Change to 2.4.1 where previously 2.4.0.
71771         * sysdeps/unix/sysv/linux/configure: Regenerated.
71772         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
71773         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
71774         version.
71775         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
71776         (__ASSUME_AT_CLKTCK): Remove.
71777         (__ASSUME_AT_PAGESIZE): Likewise.
71778         (__ASSUME_AT_XID): Likewise.
71779         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
71780         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
71781         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
71782         unconditionally.
71783         (HAVE_AUX_PAGESIZE): Likewise.
71784         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
71785         [__ASSUME_AT_CLKTCK]: Make code unconditional.
71786         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
71788 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
71790         [BZ #14307]
71791         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
71792         the temporary buffer used to invoke __gethostbyname2_r,
71793         __gethostbyaddr_r and gethostbyname4_r to make room for struct
71794         host_data / struct gaih_addrtuple.
71795         * resolv/nss_dns/dns-host.c (global scope): Move definition of
71796         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
71797         header file nss/nsswitch.h.
71798         * nss/nsswitch.h (global scope): Add definition of implementation
71799         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
71800         resolv/nss_dns/dns-host.c).
71802 2012-07-11  Andreas Jaeger  <aj@suse.de>
71804         * po/fr.po: Update from translation team.
71806         * po/sv.po: Update from translation team
71807         * po/fr.po: Another update from translation team.
71809 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71811         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
71812         for subnormals or multiply small sinh result by itself.
71813         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
71814         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71816 2012-07-11  David S. Miller  <davem@davemloft.net>
71818         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71820 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
71822         [BZ #14347]
71823         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
71824         (INTERNAL_MARK): Shift it here.
71826 2012-07-10  Marek Polacek  <polacek@redhat.com>
71828         [BZ #14151]
71829         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
71830         libc_cv_asm_global_directive with .globl.
71831         * configure: Regenerated.
71832         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
71833         with .globl.
71834         * sysdeps/i386/configure: Regenerated.
71835         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
71836         with .globl.
71837         * sysdeps/x86_64/configure: Regenerated.
71838         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
71839         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
71840         * elf/tst-unique2mod2.c: Likewise.
71841         * elf/tst-unique2mod1.c: Likewise.
71842         * elf/tst-unique1mod2.c: Likewise.
71843         * elf/tst-unique1mod1.c: Likewise.
71844         * sysdeps/s390/s390-32/sysdep.h: Likewise.
71845         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
71846         * sysdeps/s390/s390-64/sysdep.h: Likewise.
71847         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
71848         * sysdeps/mach/sysdep.h: Likewise.
71849         * sysdeps/i386/sysdep.h: Likewise.
71850         * sysdeps/i386/i386-mcount.S: Likewise.
71851         * sysdeps/x86_64/_mcount.S: Likewise.
71852         * sysdeps/x86_64/sysdep.h: Likewise.
71853         * sysdeps/sh/_mcount.S: Likewise.
71854         * sysdeps/sh/sysdep.h: Likewise.
71855         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
71856         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
71857         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
71858         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
71859         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
71860         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
71861         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
71862         * locale/localeinfo.h: Likewise.
71863         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
71864         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
71866 2012-07-09  Roland McGrath  <roland@hack.frob.com>
71868         [BZ #14336]
71869         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
71870         system".
71871         * manual/message.texi (The Uniforum approach): Likewise.
71872         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
71873         (glibc iconv Implementation): Likewise.
71875 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
71877         [BZ #14337]
71878         * math/s_clog.c (__clog): Avoid scaling a value down where that
71879         could result in underflow.
71880         * math/s_clog10.c (__clog10): Likewise.
71881         * math/s_clog10f.c (__clog10f): Likewise.
71882         * math/s_clog10l.c (__clog10l): Likewise.
71883         * math/s_clogf.c (__clogf): Likewise.
71884         * math/s_clogl.c (__clogl): Likewise.
71885         * math/libm-test.inc (clog_test): Add more tests.
71886         (clog10_test): Likewise.
71887         * sysdeps/i386/fpu/libm-test-ulps: Update.
71888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71890 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
71892         [BZ #14283]
71893         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
71894         by 7 not 8 to examine high bit of fractional part.
71896         [BZ #14042]
71897         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
71898         for call to __mcount_internal.
71899         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
71900         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
71901         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
71903 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
71905         [BZ #14154]
71906         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
71907         approximation for values within 0x1p-13f of an odd multiple of
71908         pi/4.
71909         * math/libm-test.inc (tan_test): Do not allow spurious underflow
71910         exception.  Add more tests.
71911         * sysdeps/i386/fpu/libm-test-ulps: Update.
71913         [BZ #6778]
71914         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
71915         inputs and return -1 for them.  Do not check for +Inf in case not
71916         reachable for +Inf.
71917         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
71918         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
71919         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
71920         and return -1 for them.  Do not check for +Inf in case not
71921         reachable for +Inf.
71922         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
71923         define.
71924         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
71925         and return -1 for them.  Do not check for +Inf in case not
71926         reachable for +Inf.
71927         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
71928         spurious underflow.
71929         * sysdeps/i386/fpu/libm-test-ulps: Update.
71930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71932 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
71934         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
71936 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
71938         [BZ #14157]
71939         [BZ #14331]
71940         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
71941         could result in spurious underflow.  Scale down values above
71942         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
71943         * math/s_csqrtf.c (__csqrtf): Likewise.
71944         * math/s_csqrtl.c (__csqrtl): Likewise.
71945         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
71946         spurious underflow.
71947         * sysdeps/i386/fpu/libm-test-ulps: Update.
71948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71950 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
71952         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
71953         xopen-msg.sed.
71954         * catgets/xopen-msg.awk: New file.
71955         * catgets/xopen-msg.sed: Removed.
71957         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
71958         po2text.sed.
71959         * intl/po2test.awk: New file.
71960         * intl/po2test.sed: Removed.
71962 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
71964         [BZ #14328]
71965         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
71966         or multiply small sinh result by itself.
71967         * math/s_ctanf.c (__ctanf): Likewise.
71968         * math/s_ctanh.c (__ctanh): Likewise.
71969         * math/s_ctanhf.c (__ctanhf): Likewise.
71970         * math/s_ctanhl.c (__ctanhl): Likewise.
71971         * math/s_ctanl.c (__ctanl): Likewise.
71972         * math/libm-test.inc (ctan_test_tonearest): New function.
71973         (ctan_test_towardzero): Likewise.
71974         (ctan_test_downward): Likewise.
71975         (ctan_test_upward): Likewise.
71976         (ctanh_test_tonearest): Likewise.
71977         (ctanh_test_towardzero): Likewise.
71978         (ctanh_test_downward): Likewise.
71979         (ctanh_test_upward): Likewise.
71980         (main): Call these new functions.
71981         * sysdeps/i386/fpu/libm-test-ulps: Update.
71982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71984 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
71986         * .gitignore: Delete /ports entry.
71988 2012-07-03  Andreas Jaeger  <aj@suse.de>
71990         * po/bg.po: Update from translation team.
71991         * po/cs.po: Likewise.
71992         * po/de.po: Likewise.
71993         * po/hr.po: Likewise.
71994         * po/nl.pl: Likewise.
71995         * po/pl.po: Likewise.
71996         * po/vi.po: Likewise.
71998 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
72000         * Makeconfig [!+link] (+link-before-libc): New variable.
72001         [!+link] (+link-after-libc): Likewise.
72002         [!+link] (+link-tests): Likewise.
72003         [!+link] (+link): Define in terms of $(+link-before-libc) and
72004         $(+link-after-libc).
72005         [!+link-static] (+link-static-before-libc): New variable.
72006         [!+link-static] (+link-static-after-libc): Likewise.
72007         [!+link-static] (+link-static-tests): Likewise.
72008         [!+link-static] (+link-static): Define in terms of
72009         $(+link-static-before-libc) and $(+link-static-after-libc).
72010         [build-shared] (link-libc-before-gnulib): New variable.
72011         [build-shared] (link-libc-tests): Likewise.
72012         [build-shared] (link-libc): Define in terms of
72013         $(link-libc-before-gnulib).
72014         [!build-shared] (link-libc-tests): New variable.
72015         (link-libc-static-tests): New variable.
72016         [!gnulib] (gnulib-arch): New variable.
72017         [!gnulib] (gnulib-tests): Likewise.
72018         [!gnulib] (static-gnulib-arch): Likewise.
72019         [!gnulib] (static-gnulib-tests): Likewise.
72020         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
72021         Define with "=" instead of ":=".
72022         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
72023         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
72024         * Rules (binaries-all-notests): New variable.
72025         (binaries-all-tests): Likewise.
72026         (binaries-static-notests): Likewise.
72027         (binaries-static-tests): Likewise.
72028         (binaries-all): Define using $(binaries-all-notests) and
72029         $(binaries-all-tests).
72030         (binaries-static): Define using $(binaries-static-notests) and
72031         $(binaries-static-tests).
72032         (binaries-shared-tests): New variable.
72033         (binaries-shared-notests): Likewise.
72034         (binaries-shared): Remove variable.
72035         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
72036         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
72037         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
72038         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
72039         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
72040         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
72041         * elf/Makefile (sln-modules): New variable.
72042         (extra-objs): Add $(sln-modules:=.o).
72043         (ldconfig-modules): Add static-stubs.
72044         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
72045         * elf/static-stubs.c: New file.
72047         [BZ #14283]
72048         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
72049         by 7 not 8 to examine high bit of fractional part.  Use volatile
72050         variables when splitting into final array of floats if
72051         __FLT_EVAL_METHOD__ != 0.
72052         * math/libm-test.inc (cos_test): Add another test.
72053         (sin_test): Likewise.
72054         * sysdeps/i386/fpu/libm-test-ulps: Update.
72056         [BZ #14273]
72057         * math/libm-test.inc (cosh_test): Add more tests.
72059         * version.h (RELEASE): Set to "development".
72060         (VERSION): Set to "2.16.90".
72062 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
72064         * NEWS: Update copyright. Remove last-updated date.
72065         Mention math library bug fixes and timezone data changes.
72066         * README: Mention GNU/Hurd, x32, and HPPA support status.
72068 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
72070         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
72072 2012-06-27  Andreas Jaeger  <aj@suse.de>
72074         * manual/contrib.texi (Contributors): Add Samuel Thibault.
72076 2012-06-25  Andreas Jaeger  <aj@suse.de>
72078         * sysdeps/s390/fpu/libm-test-ulps: Update.
72080 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
72081             Thomas Schwinge  <thomas@codesourcery.com>
72083         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
72084         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
72085         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
72086         fanotify_mark.
72088 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
72090         * sysdeps/mach/start.c: Remove file.
72091         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
72092         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
72093         * sysdeps/sh/init-first.c: Likewise.
72095         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
72096         registers for frame unwinding purposes, add CFI directives.
72097         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
72098         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
72099         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
72100         Likewise.
72102         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
72103         __fortify_fail returning.
72104         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
72106         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
72107         sysdeps/sh/____longjmp_chk.S.
72108         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
72109         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
72110         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
72111         (gen-as-const-headers): Append sigaltstack-offsets.sym.
72113         * sysdeps/sh/abort-instr.h: New file.
72114         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
72115         process in case exit returns.
72117         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
72118         initialize the GOT register before use.
72120         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
72121         calculation of ARGC > 4.
72123         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
72124         meaningful names to some local labels.
72126 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72127             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
72129         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
72130         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
72131         (__arch_compare_and_exchange_val_16_acq): Likewise.
72132         (__arch_compare_and_exchange_val_32_acq): Likewise.
72133         (atomic_exchange_and_add): Fix gUSA sequence.
72134         (atomic_add): Likewise.
72135         (atomic_add_negative): Likewise.
72136         (atomic_add_zero): Likewise.
72137         (atomic_bit_test_set): Likewise.
72139 2012-06-22  Andreas Schwab  <schwab@redhat.com>
72141         [BZ #13579]
72142         * include/link.h (struct link_map): Add l_free_initfini.
72143         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
72144         l_initfini.
72145         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
72146         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
72147         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
72148         set.
72150 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
72152         * configure.in: Use AC_LANG_SOURCE.
72153         * configure: Regenerate.
72155 2012-06-22  Roland McGrath  <roland@hack.frob.com>
72157         * configure.in (libc_cv_localstatedir): New substituted variable.
72158         * configure: Regenerated.
72159         * config.make.in (localstatedir): New variable, substituted from
72160         libc_cv_localstatedir.
72161         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
72162         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
72163         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
72164         * sysdeps/gnu/configure: Regenerated.
72166 2012-06-21  Jeff Law  <law@redhat.com>
72168         [BZ #14277]
72169         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
72170         free.  Simplify list management for _LIBC case.
72172 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
72174         [BZ #14273]
72175         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
72176         Clear sign bit of 64-bit integer value before comparing against
72177         overflow value.
72179         * sysdeps/mach/configure: Regenerated.
72181 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
72183         [BZ #14278]
72184         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
72186 2012-06-21  Jeff Law  <law@redhat.com>
72188         [BZ #13882]
72189         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
72190         uint16_t for elements in the "seen" array to avoid char overflows.
72191         * elf/dl-fini.c (_dl_sort_fini): Likewise.
72192         * elf/dl-open.c (dl_open_worker): Likewise.
72194 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
72196         * scripts/list-sources.sh: Scan PORTS for translations.
72197         * po/libc.pot: Regenerated.
72199 2012-06-21  Andreas Jaeger  <aj@suse.de>
72201         [BZ #12194]
72202         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
72203         warning.
72204         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
72205         * bits/byteswap-16.h (__bswap_16): Likewise.
72206         * bits/byteswap.h (__bswap_constant_16): Likewise.
72208 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
72210         [BZ #14117]
72211         * sysdeps/i386/fpu_control.h: Removed.
72212         * sysdeps/x86_64/fpu_control.h: Moved to ...
72213         * sysdeps/x86/fpu_control.h: Here.
72215         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
72216         (_FPU_SETCW): Likewise.
72218 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
72220         [BZ #14117]
72221         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
72222         * sysdeps/x86/fpu/bits/mathinline.h: This.
72223         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
72225         [BZ #14050]
72226         [BZ #14117]
72227         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
72228         functions if __x86_64__ is defined.
72230 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
72232         * string/endian.h: Add !__ASSEMBLER__ condition for including
72233         conversion interfaces.
72235 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
72237         [BZ #14241]
72238         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
72239         of ABS(x) in calculating zero to negative powers other than odd
72240         integers.
72241         * math/libm-test.inc (pow_test): Add more tests.
72243 2012-06-15  Andreas Jaeger  <aj@suse.de>
72245         * manual/contrib.texi (Contributors): Update entry of Liubov
72246         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
72247         Machado Filho.
72249 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
72251         * string/string.h: Add __wur to GNU version of strerror_r.
72253 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
72255         [BZ #14229]
72256         * string/Makefile (tests): Add tst-strtok_r.
72257         * string/tst-strtok_r.c: New file.
72258         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
72259         RAX_LP/RDX_LP on SAVE_PTR.
72261 2012-06-14  Roland McGrath  <roland@hack.frob.com>
72263         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
72265 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
72267         * libm_test.inc (csqrt_test): Allow more spurious underflow
72268         exceptions.
72269         (j0_test): Likewise.
72270         (j1_test): Likewise.
72271         (y0_test): Likewise.
72272         (y1_test): Likewise.
72274 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
72276         * po/Makefile (libc.pot): Use UTF-8 charset.
72278 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
72280         [BZ #14210]
72281         Suppress sign-conversion warning from FD_SET.
72282         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
72283         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
72284         not unsigned long int.
72285         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
72287 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
72289         [BZ #14050]
72290         [BZ #14117]
72291         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
72292         __extern_always_inline instead of __extern_inline.
72293         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
72294         (__signbit): Likewise.
72295         (__signbitl): Support C++ namespace.
72296         (lrintf): New inline function.
72297         (lrint): Likewise.
72298         (llrintf): Likewise.
72299         (llrint): Likewise.
72300         (fmaxf): Likewise.
72301         (fmax): Likewise.
72302         (fminf): Likewise.
72303         (fmin): Likewise.
72304         (rint): Likewise.
72305         (rintf): Likewise.
72306         (ceil): Likewise.
72307         (ceilf): Likewise.
72308         (floor): Likewise.
72309         (floorf): Likewise.
72310         (nearbyint): Likewise.
72311         (nearbyintf): Likewise.
72313 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
72315         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
72316         non-default versions.
72318 2012-06-11  Roland McGrath  <roland@hack.frob.com>
72320         [BZ #14218]
72321         * manual/argp.texi (Argp): Reword argp_parse description slightly.
72323 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
72325         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
72326         (FE_UPWARD, FE_DOWNWARD): Don't define.
72327         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
72328         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
72330         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
72331         reading it.
72332         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
72333         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
72335 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
72337         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
72338         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
72339         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
72340         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
72342 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
72344         [BZ #14117]
72345         * sysdeps/i386/fpu/bits/fenv.h: Removed.
72346         * sysdeps/i386/fpu/Implies: New file.
72347         * sysdeps/x86_64/fpu/Implies: Likewise.
72348         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
72349         * sysdeps/x86/fpu/bits/fenv.h: This.
72351         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
72352         __SSE_MATH__.
72354 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
72356         [BZ #14134]
72357         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
72358         character 0xffff that matches the last element of the
72359         conversion table.
72361 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72363         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
72364         fmodl commit.
72366 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72368         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
72369         values higher than 25.6283.
72371 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72373         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
72374         subnormal exponent extraction and add some __builtin_expect.
72375         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
72376         Fix for subnormal mantissa calculation.
72378 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
72380         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
72381         cpu2 is -1 and errno is not ENOSYS.
72383 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
72385         [BZ #14117]
72386         * sysdeps/i386/i486/bits/string.h: Renamed to ...
72387         * sysdeps/x86/bits/string.h: This.
72388         * sysdeps/x86_64/bits/string.h: Removed.
72390         * sysdeps/i386/i486/bits/string.h: Define inline functions only
72391         if not compiling for x86-64, but compiling for >= i486.
72393         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
72394         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
72396         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
72397         New macro from Linux kernel 3.4.0.
72398         (FP_XSTATE_MAGIC2): Likewise.
72399         (FP_XSTATE_MAGIC2_SIZE): Likewise.
72400         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
72401         (struct _fpx_sw_bytes): New struct.
72402         (struct _xsave_hdr): Likewise.
72403         (struct _ymmh_state): Likewise.
72404         (struct _xstate): Likewise.
72406         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
72407         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
72408         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
72409         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
72410         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
72411         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
72413         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
72414         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
72415         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
72416         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
72417         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
72418         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
72420 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72422         [BZ #13743]
72423         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
72424         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
72425         (sysdep_headers): Include sys/platform/ppc.h.
72426         * sysdeps/powerpc/test-gettimebase.c: Test for
72427         __ppc_get_timebase() to catch future ISA opcode/insn changes.
72428         * manual/Makefile (appendices): Include platform.texi.
72429         * manual/contrib.texi (Contributors): Update @node pointers.
72430         * manual/maint.texi (Maintenance): Likewise.
72431         (Platform): New node.
72432         * manual/platform.texi: New file.  Document the new features.
72434 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
72435             Jakub Jelinek  <jakub@redhat.com>
72437         [BZ #14188]
72438         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
72439         where __builtin_expect is unavailable.
72441 2012-06-03  David S. Miller  <davem@davemloft.net>
72443         * stdlib/longlong.h: Updated from GCC.
72445 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
72447         [BZ #14042]
72448         * sysdeps/powerpc/powerpc32/mcount.c: New file.
72449         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
72450         __mcount_internal.
72451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
72452         (GLIBC_2.16): Likewise.
72454 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
72456         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
72458 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
72460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
72461         (default-abi): New variable.
72462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
72463         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
72464         variable.
72465         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
72466         Likewise.
72467         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
72468         Likewise.
72469         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
72470         Likewise.
72472         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
72473         definition.  Document in comment.
72475 2012-06-01  David S. Miller  <davem@davemloft.net>
72477         * stdlib/longlong.h: Updated from GCC.
72479 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
72481         [BZ #14117]
72482         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
72483         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
72484         sys/debugreg.h sys/io.h here.
72485         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
72486         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
72487         sys/io.h.
72488         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
72489         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
72490         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
72491         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
72492         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
72493         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
72495         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
72496         Define only if __x86_64__ is defined.
72498 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
72500         [BZ #14048]
72501         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
72502         Use int64_t for variable i.
72503         * math/libm-test.inc (fmod_test): Add more tests.
72505         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
72506         z computation is not scheduled after fetestexcept.
72507         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
72508         Use math_force_eval instead of asm to ensure calculation scheduled
72509         before exception test.
72510         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
72511         Ensure a1 + u.d computation is not scheduled after fetestexcept.
72513 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
72515         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
72516         computation is not scheduled after fetestexcept.
72518 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
72520         [BZ #14117]
72521         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
72522         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
72524 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72526         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
72527         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
72529 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
72531         [BZ #14117]
72532         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
72533         <bits/wordsize.h>.
72534         (__WCHAR_MIN): Support __WORDSIZE == 64.
72535         (__WCHAR_MAX): Likewise.
72537         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
72538         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
72540         [BZ #14183]
72541         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
72542         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
72544         [BZ #14117]
72545         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
72546         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
72548         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
72549         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
72551         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
72552         Defined to 1 if __x86_64__ isn't defined.
72553         (_STAT_VER_LINUX_OLD): New.
72554         (st_atime): Remove duplicate.
72555         (st_mtime): Likewise.
72556         (st_ctime): Likewise.
72558 2012-05-31  David S. Miller  <davem@davemloft.net>
72560         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
72561         entries.
72563 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
72565         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
72566         gen-libm-test.pl.
72568         [BZ #14132]
72569         * elf/dl-reloc.c: Include <_itoa.h>.
72570         (_dl_reloc_bad_type): Remove use of INTUSE.
72571         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
72572         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
72573         * stdio-common/psiginfo.c (psiginfo): Likewise.
72574         * stdio-common/psignal.c (psignal): Likewise.
72575         * string/strsignal.c (strsignal): Likewise.
72576         * include/signal.h (_sys_siglist): Declare hidden proto.
72577         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
72578         INTVARDEF with libc_hidden_data_def.
72579         * stdio-common/itoa-udigits.c: Likewise.
72580         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
72581         (_itoa_lower_digits_internal): Remove declaration.
72582         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
72583         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
72584         (_sys_sigabbrev_internal): Remove aliases.
72585         (_sys_siglist): Define hidden alias.
72587 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
72589         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72590         bits/sysctl.h.
72592 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
72594         [BZ #14117]
72595         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
72596         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
72598         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
72599         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
72600         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
72601         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
72602         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
72603         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
72605         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
72606         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
72607         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
72609         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
72610         with __addr.
72611         (insw): Likewise.
72612         (insl): Likewise.
72613         (outsb): Likewise.
72614         (outsw): Likewise.
72615         (outsl): Likewise.
72617         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
72618         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
72619         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
72621         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
72622         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
72623         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
72624         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
72625         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
72626         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
72628         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
72629         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
72631         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
72632         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
72634         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
72635         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
72636         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
72638         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
72639         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
72640         to ...
72641         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
72643         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
72644         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
72645         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
72647         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
72648         for x86-64.
72649         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
72651 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
72653         * math/math.h (M_El): Use two more decimal places.
72654         (M_LOG2El): Likewise.
72655         (M_LOG10El): Likewise.
72656         (M_LN2l): Likewise.
72657         (M_LN10l): Likewise.
72658         (M_PIl): Likewise.
72659         (M_PI_2l): Likewise.
72660         (M_PI_4l): Likewise.
72661         (M_1_PIl): Likewise.
72662         (M_2_PIl): Likewise.
72663         (M_2_SQRTPIl): Likewise.
72664         (M_SQRT2l): Likewise.
72665         (M_SQRT1_2l): Likewise.
72667 2012-05-31  David S. Miller  <davem@davemloft.net>
72669         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
72670         values between float registers.
72671         * sysdeps/sparc/sparc64/memset.S: Likewise.
72672         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
72674 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
72676         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
72677         -D_FORTIFY_SOURCE=1.
72678         (CPPFLAGS-tst-longjmp_chk.c): Define.
72679         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
72680         (CPPFLAGS-tst-longjmp_chk2.c): Define.
72681         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
72682         CFLAGS-tst-wchar-h.c.
72684 2012-05-31  Marek Polacek  <polacek@redhat.com>
72686         [BZ #14132]
72687         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
72688         __endmntent_internal): Remove declaration.
72689         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
72690         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
72691         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
72693 2012-05-30  David S. Miller  <davem@davemloft.net>
72695         * sysdeps/sparc/sparc32/soft-fp/q_util.c
72696         (___Q_simulate_exceptions): Use real FP ops rather than writing
72697         into the %fsr.
72698         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
72699         Likewise.
72701 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
72703         [BZ #14117]
72704         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
72705         * sysdeps/x86/bits/xtitypes.h: This.
72707         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
72708         * sysdeps/x86/bits/wordsize.h: This.
72710         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
72711         * sysdeps/x86/bits/huge_vall.h: This.
72713         * sysdeps/i386/bits/select.h: Removed.
72714         * sysdeps/x86_64/bits/select.h: Renamed to ...
72715         * sysdeps/x86/bits/select.h: This.
72717         * sysdeps/i386/bits/setjmp.h: Removed.
72718         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
72719         * sysdeps/x86/bits/setjmp.h: This.
72721         * sysdeps/i386/bits/mathdef.h: Removed.
72722         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
72723         * sysdeps/x86/bits/mathdef.h: This.
72725 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
72727         [BZ #14132]
72728         * include/sys/socket.h (__connect_internal)
72729         (__libc_sa_len_internal): Remove declaration.
72730         (__connect, __libc_sa_len): Declare hidden_proto.
72731         (SA_LEN): Remove use of INTUSE.
72732         * socket/connect.c: Add libc_hidden_def.
72733         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
72734         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
72735         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
72736         alias.
72737         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
72738         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
72739         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
72740         of adding _internal alias.
72742 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
72744         [BZ #14117]
72745         * sysdeps/i386/bits/link.h: Removed.
72746         * sysdeps/i386/bits/linkmap.h: Likewise.
72747         * sysdeps/x86_64/bits/link.h: Renamed to ...
72748         * sysdeps/x86/bits/link.h: This.
72749         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
72750         * sysdeps/x86/bits/linkmap.h: This.
72752         * sysdeps/i386/bits/endian.h: Removed.
72753         * sysdeps/x86_64/bits/endian.h: Renamed to ...
72754         * sysdeps/x86/bits/endian.h: This.
72756         * sysdeps/i386/bits/byteswap.h: Removed.
72757         * sysdeps/i386/bits/byteswap-16.h: Likewise.
72758         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
72759         * sysdeps/x86/bits/byteswap.h: This.
72760         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
72761         * sysdeps/x86/bits/byteswap-16.h: This.
72762         * sysdeps/i386/Implies: Add x86.
72763         * sysdeps/x86_64/Implies: Likewise.
72765 2012-05-30  David S. Miller  <davem@davemloft.net>
72767         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
72768         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
72769         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
72770         (FP_TRAPPING_EXCEPTIONS): Define.
72771         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
72772         (FP_TRAPPING_EXCEPTIONS): Define.
72773         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
72774         subnormals only when inexact has been signalled or underflow
72775         exceptions are enabled.
72776         (_FP_PACK_CANONICAL): Likewise.
72778 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
72780         [BZ #14183]
72781         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
72782         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
72784 2012-05-30  Richard Henderson  <rth@twiddle.net>
72786         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
72787         with #ifndef NOT_IN_libc.
72789         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
72790         marked to avoid plt entry.
72792 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
72794         [BZ #14112]
72795         * Makeconfig (default-abi): New macro.
72796         (abi-includes): Likewise.
72797         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
72798         $(abi-$(default-abi)-lib-soname) for soname if defined.
72799         ($(common-objpfx)gnu/lib-names.stmp): Generate from
72800         abi-variants.
72801         * Makefile (installed-stubs): Likewise.
72802         * include/stubs-biarch.h: Removed.
72803         * scripts/lib-names.awk: Only handle one library at a time.
72804         * scripts/soversions.awk: Remove WORDSIZE support.
72805         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
72806         entries.
72807         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
72808         Removed.
72809         (syscall-list-default-condition): Likewise.
72810         (syscall-list-default-condition): Likewise.
72811         (syscall-list-includes): Likewise.
72812         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
72813         syscall-list-* with abi-*.  Handle undefined abi-variants.
72814         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
72815         * sysdeps/unix/sysv/linux/i386/Implies: New file.
72816         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
72817         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
72818         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
72819         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
72820         Removed.
72821         (syscall-list-32-options): Likewise.
72822         (syscall-list-32-condition): Likewise.
72823         (syscall-list-64-options): Likewise.
72824         (syscall-list-64-condition): Likewise.
72825         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
72826         macro.
72827         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
72828         Renamed to ...
72829         (abi-*): This.
72830         (abi-64-ld-soname): New macro.
72831         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
72832         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
72833         Renamed to ...
72834         (abi-*): This.
72835         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
72836         * sysdeps/x86_64/x32/shlib-versions: Likewise.
72838 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
72840         * sysdeps/unix/sysv/linux/kernel-features.h
72841         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
72842         * sysdeps/unix/sysv/linux/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/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.
72854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
72855         include <kernel-features.h>.
72856         [!__NR_ftruncate64]: Remove conditional code.
72857         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
72858         [__NR_ftruncate64]: Make code unconditional.
72859         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
72860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
72861         include <kernel-features.h>.
72862         [!__NR_ftruncate64]: Remove conditional code.
72863         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
72864         [__NR_ftruncate64]: Make code unconditional.
72865         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
72867         * configure.in (libc_cv_fpie): Weaken to a compile test using
72868         LIBC_TRY_CC_OPTION.
72869         * configure: Regenerated.
72871 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72873         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
72874         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
72875         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
72876         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
72877         Refreshed.
72878         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
72879         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
72880         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
72881         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
72882         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
72883         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
72884         Refreshed.
72886 2012-05-27  David S. Miller  <davem@davemloft.net>
72888         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
72889         (___Q_zero): New.
72890         (__Q_simulate_exceptions): Return void.  Change to simulate
72891         exceptions by writing into the %fsr.
72892         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
72893         (__Qp_handle_exceptions): Likewise.
72894         (numbers): Delete.
72895         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
72896         __Qp_handle_exceptions.
72897         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
72898         __Qp_handle_exceptions.
72899         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
72900         as unused and give dummy FP_RND_NEAREST initializer.
72901         (FP_INHIBIT_RESULTS): Define.
72902         (___Q_simulate_exceptions): Update declaration.
72903         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
72904         formatting.
72905         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
72906         as unused and give dummy FP_RND_NEAREST initializer.
72907         (__Qp_handle_exceptions): Update declaration.
72908         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
72909         formatting.
72911 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
72913         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
72914         the temporary FPU control word.
72915         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
72916         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
72917         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
72918         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
72919         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
72920         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
72921         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
72922         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
72923         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
72924         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
72925         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
72927 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
72929         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
72930         fields.
72932 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
72934         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
72935         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
72936         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
72937         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
72938         Likewise.
72939         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
72940         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
72941         Likewise.
72943 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
72945         * po/h.po: Update from translation team.
72947 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
72949         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
72951         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
72952         handling of denormals.
72953         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
72954         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
72955         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
72956         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
72957         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
72958         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
72959         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
72960         Likewise.
72962 2012-05-26  Marek Polacek  <polacek@redhat.com>
72964         [BZ #14152]
72965         * math/libm-test.inc (fma_test): Don't always expect underflow
72966         exception.
72968 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
72970         [BZ #12416]
72971         * elf/tst-execstack.c: Include stackinfo.h.
72972         (do_test): Adjust test case to ensure that pthread_getattr_np
72973         behaviour remains the same after marking stack executable.
72975 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
72977         * sysdeps/unix/sysv/linux/kernel-features.h
72978         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
72979         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
72980         kernel-features.h.
72981         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
72982         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
72983         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
72984         kernel-features.h.
72985         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
72986         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
72988 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
72990         * configure.in: Define the default includes to being none.
72991         * configure: Regenerated.
72993 2012-05-25  Roland McGrath  <roland@hack.frob.com>
72995         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
72996         * sysdeps/x86_64/setjmp.S: Likewise.
72997         * sysdeps/i386/bsd-setjmp.S: Likewise.
72998         * sysdeps/i386/bsd-_setjmp.S: Likewise.
72999         * sysdeps/i386/setjmp.S: Likewise.
73000         * sysdeps/i386/__longjmp.S: Likewise.
73001         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
73002         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
73004         * include/stap-probe.h: New file.
73005         * configure.in: Handle --enable-systemtap.
73006         * configure: Regenerated.
73007         * config.h.in (USE_STAP_PROBE): New #undef.
73008         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
73009         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
73010         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
73012 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
73014         [BZ #13717]
73015         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
73016         to 2.4.0 where earlier.
73017         * sysdeps/unix/sysv/linux/configure: Regenerated.
73018         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
73019         <kernel-features.h>.
73020         [__ASSUME_32BITUIDS]: Make code unconditional.
73021         [!__ASSUME_32BITUIDS]: Remove conditional code.
73022         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
73023         <kernel-features.h>.
73024         [__ASSUME_32BITUIDS]: Make code unconditional.
73025         [!__ASSUME_32BITUIDS]: Remove conditional code.
73026         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
73027         [__ASSUME_32BITUIDS]: Make code unconditional.
73028         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
73029         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.c: Do not include
73058         <kernel-features.h>.
73059         [__ASSUME_32BITUIDS]: Make code unconditional.
73060         [!__ASSUME_32BITUIDS]: Remove conditional code.
73061         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
73062         <kernel-features.h>.
73063         [__ASSUME_32BITUIDS]: Make code unconditional.
73064         [!__ASSUME_32BITUIDS]: Remove conditional code.
73065         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
73066         <kernel-features.h>.
73067         [__ASSUME_32BITUIDS]: Make code unconditional.
73068         [!__ASSUME_32BITUIDS]: Remove conditional code.
73069         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
73070         <kernel-features.h>.
73071         [__NR_setresgid] (__setresgid): Do not declare.
73072         [__ASSUME_32BITUIDS]: Make code unconditional.
73073         [!__ASSUME_32BITUIDS]: Remove conditional code.
73074         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
73075         <kernel-features.h>.
73076         [__NR_setresuid] (__setresuid): Do not declare.
73077         [__ASSUME_32BITUIDS]: Make code unconditional.
73078         [!__ASSUME_32BITUIDS]: Remove conditional code.
73079         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/i386/setreuid.c: Do not include
73108         <kernel-features.h>.
73109         [__ASSUME_32BITUIDS]: Make code unconditional.
73110         [!__ASSUME_32BITUIDS]: Remove conditional code.
73111         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
73112         <kernel-features.h>.
73113         [__ASSUME_32BITUIDS]: Make code unconditional.
73114         [!__ASSUME_32BITUIDS]: Remove conditional code.
73115         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
73116         <kernel-features.h>.
73117         [__ASSUME_32BITUIDS]: Make code unconditional.
73118         [!__ASSUME_32BITUIDS]: Remove conditional code.
73119         * sysdeps/unix/sysv/linux/kernel-features.h
73120         (__ASSUME_SETRESUID_SYSCALL): Remove.
73121         (__ASSUME_SETRESGID_SYSCALL): Likewise.
73122         (__ASSUME_32BITUIDS): Likewise.
73123         (__ASSUME_LDT_WORKS): Likewise.
73124         (__ASSUME_O_DIRECTORY): Likewise.
73125         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
73126         architecture but not kernel version.
73127         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
73128         (__ASSUME_MMAP2_SYSCALL): Likewise.
73129         (__ASSUME_STAT64_SYSCALL): Likewise.
73130         (__ASSUME_IPC64): Likewise.
73131         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
73132         <kernel-features.h>.
73133         [__ASSUME_32BITUIDS]: Make code unconditional.
73134         [!__ASSUME_32BITUIDS]: Remove conditional code.
73135         * sysdeps/unix/sysv/linux/opendir.c: Do not include
73136         <kernel-features.h>.
73137         [__ASSUME_O_DIRECTORY]: Make code unconditional.
73138         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
73139         132096]: Remove conditional code.
73140         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
73141         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
73142         <kernel-features.h>.
73143         [__ASSUME_32BITUIDS]: Make code unconditional.
73144         [!__ASSUME_32BITUIDS]: Remove conditional code.
73145         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
73146         <kernel-features.h>.
73147         [__ASSUME_32BITUIDS]: Make code unconditional.
73148         [!__ASSUME_32BITUIDS]: Remove conditional code.
73149         * sysdeps/unix/sysv/linux/setegid.c: Do not include
73150         <kernel-features.h>.
73151         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
73152         unconditional.
73153         (__setresgid): Do not declare.
73154         [__ASSUME_32BITUIDS]: Make code unconditional.
73155         [!__ASSUME_32BITUIDS]: Remove conditional code.
73156         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
73157         <kernel-features.h>.
73158         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
73159         unconditional.
73160         (__setresuid): Do not declare.
73161         [__ASSUME_32BITUIDS]: Make code unconditional.
73162         [!__ASSUME_32BITUIDS]: Remove conditional code.
73163         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
73164         <kernel-features.h>.
73165         [__ASSUME_32BITUIDS]: Make code unconditional.
73166         [!__ASSUME_32BITUIDS]: Remove conditional code.
73167         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
73168         <kernel-features.h>.
73169         [__ASSUME_32BITUIDS]: Make code unconditional.
73170         [!__ASSUME_32BITUIDS]: Remove conditional code.
73172 2012-05-25  Richard Henderson  <rth@twiddle.net>
73174         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
73175         dl_hwcap to ifunc resolver.
73176         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
73177         elf_ifunc_invoke.
73178         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
73179         dl_hwcap to ifunc resolver.
73180         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
73182 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
73184         [BZ #14153]
73185         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
73186         for |x| <= 2**-26, not 2**-57.
73187         * math/libm-test.inc (acos_test): Do not allow spurious underflow
73188         exception.
73190 2012-05-24  Jeff Law  <law@redhat.com>
73192         * stdio-common/Makefile (tests): Add bug25.
73193         * stdio-common/bug25.c: New test.
73195 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
73197         [BZ #13576]
73198         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
73199         multiple of MALLOC_ALIGNMENT in size.
73200         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
73202 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
73204         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
73205         Require >= 256.
73206         (FILENAME_MAX): Use macro-int-constant.
73207         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
73208         (_IOFBF): Use macro-int-constant.
73209         (_IOLBF): Likewise.
73210         (_IONBF): Likewise.
73211         (SEEK_CUR): Likewise.
73212         (SEEK_END): Likewise.
73213         (SEEK_SET): Likewise.
73214         (TMP_MAX): Likewise.
73215         (EOF): Use macro-int-constant.  Require < 0.
73216         (NULL): Use macro-constant.  Require == 0.
73217         (stdin): Require type to be FILE *.
73218         (stdout): Likewise.
73219         (stderr): Likewise.
73220         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
73221         macro-int-constant.
73222         (EXIT_SUCCESS): Likewise.
73223         (NULL): Use macro-constant.  Require == 0.
73224         (RAND_MAX): Use macro-int-constant.
73225         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
73226         [C99-based standards] (strtof): Require function.
73227         [C99-based standards] (strtold): Likewise.
73228         [C99-based standards] (strtoll): Likewise.
73229         [C99-based standards] (strtoull): Likewise.
73230         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
73231         [ISO || ISO99 || ISO11] (limits.h): Likewise.
73232         [ISO || ISO99 || ISO11] (math.h): Likewise.
73233         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
73234         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
73235         [ISO || ISO99 || ISO11] (*_t): Do not allow.
73237 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
73239         [BZ #14132]
73240         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
73241         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
73242         * intl/dgettext.c (DCGETTEXT): Likewise.
73243         * intl/gettext.c (DCGETTEXT): Likewise.
73244         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
73245         * posix/regex_internal.h (gettext): Likewise.
73246         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
73247         Remove declaration.
73248         * include/argz.h (__argz_count_internal)
73249         (__argz_stringify_internal): Remove declaration.
73250         (__argz_count, __argz_stringify): Declare hidden proto.
73251         * intl/dcgettext.c: Remove use of INTDEF.
73252         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
73253         * string/argz-stringify.c: Likewise.
73254         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
73255         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
73256         Declare hidden proto.
73257         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
73258         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
73259         Declare hidden proto.
73260         * include/stdio.h (__asprintf_internal): Don't declare.
73261         (__asprintf): Don't define as macro.  Declare hidden proto.
73262         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
73263         (__fsetlocking): Declare hidden proto.
73264         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
73265         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
73266         hidden proto.
73267         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
73268         (_IO_setlinebuf): Remove use of INTUSE.
73269         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
73270         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
73271         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
73272         Remove declaration.
73273         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
73274         (_IO_do_flush): Remove use of INTUSE.
73275         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
73276         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
73277         (_IO_adjust_column, _IO_least_wmarker)
73278         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
73279         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
73280         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
73281         (_IO_default_doallocate, _IO_wdefault_doallocate)
73282         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
73283         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
73284         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
73285         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
73286         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
73287         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
73288         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
73289         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
73290         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
73291         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
73292         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
73293         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
73294         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
73295         proto.
73296         (_IO_flush_all_internal, _IO_adjust_column_internal)
73297         (_IO_default_uflow_internal, _IO_default_finish_internal)
73298         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
73299         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
73300         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
73301         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
73302         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
73303         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
73304         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
73305         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
73306         (_IO_file_close_internal, _IO_file_close_it_internal)
73307         (_IO_file_underflow_internal, _IO_file_overflow_internal)
73308         (_IO_file_init_internal, _IO_file_attach_internal)
73309         (_IO_file_fopen_internal, _IO_file_read_internal)
73310         (_IO_file_sync_internal, _IO_file_seek_internal)
73311         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
73312         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
73313         (_IO_str_underflow_internal, _IO_str_overflow_internal)
73314         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
73315         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
73316         (_IO_list_all_internal, _IO_link_in_internal)
73317         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
73318         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
73319         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
73320         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
73321         (_IO_do_write_internal, _IO_padn_internal)
73322         (_IO_getline_info_internal, _IO_getline_internal)
73323         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
73324         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
73325         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
73326         (_IO_vfscanf_internal, _IO_vfprintf_internal)
73327         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
73328         (_IO_init_internal, _IO_un_link_internal): Don't declare.
73329         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
73330         with libc_hidden_ver, remove use of INTUSE.
73331         * libio/genops.c: Likewise.
73332         * libio/freopen.c: Likewise.
73333         * libio/freopen64.c: Likewise.
73334         * libio/iofclose.c: Likewise.
73335         * libio/iofdopen.c: Likewise.
73336         * libio/iofflush.c: Likewise.
73337         * libio/iofflush_u.c: Likewise.
73338         * libio/iofgets.c: Likewise.
73339         * libio/iofgets_u.c: Likewise.
73340         * libio/iofopen.c: Likewise.
73341         * libio/iofopncook.c: Likewise.
73342         * libio/iofread.c: Likewise.
73343         * libio/iofread_u.c: Likewise.
73344         * libio/ioftell.c: Likewise.
73345         * libio/iofwrite.c: Likewise.
73346         * libio/iogetline.c: Likewise.
73347         * libio/iogets.c: Likewise.
73348         * libio/iogetwline.c: Likewise.
73349         * libio/iopadn.c: Likewise.
73350         * libio/iopopen.c: Likewise.
73351         * libio/ioseekoff.c: Likewise.
73352         * libio/ioseekpos.c: Likewise.
73353         * libio/iosetbuffer.c: Likewise.
73354         * libio/iosetvbuf.c: Likewise.
73355         * libio/ioungetc.c: Likewise.
73356         * libio/ioungetwc.c: Likewise.
73357         * libio/iovdprintf.c: Likewise.
73358         * libio/iovsprintf.c: Likewise.
73359         * libio/iovsscanf.c: Likewise.
73360         * libio/memstream.c: Likewise.
73361         * libio/obprintf.c: Likewise.
73362         * libio/oldfileops.c: Likewise.
73363         * libio/oldiofclose.c: Likewise.
73364         * libio/oldiofdopen.c: Likewise.
73365         * libio/oldiofopen.c: Likewise.
73366         * libio/oldiopopen.c: Likewise.
73367         * libio/oldstdfiles.c: Likewise.
73368         * libio/putc.c: Likewise.
73369         * libio/setbuf.c: Likewise.
73370         * libio/setlinebuf.c: Likewise.
73371         * libio/stdfiles.c: Likewise.
73372         * libio/strops.c: Likewise.
73373         * libio/vasprintf.c: Likewise.
73374         * libio/vscanf.c: Likewise.
73375         * libio/vsnprintf.c: Likewise.
73376         * libio/vswprintf.c: Likewise.
73377         * libio/wfiledoalloc.c: Likewise.
73378         * libio/wfileops.c: Likewise.
73379         * libio/wgenops.c: Likewise.
73380         * libio/wmemstream.c: Likewise.
73381         * libio/wstrops.c: Likewise.
73382         * libio/__fpurge.c: Likewise.
73383         * libio/__fsetlocking.c: Likewise.
73384         * assert/assert.c: Likewise.
73385         * debug/fgets_chk.c: Likewise.
73386         * debug/fgets_u_chk.c: Likewise.
73387         * debug/fread_chk.c: Likewise.
73388         * debug/fread_u_chk.c: Likewise.
73389         * debug/gets_chk.c: Likewise.
73390         * debug/obprintf_chk.c: Likewise.
73391         * debug/vasprintf_chk.c: Likewise.
73392         * debug/vdprintf_chk.c: Likewise.
73393         * debug/vsnprintf_chk.c: Likewise.
73394         * debug/vsprintf_chk.c: Likewise.
73395         * malloc/mtrace.c: Likewise.
73396         * misc/error.c: Likewise.
73397         * misc/syslog.c: Likewise.
73398         * stdio-common/asprintf.c: Likewise.
73399         * stdio-common/fxprintf.c: Likewise.
73400         * stdio-common/getw.c: Likewise.
73401         * stdio-common/isoc99_fscanf.c: Likewise.
73402         * stdio-common/isoc99_scanf.c: Likewise.
73403         * stdio-common/isoc99_vfscanf.c: Likewise.
73404         * stdio-common/isoc99_vscanf.c: Likewise.
73405         * stdio-common/isoc99_vsscanf.c: Likewise.
73406         * stdio-common/printf-prs.c: Likewise.
73407         * stdio-common/printf_fp.c: Likewise.
73408         * stdio-common/printf_fphex.c: Likewise.
73409         * stdio-common/printf_size.c: Likewise.
73410         * stdio-common/putw.c: Likewise.
73411         * stdio-common/scanf.c: Likewise.
73412         * stdio-common/sprintf.c: Likewise.
73413         * stdio-common/tmpfile.c: Likewise.
73414         * stdio-common/vfprintf.c: Likewise.
73415         * stdio-common/vfscanf.c: Likewise.
73416         * stdlib/strfmon_l.c: Likewise.
73417         * sunrpc/openchild.c: Likewise.
73418         * sunrpc/xdr_stdio.c: Likewise.
73419         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
73420         * sysdeps/mach/hurd/tmpfile.c: Likewise.
73422 2012-05-24  Roland McGrath  <roland@hack.frob.com>
73424         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
73426         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
73427         in the third column, to generate for the shared library an IFUNC
73428         that uses _dl_vdso_vsym.
73429         * Makerules (COMPILE.c, compile-stdin.c): New variables.
73430         * Makeconfig (object-suffixes-noshared): New variable.
73432         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
73433         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
73434         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
73435         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
73437         [BZ #14132]
73438         * include/sys/time.h (__gettimeofday): Remove macro.
73439         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
73440         * time/gettimeofday.c (__gettimeofday): Remove #undef.
73441         Remove INTDEF.
73442         (__gettimeofday): Add libc_hidden_def.
73443         (gettimeofday): Add libc_hidden_weak.
73444         * sysdeps/mach/gettimeofday.c: Likewise.
73445         * sysdeps/posix/gettimeofday.c: Likewise.
73446         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
73447         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
73448         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
73449         (__gettimeofday_internal): Remove strong_alias.
73450         (__gettimeofday): Add libc_hidden_def.
73451         (gettimeofday): Add libc_hidden_weak.
73452         * sysdeps/unix/syscalls.list (gettimeofday):
73453         Remove __gettimeofday_internal alias.
73455 2012-05-24  Daniel Jacobowitz  <drow@false.org>
73456             H.J. Lu  <hongjiu.lu@intel.com>
73458         [BZ #12495]
73459         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
73460         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
73461         (largebin_index_32_big): New.
73462         (largebin_index): Use it for 16-byte alignment.
73463         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
73464         correction with front_misalign.
73466 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
73468         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
73469         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
73470         Likewise.
73471         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
73472         Likewise.
73473         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
73474         Likewise.
73475         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
73476         Likewise.
73477         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
73478         Likewise.
73479         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
73480         Likewise.
73481         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
73482         Likewise.
73483         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
73484         Likewise.
73485         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
73486         Likewise.
73487         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
73488         Likewise.
73489         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
73490         Likewise.
73491         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
73492         Likewise.
73494         * scripts/data/c++-types-x32-linux-gnu.data: New file.
73495         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
73497 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
73499         [BZ #10846]
73500         [BZ #14036]
73501         * math/libm-test.inc (exp_test): Add test from bug 14036.
73502         (pow_test): Add test from bug 10846.
73504         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
73505         and other flags.
73506         (special_function): Do not include flags in test name.
73507         (parse_args): Likewise.
73508         * sysdeps/i386/fpu/libm-test-ulps: Update.
73509         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
73510         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
73511         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
73512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73514         * math/gen-libm-test.pl (%beautify): Add entries for underflow
73515         exceptions.
73516         * math/libm-test.inc ("Philosophy"): Update comment about
73517         exception testing.
73518         (UNDERFLOW_EXCEPTION): New macro.
73519         (UNDERFLOW_EXCEPTION_OK): Likewise.
73520         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
73521         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
73522         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
73523         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
73524         (INVALID_EXCEPTION_OK): Update value.
73525         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
73526         (OVERFLOW_EXCEPTION_OK): Likewise.
73527         (IGNORE_ZERO_INF_SIGN): Likewise.
73528         (test_exceptions): Handle underflow exceptions.
73529         (acos_test): Update for underflow exception expectations.
73530         (cexp_test): Likewise.
73531         (clog_test): Likewise.
73532         (clog10_test): Likewise.
73533         (csqrt_test): Likewise.
73534         (ctan_test): Likewise.
73535         (ctanh_test): Likewise.
73536         (exp_test): Likewise.
73537         (exp10_test): Likewise.
73538         (exp2_test): Likewise.
73539         (expm1_test): Likewise.
73540         (fma_test): Likewise.
73541         (j0_test): Likewise.
73542         (jn_test): Likewise.
73543         (nexttoward_test): Likewise.
73544         (pow_test): Likewise.
73545         (scalbn_test): Likewise.
73546         (scalbln_test): Likewise.
73547         (tan_test): Likewise.
73548         (y1_test): Likewise.
73549         * sysdeps/i386/fpu/libm-test-ulps: Update.
73550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73552 2012-05-23  David S. Miller  <davem@davemloft.net>
73554         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
73555         (__libc_sigaction): Remove unused local variables.
73557 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
73559         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
73561 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
73563         mktime: avoid signed integer overflow
73564         * time/mktime.c (__mktime_internal): Do not mishandle the case
73565         where diff == INT_MIN.
73567         mktime: simplify computation of average
73568         * time/mktime.c (ranged_convert): Use new time_t_avg function
73569         instead of rolling our own (probably-slower) code.
73571         mktime: do not assume signed right shift propagates sign bit
73572         * time/mktime.c (isdst_differ): New static function.
73573         (__mktime_internal): No need to normalize tm_isdst now.
73574         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
73575         tm_isdst values.
73577         mktime: merge another wrapv change from gnulib
73578         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
73579         from some compilers.
73581         mktime: remove incorrect attempt at unusual arithmetics
73582         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
73583         The code didn't really work on such machines anyway.
73584         (TYPE_MINIMUM): Assume two's complement.
73585         (twos_complement_arithmetic): Verify that long_int and time_t
73586         are two's complement (or unsigned, in the latter case).
73588         mktime: check signed shifts on long_int and time_t, too
73589         * time/mktime.c (SHR): Check that shifts work as desired
73590         on the types long_int and time_t too, as SHR is used on
73591         such types.
73593         mktime: do not assume 'long' is wide enough
73594         * time/mktime.c (verify): Move decl up.
73595         (long_int): New type.
73596         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
73597         to remove assumption in the code that 'long' is wide enough to
73598         store year values.  This assumption is not true on x32 and on
73599         some non-glibc platforms.
73601         mktime: merge wrapv change from gnulib
73602         * time/mktime.c (WRAPV): New macro.
73603         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
73604         (guess_time_tm, __mktime_internal): Do not assume that signed
73605         integer overflow wraps around; modern compilers generate code
73606         where this assumption is no longer valid.
73608 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
73610         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
73611         Replace "jmp L(pseudo_end)" with "ret".
73612         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
73613         Likewise.
73615 2012-05-23  Andreas Jaeger  <aj@suse.de>
73617         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
73618         * sysdeps/unix/sysv/linux/poll.c: Remove file.
73620 2012-05-23  Andreas Jaeger  <aj@suse.de>
73621             Maximilian Attems  <max@stro.at>
73623         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
73624         New macros.
73626 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
73628         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
73629         code so that pseudo_end is just ret and the stack pointer is
73630         correct also for static library in error case.
73632 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
73634         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
73635         move to syscalls.list.
73636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
73637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
73638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
73639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
73641         * manual/install.texi (Running make install): Do not mention Linux
73642         kernel version for which pt_chown is not needed.
73643         (Linux): Do not mention problems with nscd with 2.0 kernels.
73644         * INSTALL: Regenerated.
73646 2012-05-23  Andreas Jaeger  <aj@suse.de>
73648         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
73649         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
73650         macro.
73651         * sysdeps/unix/sysv/linux/s390/bits/mman.h
73652         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73653         * sysdeps/unix/sysv/linux/sh/bits/mman.h
73654         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73655         * sysdeps/unix/sysv/linux/i386/bits/mman.h
73656         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73657         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
73658         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73659         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
73660         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73661         * sysdeps/unix/sysv/linux/bits/in.h
73662         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
73664 2012-05-22  Roland McGrath  <roland@hack.frob.com>
73666         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
73667         (PREPARE_VERSION): Just use assert instead, it will be elided
73668         under [NDEBUG] anyway.
73670 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
73672         * sysdeps/unix/sysv/linux/Makefile: Include
73673         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
73674         (sysdep_routines): Remove sysctl.
73675         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
73676         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
73677         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
73678         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
73679         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
73681 2012-05-22  Andreas Jaeger  <aj@suse.de>
73683         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
73684         that pseudo_end is just ret and the stack pointer is correct also
73685         for static library in error case.
73687 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
73689         [BZ #14122]
73690         * nss/nsswitch.c (defconfig_entries): New variable.
73691         (__nss_database_lookup): Don't leak defconfig entries.
73692         (nss_parse_service_list): Don't leak on error paths.
73693         (free_database_entries): New function.
73694         (free_defconfig): New function.
73695         (free_mem): Move common code to free_database_entries.
73697 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
73699         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
73700         Add arch_prctl.
73701         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
73703         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
73704         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
73705         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
73706         New macro.
73707         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
73708         (INTERNAL_SYSCALL_TYPES): Likewise.
73709         (LOAD_ARGS_TYPES_[1-6]): Likewise.
73710         (LOAD_REGS_TYPES_[1-6]): Likewise.
73711         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
73712         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
73714 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73716         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
73717         copysignl for GLIBC_2_0.
73718         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
73719         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
73720         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
73721         logbl for GLIBC_2_0.
73722         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
73723         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
73725 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
73727         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
73728         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
73730         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
73731         Use "neg %eax".
73733         * time/mktime.c: Update copyright years.
73735 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
73737         mktime: merge comment-quoting-style change from gnulib
73738         * time/mktime.c: Quote 'like this' in comments.
73739         The GNU coding standards suggest that we no longer quote `like this',
73740         as "`" and "'" are typically rendered asymmetrically nowadays.
73741         The typical gnulib style is to quote 'like this' when quoting
73742         code, and "like this" when quoting English.
73744         * time/mktime.c (compile-command): Add "-I.".
73746         mktime: merge mktime-internal.h change from gnulib
73747         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
73749         mktime: merge time_r change from gnulib
73750         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
73752         mktime: merge DEBUG change from gnulib
73753         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
73754         case system <time.h> has a #define.
73756         mktime: merge <sys/types.h> change from gnulib
73757         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
73758         since <time.t> is now guaranteed to define time_t.
73760         mktime: merge HAVE_CONFIG_H change from gnulib
73761         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
73763 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
73765         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
73766         Use "neg %eax".
73768         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
73769         __rlim_t cast.
73770         (struct rusage): Use anonymous union to pad each field to
73771         __syscall_slong_t.
73773 2012-05-21  David S. Miller  <davem@davemloft.net>
73775         * Makefules (o-iterator): Remove .s cases.
73776         (compile-command.s): Delete.
73777         (COMPILE.s): Delete.
73778         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
73780 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
73782         * configure.in (libc_cv_predef_stack_protector): Only consider
73783         "foobar" and "__stack_chk_fail" lines in libc_undefs.
73784         * configure: Regenerated.
73786 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
73788         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
73789         New macro.  Use R*LP on int and pointer.
73790         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
73791         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
73792         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
73793         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
73795         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
73796         [__WORDSIZE_TIME64_COMPAT32] instead of
73797         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
73798         (struct utmp): Likewise.
73799         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
73800         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
73801         Renamed to ...
73802         (__WORDSIZE_TIME64_COMPAT32): This.
73803         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
73804         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
73805         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
73806         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
73807         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
73808         (__WORDSIZE_TIME64_COMPAT32): New macro.
73810 2012-05-21  Andreas Jaeger  <aj@suse.de>
73812         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
73813         only if [SHARED]. Add prototype for __wcschr_ia32.
73815 2012-05-21  Roland McGrath  <roland@hack.frob.com>
73817         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
73818         of %rbp unmolested in the jmp_buf while mangling the low bits.
73819         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
73820         unmolested high bits of %rbp while demangling the low bits.
73821         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
73823 2012-05-21  Andreas Jaeger  <aj@suse.de>
73825         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
73826         * sunrpc/svc_simple.c: Use it for registerrpc.
73827         * sunrpc/xcrypt.c: Use it for passwd2des.
73829         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
73831 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
73833         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
73834         Don't define if [__SYSCALL_WORDSIZE != 32].
73835         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
73836         New macro.
73838 2012-05-21  Bruno Haible  <bruno@clisp.org>
73839             Andreas Jaeger  <aj@suse.de>
73841         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
73842         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
73843         inptr and inend for must_buffer_ch.
73844         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
73845         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
73846         * stdio-common/Makefile (tests): Remove bug15.
73847         (bug15-ENV): Remove macro.
73848         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
73849         anymore.
73851 2012-05-19  Andreas Jaeger  <aj@suse.de>
73852             Roland McGrath  <roland@hack.frob.com>
73854         * manual/contrib.texi: Completely rewritten. It contains now an
73855         alphabetical list of contributors and their contributions.
73857 2012-05-21  Richard Henderson  <rth@twiddle.net>
73859         * misc/getauxval.c (__getauxval): Use unsigned long int.
73860         * misc/sys/auxv.h: Include <sys/cdefs.h>.
73861         (getauxval): Use unsigned long int.
73863 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
73865         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
73867 2012-05-21  Roland McGrath  <roland@hack.frob.com>
73869         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
73870         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
73871         __alignof__ (long double).
73873 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73875         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73877 2012-05-20  Richard Henderson  <rth@twiddle.net>
73879         * misc/getauxval.c: New file.
73880         * misc/sys/auxv.h: New file.
73881         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
73882         (routines): Add getauxval.
73883         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
73884         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
73885         * elf/dl-sysdep.c (_dl_auxv): Remove.
73886         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
73887         * elf/dl-support.c (_dl_auxv): New variable.
73888         (_dl_aux_init): Initialize it.
73889         * manual/startup.texi (Auxiliary Vector): New node.
73890         * sysdeps/generic/bits/hwcap.h: New file.
73891         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
73892         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
73893         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
73894         * sysdeps/sparc/sysdep.h: ... here.  Include it.
73895         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
73896         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
73897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73898         Update.
73899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
73900         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
73901         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
73902         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
73903         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
73904         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
73905         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
73906         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
73908 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73910         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73912 2012-05-19  David S. Miller  <davem@davemloft.net>
73914         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73916 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
73918         [BZ #14123]
73919         * math/s_ccosh.c: Include <float.h>
73920         (__ccosh): Avoid internal overflow calculating sinh and cosh
73921         values before multiplying by sin and cos values.
73922         * math/s_ccoshf.c: Likewise.
73923         * math/s_ccoshl.c: Likewise.
73924         * math/s_csin.c: Likewise.
73925         * math/s_csinf.c: Likewise.
73926         * math/s_csinl.c: Likewise.
73927         * math/s_csinh.c: Likewise.
73928         * math/s_csinhf.c: Likewise.
73929         * math/s_csinhl.c: Likewise.
73930         * math/libm-test.inc (ccos_test): Add more tests.
73931         (ccosh_test): Likewise.
73932         (csin_test): Likewise.
73933         (csinh_test): Likewise.
73934         * sysdeps/i386/fpu/libm-test-ulps: Update.
73935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73937 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
73939         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
73940         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
73942         * sysdeps/x86_64/x32/_itoa.h: Add comment.
73944 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
73946         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
73947         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
73948         * sysdeps/powerpc/soft-fp/Versions: Likewise.
73949         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
73950         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
73951         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
73952         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
73953         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
73954         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
73955         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
73956         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
73957         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
73958         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
73959         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
73960         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
73961         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
73962         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
73963         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
73964         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
73965         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
73966         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
73967         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
73968         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
73969         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
73970         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
73971         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
73972         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
73973         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
73974         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
73975         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
73976         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
73978 2012-05-18  Andreas Jaeger  <aj@suse.de>
73980         * csu/.gitignore: Delete.
73982 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
73984         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
73985         (timex): Use __syscall_slong_t.
73987 2012-05-18  Andreas Jaeger  <aj@suse.de>
73988             Carlos O'Donell  <carlos_odonell@mentor.com>
73990         * manual/install.texi (Configuring and compiling): Update
73991         description about files modified in the source directory.
73992         * INSTALL: Regenerated.
73994 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
73996         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
73997         value.  Use "or" to set return value to -1.
73998         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
73999         negate return value.
74001 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74003         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
74004         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
74005         failure if the compiler has Graphite support disabled.
74006         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
74007         Likewise.
74008         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
74009         (CFLAGS-memmove.c): Likewise.
74010         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
74011         Likewise.
74013 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
74015         * sysdeps/x86_64/x32/_itoa.h: New file.
74017         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
74018         getdents system call only if kernel and user dirents have the
74019         same d_ino and d_off.
74021         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
74022         LLONG_MAX != LONG_MAX.
74023         (_itoa_word): Use _ITOA_WORD_TYPE on value.
74024         (_fitoa_word): Likewise.
74026         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
74027         years.
74028         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
74029         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
74030         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
74032         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
74033         include <bits/wordsize.h>.  Check __x86_64__ instead of
74034         __WORDSIZE.
74035         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
74036         if __x86_64__ is defined.  Use anonymous union on fpstate.
74038         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
74039         anonymous union.
74041 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
74043         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
74044         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
74045         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
74046         Refer to _rtld_local_ro instead of _rtld_global_ro.
74047         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
74048         Likewise.
74049         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
74050         Likewise.
74051         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
74052         Likewise.
74053         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
74054         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
74055         of _rtld_global, and rtld_progname instead of _dl_argv[0].
74057         [BZ #10882]
74058         * sysdeps/powerpc/powerpc32/dl-machine.c
74059         (__elf_machine_runtime_setup) [PROF]: Don't reference
74060         _dl_prof_resolve.
74062 2012-05-18  Andreas Jaeger  <aj@suse.de>
74064         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
74065         function only available for GCCs before 3.4 since GCC 3.4
74066         introduced a builtin.
74067         (lrint): Likewise.
74068         (llrintf): Likewise.
74069         (llrint): Likewise.
74070         (fmaxf): Likewise.
74071         (fmax): Likewise.
74072         (fminf): Likewise.
74073         (fmin): Likewise.
74074         (rint): Likewise.
74075         (rintf): Likewise.
74076         (nearbyint): Likewise.
74077         (nearbyintf): Likewise.
74078         (ceil): Likewise.
74079         (ceilf): Likewise.
74080         (floor): Likewise.
74081         (floorf): Likewise.
74083 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
74085         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
74086         on both fields and cast pointer to __syscall_ulong_t.
74088         * bits/types.h (__fsword_t): New type.
74089         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
74090         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
74091         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74092         (__FSWORD_T_TYPE): Likewise.
74093         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74094         (__FSWORD_T_TYPE): Likewise.
74095         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74096         (__FSWORD_T_TYPE): Likewise.
74097         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
74098         (__FSWORD_T_TYPE): Likewise.
74099         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
74100         __SWORD_TYPE with __fsword_t.
74101         (statfs64): Likewise.
74103 2012-05-17  David S. Miller  <davem@davemloft.net>
74105         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
74107 2012-05-17  Andreas Jaeger  <aj@suse.de>
74109         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
74110         warning.
74112 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
74114         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
74116 2012-05-17  Andreas Jaeger  <aj@suse.de>
74118         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
74119         when it is used.
74121 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
74123         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
74125 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
74127         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
74128         * sysdeps/x86_64/tst-mallocalign1.c: New file.
74130 2012-05-17  Andreas Jaeger  <aj@suse.de>
74131             Carlos O'Donell  <carlos_odonell@mentor.com>
74133         [BZ #14059]
74134         * sysdeps/x86_64/multiarch/init-arch.h
74135         (bit_YMM_Usable): Rename to...
74136         (bit_AVX_Usable): ... this.
74137         (bit_FMA4_Usable): New macro.
74138         (bit_XMM_state): New macro.
74139         (bit_YMM_state): New macro.
74140         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
74141         [__ASSEMBLER__] (index_AVX_Usable): ... this.
74142         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
74143         (CPUID_OSXSAVE): New macro.
74144         (CPUID_AVX): New macro.
74145         (CPUID_FMA4): New macro.
74146         (index_YMM_Usable): Rename to...
74147         (index_AVX_Usable): ... this.
74148         (HAS_AVX): Use HAS_ARCH_FEATURE.
74149         (HAS_FMA4): Likewise.
74150         (HAS_YMM_USABLE): Remove.
74151         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74152         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
74153         are present.
74154         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
74155         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
74156         * sysdeps/x86_64/multiarch/Makefile: Likewise.
74157         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
74158         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
74160 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
74162         * math/libm-test.c: Support platforms without multiple rounding modes.
74163         * math/bug-nextafter.c: Support platforms without FP exceptions.
74164         * math/bug-nexttoward.c: Likewise.
74165         * math/test-fenv.c: Likewise.
74166         * math/test-misc.c: Likewise.
74167         * stdlib/bug-getcontext.c: Likewise.
74169 2012-05-17  Andreas Jaeger  <aj@suse.de>
74171         * manual/examples/search.c (critter_cmp): Change signature to
74172         avoid warnings.
74173         * manual/string.texi (Collation Functions): Likewise.
74175 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74177         * bits/types.h: Fold copyright years.
74178         * bits/typesizes.h: Likewise.
74179         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
74180         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
74181         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
74182         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
74183         * time/time.h: Likewise.
74185 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
74187         [BZ #208]
74188         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
74189         in instead of returning them.  Return void.
74190         (__libc_mallinfo): Accumulate over all arenas.
74191         (__malloc_stats): Adjust for change in int_mallinfo interface.
74193 2012-05-16  Roland McGrath  <roland@hack.frob.com>
74195         [BZ #10375]
74196         * configure.in (NM): Add AC_CHECK_TOOL for it.
74197         (libc_extra_cflags): New substituted variable.
74198         Check for -fstack-protector being used implicitly.
74199         * configure: Regenerated.
74200         * config.make.in (config-extra-cflags): New variable,
74201         gets @libc_extra_cflags@.
74202         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
74204         [BZ #10375]
74205         * configure.in: Check for _FORTIFY_SOURCE being predefined.
74206         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
74207         * configure: Regenerated.
74208         * config.make.in (CPPUNDEFS): New substituted variable.
74209         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
74210         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
74211         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
74213 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74215         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
74216         (mq_attr): Use __syscall_slong_t.
74218 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74220         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
74221         Check __x86_64__ instead of __WORDSIZE.
74222         (_STAT_VER_LINUX): Likewise.
74223         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
74224         __syscall_ulong_t and __syscall_slong_t.
74225         (stat64): Likewise.
74227 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74229         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
74231 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74233         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
74235 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74237         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
74238         __syscall_ulong_t.
74240         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
74241         include <bits/wordsize.h>.  Check __x86_64__ instead of
74242         __WORDSIZE.
74243         (greg_t): Use "__extension__ long long int" if __x86_64__ is
74244         defined.
74245         (mcontext_t): Replace "unsigned long" with "unsigned long long".
74247         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
74248         include <bits/wordsize.h>.  Check __x86_64__ instead of
74249         __WORDSIZE.
74250         (user_regs_struct): Use "__extension__ unsigned long long"
74251         instead of "unsigned long" if __x86_64__ is defined.
74252         (user): Likewise.  Pad after pointer field if __ILP32__ is
74253         defined.
74255 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
74257         * configure.in (makeinfo): Require version 4.5 or later.  Allow
74258         versions 5 to 9.
74259         * configure: Regenerated.
74260         * manual/install.texi (texinfo): Increase version requirement to
74261         4.5 or later.
74262         * INSTALL: Regenerated.
74264         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
74266 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74268         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
74270         * sysdeps/x86_64/x32/ffs.c: New file.
74272         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
74273         __syscall_ulong_t.
74274         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
74275         defined.  Use __syscall_ulong_t.
74276         (shminfo): Use __syscall_ulong_t.
74277         (shm_info): Likewise.
74279         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
74280         __syscall_ulong_t.
74282         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
74283         <bits/wordsize.h>.
74284         (msgqnum_t): Use __syscall_ulong_t.
74285         (msglen_t): Likewise.
74286         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
74287         __syscall_ulong_t.
74289         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
74290         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
74292         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
74294         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
74295         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
74297         * sysvipc/sys/msg.h (msgbuf): Replace long int with
74298         __syscall_slong_t.
74300         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
74301         include <bits/wordsize.h>.  Check __x86_64__ instead of
74302         __WORDSIZE.
74304         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
74305         "unsigned long long int" if __x86_64__ is defined.
74306         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
74308         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
74309         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
74310         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
74312         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
74313         <stdint.h>.
74314         (GET_PC): Cast to uintptr_t first.
74315         (GET_FRAME): Likewise.
74316         (GET_STACK): Likewise.
74318         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
74319         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
74320         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
74321         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
74322         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
74323         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
74324         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
74325         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
74326         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
74327         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
74328         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
74329         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
74330         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
74331         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
74332         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
74333         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
74334         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
74335         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
74336         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
74337         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
74338         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
74339         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
74340         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
74341         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
74342         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
74343         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
74344         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
74345         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
74346         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
74348 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
74350         * Makerules (+depfiles): Also collect depfiles from .oS in
74351         $(extra-objs).
74352         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
74353         .oS, $(libnldbl-routines)).
74355         * Makerules (native-compile-mkdep-flags): Define.
74356         * sunrpc/Makefile (extra-objs): Add $(addprefix
74357         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
74358         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
74359         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
74360         calling $(make-target-directory).
74362 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74364         * bits/types.h (__snseconds_t): Removed.
74365         * time/time.h (struct timespec): Replace __snseconds_t with
74366         __syscall_slong_t.
74367         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
74368         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
74369         Likewise.
74370         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74371         (__SNSECONDS_T_TYPE): Likewise.
74372         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74373         (__SNSECONDS_T_TYPE): Likewise.
74374         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74375         (__SNSECONDS_T_TYPE): Likewise.
74377 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74379         * sysdeps/mach/hurd/bits/typesizes.h
74380         (__SYSCALL_SLONG_TYPE): New macro.
74381         (__SYSCALL_ULONG_TYPE): Likewise.
74383 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74385         * bits/types.h (__syscall_slong_t): New type.
74386         (__syscall_ulong_t): Likewise.
74388         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
74389         (__SYSCALL_ULONG_TYPE): Likewise.
74390         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74391         (__SYSCALL_SLONG_TYPE): Likewise.
74392         (__SYSCALL_ULONG_TYPE): Likewise.
74393         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74394         (__SYSCALL_SLONG_TYPE): Likewise.
74395         (__SYSCALL_ULONG_TYPE): Likewise.
74396         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74397         (__SYSCALL_SLONG_TYPE): Likewise.
74398         (__SYSCALL_ULONG_TYPE): Likewise.
74400 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74402         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
74403         Add sigaltstack-offsets.sym.
74404         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
74405         <sigaltstack-offsets.h>.
74406         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
74407         longjmp_msg pointer.
74408         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
74409         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
74410         signal stack.
74411         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
74413 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
74415         * elf/stackguard-macros.h: Remove file.
74416         * sysdeps/generic/stackguard-macros.h: New file.
74417         * sysdeps/i386/stackguard-macros.h: Likewise.
74418         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
74419         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
74420         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
74421         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
74422         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
74423         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
74424         * sysdeps/x86_64/stackguard-macros.h: Likewise.
74425         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
74426         <elf/stackguard-macros.h>.
74428         [BZ #14109]
74429         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
74430         __aligned__ in attribute.
74431         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
74432         (gregset_t): Likewise.
74434 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74436         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
74437         * sysdeps/x86_64/64/Implies-after: Here.  New file.
74438         * sysdeps/x86_64/x32/Implies-after: New file.
74440 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74442         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
74443         and access return value for _dl_profile_fixup.  Use R10_LP to
74444         load frame size.
74446 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74448         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
74450 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74452         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
74453         * sysdeps/x86_64/x32/sysdep.h: New file.
74455 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74457         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
74458         * sysdeps/x86_64/setjmp.S: Likewise.
74460 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74462         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
74463         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
74464         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
74465         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
74466         remove unused global constant.
74468 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
74470         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
74471         include of <not-cancel.h>.
74473 2012-05-15  Roland McGrath  <roland@hack.frob.com>
74475         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
74477 2012-05-15  Jeff Law  <law@redhat.com>
74478             Andreas Jaeger  <aj@suse.de>
74480         [BZ #13594]
74481         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
74482         out from...
74483         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
74484         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
74485         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
74486         code changing __hst_map_handle.map.
74488 2012-05-15  Roland McGrath  <roland@hack.frob.com>
74490         * configure.in (sysnames): Look for Implies-before and Implies-after
74491         files.
74492         * configure: Regenerated.
74494 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74496         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
74497         8-byte data alignment with LP_SIZE alignment.
74499 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74501         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
74502         into R10_LP.
74504 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74506         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
74508 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74510         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
74511         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
74512         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
74513         Likewise.
74514         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
74516 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74518         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
74519         (stackinfo_sub_sp): Likewise.
74521 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74523         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
74524         RAX_LP.
74526 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74528         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
74529         into R*_LP.
74531 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74533         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
74534         sizes into R*_LP.
74536 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74538         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
74540 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74542         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
74543         into R11_LP and load __x86_64_shared_cache_size_half into
74544         R8_LP.
74546 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74548         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
74549         R8_LP.
74551 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74553         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
74554         logb for POWER7.
74555         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
74556         logbf for POWER7.
74557         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
74558         logbl for POWER7.
74559         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
74560         powerpc32/power7/fpu/s_logb.c via #include.
74561         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
74562         powerpc32/power7/fpu/s_logbf.c via #include.
74563         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
74564         powerpc32/power7/fpu/s_logbl.c via #include.
74566 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
74568         * README.libm: Remove file.
74570 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74572         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
74573         count for x32.  Use R*_LP and omit operand-size suffix.
74575 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74577         * shlib-versions: Move x86_64-.*-linux.* entries to ...
74578         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
74579         * sysdeps/x86_64/x32/shlib-versions: New file.
74581 2012-05-14  Roland McGrath  <roland@hack.frob.com>
74583         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
74584         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
74585         Use _dl_fatal_printf instead.
74587 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
74589         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
74590         set if not set by the user.  Do not allow for being unset.
74591         * sysdeps/unix/sysv/linux/configure: Regenerated.
74593 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74595         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
74596         the `q' suffix from lea and replace .quad with ASM_ADDR.
74598 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74600         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
74601         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
74602         instead of $17.
74603         (PTR_DEMANGLE): Likewise.
74605 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74607         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
74608         (LP_OP): Likewise.
74609         (ASM_ADDR): Likewise.
74610         (RAX_LP): Likewise.
74611         (RBP_LP): Likewise.
74612         (RBX_LP): Likewise.
74613         (RCX_LP): Likewise.
74614         (RDI_LP): Likewise.
74615         (RSI_LP): Likewise.
74616         (RSP_LP): Likewise.
74617         (R8_LP): Likewise.
74618         (R9_LP): Likewise.
74619         (R10_LP): Likewise.
74620         (R10_LP): Likewise.
74621         (R11_LP): Likewise.
74622         (R12_LP): Likewise.
74623         (R13_LP): Likewise.
74624         (R14_LP): Likewise.
74625         (R15_LP): Likewise.
74627 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74629         * sysdeps/x86_64/x32/dl-machine.h: New file.
74631 2012-05-14  Andreas Jaeger  <aj@suse.de>
74633         * manual/Makefile (subdir): Remove export of subdir.
74634         (all): Remove target.
74635         (.PHONY): Remove all from list.
74636         (mkinstalldirs): Remove.
74637         (.PHONY): Remove installdirs from list.
74638         ($(inst_infodir)/libc.info): Use make-target-directory.
74639         (installdirs): Remove.
74640         (subdir_%): Remove.
74641         (glibc-targets): Remove.
74642         (lib): Remove.
74643         (stubs): Remove.
74644         ($(objpfx)stubs ../po/manual.pot): Remove.
74645         ($(objpfx)stamp%): Remove.
74646         (make-target-directory): Remove.
74647         (subdir_install): Remove.
74648         (routines): Remove.
74649         (aux): Remove.
74650         (sources): Remove.
74651         (objects): Remove.
74652         (headers): Remove.
74654         [BZ #13750]
74655         * manual/.gitignore: Remove, it's not needed anymore.
74656         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
74657         all files in it.
74658         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
74659         directory.
74660         (texis): Renamed to $(objpfx)texis.
74661         (texis-path): New, contains path to generated files.
74662         (chapters.%): Use texis-path for complete path, add extra argument
74663         libc-texinfo.sh.
74664         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
74665         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
74666         (summary,texi, stamp-summary): Use complete path of
74667         files. Generate files in build dir.
74668         (dir-add.texi): Build in build dir.
74669         (libm-err.texi,stamp-libm-err): Likewise.
74670         (version.texi, stamp-version): Likewise.
74671         (.%c.texi): Likewise.
74672         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
74673         (mostlyclean): Remove target.
74674         (realclean): Remove target.
74675         (generated): Add new variable with contents from mostlyclean and
74676         realclean, remove entries duplicated in common-mostlyclean, add
74677         stamp-libm-err and stamp-version.
74678         (generated-dirs): Add libc directory.
74679         ($(inst_infodir)/libc.info): Install files from build dir.
74681         * manual/install.texi (Configuring and compiling): Adjust since
74682         the info files are not part of the tar ball anymore.
74684 2012-05-14  Andreas Jaeger  <aj@suse.de>
74686         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
74687         variable.
74689 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
74691         [BZ #13717]
74692         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
74693         to 2.2.0 where earlier.
74694         * sysdeps/unix/sysv/linux/configure: Regenerated.
74695         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
74696         Remove conditional code.
74697         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
74698         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
74699         Remove conditional code.
74700         [!__NR_lchown]: Likewise.
74701         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
74702         [__NR_lchown]: Likewise.
74703         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
74704         comment referencing __ASSUME_LCHOWN_SYSCALL.
74705         * sysdeps/unix/sysv/linux/i386/sigaction.c
74706         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
74707         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
74708         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
74709         Remove conditional code.
74710         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
74711         (__protocol_available): Remove #if 0 code.
74712         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
74713         conditional code.
74714         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
74715         * sysdeps/unix/sysv/linux/kernel-features.h
74716         (__ASSUME_GETCWD_SYSCALL): Don't define.
74717         (__ASSUME_REALTIME_SIGNALS): Likewise.
74718         (__ASSUME_PREAD_SYSCALL): Likewise.
74719         (__ASSUME_PWRITE_SYSCALL): Likewise.
74720         (__ASSUME_POLL_SYSCALL): Likewise.
74721         (__ASSUME_LCHOWN_SYSCALL): Likewise.
74722         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
74723         non-SPARC.
74724         (__ASSUME_SIOCGIFNAME): Don't define.
74725         (__ASSUME_MSG_NOSIGNAL): Likewise.
74726         (__ASSUME_SENDFILE): Define unconditionally.
74727         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
74728         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
74729         conditional code.
74730         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
74731         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
74732         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
74733         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
74734         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
74735         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
74736         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
74737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
74738         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
74739         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
74740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
74741         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
74742         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
74743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
74744         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
74745         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
74746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
74747         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
74748         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
74749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
74750         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
74751         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
74752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
74753         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
74754         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
74755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
74756         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
74757         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
74758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
74759         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
74760         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
74761         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
74762         Remove conditional code.
74763         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
74764         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
74765         Remove conditional code.
74766         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
74767         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
74768         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
74769         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
74770         Remove conditional code.
74771         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
74772         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
74773         Remove conditional code.
74774         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
74775         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
74776         Remove conditional code.
74777         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
74778         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
74779         Remove conditional code.
74780         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
74781         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
74782         Remove conditional code.
74783         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
74784         * sysdeps/unix/sysv/linux/sh/pwrite64.c
74785         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
74786         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
74787         * sysdeps/unix/sysv/linux/sigaction.c
74788         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
74789         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
74790         * sysdeps/unix/sysv/linux/sigpending.c
74791         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
74792         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
74793         * sysdeps/unix/sysv/linux/sigprocmask.c
74794         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
74795         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
74796         * sysdeps/unix/sysv/linux/sigsuspend.c
74797         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
74798         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
74799         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
74800         (__libc_missing_rt_sigs): Remove.
74801         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
74802         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
74803         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
74804         Remove conditional code.
74805         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
74806         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
74807         return 1.
74808         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
74809         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
74810         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
74811         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
74813 2012-05-14  Andreas Jaeger  <aj@suse.de>
74815         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
74816         it's not used in glibc.
74817         (__coshm1): Likewise.
74818         (__acosh1p): Likewise.
74819         (__sgn): Likewise.
74821         * manual/string.texi (Copying and Concatenation): Add missing
74822         variable in concat example.
74823         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
74825 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74827         [BZ #14103]
74828         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
74829         __builtin_clzl with __builtin_clzll.
74831 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74833         [BZ #14104]
74834         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
74835         libc_freeres_ptr.
74837 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74839         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
74840         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
74841         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
74842         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
74844 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
74846         * NEWS: Update ia64 info.
74848 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
74850         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
74851         used as bcopy.
74853 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
74855         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
74856         * sysdeps/unix/syscalls.list (dup3): Likewise.
74857         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
74858         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
74860 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
74862         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
74863         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
74865 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
74867         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
74868         thread pointer.
74869         (TLS_IE): Use mov/add instead of movq/addq to load thread
74870         pointer.
74871         (TLS_GD_PREFIX): New.
74872         (TLS_GD): Use it.
74874 2012-05-11  David S. Miller  <davem@davemloft.net>
74876         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
74877         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
74878         (_FPU_SETCW): Likewise.
74880 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
74882         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
74883         is 32-byte aligned.
74885 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
74887         [BZ #11837]
74888         * iconvdata/gb18030.c: Update tables.
74889         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
74890         characters specially.
74891         (BODY for TO_LOOP): Add encoding of missing ranges.
74893 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
74895         [BZ #13673]
74896         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
74897         * sysdeps/mach/hurd/dup3.c: Likewise.
74898         * sysdeps/mach/hurd/readlinkat.c: Likewise.
74899         * sysdeps/powerpc/memmove.c:: Likewise.
74901 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
74903         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
74904         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
74906 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
74908         * elf/elf.h (R_X86_64_RELATIVE64): New.
74909         (R_X86_64_NUM): Updated.
74910         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
74911         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
74912         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
74913         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
74914         tst-quad1pie tst-quad2pie
74915         (modules-names): Add tst-quadmod1 tst-quadmod2.
74916         ($(objpfx)tst-quad1): New dependency.
74917         ($(objpfx)tst-quad2): Likewise.
74918         ($(objpfx)tst-quad1pie): Likewise.
74919         ($(objpfx)tst-quad2pie): Likewise.
74920         * sysdeps/x86_64/tst-quad1.c: New file.
74921         * sysdeps/x86_64/tst-quad1pie.c: New file.
74922         * sysdeps/x86_64/tst-quad2.c: Likewise.
74923         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
74924         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
74925         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
74926         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
74927         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
74929 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74931         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
74932         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
74933         * streams/stropts.h (t_scalar_t): Define type.
74935         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
74936         (_PATH_PRESERVE): Set to "/var/lib".
74937         (_PATH_RWHODIR): Set to "/var/spool/rwho".
74939         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
74940         instead of int.
74942         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
74943         if __dir_mkfile succeeded.
74945         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
74946         checking for _hurd_dtablesize.  Unlock it right after having
74947         finished _hurd_dtable allocation.
74949 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74951         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
74952         * sysdeps/mach/hurd/configure: Regenerated.
74953         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
74954         special-casing to...
74955         * sysdeps/gnu/configure.in: ... this new file.
74956         * sysdeps/unix/sysv/linux/configure: Regenerated.
74957         * sysdeps/gnu/configure: New generated file.
74959         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
74960         for Linux: use nsec instead of usec, as well as:
74961         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
74962         members of type struct timespec.
74963         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
74964         New macros.
74965         (struct stat64): Likewise.
74966         (_STATBUF_ST_NSEC): New macro.
74967         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
74969         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
74970         __strtoul_internal rather than strtoul.
74972 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
74974         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
74975         and reject them.
74977 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74979         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
74980         which preserves existing values.
74981         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
74983 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
74985         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
74986         TIMEOUT values.  Return EINVAL for NFDS values either negative or
74987         greater than FD_SETSIZE.
74989 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74991         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
74992         allocated, call __vm_protect to finish enabling the existing space, and
74993         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
74994         allocate the remainder.
74996 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
74998         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
74999         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
75001 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75003         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
75004         sysdeps/mach/hurd/readlink.c.
75006         * posix/tst-sysconf.c (posix_options): Only use
75007         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
75008         _POSIX_SYNCHRONIZED_IO when they are defined
75009         * sysdeps/mach/hurd/bits/posix_opt.h:
75010         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
75011         (_XOPEN_REALTIME): Undefine macro.
75012         (_XOPEN_REALTIME_THREADS): Undefine macro.
75013         (_XOPEN_SHM): Undefine macro.
75014         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
75015         macro to -1.
75016         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
75017         macro to -1.
75018         (_POSIX_ASYNC_IO): Undefine macro.
75019         (_POSIX_PRIORITIZED_IO): Undefine macro.
75020         (_POSIX_SPIN_LOCKS): Define macro to -1.
75022         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
75023         SA_NODEFER, SA_RESETHAND.
75024         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
75025         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
75026         F_DUPFD_CLOEXEC.
75028 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75030         * elf/Makefile (pldd-modules): Define unconditionally.
75032 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75034         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
75036 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75038         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
75039         Return ENOENT when name is empty.
75040         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
75042 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75044         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
75046         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
75048 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75050         Fix mlock in all cases except non-readable pages.
75051         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
75052         instead of VM_PROT_ALL as parameter to __vm_wire function.
75054         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
75055         (__mkdir): When path is `/', just fail with EEXIST.
75056         * sysdeps/mach/hurd/mkdirat.c: Likewise.
75058 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75060         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
75061         <sys/uio.h> (for writev).
75062         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
75063         and <sys/param.h> (for MIN).
75065 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
75067         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
75068         REQUESTED_TIME.  Properly set the remaining time and return EINTR
75069         if interrupted.
75071 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75073         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
75074         Depend on against $(link-rpcuserlibs).
75076 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75078         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
75079         (__libc_stack_end): Do not use attribute_relro.
75080         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
75081         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
75082         to libthread-provided value.
75083         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
75084         attribute_relro.
75086 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75088         [BZ #3748]
75089         * bits/libc-lock.h (__libc_once_get): New macro.
75090         * sysdeps/mach/bits/libc-lock.h: Likewise.
75091         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
75092         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
75093         instead of using implementation details.
75095         * libio/fileops.c: Unconditionally include <kernel-features.h>.
75096         * libio/freopen.c: Likewise.
75097         * libio/freopen64.c: Likewise.
75098         * misc/syslog.c: Likewise.
75099         * nscd/connections.c: Likewise.
75100         * nscd/netgroupcache.c: Likewise.
75101         * sysdeps/posix/getcwd.c: Likewise.
75103 2012-05-10  Roland McGrath  <roland@hack.frob.com>
75105         * math/w_ilogbf.c: Add #include <limits.h>.
75107 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75109         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
75110         path instead of returning without unlocking.
75112         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
75113         immediate-write ioctls.
75114         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
75116 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75118         * sysdeps/mach/hurd/i386/init-first.c (init): Use
75119         __builtin_frame_address instead of making assumptions about the
75120         location of the return address relative to DATA.  Force early load of
75121         the return address.
75122         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
75123         __builtin_frame_address.
75125         dup3 for GNU Hurd.
75126         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
75127         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
75128         implement dup3 and do some further code clean-ups.
75129         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
75130         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
75132 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75134         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
75136         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
75137         HURD_CRITICAL_END around holding _hurd_dtable_lock.
75138         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
75139         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
75140         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
75141         d->port.lock.
75143         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
75144         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
75145         when handler == SIG_ERR, not when handler != SIG_ERR.
75147 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75149         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
75150         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
75151         definitions.
75153         accept4 for GNU Hurd.
75154         * include/sys/socket.h (__libc_accept4): New prototype.
75155         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
75156         to implement __libc_accept4.
75157         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
75158         __libc_accept4.
75159         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
75161         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
75162         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
75163         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
75164         signal-defines.sym.
75166 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75168         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
75170 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75172         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
75173         assertion on O_CLOEXEC flag.
75174         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
75175         * hurd/intern-fd.c: Likewise.
75176         * hurd/port2fd.c: Likewise.
75178 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75180         [BZ #3906]
75181         * bits/in.h (IPV6_PKTINFO): Define new macro.
75182         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
75184 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75186         [BZ #13954]
75187         [BZ #13955]
75188         [BZ #13956]
75189         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
75190         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
75191         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
75192         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
75193         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
75194         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
75195         * math/libm-test.inc (logb_test) : Additional logb tests.
75197 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
75198             Andreas Jaeger  <aj@suse.de>
75200         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
75201         * configure: Regenerated.
75202         * config.h.in (LINK_OBSOLETE_RPC): New macro.
75203         * config.make.in (link-obsolete-rpc): New substituted variable.
75204         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
75205         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
75206         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
75207         (shared-only-routines): Don't set it under [link-obsolete-rpc],
75208         so that libc.a contains the symbols.
75209         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
75210         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
75211         * sunrpc/auth_none.c: Likewise.
75212         * sunrpc/auth_unix.c: Likewise.
75213         * sunrpc/authdes_prot.c: Likewise.
75214         * sunrpc/authuxprot.c: Likewise.
75215         * sunrpc/clnt_gen.c: Likewise.
75216         * sunrpc/clnt_perr.c: Likewise.
75217         * sunrpc/clnt_raw.c: Likewise.
75218         * sunrpc/clnt_simp.c: Likewise.
75219         * sunrpc/clnt_tcp.c: Likewise.
75220         * sunrpc/clnt_udp.c: Likewise.
75221         * sunrpc/clnt_unix.c: Likewise.
75222         * sunrpc/des_crypt.c: Likewise.
75223         * sunrpc/des_soft.c: Likewise.
75224         * sunrpc/get_myaddr.c: Likewise.
75225         * sunrpc/key_call.c: Likewise.
75226         * sunrpc/key_prot.c: Likewise.
75227         * sunrpc/netname.c: Likewise.
75228         * sunrpc/pm_getmaps.c: Likewise.
75229         * sunrpc/pm_getport.c: Likewise.
75230         * sunrpc/pmap_clnt.c: Likewise.
75231         * sunrpc/pmap_prot.c: Likewise.
75232         * sunrpc/pmap_prot2.c: Likewise.
75233         * sunrpc/pmap_rmt.c: Likewise.
75234         * sunrpc/publickey.c: Likewise.
75235         * sunrpc/rpc_cmsg.c: Likewise.
75236         * sunrpc/rpc_common.c: Likewise.
75237         * sunrpc/rpc_dtable.c: Likewise.
75238         * sunrpc/rpc_prot.c: Likewise.
75239         * sunrpc/rpc_thread.c: Likewise.
75240         * sunrpc/rtime.c: Likewise.
75241         * sunrpc/svc.c: Likewise.
75242         * sunrpc/svc_auth.c: Likewise.
75243         * sunrpc/svc_raw.c: Likewise.
75244         * sunrpc/svc_run.c: Likewise.
75245         * sunrpc/svc_tcp.c: Likewise.
75246         * sunrpc/svc_udp.c: Likewise.
75247         * sunrpc/svc_unix.c: Likewise.
75248         * sunrpc/svcauth_des.c: Likewise.
75249         * sunrpc/xcrypt.c: Likewise.
75250         * sunrpc/xdr.c: Likewise.
75251         * sunrpc/xdr_array.c: Likewise.
75252         * sunrpc/xdr_float.c: Likewise.
75253         * sunrpc/xdr_intXX_t.c: Likewise.
75254         * sunrpc/xdr_mem.c: Likewise.
75255         * sunrpc/xdr_rec.c: Likewise.
75256         * sunrpc/xdr_ref.c: Likewise.
75257         * sunrpc/xdr_sizeof.c: Likewise.
75258         * sunrpc/xdr_stdio.c: Likewise.
75260 2012-05-10  Roland McGrath  <roland@hack.frob.com>
75262         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
75263         change.  Update copyright years.
75265 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
75267         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
75269 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
75270             Joseph Myers  <joseph@codesourcery.com>
75271             Paul Pluzhnikov  <ppluzhnikov@google.com>
75273         [BZ #14012]
75274         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
75275         requiring rpcgen.
75276         [cross-compiling] (extra-libs): Likewise.
75277         [cross-compiling] (extra-libs-others): Likewise.
75278         [cross-compiling] (librpcsvc-routines): Likewise.
75279         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
75280         [cross-compiling] (omit-deps): Likewise.
75281         (sunrpc-CPPFLAGS): New variable.
75282         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
75283         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
75284         (cross-rpcgen-objs): New variable.
75285         (extra-objs): Append $(cross-rpcgen-objs).
75286         ($(cross-rpcgen-objs)): New rule.
75287         ($(objpfx)cross-rpcgen): Likewise.
75288         (rpcgen-cmd): Define to use $(built-program-file).  Expand
75289         comment.
75290         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
75291         ($(objpfx)x%.stmp): Likewise.
75292         * sunrpc/proto.h [IS_IN_build] (_): Define.
75293         [IS_IN_build] (_libc_intl_domainname): Likewise.
75295 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
75297         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
75298         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
75299         and R_X86_64_TPOFF64.
75301 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
75303         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
75304         sysdeps/unix/sysv/syscalls.list.
75305         (stime): Likewise.
75306         (utime): Likewise.
75307         * sysdeps/unix/sysv/syscalls.list: Remove file.
75309 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
75311         [BZ #3440]
75312         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
75313         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
75314         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
75315         (__LC_IDENTIFICATION): Make these macros useful in #if
75316         expressions, as required by C99.
75318 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
75320         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
75321         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
75322         after this.
75324 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
75326         * stdlib/longlong.h: Updated from GCC.
75328 2012-05-09  Andreas Jaeger  <aj@suse.de>
75330         * nscd/nscd.c (run_modes): Make named enum, reorder so that
75331         default is first entry.
75332         (run_mode): Set type.
75333         (main): Remove informal message about syslog.
75334         (options): Fix typo.
75336         [BZ #14053]
75337         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
75338         to asm.
75339         (lrint): Likewise.
75340         (llrintf): Likewise.
75341         (llrint): Likewise.
75342         (rint): Likewise.
75343         (rintf): Likewise.
75344         (nearbyint): Likewise.
75345         (nearbyintf): Likewise.
75347 2012-05-09  Andreas Jaeger  <aj@suse.de>
75348             Pedro Alves  <palves@redhat.com>
75350         * nscd/nscd.c (run_mode): Use enum.
75351         (main): Cleanup coding style issue.
75353 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
75354             Andreas Jaeger  <aj@suse.de>
75356         * nscd/nscd.c (go_background): Replaced with...
75357         (run_mode): ... this.
75358         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
75359         (options): Add -F --foreground.
75360         (main): Implement it.
75361         (parse_opt): Parse it.
75363 2012-05-09  Andreas Jaeger  <aj@suse.de>
75365         [BZ #14083]
75366         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
75367         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
75368         -Wconversion warning.
75369         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
75370         Likewise.
75372 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
75374         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
75375         == 0.
75376         (LC_ALL): Use macro-int-constant.
75377         (LC_COLLATE): Likewise.
75378         (LC_CTYPE): Likewise.
75379         (LC_MESSAGES): Likewise.
75380         (LC_MONETARY): Likewise.
75381         (LC_NUMERIC): Likewise.
75382         (LC_TIME): Likewise.
75383         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
75384         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
75385         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75386         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
75387         Specify type.
75388         [C99-based standards] (float_t): Expect type.
75389         [C99-based standards] (double_t): Expect type.
75390         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
75391         type.
75392         [C99-based standards] (HUGE_VALL): Likewise.
75393         [C99-based standards] (INFINITY): Likewise.
75394         [C99-based standards] (NAN): Likewise.
75395         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
75396         [C99-based standards] (FP_NAN): Likewise.
75397         [C99-based standards] (FP_NORMAL): Likewise.
75398         [C99-based standards] (FP_SUBNORMAL): Likewise.
75399         [C99-based standards] (FP_ZERO): Likewise.
75400         [C99-based standards] (FP_FAST_FMA): Use
75401         optional-macro-int-constant.  Specify type.  Require == 1.
75402         [C99-based standards] (FP_FAST_FMAF): Likewise.
75403         [C99-based standards] (FP_FAST_FMAL): Likewise.
75404         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
75405         [C99-based standards] (FP_ILOGBNAN): Likewise.
75406         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
75407         Specify type.
75408         [C99-based standards] (MATH_ERREXCEPT): Likewise.
75409         [C99-based standards] (math_errhandling): Specify type.
75410         [ISO99 || ISO11] (signgam): Do not allow.
75411         [non-C99-based standards] (copysignf): Do not allow.
75412         [non-C99-based standards] (exp2f): Likewise.
75413         [non-C99-based standards] (log2f): Likewise.
75414         [non-C99-based standards] (modff): Allow.
75415         [non-C99-based standards] (erff): Do not allow.
75416         [non-C99-based standards] (erfcf): Likewise.
75417         [non-C99-based standards] (gammaf): Likewise.
75418         [non-C99-based standards] (hypotf): Likewise.
75419         [non-C99-based standards] (j0f): Likewise.
75420         [non-C99-based standards] (j1f): Likewise.
75421         [non-C99-based standards] (jnf): Likewise.
75422         [non-C99-based standards] (lgammaf): Likewise.
75423         [non-C99-based standards] (tgammaf): Likewise.
75424         [non-C99-based standards] (y0f): Likewise.
75425         [non-C99-based standards] (y1f): Likewise.
75426         [non-C99-based standards] (ynf): Likewise.
75427         [non-C99-based standards] (isnanf): Likewise.
75428         [non-C99-based standards] (acoshf): Likewise.
75429         [non-C99-based standards] (asinhf): Likewise.
75430         [non-C99-based standards] (atanhf): Likewise.
75431         [non-C99-based standards] (cbrtf): Likewise.
75432         [non-C99-based standards] (expm1f): Likewise.
75433         [non-C99-based standards] (ilogbf): Likewise.
75434         [non-C99-based standards] (log1pf): Likewise.
75435         [non-C99-based standards] (logbf): Likewise.
75436         [non-C99-based standards] (nextafterf): Likewise.
75437         [non-C99-based standards] (remainderf): Likewise.
75438         [non-C99-based standards] (rintf): Likewise.
75439         [non-C99-based standards] (scalbf): Likewise.
75440         [non-C99-based standards] (copysignl): Likewise.
75441         [non-C99-based standards] (exp2l): Likewise.
75442         [non-C99-based standards] (log2l): Likewise.
75443         [non-C99-based standards] (modfl): Allow.
75444         [non-C99-based standards] (erfl): Do not allow.
75445         [non-C99-based standards] (erfcl): Likewise.
75446         [non-C99-based standards] (gammal): Likewise.
75447         [non-C99-based standards] (hypotl): Likewise.
75448         [non-C99-based standards] (j0l): Likewise.
75449         [non-C99-based standards] (j1l): Likewise.
75450         [non-C99-based standards] (jnl): Likewise.
75451         [non-C99-based standards] (lgammal): Likewise.
75452         [non-C99-based standards] (tgammal): Likewise.
75453         [non-C99-based standards] (y0l): Likewise.
75454         [non-C99-based standards] (y1l): Likewise.
75455         [non-C99-based standards] (ynl): Likewise.
75456         [non-C99-based standards] (isnanl): Likewise.
75457         [non-C99-based standards] (acoshl): Likewise.
75458         [non-C99-based standards] (asinhl): Likewise.
75459         [non-C99-based standards] (atanhl): Likewise.
75460         [non-C99-based standards] (cbrtl): Likewise.
75461         [non-C99-based standards] (expm1l): Likewise.
75462         [non-C99-based standards] (ilogbl): Likewise.
75463         [non-C99-based standards] (log1pl): Likewise.
75464         [non-C99-based standards] (logbl): Likewise.
75465         [non-C99-based standards] (nextafterl): Likewise.
75466         [non-C99-based standards] (remainderl): Likewise.
75467         [non-C99-based standards] (rintl): Likewise.
75468         [non-C99-based standards] (scalbl): Likewise.
75469         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75470         [non-C99-based standards] (FP_*): Do not allow.
75471         [C99-based standards] (FP_*): Change to
75472         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
75473         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
75474         allow.
75475         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
75476         (SIG_ERR): Likewise.
75477         [X/Open-based standards] (SIG_HOLD): Likewise.
75478         (SIG_IGN): Likewise.
75479         (SIGABRT): Use macro-int-constant.  Specify type.  Require
75480         positive value.
75481         (SIGFPE): Likewise.
75482         (SIGILL): Likewise.
75483         (SIGINT): Likewise.
75484         (SIGSEGV): Likewise.
75485         (SIGTER): Likewise.
75486         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
75487         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
75488         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
75489         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
75490         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
75491         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
75492         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
75493         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
75494         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
75495         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
75496         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
75497         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
75498         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
75499         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
75500         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
75501         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
75502         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
75503         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
75504         [X/Open-based standards] (SIGTRAP): Likewise.
75505         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
75506         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
75507         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
75508         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
75509         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
75510         allow.
75512 2012-05-08  Ian Wienand  <ianw@vmware.com>
75514         [BZ #14080]
75515         * time/tzset.c (__tzset_parse_tz): Update default rules for
75516         daylight time changes in the Energy Policy Act of 2005.
75518 2012-05-09  Andreas Jaeger  <aj@suse.de>
75520         [BZ #13983]
75521         * elf/ldconfig.c (parse_conf): Change string to make clear that
75522         ldconfig only issued a warning if ld.so.conf does not exist.
75524 2012-05-08  David S. Miller  <davem@davemloft.net>
75526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
75527         movxtod instead of popping the value on the stack.
75529         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75531 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
75533         * config.h.in: Add HAVE_ARM_PCS_VFP.
75535 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
75537         [BZ #13979]
75538         * include/features.h: Warn if user requests __FORTIFY_SOURCE
75539         checking but the checks are disabled for any reason.
75541 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
75543         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
75544         and ELF64_R_TYPE with ELFW(R_TYPE).
75546 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
75548         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
75549         (ulimit): Likewise.
75551         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
75552         (settimeofday): Likewise.
75554 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
75556         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
75557         a struct th_u2 inside the union, and move tu_block/tu_code into
75558         a new th_u3 union of tu_block/tu_code inside of that.  Move
75559         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
75560         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
75561         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
75562         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
75563         (th_stuff): Change to th_u1.tu_stuff.
75564         (th_data): Define.
75565         (th_msg): Change to th_u1.th_u2.tu_data.
75567 2012-05-07  David S. Miller  <davem@davemloft.net>
75569         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75571         [BZ #14074]
75572         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
75573         (SETUP_PIC_REG): Use it.
75574         (SETUP_PIC_REG_LEAF): Use it.
75576 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
75578         [BZ #13885]
75579         [BZ #13923]
75580         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
75581         USE_AS_EXPM1L.
75582         (EXPL_FINITE): Likewise.
75583         (FLDLOG): Likewise.
75584         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
75585         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
75586         e_expl.S.
75587         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
75588         USE_AS_EXPM1L.
75589         (EXPL_FINITE): Likewise.
75590         (FLDLOG): Likewise.
75591         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
75592         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
75593         e_expl.S.
75594         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
75595         test of -max_value argument for long double.
75596         * sysdeps/i386/fpu/libm-test-ulps: Update.
75597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75599 2012-05-06  David S. Miller  <davem@davemloft.net>
75601         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
75602         quad soft-float symbols whose references which are compiler
75603         generated.
75604         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
75606 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
75608         [BZ #13884]
75609         [BZ #13914]
75610         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
75611         USE_AS_EXP10L.
75612         (EXPL_FINITE): Likewise.
75613         (FLDLOG): Likewise.
75614         (c0): Likewise.
75615         (c1): Likewise.
75616         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
75617         Adjust comments for base varying.
75618         (__expl_finite): Change alias to EXPL_FINITE.
75619         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
75620         e_expl.S.
75621         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
75622         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
75623         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
75624         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
75625         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
75626         USE_AS_EXP10L.
75627         (EXPL_FINITE): Likewise.
75628         (FLDLOG): Likewise.
75629         (c0): Likewise.
75630         (c1): Likewise.
75631         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
75632         Adjust comments for base varying.
75633         (__expl_finite): Change alias to EXPL_FINITE.
75634         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
75635         tests for bugs.
75636         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75638         [BZ #14064]
75639         * math/libm-test.inc (check_float_internal): Correct ulp
75640         calculation for subnormal expected results.
75642 2012-05-06  Andreas Jaeger  <aj@suse.de>
75644         * Makeconfig (+math-flags): New, set to -frounding-math.
75645         (+cflags): Add +math-flags so that all of glibc gets compiled with
75646         it.
75648         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
75650 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
75652         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
75653         Disable one test.
75655         [BZ #13787]
75656         [BZ #13922]
75657         [BZ #14036]
75658         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
75659         (__ieee754_expl): Allow for and saturate large arguments.
75660         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
75661         (u_threshold): Likewise.
75662         (__exp): Call __ieee754_exp before checking for overflow and
75663         underflow.
75664         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
75665         (u_threshold): Likewise.
75666         (__expf): Call __ieee754_expf before checking for overflow and
75667         underflow.
75668         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
75669         (u_threshold): Likewise.
75670         (__expl): Call __ieee754_expl before checking for overflow and
75671         underflow.
75672         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
75673         (__ieee754_expl): Allow for and saturate large arguments.
75674         * math/libm-test.inc (exp_test): Add another test.  Do not allow
75675         missing overflow exception on overflow.
75676         (expm1_test): Do not allow missing overflow exception on overflow.
75678         * sysdeps/i386/fpu/e_expl.c: Move to ...
75679         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
75680         rather than using inline asm.
75681         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
75682         * sysdeps/x86_64/fpu/e_expl.S: Copy from
75683         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
75685         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
75686         (nice): Likewise.
75687         (poll): Likewise.
75688         (signal): Likewise.
75689         (time): Likewise.
75690         (times): Likewise.
75692 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
75694         * sysdeps/unix/syscalls.list (adjtime): Add entry from
75695         sysdeps/unix/common/syscalls.list.
75696         (fchmod): Likewise.
75697         (fchown): Likewise.
75698         (ftruncate): Likewise.
75699         (getrusage): Likewise.
75700         (gettimeofday): Likewise.
75701         (setpgid): Likewise.
75702         (setregid): Likewise.
75703         (setreuid): Likewise.
75704         (sigaction): Likewise.
75705         (truncate): Likewise.
75706         (vhangup): Likewise.
75707         * sysdeps/unix/common/syscalls.list: Remove file.
75708         * sysdeps/unix/bsd/Implies: Don't include unix/common.
75709         * sysdeps/unix/sysv/linux/Implies: Likewise.
75711 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
75713         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
75714         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
75715         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
75716         Moved to ...
75717         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
75718         Here.
75719         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
75720         to ...
75721         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
75722         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
75723         to ...
75724         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
75725         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
75726         to ...
75727         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
75728         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
75729         to ...
75730         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
75731         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
75732         to ...
75733         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
75734         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
75735         to ...
75736         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
75737         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
75738         to ...
75739         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
75740         Here.
75741         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
75742         to ...
75743         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
75744         Here.
75745         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
75746         to ...
75747         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
75748         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
75749         Moved to ...
75750         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
75751         Here.
75752         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
75753         to ...
75754         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
75756 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
75758         * sysdeps/unix/common/bits/dirent.h: Remove file.
75759         * sysdeps/unix/common/bits/fcntl.h: Likewise.
75761         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
75762         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
75763         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
75764         * sysdeps/unix/bsd/isatty.c: Likewise.
75765         * sysdeps/unix/bsd/tcdrain.c: Likewise.
75766         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
75767         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
75769 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75771         [BZ #13563]
75772         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
75773         long double comparison inaccuracies.
75774         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
75775         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75777 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
75779         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
75780         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
75782 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
75784         [BZ #14049]
75785         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
75786         nonzero digits before rounding a hex value.
75787         * stdlib/tst-strtod.c (tests): Add another test.
75789 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75791         * sysdeps/s390/fpu/libm-test-ulps: Update.
75793 2012-05-03  Andreas Jaeger  <aj@suse.de>
75795         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
75796         does not get optimized out.
75797         (malloc_opt_barrier): New.
75799 2012-05-03  Andreas Jaeger  <aj@suse.de>
75800             Roland McGrath  <roland@hack.frob.com>
75802         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
75803         intermediate file deletion.
75804         (generated): Add .symlist files.
75806 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
75808         [BZ #13775]
75809         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
75810         Redirect under this condition.
75811         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
75812         [__USE_GNU] (__dprintf_chk): Not under this condition.
75813         [__USE_GNU] (__vdprintf_chk): Likewise.
75814         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
75815         under this condition.
75816         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
75817         [__USE_XOPEN2K8] (dprintf): Define under this condition.
75818         [__USE_XOPEN2K8] (vdprintf): Likewise.
75819         [__USE_GNU] (__dprintf_chk): Not under this condition.
75820         [__USE_GNU] (__vdprintf_chk): Likewise.
75821         [__USE_GNU] (dprintf): Likewise.
75822         [__USE_GNU] (vdprintf): Likewise.
75824 2012-05-03  Roland McGrath  <roland@hack.frob.com>
75826         * elf/Makefile (common-generated): Set this instead of generated for
75827         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
75828         $(all-built-dso)-derived lists.
75830 2012-05-03  Andreas Jaeger  <aj@suse.de>
75832         * sysdeps/i386/fpu/libm-test-ulps: Update.
75834         * FAQ: Removed.
75835         * FAQ.in: Likewise.
75836         * scripts/gen-FAQ.pl: Likewise.
75837         * manual/install.texi (Installation): Point to online location of
75838         FAQ.
75839         * Makefile (files-for-dist): Remove FAQ.
75840         (FAQ): Remove.
75842 2012-05-02  Allan McRae  <allan@archlinux.org>
75844         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
75845         (LDFLAGS-reldepmod5.so): Likewise.
75846         (LDFLAGS-reldep6mod1.so): Likewise.
75847         (LDFLAGS-reldep6mod4.so): Likewise.
75848         (LDFLAGS-reldep8mod3.so): Likewise.
75849         (LDFLAGS-unload4mod1.so): Likewise.
75850         (LDFLAGS-unload4mod2.so): Likewise.
75851         (LDFLAGS-tst-initorder): Likewise.
75852         (LDFLAGS-tst-initordera2.so): Likewise.
75853         (LDFLAGS-tst-initordera3.so): Likewise.
75854         (LDFLAGS-tst-initordera4.so): Likewise.
75855         (LDFLAGS-tst-initorderb2.so): Likewise.
75856         (LDFLAGS-noload): Likewise.
75857         (LDFLAGS-next): Likewise.
75858         (LDFLAGS-order2mod1.so): Likewise.
75859         (LDFLAGS-order2mod2.so): Likewise.
75860         (LDFLAGS-tst-initorder2): Likewise.
75861         (LDFLAGS-tst-initorder2a.so): Likewise.
75862         (LDFLAGS-tst-initorder2b.so): Likewise.
75863         (LDFLAGS-tst-initorder2c.so): Likewise.
75864         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
75866 2012-05-02  David S. Miller  <davem@davemloft.net>
75868         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75870 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
75872         [BZ #14055]
75873         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
75875 2012-05-02  Andreas Jaeger  <aj@suse.de>
75877         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
75878         since we manipulate rounding mode.
75879         (CPPFLAGS-test-idouble.c): Likewise.
75880         (CPPFLAGS-test-ifloat.c): Likewise.
75881         (CFLAGS-test-ldouble.c): Likewise.
75882         (CFLAGS-test-double.c): Likewise.
75883         (CFLAGS-test-float.c): Likewise.
75884         (CFLAGS-test-misc.c): Likewise.
75885         (CFLAGS-test-test-fenv.c): Likewise.
75887 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75889         [BZ #2550]
75890         [BZ #2570]
75891         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
75892         comparisons to determine direction to adjust input.
75894 2012-05-01  Roland McGrath  <roland@hack.frob.com>
75896         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
75897         output to the target.
75899         * scripts/localplt.awk: New file.
75900         * elf/Makefile ($(objpfx)check-localplt): Target removed.
75901         (check-localplt-CFLAGS): Variable removed.
75902         ($(all-built-dso:=.jmprel)): New static pattern rule.
75903         (generated): Add those targets.
75904         (localplt-built-dso): New variable.
75905         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
75907         * elf/check-localplt.c: File removed.
75909         * scripts/check-execstack.awk: New file.
75910         * elf/Makefile ($(objpfx)check-execstack): Target removed.
75911         (check-execstack-CFLAGS): Variable removed.
75912         ($(objpfx)check-execstack.h): Target removed.
75913         ($(objpfx)execstack-default): New target.
75914         (generated): Add that instead of check-execstack.h.
75915         ($(all-built-dso:=.phdr)): New static pattern rule.
75916         (generated): Add those targets.
75917         * elf/check-execstack.c: File removed.
75919         * scripts/check-textrel.awk: New file.
75920         * elf/Makefile ($(objpfx)check-textrel): Target removed.
75921         (check-textrel-CFLAGS): Variable removed.
75922         (all-built-dso): Use := to define.o
75923         ($(all-built-dso:=.dyn)): New static pattern rule.
75924         (generated): Add those targets.
75925         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
75926         * config.make.in (READELF): New substituted variable.
75927         * elf/check-textrel.c: File removed.
75929 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
75931         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
75932         allow.
75933         * conform/data/ctype.h-data [C99-based standards] (isblank):
75934         Expect function.
75935         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
75936         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
75937         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75938         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
75939         Specify type.  Require positive value.
75940         (EILSEQ): Likewise.
75941         (ERANGE): Likewise.
75942         [ISO || POSIX] (EILSEQ): Do not expect.
75943         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
75944         Specify type.  Require positive value.
75945         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
75946         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
75947         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
75948         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
75949         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
75950         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
75951         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
75952         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
75953         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
75954         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
75955         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
75956         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
75957         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
75958         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
75959         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
75960         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
75961         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
75962         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
75963         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
75964         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
75965         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
75966         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
75967         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
75968         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
75969         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
75970         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
75971         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
75972         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
75973         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
75974         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
75975         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
75976         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
75977         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
75978         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
75979         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
75980         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
75981         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
75982         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
75983         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
75984         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
75985         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
75986         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
75987         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
75988         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
75989         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
75990         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
75991         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
75992         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
75993         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
75994         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
75995         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
75996         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
75997         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
75998         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
75999         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
76000         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
76001         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
76002         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
76003         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
76004         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
76005         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
76006         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
76007         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
76008         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
76009         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
76010         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
76011         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
76012         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
76013         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
76014         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
76015         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
76016         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
76017         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
76018         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
76019         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
76020         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
76021         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
76022         Require >= 2.
76023         (FLT_ROUNDS): Expect as macro, not constant.
76024         (FLT_MANT_DIG): Use macro-int-constant.
76025         (DBL_MANT_DIG): Likewise.
76026         (LDBL_MANT_DIG): Likewise.
76027         (FLT_DIG): Likewise.
76028         (DBL_DIG): Likewise.
76029         (LDBL_DIG): Likewise.
76030         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
76031         (DBL_MIN_EXP): Likewise.
76032         (LDBL_MIN_EXP): Likewise.
76033         (FLT_MAX_EXP): Use macro-int-constant.
76034         (DBL_MAX_EXP): Likewise.
76035         (LDBL_MAX_EXP): Likewise.
76036         (FLT_MAX_10_EXP): Likewise.
76037         (DBL_MAX_10_EXP): Likewise.
76038         (LDBL_MAX_10_EXP): Likewise.
76039         (FLT_MAX): Use macro-constant.
76040         (DBL_MAX): Likewise.
76041         (LDBL_MAX): Likewise.
76042         (FLT_EPSILON): Use macro-constant.  Give upper bound.
76043         (DBL_EPSILON): Likewise.
76044         (LDBL_EPSILON): Likewise.
76045         (FLT_MIN): Likewise.
76046         (DBL_MIN): Likewise.
76047         (LDBL_MIN): Likewise.
76048         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
76049         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
76050         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
76051         [ISO11] (FLT_HAS_SUBNORM): Likewise.
76052         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
76053         [ISO11] (DBL_DECIMAL_DIG): Likewise.
76054         [ISO11] (FLT_DECIMAL_DIG): Likewise.
76055         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
76056         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
76057         [ISO11] (FLT_TRUE_MIN): Likewise.
76058         [ISO11] (LDBL_TRUE_MIN): Likewise.
76059         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76060         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
76061         (SCHAR_MIN): Use macro-int-constant.  Specify type.
76062         (SCHAR_MAX): Likewise.
76063         (UCHAR_MAX): Likewise.
76064         (CHAR_MIN): Likewise.
76065         (CHAR_MAX): Likewise.
76066         (MB_LEN_MAX): Use macro-int-constant.
76067         (SHRT_MIN): Use macro-int-constant.  Specify type.
76068         (SHRT_MAX): Likewise.
76069         (USHRT_MAX): Likewise.
76070         (INT_MAX): Likewise.
76071         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
76072         bound negative.
76073         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
76074         bound with "U".
76075         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
76076         bound with "L".
76077         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
76078         bound negative.  Suffix upper bound with "L".
76079         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
76080         bound with "UL".
76081         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
76082         Specify type.
76083         [C99-based standards] (LLONG_MAX): Likewise.
76084         [C99-based standards] (ULLONG_MAX): Likewise.
76085         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
76086         == 0.
76087         [ISO11] (max_align_t): Require type.
76088         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76090         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
76091         from $CFLAGS, without defining away __attribute__ calls.
76092         (checknamespace): Use $CFLAGS_namespace.
76094         * conform/conformtest.pl (@keywords): Only include C99 keywords
76095         for standards based on C99 or C11.
76097         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
76098         Disable tests.
76099         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
76100         UNIX98]: Likewise.
76102         * conform/conformtest.pl: Handle "macro-int-constant" and test for
76103         usability of symbols in #if.
76105         * conform/conformtest.pl: If macro or constant types start
76106         "promoted:", expect the symbol to be of the following type
76107         promoted by the integer promotions.
76109         * conform/conformtest.pl: Parse all "constant" and "macro" lines
76110         in one place.  Also handle "macro-constant".
76112         * conform/conformtest.pl: Only accept expected macro values with
76113         "==".  Parse all "macro" lines in one place.
76114         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
76116         * conform/conformtest.pl: Handle braced types on "constant" lines
76117         instead of handling "typed-constant".
76118         * conform/data/signal.h-data: Use "constant" instead of
76119         "typed-constant".
76121         * conform/conformtest.pl: Handle "optional-" at start of lines in
76122         one place rather than duplicating several cases.  Handle each
76123         format of "macro" line with initial "optional-".
76125         * conform/conformtest.pl: Only accept expected constant or
76126         optional-constant values with "==".  Parse all "constant" lines in
76127         one place.  Parse all "optional-constant" lines in one place.
76128         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
76129         * conform/data/fmtmsg.h-data: Likewise.
76130         * conform/data/netinet/in.h-data: Likewise.
76131         * conform/data/tar.h-data: Likewise.
76132         * conform/data/limits.h-data: Use "==" form on "constant" and
76133         "optional-constant" lines.
76135         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
76136         Use -std=c99 for XOPEN2K.
76137         (@knownproblems): Remove.
76138         (newtoken): Don't check %isknown.
76140         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
76141         Do not expect macro.
76142         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
76143         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
76144         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
76145         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
76146         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
76147         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
76148         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
76149         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
76150         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
76151         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
76152         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
76153         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
76154         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
76155         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
76156         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
76157         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
76158         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
76159         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
76160         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
76161         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
76162         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
76163         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
76164         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
76165         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
76166         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
76167         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
76168         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
76169         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
76170         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
76171         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
76172         [XPG3] (acosh): Likewise.
76173         [XPG3] (asinh): Likewise.
76174         [XPG3] (atanh): Likewise.
76175         [XPG3] (cbrt): Likewise.
76176         [XPG3] (expm1): Likewise.
76177         [XPG3] (ilogb): Likewise.
76178         [XPG3] (log1p): Likewise.
76179         [XPG3] (logb): Likewise.
76180         [XPG3] (nextafter): Likewise.
76181         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
76182         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
76183         [XPG3] (remainder): Likewise.
76184         [XPG3] (rint): Likewise.
76185         [XPG3 || XPG4 || UNIX98] (round): Likewise.
76186         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
76187         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
76188         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
76189         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
76190         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
76191         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
76192         [UNIX98 || XOPEN2K] (scalb): Expect.
76193         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
76194         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
76195         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
76196         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
76197         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
76198         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
76199         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
76200         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
76201         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
76202         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
76203         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
76204         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
76205         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
76206         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
76207         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
76208         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
76209         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
76210         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
76211         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
76212         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
76213         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
76214         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
76215         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
76216         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
76217         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
76218         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
76219         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
76220         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
76221         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
76222         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
76223         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
76224         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
76225         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
76226         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
76227         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
76228         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
76229         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
76230         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
76231         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
76232         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
76233         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
76234         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
76235         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
76236         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
76237         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
76238         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
76239         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
76240         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
76241         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
76242         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
76243         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
76244         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
76245         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
76246         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
76247         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
76248         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
76249         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
76250         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
76251         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
76252         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
76253         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
76254         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
76255         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
76256         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
76257         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
76258         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
76259         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
76260         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
76261         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
76262         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
76263         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
76264         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
76265         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
76266         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
76267         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
76268         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
76269         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
76270         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
76271         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
76272         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
76273         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
76274         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
76275         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
76276         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
76277         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
76278         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
76279         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
76280         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
76281         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
76282         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
76283         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
76284         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
76285         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
76286         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
76287         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
76288         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
76289         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
76290         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
76291         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
76292         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
76293         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
76294         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
76295         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
76296         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
76297         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
76298         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
76299         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
76300         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
76301         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
76302         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
76303         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
76304         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
76305         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
76306         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
76307         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
76308         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
76309         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
76310         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
76311         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
76312         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
76313         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
76314         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
76315         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
76316         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
76317         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
76318         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
76319         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
76320         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
76321         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
76322         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
76323         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
76324         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
76325         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
76326         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
76327         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
76328         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
76329         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
76331         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
76332         _XOPEN_SOURCE_EXTENDED for XPG4.
76334         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
76336         * Makeconfig (localtime): Remove variable.
76337         (inst_localtime-file): Likewise.
76339 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
76341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
76342         Update.
76343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
76344         Update.
76345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
76346         Update.
76347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
76348         Update.
76349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
76350         Update.
76351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
76352         Update.
76353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
76354         Update.
76355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
76356         Update.
76357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
76358         Update.
76360 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
76362         [BZ #2550]
76363         [BZ #2570]
76364         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
76365         comparisons to determine direction to adjust input.
76366         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
76367         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
76368         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
76369         Likewise.
76370         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
76371         Likewise.
76372         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
76373         Likewise.
76374         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
76375         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
76376         Likewise.
76377         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
76378         Likewise.
76379         * math/libm-test.inc (nexttoward_test): Add more tests.
76381 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
76383         [BZ #14040]
76384         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
76385         in version GLIBC_2.1, not GLIBC_2.0.
76386         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
76387         Likewise.
76389 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
76391         [BZ #13942]
76392         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
76393         (1 - x) * (1 + x).
76394         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
76395         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
76396         * math/libm-test.inc (acos_test): Add more tests.
76397         (asin_test): Likewise.
76398         * sysdeps/i386/fpu/libm-test-ulps: Update.
76399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76401         [BZ #14034]
76402         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
76403         of square root.
76404         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
76405         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
76406         * math/libm-test.inc (acos_test_tonearest): New function.
76407         (acos_test_towardzero): Likewise.
76408         (acos_test_downward): Likewise.
76409         (acos_test_upward): Likewise.
76410         (asin_test_tonearest): Likewise.
76411         (asin_test_towardzero): Likewise.
76412         (asin_test_downward): Likewise.
76413         (asin_test_upward): Likewise.
76414         (main): Call the new functions.
76415         * sysdeps/i386/fpu/libm-test-ulps: Update.
76416         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76418         [BZ #13884]
76419         [BZ #13924]
76420         * math/e_exp10.c: Include <float.h>.
76421         (__ieee754_exp10): Handle underflow here rather than multiplying
76422         large negative argument by M_LN10.
76423         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
76424         of __ieee754_expf.
76425         * math/e_exp10l.c: Include <float.h>.
76426         (__ieee754_exp10l): Handle underflow here rather than multiplying
76427         large negative argument by M_LN10l.
76428         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
76429         spurious overflow exception on underflow.
76431 2012-04-29  Marek Polacek  <polacek@redhat.com>
76433         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
76434         (__fortify_function): New macro.
76435         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
76436         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
76437         __extern_always_inline.
76438         * libio/bits/stdio2.h: Likewise.
76439         * libio/bits/stdio.h: Likewise.
76440         * string/string.h: Likewise.
76441         * string/bits/string3.h: Likewise.
76442         * include/stdio.h: Likewise.
76443         * stdlib/bits/stdlib.h: Likewise.
76444         * stdlib/stdlib.h: Likewise.
76445         * rt/bits/mqueue2.h: Likewise.
76446         * rt/mqueue.h: Likewise.
76447         * posix/bits/unistd.h: Likewise.
76448         * posix/unistd.h: Likewise.
76449         * io/bits/poll2.h: Likewise.
76450         * io/bits/fcntl2.h: Likewise.
76451         * io/fcntl.h: Likewise.
76452         * io/sys/poll.h: Likewise.
76453         * misc/bits/syslog.h: Likewise.
76454         * misc/bits/syslog-ldbl.h: Likewise.
76455         * misc/sys/syslog.h: Likewise.
76456         * socket/bits/socket2.h: Likewise.
76457         * socket/sys/socket.h: Likewise.
76458         * debug/tst-chk1.c: Likewise.
76459         * wcsmbs/bits/wchar2.h: Likewise.
76460         * wcsmbs/bits/wchar-ldbl.h: Likewise.
76461         * wcsmbs/wchar.h: Likewise.
76463 2012-04-29  Andreas Jaeger  <aj@suse.de>
76465         * Makerules (tests): Remove enable-check-abi protection.
76466         (check-abi-warn): Remove.
76467         (check-abi-%): Remove check-abi-warn usage.
76469         * configure.in: Remove check-abi configure option.
76470         * configure: Regenerated.
76471         * config.make.in (enable-check-abi): Remove.
76473 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
76475         [BZ #14033]
76476         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
76477         double functions to double *_finite functions.
76479         [BZ #13941]
76480         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
76481         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
76482         LDBL_MIN_EXP.
76483         * stdio-common/Makefile (tests): Add tst-sprintf3.
76484         * stdio-common/tst-sprintf3.c: New file.
76486         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
76487         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
76489 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
76491         * conform/conformtest.pl: Remove duplicate typed-constant
76492         handling.
76494 2012-04-28  David S. Miller  <davem@davemloft.net>
76496         * Makerules (%.abilist): Add vpath on sysdep_dirs.
76497         (check-abi-%): Remove AWK script prerequisite and explicit
76498         abilist directory.
76499         (check-abi): Rewrite to just diff the symlist with the abilist.
76500         (config-tls, config-abi-config): Delete, no longer used.
76501         (update-abi-%): Remove AWK script and explicit abilist directory.
76502         (update-abi): Rewrite to simply compare and conditionally copy the
76503         symlist and the sysdep abilist file.  Remove update-abi-config
76504         checks.
76505         * abilist/ld.abilist: Remove.
76506         * abilist/libBrokenLocale.abilist: Remove.
76507         * abilist/libanl.abilist: Remove.
76508         * abilist/libcrypt.abilist: Remove.
76509         * abilist/libdl.abilist: Remove.
76510         * abilist/librt.abilist: Remove.
76511         * abilist/libthread_db.abilist: Remove.
76512         * abilist/libutil.abilist: Remove.
76513         * scripts/extract-abilist.awk: Remove.
76514         * scripts/merge-abilist.awk: Remove.
76515         * sysdeps/generic/libcidn.abilist: New file.
76516         * sysdeps/generic/libnss_compat.abilist: New file.
76517         * sysdeps/generic/libnss_db.abilist: New file.
76518         * sysdeps/generic/libnss_dns.abilist: New file.
76519         * sysdeps/generic/libnss_files.abilist: New file.
76520         * sysdeps/generic/libnss_hesiod.abilist: New file.
76521         * sysdeps/generic/libnss_nis.abilist: New file.
76522         * sysdeps/generic/libnss_nisplus.abilist: New file.
76523         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
76524         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
76525         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
76526         file.
76527         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
76528         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
76529         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
76530         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
76531         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
76532         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
76533         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
76534         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
76535         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
76536         file.
76537         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
76538         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
76539         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
76540         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
76541         file.
76542         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
76543         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
76544         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
76545         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
76546         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
76547         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
76548         file.
76549         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
76550         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
76551         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
76552         file.
76553         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
76554         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
76555         New file.
76556         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
76557         New file.
76558         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
76559         New file.
76560         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
76561         New file.
76562         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
76563         New file.
76564         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
76565         New file.
76566         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
76567         New file.
76568         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
76569         New file.
76570         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
76571         New file.
76572         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
76573         New file.
76574         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
76575         New file.
76576         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
76577         New file.
76578         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
76579         New file.
76580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
76581         file.
76582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
76583         New file.
76584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
76585         New file.
76586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
76587         file.
76588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
76589         New file.
76590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
76591         New file.
76592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
76593         file.
76594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
76595         New file.
76596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
76597         New file.
76598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
76599         New file.
76600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
76601         New file.
76602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
76603         New file.
76604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
76605         New file.
76606         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
76607         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
76608         file.
76609         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
76610         New file.
76611         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
76612         file.
76613         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
76614         file.
76615         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
76616         file.
76617         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
76618         file.
76619         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
76620         file.
76621         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
76622         New file.
76623         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
76624         file.
76625         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
76626         file.
76627         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
76628         New file.
76629         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
76630         file.
76631         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
76632         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
76633         file.
76634         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
76635         New file.
76636         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
76637         file.
76638         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
76639         file.
76640         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
76641         file.
76642         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
76643         file.
76644         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
76645         file.
76646         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
76647         New file.
76648         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
76649         file.
76650         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
76651         file.
76652         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
76653         New file.
76654         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
76655         file.
76656         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
76657         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
76658         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
76659         file.
76660         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
76661         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
76662         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
76663         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
76664         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
76665         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
76666         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
76667         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
76668         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
76669         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
76670         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
76671         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
76672         file.
76673         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
76674         New file.
76675         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
76676         file.
76677         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
76678         file.
76679         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
76680         file.
76681         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
76682         file.
76683         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
76684         file.
76685         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
76686         New file.
76687         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
76688         New file.
76689         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
76690         file.
76691         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
76692         New file.
76693         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
76694         file.
76695         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
76696         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
76697         file.
76698         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
76699         New file.
76700         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
76701         file.
76702         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
76703         file.
76704         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
76705         file.
76706         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
76707         file.
76708         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
76709         file.
76710         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
76711         New file.
76712         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
76713         New file.
76714         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
76715         file.
76716         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
76717         New file.
76718         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
76719         file.
76721 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
76723         * conform/conformtest.pl: Fix typo in handling typed-constant from
76724         allow-header.
76726 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
76728         * README: Cut down references to pre-2.6 Linux kernels and
76729         Linuxthreads.  Update lists of configurations in libc and ports
76730         and sort alphabetically.  Say "or newer" with Linux kernel version
76731         requirements.
76733         * config.h.in [IS_IN_build]: Allow compiling without optimization.
76735 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
76737         [BZ #887]
76738         * math/libm-test.inc (logb_test_downward): New test to expose
76739         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
76740         rounding mode.
76742 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
76744         [BZ #14027]
76745         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
76746         to be done.
76747         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
76748         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
76750 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
76752         * sysdeps/unix/i386/brk.S: Remove file.
76753         * sysdeps/unix/i386/dl-brk.S: Likewise.
76754         * sysdeps/unix/i386/pipe.S: Likewise.
76755         * sysdeps/unix/i386/sigreturn.S: Likewise.
76756         * sysdeps/unix/i386/syscall.S: Likewise.
76757         * sysdeps/unix/i386/vfork.S: Likewise.
76758         * sysdeps/unix/i386/wait.S: Likewise.
76760         * sysdeps/unix/common/tcsendbrk.c: Move to ...
76761         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
76763         * configure.in (arm*-none*): Do not allow without
76764         --enable-hacker-mode.
76765         (netbsd*): Remove case setting base_os.
76766         (386bsd*): Likewise.
76767         (freebsd*): Likewise.
76768         (bsdi*): Likewise.
76769         (osf*): Likewise.
76770         (sunos*): Likewise.
76771         (ultrix*): Likewise.
76772         (newsos*): Likewise.
76773         (dynix*): Likewise.
76774         (*bsd*): Likewise.
76775         (sysv*): Likewise.
76776         (isc*): Likewise.
76777         (esix*): Likewise.
76778         (sco*): Likewise.
76779         (minix*): Likewise.
76780         (irix4*): Likewise.
76781         (irix6*): Likewise.
76782         (solaris[2-9]*): Likewise.
76783         (none): Likewise.
76784         * configure: Regenerated.
76786 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76788         [BZ #11521]
76789         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
76790         overflow or cancellation in calculating denominator.
76791         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
76792         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
76793         down expression to avoid unexpected rounding in newer GCCs.
76794         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
76796 2012-04-26  David S. Miller  <davem@davemloft.net>
76798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
76799         long-double compat symbols.
76800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
76801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
76802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
76803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
76804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
76805         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
76806         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
76807         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
76808         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
76809         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
76810         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
76811         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
76812         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
76814 2012-04-25  David S. Miller  <davem@davemloft.net>
76816         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
76817         HWCAP_* values only after the memory barriers have been defined.
76818         (atomic_full_barrier): Define.
76819         (atomic_read_barrier): Define.
76820         (atomic_write_barrier): Define.
76822 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
76824         * shlib-versions: Add libgcc_s version information.
76825         * sysdeps/generic/libgcc_s.h: Remove.
76826         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
76827         libgcc_s.h.
76828         * sysdeps/gnu/unwind-resume.c: Likewise.
76829         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
76831 2012-04-25  David S. Miller  <davem@davemloft.net>
76833         * sysdeps/unix/sparc/brk.S: Delete.
76834         * sysdeps/unix/sparc/dl-brk.S: Delete.
76835         * sysdeps/unix/sparc/pipe.S: Delete.
76836         * sysdeps/unix/sparc/sysdep.S: Delete.
76837         * sysdeps/unix/sparc/sysdep.h: Delete.
76838         * sysdeps/unix/sparc/vfork.S: Delete.
76839         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
76840         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
76841         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
76842         (ret_ERRVAL, r0, r1, MOVE): Define.
76843         (JUMPTARGET): Remove.
76844         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
76845         sysdeps/unix/sparc/sysdep.h
76846         (ENTRY, END): Remove.
76847         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
76849 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
76851         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
76852         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
76853         -DIS_IN_build.
76855         * timezone/README: Update upstream location and email address for
76856         tzcode and tzdata.
76857         * timezone/zdump.c: Update from tzcode 2012b.
76858         * timezone/zic.c: Likewise.
76860         * configure.in (libc_cv_as_needed): Remove test.
76861         * configure: Regenerated.
76862         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
76863         conditional definition.
76864         [$(have-as-needed) != yes] (no-as-needed): Likewise.
76865         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
76866         * config.make.in (have-as-needed): Remove variable.
76868 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
76869             Paul Pluzhnikov  <ppluzhnikov@google.com>
76871         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
76872         strings correctly.
76874 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
76876         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
76877         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
76878         * sysdeps/sh/strlen.S: Likewise.
76880 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
76882         * sysdeps/unix/fork.S: Remove file.
76883         * sysdeps/unix/i386/fork.S: Likewise.
76884         * sysdeps/unix/sparc/fork.S: Likewise.
76886         * sysdeps/unix/system.c: Remove file.
76887         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
76889         * sysdeps/unix/getegid.S: Remove file.
76890         * sysdeps/unix/geteuid.S: Likewise.
76892 2012-04-24  Roland McGrath  <roland@hack.frob.com>
76894         * scripts/check-localplt.awk: New file.
76895         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
76896         of diff.
76897         * scripts/data/localplt-generic.data: Add a comment.
76899         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
76900         NODE when __dir_mkfile failed.
76901         * sysdeps/mach/hurd/symlinkat.c: Likewise.
76902         Reported by Ludovic Courtès <ludo@gnu.org>.
76904 2012-04-24  Andreas Jaeger  <aj@suse.de>
76906         * Makerules (common-clean): Also remove gen-as-const-headers
76907         files.
76909 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
76911         * Makerules (native-compile): Do not change working directory for
76912         build.  Use $(OUTPUT_OPTION) in command.
76913         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
76915 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76917         [BZ #13886]
76918         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
76919         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
76920         * math/libm-test.inc (floor_test): Add more tests.
76921         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
76923 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
76925         * sysdeps/unix/getdents.c: Remove file.
76926         * sysdeps/unix/sysv/getdents.c: Likewise.
76927         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
76929         * sysdeps/unix/syscalls.list (madvise): Add syscall from
76930         sysdeps/unix/mman/syscalls.list.
76931         (mmap): Likewise.
76932         (mprotect): Likewise.
76933         (msync): Likewise.
76934         (munmap): Likewise.
76935         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
76936         * sysdeps/unix/mman/syscalls.list: Remove.
76937         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
76939         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
76940         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
76941         * configure: Regenerated.
76942         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
76943         $(libgcc_s_suffix).
76944         * config.make.in (libgcc_s_suffix): Remove variable.
76946 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
76948         * sysdeps/unix/sysv/gethostname.c: Move to ...
76949         * sysdeps/posix/gethostname.c: ... here.
76951         * sysdeps/unix/execve.S: Remove file.
76953         * sysdeps/unix/_exit.S: Remove file.
76955 2012-04-23  Andreas Jaeger  <aj@suse.de>
76957         [BZ #13739]
76958         * manual/Makefile: Remove make dist support, there's no
76959         need for a stand-alone documentation tar ball.
76960         (TEXI2DVI): Define always, it's not in Makeconfig.
76961         (dist): Removed.
76962         (tar-it): Removed.
76963         (edition): Removed.
76964         (glibc-doc-$(edition).tar): Removed
76965         (%.Z): Removed.
76966         (%.gz): Removed.
76967         (%.uu): Removed.
76968         (ETAGS): Remove, it's in Makeconfig.
76969         (move-if-change): Remove, it's in Makeconfig.
76971 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
76973         [BZ #13970]
76974         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
76975         (strtod, strtof, strtold, strtol, strtoul, strtoq)
76976         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
76977         (strtod_l, strtof_l, strtold_l): Remove __wur.
76978         It is not necessarily an error to ignore strtol's return value.
76979         One can reliably look at the stored endptr to decide whether
76980         the number had valid syntax.
76982 2012-04-21  Andreas Jaeger  <aj@suse.de>
76984         [BZ #13739]
76985         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
76987 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
76989         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
76990         * sysdeps/unix/sysv/Versions: Remove file.
76992 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
76994         [BZ #13927]
76995         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76997 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
76999         [BZ #7064]
77000         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
77001         version from __vm86.
77003 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
77005         * sysdeps/unix/common/lxstat.c: Remove file.
77006         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
77008         * sysdeps/unix/sysv/Makefile: Remove file.
77010         * sysdeps/unix/sysv/direct.h: Remove file.
77012         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
77013         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
77014         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
77015         * sysdeps/unix/sysv/bits/signum.h: Likewise.
77016         * sysdeps/unix/sysv/bits/stat.h: Likewise.
77017         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
77018         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
77020         * sysdeps/unix/sysv/setrlimit.c: Remove file.
77022         * sysdeps/unix/xmknod.c: Remove file.
77023         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
77025         * sysdeps/unix/sysv/settimeofday.c: Remove file.
77027         * sysdeps/unix/sysv/i386/time.S: Remove file.
77029         * sysdeps/unix/fxstat.c: Remove file.
77030         * sysdeps/unix/xstat.c: Likewise.
77031         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
77033         * sysdeps/unix/sysv/sigaction.c: Remove file.
77035         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
77036         (sysdep_headers): Remove variable.
77037         [termio.h not in sysdep_headers] (generated): Likewise.
77038         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
77039         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
77040         * sysdeps/unix/sysv/tcdrain.c: Likewise.
77041         * sysdeps/unix/sysv/tcflow.c: Likewise.
77042         * sysdeps/unix/sysv/tcflush.c: Likewise.
77043         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
77044         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
77045         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
77046         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
77047         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
77049         * sysdeps/unix/siglist.c: Remove file.
77051         * sysdeps/unix/getppid.S: Remove file.
77053         * sysdeps/unix/mkdir.c: Remove file.
77054         * sysdeps/unix/rmdir.c: Likewise.
77056 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
77058         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
77059         ERR_MAX value.
77060         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
77061         errlist-compat value.
77063 2012-04-18  David S. Miller  <davem@davemloft.net>
77065         * sysdeps/generic/memcopy.h (reg_char): Delete.
77066         * debug/strcat_chk.c: Use char, not reg_char.
77067         * debug/strcpy_chk.c: Likewise.
77068         * debug/strncat_chk.c: Likewise.
77069         * debug/strncpy_chk.c: Likewise.
77070         * string/memchr.c: Likewise.
77071         * string/memrchr.c: Likewise.
77072         * string/rawmemchr.c: Likewise.
77073         * string/strcat.c: Likewise.
77074         * string/strchr.c: Likewise.
77075         * string/strchrnul.c: Likewise.
77076         * string/strcmp.c: Likewise.
77077         * string/strcpy.c: Likewise.
77078         * string/strncat.c: Likewise.
77079         * string/strncmp.c: Likewise.
77080         * string/strncpy.c: Likewise.
77082 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
77084         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
77085         __builtin_memcopy is called when src and dest ranges are known to not
77086         overlap.
77088 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
77090         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
77091         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
77092         fwd_align_merge macro call.
77093         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
77094         bwd_align_merge macro call.
77095         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
77097 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
77099         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
77100         bwd_align_merge macros.
77101         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
77102         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
77103         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
77105 2012-04-18  David S. Miller  <davem@davemloft.net>
77107         * sysdeps/sparc/sparc64/memcopy.h: Delete.
77109 2012-04-18  Andreas Jaeger  <aj@suse.de>
77111         [BZ# 6794]
77112         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
77113         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
77114         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
77116         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
77117         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
77118         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
77120         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
77121         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
77122         Adjust for changed ldbl-128 files.
77124         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
77125         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
77126         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
77128 2012-04-17  David S. Miller  <davem@davemloft.net>
77130         * sysdeps/sparc/sparc32/memcopy.h: Delete.
77132 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
77134         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
77135         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
77136         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
77137         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
77138         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
77139         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
77141 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77143         [BZ #6794]
77144         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
77145         * math/libm-test.inc: Add ilogb errno and exception tests.
77146         * math/w_ilogb.c: New file: ilogb wrapper.
77147         * math/w_ilogbf.c: New file: ilogbf wrapper.
77148         * math/w_ilogbl.c: New file: ilogbl wrapper.
77149         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
77150         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
77151         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
77152         exception being thrown with 0.0 as argument.
77153         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
77154         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
77155         exception being thrown with 0.0 as argument.
77156         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
77157         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
77158         exception being thrown with 0.0 as argument.
77159         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
77160         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
77161         exception being thrown with 0.0 as argument.
77162         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
77163         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
77164         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
77165         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
77166         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
77167         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
77168         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
77169         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
77170         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
77172 2012-04-17  Petr Baudis  <pasky@ucw.cz>
77174         * include/sys/uio.h: Change __vector to __iovec to avoid clash
77175         with altivec.
77177 2012-04-16  Marek Polacek  <polacek@redhat.com>
77179         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
77181 2012-04-16  Marek Polacek  <polacek@redhat.com>
77183         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
77184         operands of fdivp instruction.
77186 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
77188         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
77189         * elf/tst-auditmod3b.c: Likewise.
77190         * elf/tst-auditmod4b.c: Likewise.
77191         * elf/tst-auditmod5b.c: Likewise.
77192         * elf/tst-auditmod6b.c: Likewise.
77193         * elf/tst-auditmod6c.c: Likewise.
77194         * elf/tst-auditmod7b.c: Likewise.
77195         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
77196         * sysdeps/x86_64/preconfigure.in: Likewise.
77197         * sysdeps/x86_64/preconfigure: Regenerated.
77199 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
77201         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
77202         __ILP32__.
77204 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
77206         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
77207         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
77209 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
77211         [BZ #13973]
77212         * locale/iso-639.def: Fix gl language name. Spotted by
77213         Yaron Shahrabani.
77215 2012-04-12  Roland McGrath  <roland@hack.frob.com>
77217         [BZ #2074]
77218         * libio/libio.h (__io_write_fn): Update comment.
77220 2012-04-12  Petr Baudis  <pasky@ucw.cz>
77222         [BZ #2074]
77223         * stdio.texi (Hook Functions): The user provided writer function
77224         is not allowed to return -1.
77226 2012-04-11  David S. Miller  <davem@davemloft.net>
77228         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77230 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
77232         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
77233         Add a leading slash to rtkaio.
77235 2012-04-11  Jim Meyering  <meyering@redhat.com>
77237         [BZ #11959]
77238         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
77239         It is not necessarily an error to ignore fwrite's return
77240         value.  One can reliably use ferror to test for errors after
77241         the fact.
77243 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
77245         * bits/types.h (__snseconds_t): New type.
77246         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
77248         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
77249         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
77250         (__SNSECONDS_T_TYPE): Likewise.
77251         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
77252         (__SNSECONDS_T_TYPE): Likewise.
77253         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
77254         (__SNSECONDS_T_TYPE): Likewise.
77256 2012-04-10  Andreas Jaeger  <aj@suse.de>
77258         [BZ #2636]
77259         * manual/time.texi (Processor Time): Return type of times is
77260         elapsed real time since an arbitrary point in the past.
77261         (CPU Time): Move CLK_TCK from here...
77262         (Processor Time): ...to here.  Correct description.
77263         * manual/conf.texi (Constants for Sysconf): Correct description of
77264         _SC_CLK_TCK.
77266 2012-04-10  David S. Miller  <davem@davemloft.net>
77268         [BZ #13967]
77269         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
77270         where the is a gap between DT_REL(A) and DT_JMPREL.
77272 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
77274         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
77275         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
77276         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
77278 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
77280         * elf/dl-support.c (_dl_inhibit_cache): New variable.
77281         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
77282         (dl_main): Handle --inhibit-cache.
77283         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
77284         _dl_inhibit_cache.
77285         * elf/dl-load.c (_dl_map_object): Use it.
77286         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
77288 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
77290         [BZ #13872]
77291         * sysdeps/i386/fpu/e_powl.S (p78): New object.
77292         (__ieee754_powl): Saturate large exponents rather than testing for
77293         overflow of y*log2(x).
77294         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
77295         * math/libm-test.inc (pow_test): Do not permit spurious overflow
77296         exceptions.
77298         [BZ #11521]
77299         * math/s_ctan.c: Include <float.h>.
77300         (__ctan): Avoid internal overflow or cancellation in calculating
77301         denominator.
77302         * math/s_ctanf.c: Likewise.
77303         * math/s_ctanl.c: Likewise.
77304         * math/s_ctanh.c: Likewise.
77305         * math/s_ctanhf.c: Likewise.
77306         * math/s_ctanhl.c: Likewise.
77307         * math/libm-test.inc (ctan_test): Add more tests.
77308         (ctanh_test): Likewise.
77309         * sysdeps/i386/fpu/libm-test-ulps: Update.
77310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77312 2012-04-09  Andreas Jaeger  <aj@suse.de>
77314         [BZ #6894]
77315         * manual/filesys.texi (Directory Entries): Mention that d_namlen
77316         is an optional BSD extension.
77318         [BZ #10254]
77319         * manual/stdio.texi (Opening Streams): Document additional fopen
77320         parameters.
77322 2012-04-09  Roland McGrath  <roland@hack.frob.com>
77324         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
77325         %eax without telling the compiler.
77327 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
77329         [BZ # 13963]
77330         * manual/install.texi: Use sourceware.org.
77332 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
77334         [BZ #13873]
77335         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
77336         (__ieee754_pow): Generate overflow and underflow using huge*huge
77337         and tiny*tiny rather than just returning constant infinity or zero
77338         for large exponents.
77339         * math/libm-test.inc (pow_test): Require overflow exceptions for
77340         applicable cases of large exponents.
77342         [BZ #706]
77343         * sysdeps/i386/fpu/e_pow.S (p10): New object.
77344         (__ieee754_pow): Use iterative multiplication algorithm only for
77345         integer exponents with absolute value below 1024.  Check for odd
77346         integer exponents when using algorithm for real exponents.
77347         * math/libm-test.inc (pow_test): Add more tests.
77348         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77350 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
77352         [BZ #13705]
77353         * math/libm-test.inc (exp_test): Do not allow overflow exception
77354         on underflow test.
77356 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
77358         [BZ #13705]
77359         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
77360         instead of __kernel_standard_f.
77362 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
77364         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
77365         * sysdeps/x86_64/memset_chk.S: Likewise.
77367 2012-04-08  Andreas Jaeger  <aj@suse.de>
77369         [BZ #10153]
77370         * manual/startup.texi (Environment Access): Describe return value
77371         for putenv and setenv.
77373         [BZ #6895]
77374         * manual/filesys.texi (Directory Entries): Add description for
77375         DT_LNK.
77377         [BZ #6890]
77378         * manual/filesys.texi (Directory Entries): Clarify that it's file
77379         system not operating system in the description of DT_UNKNOWN.
77381         [BZ #6578]
77382         * manual/syslog.texi (closelog): Fix reference, it's openlog.
77384 2012-04-08  Stephen Compall  <s11@member.fsf.org>
77386         [BZ #6649]
77387         * manual/llio.texi (Opening and Closing Files): Add cross
77388         reference to explain mode argument.
77390 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
77392         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
77393         * sysdeps/x86_64/memset_chk.S: Likewise.
77395 2012-04-07  David S. Miller  <davem@davemloft.net>
77397         * elf/elf.h (R_SPARC_WDISP10): Define.
77398         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
77399         R_SPARC_SIZE32.
77400         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
77401         R_SPARC_SIZE64 and R_SPARC_H34.
77403 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
77405         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
77406         conditions and remove no longer applicable assertion.
77408 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
77410         * bits/byteswap.h: Include <features.h>.
77411         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
77412         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
77414 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
77416         * bits/byteswap.h (__bswap_16): Removed.
77417         Include <bits/byteswap-16.h> to get __bswap_16.
77418         * sysdeps/i386/bits/byteswap.h: Likewise.
77419         * sysdeps/s390/bits/byteswap.h: Likewise.
77420         * sysdeps/x86_64/bits/byteswap.h: Likewise.
77421         * bits/byteswap-16.h: New file.
77422         * sysdeps/i386/bits/byteswap-16.h: Likewise.
77423         * sysdeps/s390/bits/byteswap-16.h: Likewise.
77424         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
77425         * string/Makefile (headers): Add bits/byteswap-16.h.
77427 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
77429         [BZ #13895]
77430         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
77431         extra indirection.
77432         * nss/Makefile (tests-static, tests): Add tst-nss-static.
77433         * nss/tst-nss-static.c: New.
77435 2012-04-06  Robert Millan  <rmh@gnu.org>
77437         [BZ #6486]
77438         * manual/llio.texi (File Position Primitive): lseek
77439         refers to WHENCE when it really means OFFSET.
77441 2012-04-06  Andreas Jaeger  <aj@suse.de>
77443         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
77444         strncmp declarations.
77446         * abilist/libc.abilist: Add __poll and __ppoll.
77448 2012-04-05  David S. Miller  <davem@davemloft.net>
77450         * scripts/check-local-headers.sh: Accept a host triplet in the
77451         path matched by the exclude regexp.
77453         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
77454         definition.
77455         * sysdeps/powerpc/powerpc32/dl-machine.h
77456         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
77457         * sysdeps/s390/s390-32/dl-machine.h
77458         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
77459         * sysdeps/sparc/sparc32/dl-machine.h
77460         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
77461         * sysdeps/sparc/sparc64/dl-machine.h
77462         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
77464         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
77465         lazy binding.
77466         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
77467         undefined symbol errors.
77469         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
77470         DT_NEEDED entries.
77472 2012-04-05  Michael Matz  <matz@suse.de>
77474         [BZ #13592]
77475         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
77477 2012-04-05  Andreas Jaeger  <aj@suse.de>
77479         [BZ #13908]
77480         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
77481         comment.
77483 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77485         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
77486         which ROUND is no valid rounding mode.
77488 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77490         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
77491         read again.
77492         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
77494 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77496         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
77497         an exception using FPU order intentionally.
77499 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77501         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
77502         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
77503         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
77504         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
77506 2012-04-05  Simon Josefsson  <simon@josefsson.org>
77508         [BZ #12340]
77509         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
77510         EINVAL when BUFLEN is too smal.
77512 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
77514         [BZ #13553]
77515         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
77516         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
77518 2012-04-03  Andreas Jaeger  <aj@suse.de>
77520         [BZ #13938]
77521         * manual/setjmp.texi (System V contexts): Fix sentence.
77523         [BZ #13926]
77524         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
77525         New macro for this case.
77526         [!__GNUC__] (__bswap_64): New inline function for this case.
77527         * sysdeps/x86_64/bits/byteswap.h: Likewise.
77528         * bits/byteswap.h: Likewise.
77529         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
77530         ull, guard with __GLIBC_HAVE_LONG_LONG.
77532         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
77533         __GLIBC_HAVE_LONG_LONG.
77535         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
77536         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
77538 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
77540         [BZ #13691]
77541         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
77542         inptr and inend, rather than using last_ch.
77544 2012-04-02  David S. Miller  <davem@davemloft.net>
77546         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
77547         * stdio-common/printf-parse.h (read_int): Change return type to
77548         'int', return -1 on INT_MAX overflow.
77549         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
77550         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
77551         overflows INT_MAX.  Check for overflow of in-format-string precision
77552         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
77553         SIZE_MAX not INT_MAX for integer overflow test.
77554         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
77555         skip the construct in the format string but do not record anything.
77556         * stdio-common/bug22.c: Adjust to test both width/prevision
77557         INT_MAX overflow as well as total length INT_MAX overflow.  Check
77558         explicitly for proper errno values.
77560 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
77562         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
77563         CHAR_MAX.
77564         * string/test-strcmp.c [! WIDE]: Likewise.
77565         * time/tst-mktime2.c: Likewise for INT_MAX.
77566         * string/test-string.h: #include <sys/param.h> for MIN.
77568         * csu/init-first.c (__libc_init_first): Call __ctype_init.
77569         * sysdeps/i386/init-first.c (init): Likewise.
77570         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
77571         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
77572         * sysdeps/sh/init-first.c (init): Likewise.
77574 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
77576         * po/ru.po: Update from translation team.
77577         * po/vi.po: Likewise.
77579 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
77581         * resolv/nss_dns/dns-host.c: Merge copyright years.
77583 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77585         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
77586         Optimize memcpy with prefetch if
77587         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
77588         src, dst pointers have unequal 16 byte alignments.
77590 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
77592         [BZ #13928]
77593         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
77594         from a CNAME entry and return the minimum ttl for the query.
77595         (gaih_getanswer_slice): Likewise.
77597 2012-03-30  Jeff Law  <law@redhat.com>
77599         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
77600         due to long keys.
77601         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
77602         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
77604         * resolv/nss_dns/dns-host.c: Update copyright year.
77606 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
77608         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
77609         requests to save a system call.  Fix check that all bytes are sent.
77611         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
77612         comments for sendmmsg.
77614 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
77616         [BZ #13691]
77617         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
77618         with only 1 character between 0x0041 and 0x01b0.
77619         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
77620         * wcsmbs/tst-mbsnrtowcs.c: New file.
77622 2012-03-29  David S. Miller  <davem@davemloft.net>
77624         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
77625         small copies by hand.
77627 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
77629         [BZ #13761]
77630         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
77631         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
77632         group memberships.
77634 2012-03-28  David S. Miller  <davem@davemloft.net>
77636         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
77637         that branches into memcpy.
77638         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
77639         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
77640         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
77641         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
77642         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
77643         bits.
77644         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
77645         implementation too.
77646         * sysdeps/sparc/mempcpy.S: New file.
77648         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
77649         the IFUNC routine in the libc case.
77650         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
77652         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
77653         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
77654         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
77655         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
77656         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
77657         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
77658         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
77659         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
77661         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
77662         loop to 256 bytes instead of 64 bytes and fix test signedness.
77664         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
77665         * sysdeps/sparc/sparc32/Makefile: rather than here...
77666         * sysdeps/sparc/sparc64/Makefile: and here.
77668 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
77670         * malloc/mallocbug.c: Avoid warnings about unused variables.
77672 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
77674         [BZ #13760]
77675         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
77676         in the right place. Discard and retry query if response is
77677         larger than input buffer size.
77679 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
77681         [BZ #369]
77682         [BZ #2678]
77683         [BZ #3866]
77684         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
77685         x for large integer exponent.
77686         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
77687         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
77688         sign of result as needed afterwards.
77689         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
77690         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
77691         result for underflowing pow the same as for overflow.
77692         (__kernel_standard_l): Handle powl overflow and underflow here
77693         rather than calling __kernel_standard.
77694         * math/libm-test.inc (pow_test): Add more tests.
77696         [BZ #3868]
77697         [BZ #13879]
77698         [BZ #13910]
77699         [BZ #13911]
77700         [BZ #13912]
77701         [BZ #13913]
77702         [BZ #13915]
77703         [BZ #13916]
77704         [BZ #13917]
77705         [BZ #13918]
77706         [BZ #13919]
77707         [BZ #13920]
77708         [BZ #13921]
77709         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
77710         * sysdeps/ieee754/k_standard.c: Include <float.h>.
77711         (__kernel_standard_l): New function.
77712         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
77713         __kernel_standard.
77714         * math/w_acosl.c (__acosl): Likewise.
77715         * math/w_asinl.c (__asinl): Likewise.
77716         * math/w_atan2l.c (__atan2l): Likewise.
77717         * math/w_atanhl.c (__atanhl): Likewise.
77718         * math/w_coshl.c (__coshl): Likewise.
77719         * math/w_exp10l.c (__exp10l): Likewise.
77720         * math/w_exp2l.c (__exp2l): Likewise.
77721         * math/w_fmodl.c (__fmodl): Likewise.
77722         * math/w_hypotl.c (__hypotl): Likewise.
77723         * math/w_j0l.c (__j0l, __y0l): Likewise.
77724         * math/w_j1l.c (__j1l, __y1l): Likewise.
77725         * math/w_jnl.c (__jnl, __ynl): Likewise.
77726         * math/w_lgammal.c (__lgammal): Likewise.
77727         * math/w_log10l.c (__log10l): Likewise.
77728         * math/w_log2l.c (__log2l): Likewise.
77729         * math/w_logl.c (__logl): Likewise.
77730         * math/w_powl.c (__powl): Likewise.
77731         * math/w_remainderl.c (__remainderl): Likewise.
77732         * math/w_scalbl.c (sysv_scalbl): Likewise.
77733         * math/w_sinhl.c (__sinhl): Likewise.
77734         * math/w_sqrtl.c (__sqrtl): Likewise.
77735         * math/w_tgammal.c (__tgammal): Likewise.
77736         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
77737         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
77738         * math/libm-test.inc (acos_test): Add more tests.
77739         (acosh_test): Likewise.
77740         (asin_test): Likewise.
77741         (atanh_test): Likewise.
77742         (exp_test): Likewise.
77743         (exp10_test): Likewise.
77744         (exp2_test): Likewise.
77745         (expm1_test): Likewise.
77746         (lgamma_test): Likewise.
77747         (log_test): Likewise.
77748         (log10_test): Likewise.
77749         (log1p_test): Likewise.
77750         (log2_test): Likewise.
77751         (pow_test): Do not allow some spurious overflow exceptions.
77752         (sqrt_test): Add more tests.
77753         (tgamma_test): Likewise.
77754         (y0_test): Likewise.
77755         (y1_test): Likewise.
77756         (yn_test): Likewise.
77758 2012-03-27  Anton Blanchard  <anton@samba.org>
77760         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
77761         MAP_HUGETLB.
77762         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
77763         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
77764         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
77766 2012-03-27  David S. Miller  <davem@davemloft.net>
77768         * conform/Makefile: Run run-conformtest.sh using $(BASH).
77770         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
77771         have-as-vis3 check.
77773 2012-03-27  Andreas Jaeger  <aj@suse.de>
77775         * sysdeps/x86_64/elf/configure.in: Moved to ...
77776         * sysdeps/x86_64/configure.in: ... here.
77777         * sysdeps/x86_64/elf/start.S: Moved to ...
77778         * sysdeps/x86_64/start.S: ... here.
77779         * sysdeps/x86_64/elf/configure: Delete.
77781         * sysdeps/x86_64/configure.in: Merge contents from
77782         sysdeps/i386/configure.in (without i686 check).
77784         * sysdeps/i386/elf/Versions: Merge into ...
77785         * sysdeps/i386/Versions: ... this.
77786         * sysdeps/i386/elf/Versions: Delete file.
77787         * sysdeps/i386/elf/start.S: Moved to ...
77788         * sysdeps/i386/start.S: ...here.
77789         * sysdeps/i386/elf/configure.in: Merge into...
77790         * sysdeps/i386/configure.in: ...here.
77791         * sysdeps/i386/elf/configure.in: Delete file.
77792         * sysdeps/i386/elf/configure: Delete file.
77794         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
77795         * debug/backtracesyms.c: ... here.
77796         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
77797         * debug/backtracesymsfd.c: ... here.
77798         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
77799         * sysdeps/generic/ifunc-sel.h: ... here.
77801         * sysdeps/unix/i386/start.c: Delete file.
77802         * sysdeps/unix/sparc/start.c: Delete file.
77803         * sysdeps/unix/start.c: Delete file.
77805         * sysdeps/sh/elf/configure.in: Moved to ...
77806         * sysdeps/sh/configure.in: ... here.
77807         * sysdeps/sh/elf/start.S: Moved to ...
77808         * sysdeps/sh/start.S: ... here.
77809         * sysdeps/sh/elf/configure: Delete file.
77811         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
77812         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
77813         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
77814         * sysdeps/powerpc/powerpc64/entry.h: ... here.
77815         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
77816         * sysdeps/powerpc/powerpc64/start.S: here.
77817         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
77818         * sysdeps/powerpc/powerpc64/Makefile: ... this.
77819         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
77820         * sysdeps/powerpc/powerpc64/configure.in: ... this.
77821         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
77823         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
77824         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
77825         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
77826         * sysdeps/powerpc/powerpc32/start.S: ... here.
77827         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
77828         * sysdeps/powerpc/powerpc32/configure.in: ... this.
77829         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
77831         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
77832         * sysdeps/powerpc/ifunc-sel.h: ... here.
77833         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
77834         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
77836         * sysdeps/sparc/elf/configure.in: Moved to ...
77837         * sysdeps/sparc/configure.in: ... here.
77838         * sysdeps/sparc/elf/configure: Delete file.
77839         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
77840         * sysdeps/sparc/sparc32/start.S: ... here.
77841         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
77842         * sysdeps/sparc/sparc64/start.S: ... here.
77843         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
77844         * sysdeps/sparc/sparc32/Makefile: ... this.
77845         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
77846         * sysdeps/sparc/sparc64/Makefile: ... this.
77848         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
77849         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
77850         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
77851         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
77852         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
77853         * sysdeps/s390/s390-32/setjmp.S: ... here.
77854         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
77855         * sysdeps/s390/s390-32/configure.in: ... here.
77856         * sysdeps/s390/s390-32/elf/configure: Delete file.
77857         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
77858         * sysdeps/s390/s390-32/start.S: ... here.
77860         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
77861         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
77862         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
77863         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
77864         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
77865         * sysdeps/s390/s390-64/setjmp.S: ... here.
77866         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
77867         * sysdeps/s390/s390-64/configure.in: ... here
77868         * sysdeps/s390/s390-64/elf/configure: Delete file.
77869         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
77870         * sysdeps/s390/s390-64/start.S: ... here.
77871         * sysdeps/s390/s390-64/elf/configure: Delete.
77873         * configure.in: Remove support for elf directories in sysdeps.
77875         * configure: Regenerated.
77876         * sysdeps/i386/configure: Regenerated.
77877         * sysdeps/powerpc/powerpc32/configure: Regenerated.
77878         * sysdeps/powerpc/powerpc64/configure: Regenerated.
77879         * sysdeps/s390/s390-32/configure: Regenerated.
77880         * sysdeps/s390/s390-64/configure: Regenerated.
77881         * sysdeps/sh/configure: Regenerated.
77882         * sysdeps/sparc/configure: Regenerated.
77883         * sysdeps/x86_64/configure: Regenerated.
77885 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
77887         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77889         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
77890         denormal result into account.
77892 2012-03-25  Roland McGrath  <roland@hack.frob.com>
77894         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
77895         Reported by Allan McRae <allan@archlinux.org>.
77897 2012-03-23  Jeff Law  <law@redhat.com>
77899         * nss/getnssent.c (__nss_getent): Fix typo.
77901 2012-03-23  David S. Miller  <davem@davemloft.net>
77903         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77905 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
77907         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
77908         to pad to uint64_t for each field.
77909         (dl_tls_index): Replace unsigned long with uint64_t.
77911 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
77912         Paul Pluzhnikov  <ppluzhnikov@google.com>
77914         [BZ #6528]
77915         * grp/Makefile (otherlibs): Don't set it.
77916         * inet/Makefile (otherlibs): Likewise.
77917         * login/Makefile (otherlibs): Likewise.
77918         * nscd/Makefile (otherlibs): Likewise.
77919         * posix/Makefile (otherlibs): Likewise.
77920         * pwd/Makefile (otherlibs): Likewise.
77921         * rt/Makefile (otherlibs): Likewise.
77922         * sunrpc/Makefile (otherlibs): Likewise.
77923         * nss/Makefile (otherlibs): Likewise.
77924         Add libnss_files to routines and static-only-routines.
77925         ($(objpfx)getent): Remove rule.
77926         * resolv/Makefile: Add libnss_dns and libresolv to routines and
77927         static-only-routines.
77929 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
77931         [BZ #13892]
77932         * math/s_cexp.c: Include <float.h>.
77933         (__cexp): Handle exp result overflowing not necessarily
77934         overflowing both real and imaginary parts of result.
77935         * math/s_cexpf.c: Likewise.
77936         * math/s_cexpl.c: Likewise.
77937         * math/libm-test.inc (cexp_test): Add more tests.
77938         * sysdeps/i386/fpu/libm-test-ulps: Update.
77939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77941 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
77943         * include/link.h (ELFW): New macro.
77944         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
77945         Replace ELF64_R_TYPE with ELFW(R_TYPE).
77947 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
77949         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
77950         with uint64_t.
77952 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
77954         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
77955         declaration.
77956         (struct La_x32_retval): Likewise.
77958 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
77960         * sysdeps/x86_64/preconfigure.in: New file.
77961         * sysdeps/x86_64/preconfigure: New generated file.
77963 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
77965         [BZ #13824]
77966         * math/e_exp2l.c: Include <float.h>.
77967         (__ieee754_exp2l): Handle overflow and underflow cases
77968         separately.  Only pass fractional part of argument to
77969         __ieee754_expl.
77970         * math/libm-test.inc (exp2_test): Add more tests.
77972         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
77973         negating x to take absolute value.
77974         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
77975         Likewise.
77976         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
77977         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
77978         Likewise.
77979         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
77980         computing low part if x was negated.
77981         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
77983 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
77985         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
77986         la_x32_gnu_pltexit.
77987         (pltexit): Cast int_retval to ptrdiff_t.
77988         * elf/tst-auditmod3b.c: Likewise.
77989         * elf/tst-auditmod4b.c: Likewise.
77990         * elf/tst-auditmod5b.c: Likewise.
77991         * elf/tst-auditmod6b.c: Likewise.
77992         * elf/tst-auditmod6c.c: Likewise.
77993         * elf/tst-auditmod7b.c: Likewise.
77995         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
77996         and x32_gnu_pltexit.
77998         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
77999         __ELF_NATIVE_CLASS.
78000         (La_x32_regs): New macro.
78001         (La_x32_retval): Likewise.
78002         (la_x32_gnu_pltenter): New function prototype.
78003         (la_x32_gnu_pltexit): Likewise.
78005 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
78007         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
78008         exponent.
78010         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78012         * configure.in (libc_cv_cc_nofma): Check for option to disable
78013         generation of FMA instructions.
78014         * configure: Regenerate.
78015         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
78016         * sysdeps/ieee754/dbl-64/Makefile: New file.
78017         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
78018         Remove brandred-fma4.
78019         (CFLAGS-brandred-fma4.c): Remove.
78020         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
78021         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
78022         define.
78023         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
78024         define.
78026 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
78028         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
78029         LLONG_MAX != LONG_MAX.
78030         (_itoa_word): Use _ITOA_WORD_TYPE on value.
78031         (_fitoa_word): Likewise.
78032         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
78033         LLONG_MAX != LONG_MAX.
78034         * stdio-common/_itowa.h: Include <_itoa.h>.
78035         (_itowa_word): Use _ITOA_WORD_TYPE on value.
78036         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
78037         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
78038         only if not defined.
78039         (_ITOA_WORD_TYPE): Likewise.
78040         (_itoa_word): Use _ITOA_WORD_TYPE on value.
78041         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
78043 2012-03-21  David S. Miller  <davem@davemloft.net>
78045         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78047 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
78049         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
78050         of x86_64 when setting libc_cv_slibdir, libdir and
78051         libc_cv_localedir.
78052         * sysdeps/unix/sysv/linux/configure: Regenerated.
78054 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
78056         * manual/lang.texi (Old Varargs): Remove section.
78057         (How Variadic): Update menu.
78058         (va_start): Do not mention varargs.h.
78060 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
78061             Joseph Myers  <joseph@codesourcery.com>
78063         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
78064         link test.
78065         * configure: Regenerated.
78067 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
78069         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
78070         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
78071         conformtest.pl
78073 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
78075         * NOTES: Remove.
78076         * Makefile (files-for-dist): Remove NOTES.
78077         (NOTES): Remove rule.
78078         * README: Don't refer to NOTES.
78079         * manual/creature.texi: Don't include macros.texi.
78080         * manual/intro.texi (creature.texi): Remove comment referring to
78081         NOTES.
78083         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
78084         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
78085         * configure: Regenerated.
78086         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
78087         LIBC_TRY_CC_OPTION.
78088         (libc_cv_as_i686): Likewise.
78089         (libc_cv_cc_avx): Likewise.
78090         (libc_cv_cc_sse2avx): Likewise.
78091         (libc_cv_cc_fma4): Likewise.
78092         (libc_cv_cc_novzeroupper): Likewise.
78093         * sysdeps/i386/configure: Regenerated.
78095         [BZ #13883]
78096         * sysdeps/i386/fpu/s_cexp.S: Remove.
78097         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
78098         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
78099         * math/libm-test.inc (cexp_test): Add more tests.
78100         * sysdeps/i386/fpu/libm-test-ulps: Update.
78101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78103 2012-03-21  Allan McRae  <allan@archlinux.org>
78105         * timezone/Makefile: Do not install iso3166.tab and zone.tab
78107 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
78109         [BZ #13871]
78110         * math/w_exp2.c: Do not include <float.h>.
78111         (o_threshold, u_threshold): Remove.
78112         (__exp2): Calculate result before checking finiteness and calling
78113         __kernel_standard.
78114         * math/w_exp2f.c: Likewise.
78115         * math/w_exp2l.c: Likewise.
78116         * math/libm-test.inc (exp2_test): Require overflow exception for
78117         1e6 input.
78119         [BZ #3866]
78120         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
78121         range of signed 64-bit integers before using fistpll.  Remove
78122         checks for whether integers fit in mantissa bits.
78123         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
78124         the range of signed 32-bit integers before using fistpl.  Remove
78125         checks for whether integers fit in mantissa bits.
78126         * sysdeps/i386/fpu/e_powl.S (p64): New object.
78127         (__ieee754_powl): Test for y outside the range of signed 64-bit
78128         integers before using fistpll.  Reduce 64-bit values to 63-bit
78129         ones as needed.
78130         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
78131         divide-by-zero is raised for zero to large negative powers.
78132         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
78133         (__ieee754_powl): Test for y outside the range of signed 64-bit
78134         integers before using fistpll.  Reduce 64-bit values to 63-bit
78135         ones as needed.
78136         * math/libm-test.inc (pow_test): Add more tests.
78138 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78140         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
78141         <stdio-common/_itoa.h>.
78142         * debug/segfault.c: Likewise.
78143         * elf/dl-cache.c: Likewise.
78144         * elf/dl-minimal.c: Likewise.
78145         * elf/dl-misc.c: Likewise.
78146         * elf/dl-sysdep.c: Likewise.
78147         * elf/dl-version.c: Likewise.
78148         * elf/rtld.c: Likewise.
78149         * hurd/hurdsock.c: Likewise.
78150         * hurd/lookup-retry.c: Likewise.
78151         * malloc/malloc.c: Likewise.
78152         * malloc/mtrace.c: Likewise.
78153         * nscd/nscd_getgr_r.c: Likewise.
78154         * nscd/nscd_getpw_r.c: Likewise.
78155         * nscd/nscd_getserv_r.c: Likewise.
78156         * posix/getopt_init.c: Likewise.
78157         * posix/wordexp.c: Likewise.
78158         * stdio-common/_itoa.c: Likewise.
78159         * stdio-common/printf_fphex.c: Likewise.
78160         * stdio-common/vfprintf.c: Likewise.
78161         * string/_strerror.c: Likewise.
78162         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
78163         * sysdeps/i386/i686/hp-timing.h: Likewise.
78164         * sysdeps/mach/_strerror.c: Likewise.
78165         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
78166         * sysdeps/mach/hurd/sethostid.c: Likewise.
78167         * sysdeps/mach/hurd/xmknodat.c: Likewise.
78168         * sysdeps/mach/xpg-strerror.c: Likewise.
78169         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
78170         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
78171         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
78172         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
78173         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
78174         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
78175         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
78176         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
78177         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
78178         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
78179         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
78180         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
78181         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
78182         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
78183         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
78184         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
78185         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
78186         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
78187         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
78188         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
78189         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
78191         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
78193         * stdio-common/_itoa.h: Moved to ...
78194         * sysdeps/generic/_itoa.h: Here.
78196         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
78198         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
78199         instead of "_itoa.h" and "_itowa.h".
78200         * stdio-common/vfprintf.: Likewise.
78202 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78204         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
78205         <bits/wordsize.h>.
78206         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
78207         (__signbit): Likewise.
78208         (llrintf): Likewise.
78209         (llrint): Likewise.
78211 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78213         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
78214         __WORDSIZE != 64.
78216 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
78218         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
78219         OVERFLOW_EXCEPTION_OK.
78220         * math/libm-test.inc ("Philosophy"): Update comment about
78221         exception testing.
78222         (OVERFLOW_EXCEPTION): Define.
78223         (OVERFLOW_EXCEPTION_OK): Likewise.
78224         (INVALID_EXCEPTION_OK): Renumber.
78225         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
78226         (IGNORE_ZERO_INF_SIGN): Likewise.
78227         (test_exceptions): Handle FE_OVERFLOW.
78228         (exp10_test): Expect overflow exceptions.
78229         (exp2_test): Likewise.
78230         (expm1_test): Likewise.
78231         (nextafter_test): Likewise.
78232         (pow_test): Likewise.
78233         (scalbn_test): Likewise.
78234         (scalbln_test): Likewise.
78236 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78238         * sysdeps/x86_64/bits/atomic.h
78239         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
78240         64bit integer.
78241         (atomic_exchange_acq): Likewise.
78242         (__arch_exchange_and_add_body): Likewise.
78243         (__arch_add_body): Likewise.
78244         (atomic_add_negative): Likewise.
78245         (atomic_add_zero): Likewise.
78247 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78249         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
78250         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
78252 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78254         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
78255         Check __x86_64__ instead of __WORDSIZE.
78257 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78259         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
78261 2012-03-19  David S. Miller  <davem@davemloft.net>
78263         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78265         * sysdeps/sparc/fpu/fenv_private.h: New file.
78266         * sysdeps/sparc/fpu/math_private.h: Use it.
78267         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
78268         Remove.
78269         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
78270         (libc_feholdexcept_setroundl): Remove.
78271         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
78272         Remove.
78273         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
78274         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
78276 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78278         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
78279         int64_t instead of long int.
78280         (INSERT_WORDS64): Likewise.
78282 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78284         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
78285         _Unwind_GetCFA return to _Unwind_Ptr first.
78287 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
78289         [BZ #13629]
78290         * math/s_clog.c: Include <float.h>.
78291         (__clog): Scale large or subnormal inputs.
78292         * math/s_clogf.c: Likewise.
78293         * math/s_clogl.c: Likewise.
78294         * math/s_clog10.c: Include <float.h>.
78295         (M_LOG10_2): Define.
78296         (__clog10): Scale large or subnormal inputs.
78297         * math/s_clog10f.c: Likewise.
78298         * math/s_clog10l.c: Likewise.
78299         * math/libm-test.inc (clog_test): Add more tests.
78300         (clog10_test): Likewise.
78301         * sysdeps/i386/fpu/libm-test-ulps: Update.
78302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78304         [BZ #11451]
78305         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
78306         x and y.
78307         * math/libm-test.inc (atan2_test): Add another test.
78309         * Makerules (common-objdir-compile): Remove.
78310         * sysdeps/unix/Makefile (config-generated): Do not add
78311         $(unix-generated) to variable.
78312         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
78313         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
78314         Remove rule.
78315         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
78316         Likewise.
78317         [generic bits/local_lim.h] (before-compile): Do not append to
78318         variable.
78319         [generic bits/local_lim.h] (common-generated): Likewise.
78320         [generic sys/param.h] (before-compile): Do not append to variable.
78321         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
78322         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
78323         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
78324         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
78325         include.
78326         [generic sys/param.h] (sys/param.h-includes): Remove variable.
78327         [generic sys/param.h] (sys/param.h-includes): Remove rule.
78328         [generic sys/param.h] ($(addprefix
78329         $(common-objpfx),$(sys/param.h-includes))): Likewise.
78330         [generic sys/param.h] (common-generated): Do not append to
78331         variable.
78332         [generic sys/param.h] (sysdep_headers): Likewise.
78333         [generic bits/errno.h] (before-compile): Do not append to
78334         variable.
78335         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
78336         rule.
78337         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
78338         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
78339         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
78340         [generic bits/errno.h] (common-generated): Do not append to
78341         variable.
78342         [generic bits/ioctls.h] (before-compile): Do not append to
78343         variable.
78344         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
78345         rule.
78346         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
78347         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
78348         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
78349         rule.
78350         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
78351         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
78352         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
78353         [generic bits/ioctls.h] (common-generated): Do not append to
78354         variable.
78355         [generic sys/syscall.h] (syscall.h): Remove variable.
78356         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
78357         rule.
78358         [generic sys/syscall.h] (before-compile): Do not append to
78359         variable.
78360         [generic sys/syscall.h] (common-generated): Likewise.
78361         * sysdeps/unix/errnos-tmpl.c: Remove file.
78362         * sysdeps/unix/errnos.awk: Likewise.
78363         * sysdeps/unix/ioctls-tmpl.c: Likewise.
78364         * sysdeps/unix/ioctls.awk: Likewise.
78365         * sysdeps/unix/mk-local_lim.c: Likewise.
78366         * sysdeps/unix/snarf-ioctls: Likewise.
78368 2012-03-19  Richard Henderson  <rth@twiddle.net>
78370         * sysdeps/i386/fpu/fenv_private.h: New file.
78371         * sysdeps/i386/fpu/math_private.h: Use it.
78372         (math_opt_barrier, math_force_eval): Remove.
78373         (libc_feholdexcept_setround_53bit): Remove.
78374         (libc_feupdateenv_53bit): Remove.
78375         * sysdeps/x86_64/fpu/math_private.h: Likewise.
78376         (math_opt_barrier, math_force_eval): Remove.
78377         (libc_feholdexcept): Remove.
78378         (libc_feholdexcept_setround): Remove.
78379         (libc_fetestexcept, libc_fesetenv): Remove.
78380         (libc_feupdateenv_test): Remove.
78381         (libc_feupdateenv, libc_feholdsetround): Remove.
78382         (libc_feresetround): Remove.
78384         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
78385         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
78387         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
78388         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
78389         (libc_feupdateenv_testl): New.
78390         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
78391         (libc_feupdateenv_testf): New.
78392         (libc_feupdateenv): Use libc_feupdateenv_test.
78393         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
78394         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
78396         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
78397         (libc_feholdsetroundf, libc_feholdsetroundl): New.
78398         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
78399         (libc_feresetround_noex): New.
78400         (libc_feresetround_noexf): New.
78401         (libc_feresetround_noexl): New.
78402         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
78403         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
78404         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
78405         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
78406         SET_RESTORE_ROUND.
78407         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
78408         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
78409         (__cos): Likewise.
78410         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
78411         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
78412         SET_RESTORE_ROUND_NOEX.
78413         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
78414         SET_RESTORE_ROUND_NOEXF.
78415         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
78416         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
78417         (libc_feholdsetroundf): New.
78418         (libc_feresetround, libc_feresetroundf): New.
78420         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
78421         (libc_feholdexcept_setround_53bit): Convert from macro to function.
78422         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
78424         * sysdeps/generic/math_private.h: Include <fenv.h>.
78425         (default_libc_feholdexcept): New.
78426         (default_libc_feholdexcept_setround): New.
78427         (default_libc_fesetenv, default_libc_feupdateenv): New.
78428         (libc_feholdexcept): Only define if undefined.
78429         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
78430         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
78431         (libc_feholdexcept_setroundl): Likewise.
78432         (libc_feholdexcept_setround_53bit): Likewise.
78433         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
78434         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
78435         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
78436         (libc_feupdateenv_53bit): Likewise.
78437         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
78438         (libc_feholdexcept): Convert from macro to inline function.
78439         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
78440         (libc_fesetenv, libc_feupdateenv): Likewise.
78442         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
78443         not previously defined.
78444         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
78445         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
78446         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
78447         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
78448         * sysdeps/ieee754/flt-32/math_private.h: New file.
78449         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
78450         math_private.h below SET_FLOAT_WORD.
78451         (__isnan, __isinf_ns, __finite): Remove.
78452         (__isnanf, __isinf_nsf, __finitef): Remove.
78454 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
78456         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78458 2012-03-17  David S. Miller  <davem@davemloft.net>
78460         [BZ #6471]
78461         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
78462         for 2.16.
78464 2012-03-16  David S. Miller  <davem@davemloft.net>
78466         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
78467         warnings.
78469         [BZ #6471]
78470         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
78471         properly.
78472         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
78473         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
78474         sysdep_routines when subdir is sysvipc.
78475         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
78476         __getshmlba helper.
78478         * sysdeps/sparc/fpu/libm-test/ulps: Update.
78480 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78482         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
78483         [__LP64__].
78485 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78487         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
78488         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
78489         (__lround): Renamed to ...
78490         (__llround): This.  Replace long int with long long int.
78491         Define lround functions as aliases of llround functions.
78492         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
78494 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78496         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
78497         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
78498         adresses to uintptr_t.  Replace "long int" and "unsigned long
78499         int" with "greg_t" on va_arg.
78501 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78503         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
78504         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
78506         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
78507         Move e_machine check before EI_CLASS check.  Handle x32
78508         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
78509         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
78510         SKIP_EM_IA_64 and include
78511         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
78513         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
78514         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
78515         (add_system_dir): New macro.
78517         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
78518         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
78520 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
78522         [BZ #2551]
78523         [BZ #2552]
78524         [BZ #2553]
78525         [BZ #2554]
78526         [BZ #2562]
78527         [BZ #2563]
78528         [BZ #2565]
78529         [BZ #2566]
78530         [BZ #2576]
78531         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
78532         (y0): Likewise.
78533         * math/w_j0f.c (j0f): Likewise.
78534         (y0f): Likewise.
78535         * math/w_j0l.c (__j0l): Likewise.
78536         (__y0l): Likewise.
78537         * math/w_j1.c (j1): Likewise.
78538         (y1): Likewise.
78539         * math/w_j1f.c (j1f): Likewise.
78540         (y1f): Likewise.
78541         * math/w_j1l.c (__j1l): Likewise.
78542         (__y1l): Likewise.
78543         * math/w_jn.c (jn): Likewise.
78544         (yn): Likewise.
78545         * math/w_jnf.c (jnf): Likewise.
78546         (ynf): Likewise.
78547         * math/w_jnl.c (__jnl): Likewise.
78548         (__ynl): Likewise.
78549         * math/libm-test.inc (j0_test): Add more tests.
78550         (j1_test): Likewise.
78551         (jn_test): Likewise.  Add trailing semicolon to existing test.
78552         (y0_test): Likewise.
78553         (y1_test): Likewise.
78554         * sysdeps/i386/fpu/libm-test-ulps: Update.
78555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78557         [BZ #13851]
78558         [BZ #13854]
78559         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
78560         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
78561         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
78562         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
78563         (__tanl): Set errno for infinite argument.
78564         * sysdeps/i386/fpu/mptan.c: Remove.
78565         * sysdeps/i386/fpu/s_tan.S: Likewise.
78566         * sysdeps/i386/fpu/s_tanl.S: Likewise.
78567         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
78568         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
78569         * math/libm-test.inc (tan_test): Add more tests and enable more
78570         tests for double and long double.
78571         * sysdeps/i386/fpu/libm-test-ulps: Update.
78572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78574 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
78576         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
78577         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
78579 2012-03-16  Roland McGrath  <roland@hack.frob.com>
78581         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
78582         * configure.in: Use it for both main tree and add-ons.
78583         * configure: Regenerated.
78585 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78587         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
78589 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
78591         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
78592         in comment.
78594         [BZ #13851]
78595         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
78596         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
78597         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
78598         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
78599         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
78600         infinite argument.
78601         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
78602         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
78603         != 0 for prec == 2.
78604         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
78605         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
78606         * sysdeps/i386/fpu/s_cosl.S: Likewise.
78607         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
78608         * sysdeps/i386/fpu/s_sinl.S: Likewise.
78609         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
78610         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
78611         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
78612         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
78613         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
78614         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
78615         * math/libm-test.inc (cos_test): Add more tests and enable more
78616         tests for long double.
78617         (sin_test): Likewise.
78618         (sincos_test): Likewise.
78619         * sysdeps/i386/fpu/libm-test-ulps: Update.
78620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78622 2012-03-16  David S. Miller  <davem@davemloft.net>
78624         * sysdeps/sparc/fpu/math_private.h: New file.
78626 2012-03-15  David S. Miller  <davem@davemloft.net>
78628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
78629         file.
78630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
78631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
78632         file.
78633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
78634         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
78635         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
78636         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
78637         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
78638         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
78639         sysdep routines.
78640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
78642         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
78643         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
78645         * sysdeps/sparc/sparc-ifunc.h: New file.
78646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
78647         sparc-ifunc.h
78648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
78649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
78650         Likewise.
78651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
78652         Likewise.
78653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
78654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
78655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
78656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
78657         Likewise.
78658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
78659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
78660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
78661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
78662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
78663         Likewise.
78664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
78665         Likewise.
78666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
78667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
78668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
78669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
78670         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
78671         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
78672         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
78673         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
78674         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
78675         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
78676         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
78677         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
78678         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
78679         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
78680         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
78681         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
78682         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
78683         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
78684         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
78685         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
78686         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
78687         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
78688         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
78689         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
78691 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
78693         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
78694         scaling.
78695         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78697 2012-03-15  Andreas Jaeger  <aj@suse.de>
78699         [BZ #13852]
78700         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
78701         ieee754/flt-32 implementation for sin, cos and sincos.
78702         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
78703         * sysdeps/i386/fpu/s_cosf.S: Likewise.
78704         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
78705         * sysdeps/i386/fpu/s_sinf.S: Likewise.
78706         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
78707         ieee754/flt-32 implementation for tan.
78709         * math/libm-test.inc (cos_test): Enable some large input tests for
78710         float as well
78711         (sin_test): Likewise.
78712         (sincos_test): Likewise.
78713         (tan_test): Add tests for large input.
78715         * sysdeps/i386/fpu/libm-test-ulps: Update.
78717 2012-03-15  Andreas Jaeger  <aj@suse.de>
78719         [BZ #13658]
78720         * math/libm-test.inc (cos_test): Add more test cases.
78721         (sin_test): Likewise.
78722         (sincos_test): Likewise.
78724 2012-03-15  Andreas Jaeger  <aj@suse.de>
78726         [BZ #13837]
78727         * math/libm-test.inc (cos_test): Add a test case for large input
78728         value.
78729         (sin_test): Likewise.
78730         (sincos_test): Likewise.
78732 2012-03-15  Andreas Jaeger  <aj@suse.de>
78733             Joseph Myers  <joseph@codesourcery.com>
78735         [BZ #13658]
78736         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
78737         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
78738         * sysdeps/i386/fpu/branred.c: Likewise.
78739         * sysdeps/i386/fpu/dosincos.c: Likewise.
78740         * sysdeps/i386/fpu/mpa.c: Likewise.
78741         * sysdeps/i386/fpu/s_cos.S: Likewise.
78742         * sysdeps/i386/fpu/s_sin.S: Likewise.
78743         * sysdeps/i386/fpu/s_sincos.S: Likewise.
78744         * sysdeps/i386/fpu/sincos32.c: Likewise.
78746         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
78747         Define.
78748         (libc_feupdateenv_53bit): Define.
78749         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
78750         Define.
78751         (libc_feupdateenv_53bit): Define.
78753         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
78754         53 bit (without extend i386 double precision).
78756         * math/libm-test.inc (sincos_test): Add tests for large input.
78757         (sin): Likewise.
78758         (cos): Likewise.
78760         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
78762 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
78764         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78766 2012-03-15  David S. Miller  <davem@davemloft.net>
78768         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
78769         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
78770         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
78771         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
78772         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
78773         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
78774         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
78775         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
78776         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
78777         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
78778         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
78779         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
78780         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
78781         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
78782         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
78783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
78784         file.
78785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
78786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
78787         file.
78788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
78789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
78790         file.
78791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
78792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
78793         file.
78794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
78795         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
78796         fmin/fmax sysdep routines.
78797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
78799 2012-03-14  David S. Miller  <davem@davemloft.net>
78801         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
78802         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
78803         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
78804         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
78805         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
78806         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
78807         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
78808         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
78809         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
78810         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
78811         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
78812         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
78813         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
78814         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
78815         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
78816         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
78817         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
78818         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
78819         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
78820         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
78821         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
78822         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
78823         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
78824         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
78825         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
78826         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
78827         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
78828         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
78829         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
78830         routines.
78831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
78832         file.
78833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
78834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
78835         file.
78836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
78837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
78838         file.
78839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
78840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
78841         file.
78842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
78843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
78844         file.
78845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
78846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
78847         file.
78848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
78849         file.
78850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
78851         file.
78852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
78853         file.
78854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
78855         New file.
78856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
78857         file.
78858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
78859         file.
78860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
78861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
78862         file.
78863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
78864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
78865         file.
78866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
78867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
78868         file.
78869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
78870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
78871         VIS3 routines.
78873         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
78874         New file.
78876         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78878         * sysdeps/sparc/configure.in: New file.
78879         * sysdeps/sparc/configure: Generate.
78880         * configure.in (libc_cv_sparc_as_vis3): Substitute.
78881         * configure: Regenerate.
78882         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
78883         * config.make.in (have-as-vis3): New.
78884         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
78885         available use -Av9d instead of -Av9a.
78886         * sysdeps/sparc/sparc64/Makefile: Likewise.
78887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
78888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
78889         New file.
78890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
78891         file.
78892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
78893         New file.
78894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
78895         file.
78896         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
78897         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
78898         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
78899         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
78900         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
78902         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
78903         fzeros/fnegs to load 0x80000000 into a float register instead of
78904         using the stack.
78905         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
78907 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
78909         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78910         bits/syscall.h.
78911         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
78912         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
78913         ($(inst_includedir)/bits/syscall.h): Remove rule.
78914         ($(objpfx)bits/syscall.d): Include instead of
78915         $(objpfx)syscall-list.d.
78916         (generated): Change syscall-list.h and syscall-list.d to
78917         bits/syscall.h and bits/syscall.d.
78919 2012-03-14  Roland McGrath  <roland@hack.frob.com>
78921         [BZ #13846]
78922         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
78924 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
78926         [BZ #13841]
78927         * math/s_csqrt.c: Include <float.h>.
78928         (__csqrt): Scale large or subnormal inputs.
78929         * math/s_csqrtf.c: Likewise.
78930         * math/s_csqrtl.c: Likewise.
78931         * math/libm-test.inc (csqrt_test): Add more tests.
78932         * sysdeps/i386/fpu/libm-test-ulps: Update.
78933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78935         [BZ #13840]
78936         * math/libm-test.inc (hypot_test): Add more tests.
78938 2012-03-13  David S. Miller  <davem@davemloft.net>
78940         [BZ #13840]
78941         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
78942         double-precision for the calculation instead of scaling.
78944 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
78946         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
78947         manipulate bits before adding and subtracting TWO52[sx].
78948         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
78949         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
78950         Likewise.
78951         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
78953 2012-03-13  David S. Miller  <davem@davemloft.net>
78955         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
78956         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
78957         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
78958         rtld-global-offsets.h
78959         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
78961         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
78962         large parameters.
78964         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
78966         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
78967         'err' in the ifdef scope in which it is actually used.
78969         * nss/nss_db/db-init.c: Include string.h
78971 2012-03-12  David S. Miller  <davem@davemloft.net>
78973         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
78974         masking out of the most significant byte of random value used.
78975         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78976         Fix coding style in previous change.
78978         * sysdeps/unix/sysv/linux/kernel-features.h
78979         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
78980         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
78981         expression.
78982         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
78983         later.
78985 2012-03-11  David S. Miller  <davem@davemloft.net>
78987         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
78988         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
78989         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
78990         for 'resultvar' otherwise things get truncated on 64-bit.
78992         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78993         Fix masking out of the most significant byte of random value used.
78995         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78997 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
78999         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79001 2012-03-09  David S. Miller  <davem@davemloft.net>
79003         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
79004         variables with appropriate CPP guards.
79005         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
79006         from the frame pointer, not the stack pointer.  Correct layout
79007         comments.  Fix test on resulting framesize and the management of
79008         the outregs buffer for pltexit.  Preserve floating point return
79009         values across _dl_call_pltexit call.
79010         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
79011         framesize and the management of the outregs buffer for pltexit.
79012         Preserve floating point return values across _dl_call_pltexit
79013         call.
79014         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
79015         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
79016         (la_sparc64_gnu_pltexit): New functions.
79017         (print_exit): Fix format string for return register value.
79019 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
79021         * sunrpc/Makefile (others): Add rpcgen.
79022         ($(objpfx)rpcgen): Remove special build rule and dependency on
79023         libc.
79024         * sunrpc/rpcgen.c: New file.
79026 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
79028         [BZ #13673]
79029         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
79030         * stdio-common/bug-vfprintf-nargs.c: Likewise.
79031         * sysdeps/i386/crti.S: Likewise.
79032         * sysdeps/i386/crtn.S: Likewise.
79033         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
79034         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
79035         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
79036         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
79037         * sysdeps/sh/crti.S: Likewise.
79038         * sysdeps/sh/crtn.S: Likewise.
79039         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
79041         [BZ #13673]
79042         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
79043         with URL.
79044         * locale/programs/locfile-kw.gperf: Likewise.
79045         * locale/programs/charmap-kw.h: Regenerated.
79046         * locale/programs/locfile-kw.h: Likewise.
79048         [BZ #13673]
79049         * intl/plural.y: Replace FSF snail mail address with URL.
79050         * intl/plural.c: Regenerated.
79052 2012-03-09  Richard Henderson  <rth@twiddle.net>
79054         * include/math_private.h: Remove file.
79055         * math/math_private.h: Move file ...
79056         * sysdeps/generic/math_private.h: ... here.
79058         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
79059         * sysdeps/powerpc/fpu/math_private.h: Likewise.
79060         * sysdeps/x86_64/fpu/math_private.h: Likewise.
79062         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
79063         and <math_private.h>.
79064         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
79065         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
79066         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
79067         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
79068         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
79069         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
79070         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
79071         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79072         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
79073         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
79074         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79075         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
79076         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
79077         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79078         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
79079         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
79080         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
79081         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
79082         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
79083         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
79084         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79085         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
79086         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
79087         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79088         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
79089         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
79090         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
79091         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
79092         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79093         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
79094         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
79095         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
79096         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
79097         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
79098         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
79099         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
79100         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
79101         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
79102         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
79103         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
79104         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
79105         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
79106         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
79107         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
79108         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
79109         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
79110         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
79111         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
79112         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
79113         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
79114         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
79115         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
79116         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
79117         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
79118         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
79119         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
79120         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
79121         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
79122         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
79123         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
79124         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
79125         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
79126         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79127         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
79128         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
79129         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
79130         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
79131         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
79132         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
79133         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
79134         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
79135         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
79136         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
79137         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
79138         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
79139         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
79140         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
79141         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
79142         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
79143         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
79144         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
79145         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
79146         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
79147         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
79148         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
79149         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
79150         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
79151         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
79152         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
79153         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
79154         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
79155         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
79156         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
79157         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
79158         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
79159         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
79160         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
79161         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
79162         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
79163         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
79164         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
79165         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
79166         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
79167         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
79168         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
79169         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
79170         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
79171         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
79172         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
79173         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
79174         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
79175         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
79176         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
79177         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
79178         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
79179         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
79180         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
79181         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
79182         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
79183         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
79184         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
79185         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
79186         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
79187         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
79188         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
79189         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
79190         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
79191         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
79192         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
79193         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
79194         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
79195         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
79196         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
79197         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
79198         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
79199         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
79200         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
79201         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
79202         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
79203         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
79204         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
79205         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
79206         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
79207         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
79208         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
79209         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
79210         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
79211         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
79212         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
79213         * sysdeps/ieee754/k_standard.c: Likewise.
79214         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
79215         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
79216         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
79217         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
79218         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
79219         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
79220         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
79221         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
79222         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
79223         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
79224         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
79225         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
79226         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
79227         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
79228         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
79229         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
79230         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
79231         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
79232         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
79233         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
79234         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
79235         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
79236         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
79237         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
79238         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
79239         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
79240         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
79241         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
79242         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
79243         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
79244         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
79245         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
79246         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
79247         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
79248         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
79249         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
79250         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
79251         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
79252         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
79253         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
79254         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
79255         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
79256         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
79257         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
79258         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
79259         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
79260         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
79261         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
79262         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
79263         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
79264         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
79265         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
79266         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
79267         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
79268         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
79269         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
79270         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
79271         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
79272         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
79273         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
79274         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
79275         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
79276         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
79277         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
79278         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
79279         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
79280         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
79281         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
79282         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
79283         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
79284         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
79285         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
79286         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
79287         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
79288         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
79289         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
79290         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
79291         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
79292         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
79293         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
79294         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
79295         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
79296         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
79297         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
79298         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
79299         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
79300         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
79301         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
79302         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
79303         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
79304         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
79305         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
79306         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
79307         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
79308         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
79309         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
79310         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
79311         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
79312         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
79313         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
79314         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
79315         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
79316         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
79317         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
79318         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
79319         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
79320         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
79321         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
79322         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
79323         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
79324         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
79325         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
79326         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
79327         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
79328         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
79329         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
79330         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
79331         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
79332         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
79333         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
79334         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
79335         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
79336         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
79337         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
79338         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
79339         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
79340         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
79341         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
79342         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
79343         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
79344         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
79345         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
79346         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
79347         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
79348         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
79349         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
79350         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
79351         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
79352         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
79353         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
79354         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
79355         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
79356         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
79357         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
79358         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
79359         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
79360         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
79361         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
79362         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
79363         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
79364         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
79365         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
79366         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
79367         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
79368         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
79369         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
79370         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
79371         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
79372         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
79373         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
79374         * sysdeps/ieee754/s_lib_version.c: Likewise.
79375         * sysdeps/ieee754/s_matherr.c: Likewise.
79376         * sysdeps/ieee754/s_signgam.c: Likewise.
79377         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
79378         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
79379         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
79380         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
79381         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
79382         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
79383         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
79384         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
79385         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
79386         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
79387         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
79388         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
79389         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
79390         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
79391         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
79392         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
79393         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
79394         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
79395         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
79396         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
79397         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
79399 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
79401         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
79402         * sunrpc/rpc_main.c: Likewise.
79403         * sunrpc/rpc_svcout.c: Likewise.
79405 2012-03-09  David S. Miller  <davem@davemloft.net>
79407         * include/math_private.h: New file.
79409 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
79411         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
79412         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
79413         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
79414         from <bits/socket_type.h>.
79415         (enum __socket_type): Don't define here.
79416         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
79417         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79418         bits/socket_type.h.
79420         [BZ #13566]
79421         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
79422         checking __USE_GNU.
79424         * Makerules ($(inst_includedir)/%.h): New rule.
79425         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
79426         (install-others): Remove variable setting.
79427         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
79429 2012-03-08  Richard Henderson  <rth@twiddle.net>
79431         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
79432         from macro to inline function; merge with the
79433         !__LIBC_INTERNAL_MATH_INLINES version.
79434         (__ieee754_sqrtf): Likewise.
79436         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
79437         to inline function.
79438         (__rintf, __floor, __floorf): Likewise.
79440         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
79441         macro to inline function.
79442         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
79444         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
79445         not <math/math_private.h>.
79447 2012-03-08  David S. Miller  <davem@davemloft.net>
79449         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
79450         copyright year.
79451         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
79453 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
79455         * resolv/gai_misc.c (handle_requests): Fix struct timespec
79456         normalization.
79457         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
79458         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
79460 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
79462         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
79463         be defined individually, they must be defined as a block.  Define
79464         S for printing a string instead of hidint the different by using a
79465         macro for adding the 'l'.
79466         * stdio-common/tst-fphex-wide.c: Adjust.
79468 2012-03-07  Marek Polacek  <polacek@redhat.com>
79470         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
79472 2012-03-08  Marek Polacek  <polacek@redhat.com>
79474         [BZ #13806]
79475         * stdio-common/Makefile (tests): Add tst-fphex-wide.
79476         * stdio-common/tst-fphex.c: Define a few macros to make the
79477         test reusable.  Use them.
79478         * stdio-common/tst-fphex-wide.c: New file.
79480 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
79482         [BZ #6911]
79483         * manual/macros.texi (gnusystems): New macro.
79484         (nongnusystems): Likewise.
79485         (gnulinuxhurdsystems): Likewise.
79486         (gnuhurdsystems): Likewise..
79487         (gnulinuxsystems): Likewise.
79488         * manual/charset.texi: Use new macros or @theglibc{} to refer to
79489         variants of the GNU system, not "GNU system".
79490         * manual/conf.texi: Likewise.
79491         * manual/errno.texi: Likewise.  Update example of errno macro
79492         expansion.
79493         * manual/filesys.texi: Likewise.
79494         (getumask): Document as specific to GNU/Hurd.
79495         * manual/install.texi: Likewise.  Reword some references to
79496         GNU/Linux.
79497         * manual/intro.texi: Likewise.
79498         * manual/io.texi: Likewise.
79499         (File Name Portability): Detail which constraints are inapplicable
79500         to all GNU systems and which are only inapplicable to GNU/Hurd.
79501         * manual/job.texi: Likewise.
79502         * manual/llio.texi: Likewise.
79503         (O_NOCTTY): Document as present on GNU/Linux.
79504         * manual/maint.texi: Likewise.
79505         * manual/memory.texi: Likewise.
79506         * manual/pattern.texi: Likewise.
79507         * manual/pipe.texi: Likewise.
79508         * manual/process.texi: Likewise.
79509         * manual/resource.texi: Likewise.
79510         (RUSAGE_CHILDREN): Remove statement about specifying a particular
79511         child on GNU/Hurd.
79512         * manual/setjmp.texi: Likewise.
79513         * manual/signal.texi: Likewise.
79514         * manual/startup.texi: Likewise.
79515         * manual/stdio.texi: Likewise.
79516         * manual/terminal.texi: Likewise.
79517         (ONLCR): Document as POSIX.
79518         (OXTABS): Document availability on GNU/Linux as XTABS.
79519         (ONOEOT): Document availability separately from other bits.
79520         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
79521         * manual/time.texi: Likewise.
79522         * manual/users.texi: Likewise.
79523         * INSTALL: Regenerated.
79524         * sysdeps/gnu/errlist.c: Regenerated.
79526         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
79527         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
79528         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
79529         puts.
79530         * configure: Regenerated.
79532 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
79534         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
79535         default includes instead of AC_HEADER_CHECK.
79536         * sysdeps/i386/configure: Regenerated.
79538         [BZ #10716]
79539         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
79540         * math/s_cacoshf.c (__cacoshf): Likewise.
79541         * math/s_cacoshl.c (__cacoshl): Likewise.
79542         * math/s_casinh.c (__casinh): Set signs of result from argument.
79543         * math/s_casinhf.c (__casinhf): Likewise.
79544         * math/s_casinhl.c (__casinhl): Likewise.
79545         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
79546         (casinh_test): Add more tests.
79547         * sysdeps/i386/fpu/libm-test-ulps: Update.
79548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79550 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
79552         * po/zh_TW.po: Update from translation team.
79554         * login/Makefile (distribute): Remove variable.
79555         * catgets/Makefile: Likewise.
79556         * mach/Makefile: Likewise.
79557         * malloc/Makefile: Likewise.
79558         * misc/Makefile: Likewise.
79559         * iconv/Makefile: Likewise.
79560         * nscd/Makefile: Likewise.
79561         * hurd/Makefile: Likewise.
79562         * manual/Makefile: Likewise.
79563         * locale/Makefile: Likewise.
79564         * intl/Makefile: Likewise.
79565         * conform/Makefile: Likewise.
79566         * nss/Makefile: Likewise.
79567         * time/Makefile: Likewise.
79568         * soft-fp/Makefile: Likewise.
79569         * dirent/Makefile: Likewise.
79570         * gmon/Makefile: Likewise.
79571         * po/Makefile: Likewise.
79572         * rt/Makefile: Likewise.
79573         * socket/Makefile: Likewise.
79574         * math/Makefile: Likewise.
79575         * signal/Makefile: Likewise.
79576         * debug/Makefile: Likewise.
79577         * elf/Makefile: Likewise.
79578         * timezone/Makefile: Likewise.
79579         * stdlib/Makefile: Likewise.
79580         * iconvdata/Makefile: Likewise.
79581         * sunrpc/Makefile: Likewise.
79582         * io/Makefile: Likewise.
79583         * argp/Makefile: Likewise.
79584         * inet/Makefile: Likewise.
79585         * hesiod/Makefile: Likewise.
79586         * grp/Makefile: Likewise.
79587         * csu/Makefile: Likewise.
79588         * wctype/Makefile: Likewise.
79589         * crypt/Makefile: Likewise.
79590         * libio/Makefile: Likewise.
79591         * string/Makefile: Likewise.
79592         * nis/Makefile: Likewise.
79593         * resolv/Makefile: Likewise.
79594         * stdio-common/Makefile: Likewise.
79595         * wcsmbs/Makefile: Likewise.
79596         * dlfcn/Makefile: Likewise.
79597         * posix/Makefile: Likewise.
79599         [BZ #6959]
79600         * timezone/Makefile: Don't install timezone files, just the programs
79601         and scripts.
79603 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
79605         * nss/databases.def: Add missing gshadow entry.
79607         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
79609 2012-03-06  Marek Polacek  <polacek@redhat.com>
79611         [BZ #13726]
79612         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
79613         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
79614         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
79615         * stdio-common/tst-long-dbl-fphex.c: New file.
79617 2012-03-06  David S. Miller  <davem@davemloft.net>
79619         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
79620         (set_obp_int): New function.
79621         (get_obp_int): New function.
79622         (__get_clockfreq_via_dev_openprom): Likewise.
79623         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
79624         Avoid unused variable warnings on 'val' and use builtin_expect.
79625         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
79626         __builtin_expect.
79627         (INLINE_CLONE_SYSCALL): Likewise.
79629 2012-03-05  David S. Miller  <davem@davemloft.net>
79631         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79633 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
79635         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79637         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
79638         only for |x| >= 40.
79639         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
79641 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
79643         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
79644         Replace gettimeofday with __vdso_gettimeofday.
79646         * sysdeps/unix/sysv/linux/x86_64/init-first.c
79647         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
79648         __vdso_clock_gettime and __vdso_getcpu.
79650         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
79651         time with __vdso_time.
79653 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
79655         * manual/lang.texi (size_t): Note types to which size_t may be
79656         equivalent with the GNU C Library, but do not describe when
79657         differences between them are significant.
79659 2012-03-05  Andreas Jaeger  <aj@suse.de>
79661         * sysdeps/i386/fpu/libm-test-ulps: Update.
79663 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
79665         [BZ #3976]
79666         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
79667         (__ieee754_pow): Save and restore rounding mode and use
79668         round-to-nearest for main computations.
79669         * math/libm-test.inc (pow_test_tonearest): New function.
79670         (pow_test_towardzero): Likewise.
79671         (pow_test_downward): Likewise.
79672         (pow_test_upward): Likewise.
79673         (main): Call the new functions.
79674         * sysdeps/i386/fpu/libm-test-ulps: Update.
79675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79677         [BZ #3976]
79678         * math/libm-test.inc (cosh_test_tonearest): New function.
79679         (cosh_test_towardzero): Likewise.
79680         (cosh_test_downward): Likewise.
79681         (cosh_test_upward): Likewise.
79682         (sinh_test_tonearest): Likewise.
79683         (sinh_test_towardzero): Likewise.
79684         (sinh_test_downward): Likewise.
79685         (sinh_test_upward): Likewise.
79686         (main): Call the new functions.
79687         * sysdeps/i386/fpu/libm-test-ulps: Update.
79688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79690 2012-03-05  Tom de Vries  <tom@codesourcery.com>
79692         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
79693         default stack guard is set in last bytes.
79694         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
79696 2012-03-05  Kees Cook  <keescook@chromium.org>
79698         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
79700         [BZ #13656]
79701         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
79702         possibly allocate from heap instead of stack.
79703         * stdio-common/bug-vfprintf-nargs.c: New file.
79704         * stdio-common/Makefile (tests): Add nargs overflow test.
79706 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
79708         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79710 2012-03-03  Marek Polacek  <polacek@redhat.com>
79712         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
79713         * math/math_private.h: Likewise.
79714         * stdlib/tst-strtod.c: Likewise.
79715         * sysdeps/i386/i486/bits/atomic.h: Likewise.
79716         * sysdeps/x86_64/bits/atomic.h: Likewise.
79718 2012-03-02  David S. Miller  <davem@davemloft.net>
79720         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
79721         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
79722         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
79723         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
79724         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
79725         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
79726         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
79727         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
79729 2012-03-02  Roland McGrath  <roland@hack.frob.com>
79731         [BZ #13792]
79732         * manual/examples/README: New file, says the example source files
79733         can be used under GPL>=2.
79734         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
79735         line containing just "*/".
79736         * manual/examples/add.c: Add copyright header (GPL>=2).
79737         * manual/examples/argp-ex1.c: Likewise.
79738         * manual/examples/argp-ex2.c: Likewise.
79739         * manual/examples/argp-ex3.c: Likewise.
79740         * manual/examples/argp-ex4.c: Likewise.
79741         * manual/examples/atexit.c: Likewise.
79742         * manual/examples/db.c: Likewise.
79743         * manual/examples/dir.c: Likewise.
79744         * manual/examples/dir2.c: Likewise.
79745         * manual/examples/execinfo.c: Likewise.
79746         * manual/examples/filecli.c: Likewise.
79747         * manual/examples/filesrv.c: Likewise.
79748         * manual/examples/fmtmsgexpl.c: Likewise.
79749         * manual/examples/genpass.c: Likewise.
79750         * manual/examples/inetcli.c: Likewise.
79751         * manual/examples/inetsrv.c: Likewise.
79752         * manual/examples/isockad.c: Likewise.
79753         * manual/examples/longopt.c: Likewise.
79754         * manual/examples/memopen.c: Likewise.
79755         * manual/examples/memstrm.c: Likewise.
79756         * manual/examples/mkfsock.c: Likewise.
79757         * manual/examples/mkisock.c: Likewise.
79758         * manual/examples/mygetpass.c: Likewise.
79759         * manual/examples/pipe.c: Likewise.
79760         * manual/examples/popen.c: Likewise.
79761         * manual/examples/rprintf.c: Likewise.
79762         * manual/examples/search.c: Likewise.
79763         * manual/examples/select.c: Likewise.
79764         * manual/examples/setjmp.c: Likewise.
79765         * manual/examples/sigh1.c: Likewise.
79766         * manual/examples/sigusr.c: Likewise.
79767         * manual/examples/stpcpy.c: Likewise.
79768         * manual/examples/strdupa.c: Likewise.
79769         * manual/examples/strftim.c: Likewise.
79770         * manual/examples/strncat.c: Likewise.
79771         * manual/examples/subopt.c: Likewise.
79772         * manual/examples/swapcontext.c: Likewise.
79773         * manual/examples/termios.c: Likewise.
79774         * manual/examples/testopt.c: Likewise.
79775         * manual/examples/testpass.c: Likewise.
79776         * manual/examples/timeval_subtract.c: Likewise.
79778         [BZ #13792]
79779         * manual/time.texi (Elapsed Time): Move timeval_subtract example
79780         function to ...
79781         * manual/timeval_subtract.c.texi: ... here, new file.
79783 2012-03-02  David S. Miller  <davem@davemloft.net>
79785         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
79787 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
79789         [BZ #3976]
79790         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
79791         (__sin): Save and restore rounding mode and use round-to-nearest
79792         for all computations.
79793         (__cos): Save and restore rounding mode and use round-to-nearest
79794         for all computations.
79795         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
79796         <fenv.h>.
79797         (tan): Save and restore rounding mode and use round-to-nearest for
79798         all computations.
79799         * math/libm-test.inc (cos_test_tonearest): New function.
79800         (cos_test_towardzero): Likewise.
79801         (cos_test_downward): Likewise.
79802         (cos_test_upward): Likewise.
79803         (sin_test_tonearest): Likewise.
79804         (sin_test_towardzero): Likewise.
79805         (sin_test_downward): Likewise.
79806         (sin_test_upward): Likewise.
79807         (tan_test_tonearest): Likewise.
79808         (tan_test_towardzero): Likewise.
79809         (tan_test_downward): Likewise.
79810         (tan_test_upward): Likewise.
79811         (main): Call the new functions.
79812         * sysdeps/i386/fpu/libm-test-ulps: Update.
79813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79815         [BZ #10135]
79816         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
79817         small n, then large n, before computing and testing k+n.
79818         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
79819         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
79820         Likewise.
79821         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
79822         Likewise.
79823         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
79824         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
79825         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
79826         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
79827         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
79828         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
79829         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
79830         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
79831         * math/libm-test.inc (scalbn_test): Add more tests.
79832         (scalbln_test): Likewise.
79834         * manual/filesys.texi (mode_t): Describe constraints on size and
79835         signedness, not exact equivalence to a particular type.
79836         (ino_t): Likewise.
79837         (ino64_t): Likewise.
79838         (dev_t): Likewise.
79839         (nlink_t): Likewise.
79840         (blkcnt_t): Likewise.
79841         (blkcnt64_t): Likewise.
79842         * manual/llio.texi (off_t): Likewise.
79844         [BZ #3976]
79845         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
79846         (__ieee754_exp): Save and restore rounding mode and use
79847         round-to-nearest for all computations.
79848         * math/libm-test.inc (exp_test_tonearest): New function.
79849         (exp_test_towardzero): Likewise.
79850         (exp_test_downward): Likewise.
79851         (exp_test_upward): Likewise.
79852         (main): Call the new functions.
79853         * sysdeps/i386/fpu/libm-test-ulps: Update.
79854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79856 2012-03-01  Chris Demetriou  <cgd@google.com>
79858         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
79859         have predictable order.
79861 2012-03-01  David S. Miller  <davem@davemloft.net>
79863         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
79865         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
79866         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
79867         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
79868         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
79870         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
79871         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
79872         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
79873         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
79874         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
79875         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
79876         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
79877         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
79878         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
79880         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79882         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
79883         * sysdeps/sparc/fpu/libm-test-ulps: to here.
79884         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
79886         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
79887         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
79888         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
79889         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
79890         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
79891         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
79892         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
79893         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
79894         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
79895         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
79896         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
79897         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
79898         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
79899         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
79900         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
79901         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
79902         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
79903         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
79904         * sysdeps/sparc/elf/configure: Regenerated.
79906 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
79908         * configure.in (AS, LD): Require binutils 2.20 or later.
79909         * configure: Regenerated.
79910         * manual/install.texi (Tools for Compilation): Give binutils 2.20
79911         as required minimum version.
79912         * INSTALL: Regenerated.
79914         [BZ #2541]
79915         [BZ #4108]
79916         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
79917         before squaring exponent.
79918         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
79919         bottom long double and 27 bits of top long double before squaring
79920         exponent.
79921         * math/libm-test.inc (erfc_test): Add more tests.
79922         * sysdeps/i386/fpu/libm-test-ulps: Update.
79923         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
79924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79926 2012-03-01  Kai Tietz  <ktietz@redhat.com>
79928         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
79929         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
79930         containing bit-fields.
79931         * soft-fp/extended.h (_FP_UNION_E): Likewise.
79932         * soft-fp/single.h (_FP_UNION_S): Likewise.
79933         * soft-fp/double.h (_FP_UNION_D): Likewise.
79935 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
79937         [BZ #13786]
79938         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
79939         not include ../strcmp.S.
79940         [USE_AS_STRNCASECMP_L]: Likewise.
79941         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
79942         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
79943         * sysdeps/i386/i686/multiarch/strncase_l-c.c
79944         (__strncasecmp_l_ia32): Define as alias to
79945         __strncasecmp_l_nonascii.
79947         [BZ #5794]
79948         * math/libm-test.inc (expm1_test): Add test for bug 5794.
79949         * sysdeps/i386/fpu/libm-test-ulps: Update.
79950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79952         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
79953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79955 2012-02-29  Jeff Law  <law@redhat.com>
79957         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
79958         out of bounds read.
79960 2012-02-29  Marek Polacek  <polacek@redhat.com>
79962         [BZ #13706]
79963         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
79964         * elf/Makefile: Add rules to run tst-unused-dep.out.
79966 2012-02-28  David S. Miller  <davem@davemloft.net>
79968         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
79969         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
79970         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
79971         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
79972         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
79973         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
79975 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
79977         * math/libm-test.inc (llround_test): Move one test from
79978         lround_test.  Use TEST_f_L in moved test.
79979         (lround_test): Move misplaced test to llround_test.  Add testcase
79980         from bug 2561.
79982 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
79984         * sysdeps/x86_64/fpu/e_expf.S: New file.
79985         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
79987 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
79989         [BZ #13637]
79990         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
79991         of remain_len that may cause incomplete multi-byte character and
79992         false match.
79993         * posix/bug-regex33.c: New file.
79994         * posix/Makefile (tests): Add bug-regex33.
79996 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
79998         * manual/macros.texi: New file.
79999         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
80000         * manual/libc.texinfo: Include macros.texi.
80001         * manual/creatute.texi: Likewise.
80002         * manual/install.texi: Likewise.
80003         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
80004         @glibcadj{} in references to the GNU C Library.
80005         * manual/charset.texi: Likewise.
80006         * manual/conf.texi: Likewise.
80007         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
80008         when not using those macros.
80009         * manual/creature.texi: Likewise.
80010         * manual/crypt.texi: Likewise.
80011         * manual/errno.texi: Likewise.
80012         * manual/filesys.texi: Likewise.
80013         * manual/header.texi: Likewise.
80014         * manual/install.texi: Likewise.
80015         * manual/intro.texi: Likewise.
80016         * manual/io.texi: Likewise.
80017         * manual/job.texi: Likewise.
80018         * manual/lang.texi: Likewise.
80019         * manual/libc.texiinfo: Likewise.
80020         * manual/llio.texi: Likewise.
80021         * manual/locale.texi: Likewise.
80022         * manual/maint.texi: Likewise.
80023         * manual/math.texi: Likewise.
80024         * manual/memory.texi: Likewise.
80025         * manual/message.texi: Likewise.
80026         * manual/nss.texi: Likewise.
80027         * manual/pattern.texi: Likewise.
80028         * manual/process.texi: Likewise.
80029         * manual/resource.texi: Likewise.
80030         * manual/search.texi: Likewise.
80031         * manual/setjmp.texi: Likewise.
80032         * manual/signal.texi: Likewise.
80033         * manual/socket.texi: Likewise.
80034         * manual/startup.texi: Likewise.
80035         * manual/stdio.texi: Likewise.
80036         * manual/string.texi: Likewise.
80037         * manual/sysinfo.texi: Likewise.
80038         * manual/syslog.texi: Likewise.
80039         * manual/terminal.texi: Likewise.
80040         * manual/time.texi: Likewise.
80041         * manual/users.texi: Likewise.
80042         * INSTALL: Regenerated.
80043         * NOTES: Regenerated.
80044         * sysdeps/gnu/errlist.c: Regenerated.
80046 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
80048         * include/dirent.h: Include <dirstream.h> before
80049         <dirent/dirent.h>.
80051 2012-02-28  David S. Miller  <davem@davemloft.net>
80053         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
80054         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
80055         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
80056         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
80058 2012-02-27  David S. Miller  <davem@davemloft.net>
80060         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
80061         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
80062         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
80063         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
80065         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
80066         frame pointer instead of stack pointer relative arg slot.
80067         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
80068         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
80069         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
80071 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
80073         [BZ #3992]
80074         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
80076 2012-02-27  David S. Miller  <davem@davemloft.net>
80078         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
80079         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
80080         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
80081         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
80082         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
80083         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
80084         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
80085         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
80087 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
80089         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
80090         later.  Allow versions 5-9.
80091         * configure: Regenerated.
80092         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
80093         required minimum version and 4.6 as recommended version.  Do not
80094         mention bugs in GCC 2.7 and 2.8.
80095         * INSTALL: Regenerated.
80097 2012-02-27  David S. Miller  <davem@davemloft.net>
80099         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
80100         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
80101         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
80102         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
80103         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
80104         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
80105         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
80106         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
80108         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
80109         manipulate bits before adding and subtracting TWO112[sx].
80110         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
80112 2012-02-27  Roland McGrath  <roland@hack.frob.com>
80114         [BZ #13775]
80115         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
80116         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
80117         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
80118         being in POSIX, because they are in 1003.1-2008.
80120         * rt/tst-aio.c: Include <fcntl.h>.
80121         * rt/tst-aio7.c: Likewise.
80122         * rt/tst-aio64.c: Likewise.
80124         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
80126 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
80128         * manual/install.texi (--with-headers): Describe headers as
80129         interface headers, not private headers.
80130         (Specific advice for GNU/Linux systems): Describe use of headers
80131         from "make headers_install", not private headers from older
80132         kernels.
80133         * INSTALL: Regenerated.
80134         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
80135         Change to 2.6.19.
80136         * sysdeps/unix/sysv/linux/configure: Regenerated.
80138         * manual/llio.texi (fclean): Remove documentation.
80140         * manual/Makefile (libc-texi-generated): New variable.  Include
80141         version.texi.
80142         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
80143         $(libc-texi-generated), not duplicated list of files.
80144         (version.texi, stamp-version): New rules.
80145         (realclean): Remove $(libc-texi-generated), not individual files
80146         from that list.  Do not remove dir-add.texinfo.
80147         * manual/libc.texinfo: Comment out uses of edition numbers and
80148         references to printed manual.  Remove last-updated dates.
80149         (EDITION): Comment out.
80150         (ISBN): Likewise.
80151         (VERSION, UPDATED): Remove.
80152         (version.texi): Include.
80154 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
80156         * sysdeps/posix/spawni.c: Include <signal.h>.
80157         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
80158         * sysdeps/pthread/aio_fsync.c: Likewise.
80160 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
80162         * conform/Makefile (tests): Run only when not cross-compiling and
80163         when fast-check is not defined.
80165         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
80166         * conform/data/limits.h-data: Fixes for POSIX2008.
80167         * conform/run-conformtest.sh: Run all tests.
80168         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
80169         headers.
80170         * include/bits/dlfcn.h: Likewise.
80171         * include/langinfo.h: Likewise.
80172         * include/monetary.h: Likewise.
80173         * include/sys/poll.h: Likewise.
80175         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
80176         for __USE_GNU.
80177         * posix/spawn.h: Define __need_sigset_t.
80178         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
80179         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
80180         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
80181         to get sigevent_t only.
80182         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
80183         only for __USE_GNU.
80184         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
80185         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
80186         process_vm_writev only for __USE_GNU.
80187         * termios/termios.h: Declare tcgetsid also for POSIX2008.
80189         * conform/Makefile: For now ignore errors from run-conformtest.
80190         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
80191         POSIX to avoid namespace pollution.  Don't prepend headers.
80192         * conform/data/aio.h-data: Fixes for POSIX testing.
80193         * conform/data/fcntl.h-data: Likewise.
80194         * conform/data/glob.h-data: Likewise.
80195         * conform/data/grp.h-data: Likewise.
80196         * conform/data/pthread.h-data: Likewise.
80197         * conform/data/pwd.h-data: Likewise.
80198         * conform/data/signal.h-data: Likewise.
80199         * conform/data/spawn.h-data: Likewise.
80200         * conform/data/stdio.h-data: Likewise.
80201         * conform/data/stdlib.h-data: Likewise.
80202         * conform/data/stropts.h-data: Likewise.
80203         * conform/data/sys/mman.h-data: Likewise.
80204         * conform/data/sys/stat.h-data: Likewise.
80205         * conform/data/sys/types.h-data: Likewise.
80206         * conform/data/sys/wait.h-data: Likewise.
80207         * conform/data/time.h-data: Likewise.
80208         * conform/data/unistd.h-data: Likewise.
80209         * conform/data/utime.h-data: Likewise.
80211         * io/sys/stat.h: fchmod was always in POSIX.
80212         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
80213         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
80214         * rt/aio.h: Define __need_timespec before including <time.h>.
80215         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
80216         struct.  Add forward declaration of pthread_attr_t and use it in
80217         sigevent.
80218         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
80219         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
80220         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
80221         always remove CLK_TCK definition.
80223 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
80225         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
80227 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
80229         * conform/run-conformtest.sh: New file.
80230         * conform/Makefile: Run run-conformtest for tests.
80231         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
80232         support.
80234         * conform/data/uchar.h-data: New file.
80235         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
80236         * conform/data/arpa/inet.h-data: Likewise.
80237         * conform/data/assert.h-data: Likewise.
80238         * conform/data/complex.h-data: Likewise.
80239         * conform/data/cpio.h-data: Likewise.
80240         * conform/data/ctype.h-data: Likewise.
80241         * conform/data/dirent.h-data: Likewise.
80242         * conform/data/dlfcn.h-data: Likewise.
80243         * conform/data/errno.h-data: Likewise.
80244         * conform/data/fcntl.h-data: Likewise.
80245         * conform/data/float.h-data: Likewise.
80246         * conform/data/fmtmsg.h-data: Likewise.
80247         * conform/data/fnmatch.h-data: Likewise.
80248         * conform/data/ftw.h-data: Likewise.
80249         * conform/data/glob.h-data: Likewise.
80250         * conform/data/grp.h-data: Likewise.
80251         * conform/data/iconv.h-data: Likewise.
80252         * conform/data/inttypes.h-data: Likewise.
80253         * conform/data/langinfo.h-data: Likewise.
80254         * conform/data/libgen.h-data: Likewise.
80255         * conform/data/limits.h-data: Likewise.
80256         * conform/data/locale.h-data: Likewise.
80257         * conform/data/math.h-data: Likewise.
80258         * conform/data/monetary.h-data: Likewise.
80259         * conform/data/mqueue.h-data: Likewise.
80260         * conform/data/ndbm.h-data: Likewise.
80261         * conform/data/net/if.h-data: Likewise.
80262         * conform/data/netdb.h-data: Likewise.
80263         * conform/data/netinet/in.h-data: Likewise.
80264         * conform/data/nl_types.h-data: Likewise.
80265         * conform/data/poll.h-data: Likewise.
80266         * conform/data/pthread.h-data: Likewise.
80267         * conform/data/pwd.h-data: Likewise.
80268         * conform/data/regex.h-data: Likewise.
80269         * conform/data/sched.h-data: Likewise.
80270         * conform/data/search.h-data: Likewise.
80271         * conform/data/semaphore.h-data: Likewise.
80272         * conform/data/setjmp.h-data: Likewise.
80273         * conform/data/signal.h-data: Likewise.
80274         * conform/data/spawn.h-data: Likewise.
80275         * conform/data/stdarg.h-data: Likewise.
80276         * conform/data/stdio.h-data: Likewise.
80277         * conform/data/stdlib.h-data: Likewise.
80278         * conform/data/string.h-data: Likewise.
80279         * conform/data/strings.h-data: Likewise.
80280         * conform/data/stropts.h-data: Likewise.
80281         * conform/data/sys/ipc.h-data: Likewise.
80282         * conform/data/sys/mman.h-data: Likewise.
80283         * conform/data/sys/msg.h-data: Likewise.
80284         * conform/data/sys/resource.h-data: Likewise.
80285         * conform/data/sys/select.h-data: Likewise.
80286         * conform/data/sys/sem.h-data: Likewise.
80287         * conform/data/sys/shm.h-data: Likewise.
80288         * conform/data/sys/socket.h-data: Likewise.
80289         * conform/data/sys/stat.h-data: Likewise.
80290         * conform/data/sys/statvfs.h-data: Likewise.
80291         * conform/data/sys/time.h-data: Likewise.
80292         * conform/data/sys/timeb.h-data: Likewise.
80293         * conform/data/sys/times.h-data: Likewise.
80294         * conform/data/sys/types.h-data: Likewise.
80295         * conform/data/sys/uio.h-data: Likewise.
80296         * conform/data/sys/un.h-data: Likewise.
80297         * conform/data/sys/utsname.h-data: Likewise.
80298         * conform/data/sys/wait.h-data: Likewise.
80299         * conform/data/syslog.h-data: Likewise.
80300         * conform/data/tar.h-data: Likewise.
80301         * conform/data/termios.h-data: Likewise.
80302         * conform/data/utime.h-data: Likewise.
80303         * conform/data/utmpx.h-data: Likewise.
80304         * conform/data/varargs.h-data: Likewise.
80305         * conform/data/wchar.h-data: Likewise.
80306         * conform/data/wctype.h-data: Likewise.
80307         * conform/data/wordexp.h-data: Likewise.
80309         * include/stropts.h: New file.
80310         * include/uchar.h: New file.
80311         * include/aio.h: Changes to allow conformtest.pl to use the headers.
80312         * include/assert.h: Likewise.
80313         * include/ctype.h: Likewise.
80314         * include/dirent.h: Likewise.
80315         * include/dlfcn.h: Likewise.
80316         * include/fcntl.h: Likewise.
80317         * include/fnmatch.h: Likewise.
80318         * include/glob.h: Likewise.
80319         * include/grp.h: Likewise.
80320         * include/libio.h: Likewise.
80321         * include/locale.h: Likewise.
80322         * include/math.h: Likewise.
80323         * include/net/if.h: Likewise.
80324         * include/netdb.h: Likewise.
80325         * include/netinet/in.h: Likewise.
80326         * include/pthread.h: Likewise.
80327         * include/pwd.h: Likewise.
80328         * include/regex.h: Likewise.
80329         * include/sched.h: Likewise.
80330         * include/search.h: Likewise.
80331         * include/setjmp.h: Likewise.
80332         * include/signal.h: Likewise.
80333         * include/stdio.h: Likewise.
80334         * include/stdlib.h: Likewise.
80335         * include/string.h: Likewise.
80336         * include/sys/cdefs.h: Likewise.
80337         * include/sys/mman.h: Likewise.
80338         * include/sys/msg.h: Likewise.
80339         * include/sys/resource.h: Likewise.
80340         * include/sys/select.h: Likewise.
80341         * include/sys/socket.h: Likewise.
80342         * include/sys/stat.h: Likewise.
80343         * include/sys/statvfs.h: Likewise.
80344         * include/sys/time.h: Likewise.
80345         * include/sys/times.h: Likewise.
80346         * include/sys/uio.h: Likewise.
80347         * include/sys/utsname.h: Likewise.
80348         * include/sys/wait.h: Likewise.
80349         * include/termios.h: Likewise.
80350         * include/time.h: Likewise.
80351         * include/ulimit.h: Likewise.
80352         * include/unistd.h: Likewise.
80353         * include/utime.h: Likewise.
80354         * include/wchar.h: Likewise.
80355         * include/wctype.h: Likewise.
80356         * include/wordexp.h: Likewise.
80358         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
80360         * time/time.h: TIME_UTC must be a macro.
80361         Make timespec_get available for ISO C11 only as well.
80363 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
80365         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
80366         Reported by Peng Haitao <penght@cn.fujitsu.com>.
80368 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
80370         * configure.in: Use -o not -a in test for unsupported multi-arch.
80372 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
80374         * manual/texinfo.tex: Update to version 2012-01-19.16.
80376 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
80378         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
80380 2012-02-24  Roland McGrath  <roland@hack.frob.com>
80382         [BZ #13738]
80383         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
80384         * manual/fdl-1.3.texi: New file.
80385         * manual/fdl-1.1.texi: File removed.
80387         [BZ #13738]
80388         * manual/libc.texinfo (FDL_VERSION): New @set.
80389         Use it for mention of FDL in cover text.
80390         (Documentation License): Use it in @include file name.
80392 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80393             Roland McGrath  <roland@hack.frob.com>
80395         [BZ #5461]
80396         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
80397         (not LONG_LONG_MAX and LONG_LONG_MIN.
80398         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
80399         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
80400         name.
80401         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
80403 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80405         [BZ #2547]
80406         [BZ #11365]
80407         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
80408         manipulate bits before adding and subtracting TWO23[sx].
80409         * math/libm-test.inc (nearbyint_test): Add more tests.
80411 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80413         [BZ #2548]
80414         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
80415         bits before adding and subtracting TWO23[sx].
80416         * math/libm-test.inc (rint_test): Add more tests.
80417         (rint_test_tonearest): Likewise.
80418         (rint_test_towardzero): Likewise.
80419         (rint_test_downward): Likewise.
80420         (rint_test_upward: Likewise.
80422 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80424         [BZ #10110]
80425         * include/stdc-predef.h: New file.  Extracted from features.h.
80426         * include/features.h: Include stdc-predef.h.
80427         * Makefile (headers): Add stdc-predef.h.
80428         * CONFORMANCE (Compiler limitations): Update.
80430 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80432         * manual/libc.texinfo (VERSION, UPDATED): Revert.
80434 2012-02-21  David S. Miller  <davem@davemloft.net>
80436         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
80437         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
80439 2012-02-20  David S. Miller  <davem@davemloft.net>
80441         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
80442         using a normal save/restore sequence, rather than allocating a
80443         dummy stack frame just to store a frame pointer and restore.
80444         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
80446 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
80448         * manual/install.texi: Fix stray word in line-wrapped comment.
80450 2012-02-20  David S. Miller  <davem@davemloft.net>
80452         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
80453         both binutils and gcc support GOTDATA.
80455         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
80456         "rd %pc" in the PIC register setup sequences.
80458         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
80459         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
80460         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
80461         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
80462         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
80463         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
80464         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
80465         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
80466         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
80467         (SYSCALL_ERROR_HANDLER): Likewise.
80468         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
80469         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
80470         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
80471         (SYSCALL_ERROR_HANDLER): Likewise.
80473         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
80474         (HAVE_GCC_GOTDATA): New.
80475         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
80476         relocation support in both binutils and gcc.
80477         * sysdeps/sparc/elf/configure: Regenerate.
80479         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
80480         * sysdeps/sparc/sparc32/elf/configure: Delete.
80481         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
80482         * sysdeps/sparc/sparc64/elf/configure: Delete.
80483         * sysdeps/sparc/elf/configure.in: New file.
80484         * sysdeps/sparc/elf/configure: Generate.
80486         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
80487         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
80488         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
80489         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
80490         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
80492 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
80494         * manual/install.texi: Do not mention specific glibc version
80495         numbers.
80496         * manual/libc.texinfo (VERSION, UPDATED): Update.
80497         (@copying): Use @copyright{} and range of years.
80499 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
80501         [BZ #13695]
80502         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
80503         [crti.S not in sysdirs] (generated): Do not append.
80504         [crti.S not in sysdirs] (omit-deps): Likewise.
80505         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
80506         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
80507         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
80508         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
80509         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
80510         Likewise.
80511         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
80512         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
80513         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
80514         * csu/defs.awk: Remove file.
80515         * sysdeps/generic/initfini.c: Likewise.
80516         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
80517         variable.
80518         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
80519         Likewise.
80521 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
80523         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
80524         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
80525         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
80526         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
80527         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
80528         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
80529         <bits/epoll.h>.
80530         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
80531         (__EPOLL_PACKED): Define to empty if not defined by
80532         <bits/epoll.h>.
80533         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
80534         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80535         bits/epoll.h.
80537 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
80539         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
80540         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
80541         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
80542         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
80543         <bits/timerfd.h>.
80544         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
80545         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80546         bits/timerfd.h.
80548 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
80550         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
80551         in C locale.
80552         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
80553         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
80554         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
80555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80557 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
80559         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80560         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
80562 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
80564         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
80565         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
80566         defined.
80567         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
80568         Likewise.
80569         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
80570         entry for 2.16.
80572 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
80574         * math/w_acos.c: Use non-signaling floating-point comparisons.
80575         * math/w_acosf.c: Likewise.
80576         * math/w_acosh.c: Likewise.
80577         * math/w_acoshf.c: Likewise.
80578         * math/w_acoshl.c: Likewise.
80579         * math/w_acosl.c: Likewise.
80580         * math/w_asin.c: Likewise.
80581         * math/w_asinf.c: Likewise.
80582         * math/w_asinl.c: Likewise.
80583         * math/w_atanh.c: Likewise.
80584         * math/w_atanhf.c: Likewise.
80585         * math/w_atanhl.c: Likewise.
80586         * math/w_exp2.c: Likewise.
80587         * math/w_exp2f.c: Likewise.
80588         * math/w_exp2l.c: Likewise.
80589         * math/w_j0.c: Likewise.
80590         * math/w_j0f.c: Likewise.
80591         * math/w_j0l.c: Likewise.
80592         * math/w_j1.c: Likewise.
80593         * math/w_j1f.c: Likewise.
80594         * math/w_j1l.c: Likewise.
80595         * math/w_jn.c: Likewise.
80596         * math/w_jnf.c: Likewise.
80597         * math/w_log.c: Likewise.
80598         * math/w_log10.c: Likewise.
80599         * math/w_log10f.c: Likewise.
80600         * math/w_log10l.c: Likewise.
80601         * math/w_log2.c: Likewise.
80602         * math/w_log2f.c: Likewise.
80603         * math/w_log2l.c: Likewise.
80604         * math/w_logf.c: Likewise.
80605         * math/w_logl.c: Likewise.
80606         * math/w_sqrt.c: Likewise.
80607         * math/w_sqrtf.c: Likewise.
80608         * math/w_sqrtl.c: Likewise.
80609         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
80610         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
80611         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80612         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
80613         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
80615 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
80617         [BZ #9739]
80618         * manual/string.texi (strnlen): Use correct parameter name in
80619         equivalent expression.
80621 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
80623         [BZ #11174]
80624         * manual/users.texi (seteuid): Consistently use neweuid for
80625         argument name.
80627 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
80629         [BZ #13704]
80630         * manual/nss.texi (Services in the NSS configuration): Correct
80631         list of services in example configuration file.
80633 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
80635         [BZ #11322]
80636         * manual/arith.texi: Remove statements about negative zero
80637         behaving identically to zero.
80639 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
80641         [BZ #5993]
80642         * manual/install.texi: Do not document upgrading from libc5.
80644 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
80646         [BZ #4596]
80647         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
80649 2012-02-18  David S. Miller  <davem@davemloft.net>
80651         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
80652         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
80653         %o7 across the call.
80654         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
80655         instead.
80656         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
80657         SETUP_PIC_REG_LEAF.
80658         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
80659         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
80660         * sysdeps/sparc/crtn.S: Likewise.
80662 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
80664         * aout/Makefile: Remove.
80666 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
80668         [BZ #13058]
80669         * manual/examples/argp-ex1.c (main): Format definition in GNU
80670         style.
80671         * manual/examples/argp-ex2.c (main): Likewise.
80672         * manual/examples/argp-ex3.c (main): Likewise.
80673         * manual/examples/argp-ex4.c (main): Likewise.
80674         * manual/examples/longopt.c (main): Use new-style prototype
80675         definition.
80676         * manual/examples/strncat.c (main): Specify return type and use
80677         (void) for arguments.
80678         * manual/examples/subopt.c (main): Use char **argv argument.
80680 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
80682         [BZ #5077]
80683         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
80684         rounding modes.
80686 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
80688         [BZ #6907]
80689         * manual/string.texi (strchr): Change when strchrnul is
80690         recommended.
80692 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
80694         [BZ #174]
80695         * manual/locale.texi (setlocale): Document LOCPATH.
80697 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
80699         [BZ #10210]
80700         * manual/process.texi (execle): Move @dots{} before last argument.
80702 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
80704         [BZ #12047]
80705         * manual/charset.texi (Generic Charset Conversion): Fix typo
80706         (LC_TYPE -> LC_CTYPE).
80708 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
80710         [BZ #5805]
80711         * manual/arith.texi (scalbn): Use @var{} on parameter names.
80712         (scalbnf): Likewise.
80713         (scalbnl): Likewise.
80714         (scalbln): Likewise.
80715         (scalblnf): Likewise.
80716         (scalblnl): Likewise.
80717         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
80718         (vwarnx): Likewise.
80719         (verr): Likewise.
80720         (verrx): Likewise.
80721         * manual/filesys.texi (telldir): Use braces around return type.
80722         * manual/llio.texi (mmap): Add space after comma.
80723         (mmap64): Likewise.
80724         * manual/math.texi (jn): Use @var{} on parameter names.
80725         (jnf): Likewise.
80726         (jnl): Likewise.
80727         (yn): Likewise.
80728         (ynf): Likewise.
80729         (ynl): Likewise.
80730         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
80731         line.
80732         * manual/resource.texi (ulimit): Use @dots{} instead of literal
80733         "...".
80734         (sched_get_priority_min): Remove semicolon on @deftypefun line.
80735         (sched_get_priority_max): Likewise.
80736         * manual/signal.texi (sigvec): Add space after comma.
80737         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
80738         names.
80739         (if_indextoname): Likewise.
80740         (if_freenameindex): Likewise.
80741         (sendto): Use ',' instead of '.' in prototype.
80742         * manual/startup.texi (syscall): Use @dots{} instead of literal
80743         "...".
80744         * manual/stdio.texi (__fpending): Separate initial words of
80745         paragraph from @deftypefun line.
80746         * manual/syslog.texi (syslog): Use @dots{} instead of literal
80747         "...".
80748         (vsyslog): Use @var{} on parameter names.
80749         * manual/terminal.texi (stty): Use @var{} on parameter names.
80750         * manual/users.texi (getutmp): Use @var{} on parameter names.
80751         (getutmpx): Likewise.
80753 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
80755         [BZ #6884]
80756         * manual/stdio.texi (fopen): Fix typos in description of
80757         ",ccs=STRING".
80759 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
80761         [BZ #4026]
80762         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
80763         get clock_id definition.
80765 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
80767         [BZ #4822]
80768         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
80769         (madvise): Cast every argument to void on its own.
80771 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
80773         [BZ #9902]
80774         * manual/startup.texi (Exit Status): Fix typo.
80776 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
80778         [BZ #10140]
80779         * manual/examples/argp-ex1.c: Include <stdlib.h>.
80780         * manual/examples/argp-ex2.c: Likewise.
80781         * manual/examples/argp-ex3.c: Likewise.
80783 2012-02-16  Richard Henderson  <rth@redhat.com>
80785         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
80786         * sysdeps/s390/s390-32/initfini.c: Remove.
80787         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
80788         * sysdeps/s390/s390-64/initfini.c: Remove.
80790 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
80792         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
80793         compiler output for sysdeps/generic/initfini.c.
80794         * sysdeps/sh/elf/initfini.c: Remove file.
80796 2012-02-16  David S. Miller  <davem@davemloft.net>
80798         [BZ #11494]
80799         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
80801         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
80802         * sysdeps/sparc/crti.S: New file.
80803         * sysdeps/sparc/crtn.S: New file.
80804         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
80805         * sysdeps/sparc/sparc64/Makefile: Likewise.
80807 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
80809         [BZ #3335]
80810         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
80812 2012-02-15  Roland McGrath  <roland@hack.frob.com>
80814         [BZ #4822]
80815         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
80817         * mach/devstream.c (cookie_io_functions_t): Macro removed.
80818         (write, read, close): Likewise.
80819         Patch by Aurelien Jarno <aurelien@aurel32.net>.
80821 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
80823         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
80824         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
80825         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
80826         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
80827         <bits/signalfd.h>.
80828         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
80829         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80830         bits/signalfd.h.
80832 2012-02-14  Marek Polacek  <polacek@redhat.com>
80834         * sysdeps/x86_64/crti.S: New file.
80835         * sysdeps/x86_64/crtn.S: New file.
80836         * sysdeps/x86_64/elf/initfini.c: Remove file.
80838 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
80840         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
80841         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
80842         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
80843         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
80844         <bits/inotify.h>.
80845         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
80846         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80847         bits/inotify.h.
80849 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
80851         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
80852         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
80853         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
80854         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
80855         <bits/eventfd.h>.
80856         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
80857         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80858         bits/eventfd.h.
80860 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
80862         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
80863         __feraiseexcept instead of feraiseexcept.
80865         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
80866         nanosleep invocations.
80867         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
80868         strings, and add error checking for a nanosleep invocations.
80870 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
80872         Replace FSF snail mail address with URLs, as per GNU coding standards.
80873         Most of the snail mail addresses were wrong anyway, and omitting
80874         them makes the source code easier to maintain.  Almost all of the
80875         changes are to license notices and to locale LC_IDENTIFICATION
80876         addresses, except for this one:
80877         * manual/libc.texinfo: In "Published by", give the FSF's URL,
80878         not its snail mail address.
80880 2012-02-09  Richard Henderson  <rth@twiddle.net>
80882         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
80883         of kernel-features.h.
80885         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
80887 2012-02-08  Marek Polacek  <polacek@redhat.com>
80889         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
80890         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
80891         * sysdeps/gnu/_G_config.h: Likewise.
80892         * sysdeps/generic/_G_config.h: Likewise.
80894 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
80896         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
80897         tests.
80898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80900         * sysdeps/powerpc/powerpc32/crti.S: New file.
80901         * sysdeps/powerpc/powerpc32/crtn.S: New file.
80902         * sysdeps/powerpc/powerpc64/crti.S: New file.
80903         * sysdeps/powerpc/powerpc64/crtn.S: New file.
80905         * Makeconfig (have-initfini): Don't set.
80906         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
80907         * configure.in (nopic_initfini): Don't substitute.
80908         * config.h.in (HAVE_INITFINI): Don't #undef.
80909         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
80910         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
80912 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
80914         Support crti.S and crtn.S provided directly by architectures.
80915         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
80916         [crti.S in sysdirs] (omit-deps): Likewise.
80917         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
80918         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
80919         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
80920         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
80921         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
80922         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
80923         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
80924         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
80925         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
80926         compiler output for sysdeps/generic/initfini.c.
80927         * sysdeps/i386/elf/Makefile: Remove file.
80928         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
80930 2012-02-07  Marek Polacek  <polacek@redhat.com>
80932         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
80933         * sysdeps/gnu/_G_config.h: Likewise.
80934         * sysdeps/mach/hurd/_G_config.h: Likewise.
80936 2012-02-07  Marek Polacek  <polacek@redhat.com>
80938         * math/Makefile (tests): Add tst-CMPLX2.
80939         * math/tst-CMPLX2.c: New file.
80941 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
80943         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80945         * math/libm-test.inc (jn_test): Add missing L suffix.
80947 2012-02-06  Marek Polacek  <polacek@redhat.com>
80949         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
80950         * sysdeps/i386/fpu/e_powf.S: Likewise.
80951         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
80952         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
80953         * sysdeps/i386/fpu/e_acosh.S: Likewise.
80954         * sysdeps/i386/fpu/e_pow.S: Likewise.
80955         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
80956         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
80957         * sysdeps/i386/fpu/s_expm1.S: Likewise.
80958         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
80959         * sysdeps/i386/fpu/e_log2.S: Likewise.
80960         * sysdeps/i386/fpu/e_log2l.S: Likewise.
80961         * sysdeps/i386/fpu/e_scalb.S: Likewise.
80962         * sysdeps/i386/fpu/e_powl.S: Likewise.
80963         * sysdeps/i386/fpu/s_log1p.S: Likewise.
80964         * sysdeps/i386/fpu/e_log10f.S: Likewise.
80965         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
80966         * sysdeps/i386/fpu/e_logl.S: Likewise.
80967         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
80968         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
80969         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
80970         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
80971         * sysdeps/i386/fpu/e_log2f.S: Likewise.
80972         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
80973         * sysdeps/i386/fpu/e_log.S: Likewise.
80974         * sysdeps/i386/fpu/s_cexp.S: Likewise.
80975         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
80976         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
80977         * sysdeps/i386/fpu/e_logf.S: Likewise.
80978         * sysdeps/i386/fpu/e_log10l.S: Likewise.
80979         * sysdeps/i386/fpu/e_atanh.S: Likewise.
80980         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
80981         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
80982         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
80983         * sysdeps/i386/fpu/e_log10.S: Likewise.
80984         * sysdeps/i386/fpu/s_frexp.S: Likewise.
80985         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
80986         * sysdeps/i386/fpu/s_asinh.S: Likewise.
80987         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
80988         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
80989         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
80990         * sysdeps/i386/asm-syntax.h: Likewise.
80991         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
80992         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
80993         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
80994         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
80995         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
80996         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
80997         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
80998         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
80999         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
81000         * sysdeps/powerpc/sysdep.h: Likewise.
81001         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
81002         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
81004 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
81006         [BZ #411]
81007         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
81009 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
81011         * sysdeps/i386/sysdep.h: Include <features.h>.
81012         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
81013         version.
81015 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
81017         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
81018         Define.
81019         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
81020         LOAD_PIC_REG_STR.
81022 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
81024         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
81025         (SETUP_PIC_REG): Use GET_PC_THUNK.
81026         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
81027         macro.
81029 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
81031         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
81032         for non-PIC compilation.
81033         (SETUP_PIC_REG): Add .p2align directive.
81034         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
81035         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
81036         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
81037         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
81038         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
81039         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
81040         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
81041         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
81042         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
81043         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
81044         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
81045         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
81046         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
81047         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
81048         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
81049         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
81050         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
81051         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
81052         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
81053         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
81054         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
81055         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
81056         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
81057         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
81058         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
81059         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
81060         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
81061         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
81062         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
81063         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
81064         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
81065         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
81066         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
81067         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
81068         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
81069         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
81070         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
81071         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
81072         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
81073         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
81074         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
81076 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
81078         * math/tst-CMPLX.c: Include <stdio.h>.
81080 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
81082         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
81083         float.
81084         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
81085         * sysdeps/sparc/bits/mathdef.h: Likewise.
81087 2012-01-31  Marek Polacek  <polacek@redhat.com>
81089         * libio/libio.h: Don't define _PARAMS.
81090         * locale/programs/config.h: Don't define PARAMS.
81091         * stdlib/strtol_l.c: Likewise.
81092         (__strtol_l): Remove PARAMS from the prototype.
81094 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
81096         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
81097         names.  Just use the correct names.  Remove unnecessary wrapper
81098         functions.
81099         * malloc/arena.c: Likewise.
81100         * malloc/hooks.c: Likewise.
81102         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
81103         ARENA_TEST says not to.  Simplify test for creation of a new arena.
81104         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
81106 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
81108         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
81109         into tail calls.
81110         (update_get_addr): New function.
81111         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
81112         GET_ADDR_MODULE parameter.
81114 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
81116         * crypt/cert.c: Remove __STDC__ conditionals.
81117         * crypt/crypt-entry.c: Likewise.
81118         * crypt/crypt_util.c: Likewise.
81119         * libio/filedoalloc.c: Likewise.
81120         * libio/fileops.c: Likewise.
81121         * libio/genops.c: Likewise.
81122         * libio/iofclose.c: Likewise.
81123         * libio/iofdopen.c: Likewise.
81124         * libio/iofopen.c: Likewise.
81125         * libio/iofopen64.c: Likewise.
81126         * libio/iogetdelim.c: Likewise.
81127         * libio/iopopen.c: Likewise.
81128         * libio/obprintf.c: Likewise.
81129         * libio/oldfileops.c: Likewise.
81130         * libio/oldiofclose.c: Likewise.
81131         * libio/oldiofdopen.c: Likewise.
81132         * libio/oldiofopen.c: Likewise.
81133         * libio/oldiopopen.c: Likewise.
81134         * libio/wfiledoalloc.c: Likewise.
81135         * libio/wgenops.c: Likewise.
81136         * locale/programs/xmalloc.c: Likewise.
81137         * misc/syslog.c: Likewise.
81138         * stdio-common/xbug.c: Likewise.
81139         * string/memchr.c: Likewise.
81140         * string/memcmp.c: Likewise.
81141         * string/memrchr.c: Likewise.
81142         * string/rawmemchr.c: Likewise.
81143         * sysdeps/posix/getcwd.c: Likewise.
81144         * time/strftime_l.c: Likewise.
81146 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
81148         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
81149         * config.make.in (config-cflags-sse2avx): Define.
81150         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
81151         Fix typo.
81153 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
81155         * scripts/config.guess: Update from upstream config git repository.
81156         * scripts/config.sub: Likewise.
81158 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
81160         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
81161         (EM_NUM): Update.
81162         (R_TILEPRO_*, R_TILEGX_*): New macros.
81164         * scripts/firstversions.awk: Fix bug in version range handling.
81166         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
81168         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
81170         * include/sys/epoll.h: New file.
81171         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
81172         libc_hidden_def.
81174 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
81176         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
81177         Avoid unnecessary __WORDSIZE == 64 test.
81178         (fmaxf): Use VEX format if possible.
81179         (fmax): Likewise.
81180         (fminf): Likewise.
81181         (fmin): Likewise.
81183         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
81184         * math/math_private.h: Remove libc_fegetround* and
81185         libc_fesetround*.
81186         * sysdeps/i386/configure.in: Check for -msse2avx.
81187         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
81188         also if SSE2AVX is defined.
81189         Remove libc_fegetround* and libc_fesetround*.
81190         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
81191         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
81192         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
81193         of HAS_YMM_USABLE.
81194         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
81195         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
81196         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
81197         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
81198         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
81200         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
81202 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81204         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
81205         size is not set.
81206         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
81208 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
81210         [BZ #13618]
81211         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
81212         relocation.
81213         * Makeconfig (libm): Define.
81214         * elf/Makefile: Add rules to build and run tst-relsort1.
81215         * elf/tst-relsort1.c: New file.
81216         * elf/tst-relsort1mod1.c: New file.
81217         * elf/tst-relsort1mod2.c: New file.
81219 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
81221         * math/s_ldexp.c: Remove __STDC__ conditionals.
81222         * math/s_ldexpf.c: Likewise.
81223         * math/s_ldexpl.c: Likewise.
81224         * math/s_nextafter.c: Likewise.
81225         * math/s_nexttowardf.c: Likewise.
81226         * math/s_significand.c: Likewise.
81227         * math/s_significandf.c: Likewise.
81228         * math/s_significandl.c: Likewise.
81229         * math/w_jnl.c: Likewise.
81230         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
81231         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
81232         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
81233         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
81234         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
81235         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
81236         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
81237         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
81238         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
81239         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
81240         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
81241         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
81242         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
81243         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
81244         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
81245         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
81246         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
81247         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
81248         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
81249         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
81250         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
81251         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
81252         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
81253         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
81254         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
81255         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
81256         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
81257         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
81258         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
81259         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
81260         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
81261         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
81262         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
81263         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
81264         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
81265         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
81266         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
81267         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
81268         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
81269         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
81270         * sysdeps/ieee754/k_standard.c: Likewise.
81271         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
81272         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
81273         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
81274         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
81275         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
81276         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
81277         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
81278         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
81279         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
81280         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
81281         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
81282         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
81283         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
81284         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
81285         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
81286         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
81287         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
81288         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
81289         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
81290         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
81291         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
81292         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
81293         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
81294         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
81295         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
81296         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
81297         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
81298         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
81299         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
81300         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
81301         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
81302         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
81303         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
81304         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
81305         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
81306         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
81307         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
81308         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
81309         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
81310         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
81311         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
81312         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
81313         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
81314         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
81315         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
81316         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
81317         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
81318         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
81319         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
81320         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
81321         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
81322         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
81323         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
81324         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
81325         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
81326         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
81327         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
81328         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
81329         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
81330         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
81331         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
81332         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
81333         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
81334         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
81335         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
81336         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
81337         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
81338         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
81339         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
81340         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
81341         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
81342         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
81343         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
81344         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
81345         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
81346         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
81347         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
81348         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
81349         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
81350         * sysdeps/ieee754/s_matherr.c: Likewise.
81351         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
81352         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
81353         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
81354         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
81356 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
81358         * crypt/md5.h: Remove __STDC__ conditionals.
81359         * libio/libioP.h: Likewise.
81360         * locale/programs/config.h: Likewise.
81361         * sysdeps/generic/sysdep.h: Likewise.
81362         * sysdeps/i386/asm-syntax.h: Likewise.
81363         * sysdeps/s390/asm-syntax.h: Likewise.
81364         * sysdeps/unix/sysdep.h: Likewise.
81365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
81366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
81368 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
81370         * libio/libio.h: Remove __STDC__ conditionals.
81371         * malloc/obstack.h: Likewise.
81372         * math/complex.h: Likewise.
81373         * math/math.h: Likewise.
81374         * sysdeps/generic/_G_config.h: Likewise.
81375         * sysdeps/gnu/_G_config.h: Likewise.
81376         * sysdeps/mach/hurd/_G_config.h: Likewise.
81377         * sysdeps/powerpc/bits/mathdef.h: Likewise.
81378         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
81379         * sysdeps/sparc/bits/mathdef.h: Likewise.
81381 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
81383         [BZ #13583]
81384         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
81385         Clean up HAS_* macros.
81386         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
81387         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
81388         possible.
81389         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
81390         HAS_AVX.
81391         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
81392         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
81393         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
81394         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
81395         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
81397 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
81399         * elf/tst-unique3.cc (gets): Remove declaration.
81400         * elf/tst-unique3lib.cc (gets): Likewise.
81401         * elf/tst-unique3lib2.cc (gets): Likewise.
81402         * elf/tst-unique4.cc (gets): Likewise.
81404 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
81406         * include/stdio.h: Add C++ protection.  Add gets declarations and
81407         definitions.
81408         * debug/tst-chk1.c: Don't declare gets here.
81409         * stdio-common/tst-gets.c: Likewise.
81411 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
81413         * posix/glob: Remove directory.
81415 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
81417         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
81419 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
81421         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
81422         of the non-standard EPFNOSUPPORT.
81424 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81426         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
81427         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
81428         ANYWHERE set to 1 only on KERN_NO_SPACE error.
81430 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
81432         * wcsmbs/uchar.h: Test __STDC_VERSION__.
81434 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
81436         * nscd/aicache.c (addhstaiX): Do not cache negative results of
81437         transient errors.
81438         * nscd/grpcache.c (cache_addgr): Likewise.
81439         * nscd/hstcache.c (cache_addhst): Likewise.
81440         * nscd/initgrcache.c (addinitgroupsX): Likewise.
81441         * nscd/pwdcache.c (cache_addpw): Likewise.
81442         * nscd/servicescache.c (cache_addserv): Likewise.
81444 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
81446         * malloc/malloc.c: Various cleanups.
81447         * malloc/hooks.c: Likewise.
81449         * stdlib/Makefile (tests): Add bug-fmtmsg1.
81450         * stdlib/bug-fmtmsg1.c: New file.
81452         * stdlib/fmtmsg.c (init): Add missing unlock.
81453         Patch by Peng Haitao <penght@cn.fujitsu.com>.
81455 2012-01-12  Marek Polacek  <polacek@redhat.com>
81457         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
81458         and _GNU_SOURCE.
81460 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
81462         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
81463         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
81464         macro to ensure uniqueness of label name.
81465         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
81466         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
81468 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
81470         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
81472         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
81473         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
81474         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
81475         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
81477 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
81479         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
81481         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
81482         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
81483         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
81485         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
81487         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
81488         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
81489         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
81490         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
81492         * math/bits/math-finite.h: Add ldexp support.
81494 2012-01-10  Marek Polacek  <polacek@redhat.com>
81496         * locale/programs/localedef.h (show_archive_content): Add noreturn
81497         attribute.
81499 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
81501         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
81503 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
81505         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
81507         * io/Makefile (headers): Add bits/poll2.h.
81509 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
81511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
81512         typo #include statement.
81514 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
81516         * include/sys/cdefs.h: Define __attribute_alloc_size.
81517         * catgets/gencat.c: Add alloc_size attribute and apply consistently
81518         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
81519         * elf/pldd.c: Likewise.
81520         * iconv/iconv_charmap.c: Likewise.
81521         * iconv/iconvconfig.c: Likewise.
81522         * iconv/strtab.c: Likewise.
81523         * locale/programs/locale.c: Likewise.
81524         * locale/programs/localedef.h: Likewise.
81525         * locale/programs/simple-hash.c: Likewise.
81526         * nscd/nscd.h: Likewise.
81527         * nss/makedb.c: Likewise.
81528         * sysdeps/generic/ldconfig.h: Likewise.
81529         * locale/programs/localedef.c: Remove xmalloc prototype.
81530         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
81532 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
81534         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
81535         appropriate.
81537 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
81539         * math/Makefile (tests): Add tst-CMPLX.
81540         * math/tst-CMPLX.c: New file.
81542         * math/complex.h (CMPLXL): Fix typo.
81544         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
81545         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
81546         GLIBC_2.16.
81547         * debug/tst-chk1.c: Add poll and ppoll tests.
81548         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
81549         * include/sys/poll.h: Add hidden proto for ppoll.
81550         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
81551         * sysdeps/mach/hurd/ppoll.c: Likewise.
81552         * io/ppoll.c: Likewise.
81553         * debug/poll_chk.c: New file.
81554         * debug/ppoll_chk.c: New file.
81555         * include/bits/poll2.h: New file.
81556         * io/bits/poll2.h: New file.
81558         [BZ #1350]
81559         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
81561         * configure.in: static is always set to yes.  Remove.
81562         * config.make.in: Don't set build-static.
81563         * Makeconfig: Remove use of build-static.
81564         * dlfcn/Makefile: Likewise.
81565         * elf/Makefile: Likewise.
81566         * math/Makefile: Likewise.
81567         * misc/Makefile: Likewise.
81568         * nptl/Makefile: Likewise.
81569         * sysdeps/mach/hurd/Makefile: Likewise.
81571         * configure.in: PWD_P is not used anymore.
81572         * config.make.in: Remove PWD_P entry.
81574         * configure.in: Remove last remnants of RANLIB.
81575         No need to check for signed size_t anymore.
81576         Don't set libc_commonpagesize and libc_relro_required here for Alpha
81577         and IA-64.
81578         Remove __builtin_expect test because we require at least gcc 3.4.
81579         * aclocal.m4: Likewise.
81581         * wcsmbs/mbrtoc16.c: Implement using towc function.
81582         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
81583         * wcsmbs/wcsmbsload.c: Likewise.
81584         * iconv/gconv_simple.c: Likewise.
81585         * iconv/gconv_int.h: Likewise.
81586         * iconv/gconv_builtin.h: Likewise.
81587         * iconv/iconv_prog.c: Remove CHAR16 handling.
81589         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
81591         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
81593         * configure.in: Remove --with-elf and --enable-bounded options.
81594         Dont set base_machine for ia64.  More non-ELF conditions removed.
81595         Remove testing and setting of leading underscore information.
81596         * config.make.in (build-bounded): Set to no.
81597         * config.h.in: Remove NO_UNDERSCORES entry.
81598         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
81599         them.
81600         * csu/start.c: Remove !NO_UNDERSCORE code.
81601         * locale/localeinfo.h: Likewise.
81602         * sysdeps/generic/machine-gmon.h: Likewise.
81603         * sysdeps/generic/sysdep.h: Likewise.
81604         * sysdeps/i386/sysdep.h: Likewise.
81605         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
81606         * sysdeps/mach/sysdep.h: Likewise.
81607         * sysdeps/s390/s390-32/sysdep.h: Likewise.
81608         * sysdeps/s390/s390-64/sysdep.h: Likewise.
81609         * sysdeps/sh/sysdep.h: Likewise.
81610         * sysdeps/sparc/sparc32/alloca.S: Likewise.
81611         * sysdeps/unix/i386/sysdep.S: Likewise.
81612         * sysdeps/unix/sparc/start.c: Likewise.
81613         * sysdeps/unix/sparc/sysdep.S: Likewise.
81614         * sysdeps/unix/sparc/sysdep.h: Likewise.
81615         * sysdeps/unix/start.c: Likewise.
81616         * sysdeps/unix/x86_64/sysdep.S: Likewise.
81617         * sysdeps/x86_64/sysdep.h: Likewise.
81619 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
81621         [BZ #13553]
81622         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
81623         for non-gcc.
81624         * argp/argp-fmtstream.h: Use const instead __const.
81625         * argp/argp.h: Likewise.
81626         * assert/assert.h: Likewise.
81627         * bits/fenv.h: Likewise.
81628         * bits/sched.h: Likewise.
81629         * bits/sigset.h: Likewise.
81630         * bits/sigthread.h: Likewise.
81631         * catgets/nl_types.h: Likewise.
81632         * conform/data/pthread.h-data: Likewise.
81633         * crypt/crypt-private.h: Likewise.
81634         * crypt/crypt.h: Likewise.
81635         * crypt/crypt_util.c: Likewise.
81636         * ctype/ctype.h: Likewise.
81637         * debug/execinfo.h: Likewise.
81638         * debug/mbsnrtowcs_chk.c: Likewise.
81639         * debug/mbsrtowcs_chk.c: Likewise.
81640         * debug/wcsnrtombs_chk.c: Likewise.
81641         * debug/wcsrtombs_chk.c: Likewise.
81642         * debug/wcstombs_chk.c: Likewise.
81643         * dirent/dirent.h: Likewise.
81644         * dlfcn/dlfcn.h: Likewise.
81645         * elf/neededtest4.c: Likewise.
81646         * grp/grp.h: Likewise.
81647         * gshadow/gshadow.h: Likewise.
81648         * iconv/gconv.h: Likewise.
81649         * iconv/gconv_int.h: Likewise.
81650         * iconv/gconv_simple.c: Likewise.
81651         * iconv/iconv.h: Likewise.
81652         * iconv/loop.c: Likewise.
81653         * iconv/skeleton.c: Likewise.
81654         * include/aio.h: Likewise.
81655         * include/aliases.h: Likewise.
81656         * include/argz.h: Likewise.
81657         * include/arpa/inet.h: Likewise.
81658         * include/assert.h: Likewise.
81659         * include/dirent.h: Likewise.
81660         * include/dlfcn.h: Likewise.
81661         * include/execinfo.h: Likewise.
81662         * include/fcntl.h: Likewise.
81663         * include/fenv.h: Likewise.
81664         * include/glob.h: Likewise.
81665         * include/grp.h: Likewise.
81666         * include/libintl.h: Likewise.
81667         * include/mntent.h: Likewise.
81668         * include/netdb.h: Likewise.
81669         * include/pwd.h: Likewise.
81670         * include/rpc/netdb.h: Likewise.
81671         * include/sched.h: Likewise.
81672         * include/search.h: Likewise.
81673         * include/shadow.h: Likewise.
81674         * include/signal.h: Likewise.
81675         * include/stdio.h: Likewise.
81676         * include/stdlib.h: Likewise.
81677         * include/string.h: Likewise.
81678         * include/sys/socket.h: Likewise.
81679         * include/sys/stat.h: Likewise.
81680         * include/sys/statfs.h: Likewise.
81681         * include/sys/statvfs.h: Likewise.
81682         * include/sys/syslog.h: Likewise.
81683         * include/sys/time.h: Likewise.
81684         * include/sys/uio.h: Likewise.
81685         * include/time.h: Likewise.
81686         * include/unistd.h: Likewise.
81687         * include/utmp.h: Likewise.
81688         * include/wchar.h: Likewise.
81689         * include/wctype.h: Likewise.
81690         * inet/aliases.h: Likewise.
81691         * inet/arpa/inet.h: Likewise.
81692         * inet/netinet/ether.h: Likewise.
81693         * inet/netinet/in.h: Likewise.
81694         * intl/libintl.h: Likewise.
81695         * io/bits/fcntl2.h: Likewise.
81696         * io/fcntl.h: Likewise.
81697         * io/ftw.h: Likewise.
81698         * io/sys/poll.h: Likewise.
81699         * io/sys/stat.h: Likewise.
81700         * io/sys/statfs.h: Likewise.
81701         * io/sys/statvfs.h: Likewise.
81702         * io/utime.h: Likewise.
81703         * libio/bits/stdio.h: Likewise.
81704         * libio/bits/stdio2.h: Likewise.
81705         * libio/libio.h: Likewise.
81706         * libio/libioP.h: Likewise.
81707         * libio/stdio.h: Likewise.
81708         * locale/lc-ctype.c: Likewise.
81709         * locale/locale.h: Likewise.
81710         * login/utmp.h: Likewise.
81711         * malloc/arena.c: Likewise.
81712         * malloc/malloc.c: Likewise.
81713         * malloc/malloc.h: Likewise.
81714         * malloc/mcheck.c: Likewise.
81715         * malloc/mtrace.c: Likewise.
81716         * math/bits/mathcalls.h: Likewise.
81717         * math/fenv.h: Likewise.
81718         * math/math_private.h: Likewise.
81719         * misc/bits/error.h: Likewise.
81720         * misc/bits/syslog.h: Likewise.
81721         * misc/err.h: Likewise.
81722         * misc/error.h: Likewise.
81723         * misc/fstab.h: Likewise.
81724         * misc/mntent.h: Likewise.
81725         * misc/regexp.h: Likewise.
81726         * misc/search.h: Likewise.
81727         * misc/sgtty.h: Likewise.
81728         * misc/sys/mman.h: Likewise.
81729         * misc/sys/syslog.h: Likewise.
81730         * misc/sys/uio.h: Likewise.
81731         * misc/sys/xattr.h: Likewise.
81732         * misc/ttyent.h: Likewise.
81733         * nis/rpcsvc/ypclnt.h: Likewise.
81734         * nss/nss.h: Likewise.
81735         * posix/bits/unistd.h: Likewise.
81736         * posix/fnmatch.h: Likewise.
81737         * posix/glob.h: Likewise.
81738         * posix/sched.h: Likewise.
81739         * posix/spawn.h: Likewise.
81740         * posix/sys/wait.h: Likewise.
81741         * posix/unistd.h: Likewise.
81742         * posix/wordexp.h: Likewise.
81743         * pwd/pwd.h: Likewise.
81744         * resolv/netdb.h: Likewise.
81745         * resource/sys/resource.h: Likewise.
81746         * rt/aio.h: Likewise.
81747         * rt/bits/mqueue2.h: Likewise.
81748         * rt/mqueue.h: Likewise.
81749         * shadow/shadow.h: Likewise.
81750         * signal/signal.h: Likewise.
81751         * socket/send.c: Likewise.
81752         * socket/sendto.c: Likewise.
81753         * socket/sys/socket.h: Likewise.
81754         * stdio-common/printf.h: Likewise.
81755         * stdlib/bits/stdlib.h: Likewise.
81756         * stdlib/fmtmsg.h: Likewise.
81757         * stdlib/monetary.h: Likewise.
81758         * stdlib/stdlib.h: Likewise.
81759         * stdlib/ucontext.h: Likewise.
81760         * streams/stropts.h: Likewise.
81761         * string/argz.h: Likewise.
81762         * string/bits/string2.h: Likewise.
81763         * string/string.h: Likewise.
81764         * string/strings.h: Likewise.
81765         * sunrpc/rpc/auth.h: Likewise.
81766         * sunrpc/rpc/auth_des.h: Likewise.
81767         * sunrpc/rpc/clnt.h: Likewise.
81768         * sunrpc/rpc/netdb.h: Likewise.
81769         * sunrpc/rpc/pmap_clnt.h: Likewise.
81770         * sunrpc/rpc/xdr.h: Likewise.
81771         * sysdeps/generic/inttypes.h: Likewise.
81772         * sysdeps/generic/net/if.h: Likewise.
81773         * sysdeps/generic/sys/swap.h: Likewise.
81774         * sysdeps/gnu/net/if.h: Likewise.
81775         * sysdeps/gnu/utmpx.h: Likewise.
81776         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
81777         * sysdeps/i386/i486/bits/string.h: Likewise.
81778         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
81779         * sysdeps/s390/bits/string.h: Likewise.
81780         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
81781         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
81782         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
81783         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
81784         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
81785         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
81786         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
81787         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
81788         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
81789         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
81790         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
81791         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
81792         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
81793         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
81794         * sysdeps/unix/sysv/linux/readv.c: Likewise.
81795         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
81796         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
81797         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
81798         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
81799         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
81800         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
81801         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
81802         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
81803         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
81804         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
81805         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
81806         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
81807         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
81808         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
81809         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
81810         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
81811         * sysvipc/sys/ipc.h: Likewise.
81812         * sysvipc/sys/msg.h: Likewise.
81813         * sysvipc/sys/sem.h: Likewise.
81814         * sysvipc/sys/shm.h: Likewise.
81815         * termios/termios.h: Likewise.
81816         * time/sys/time.h: Likewise.
81817         * time/time.h: Likewise.
81818         * wcsmbs/bits/wchar2.h: Likewise.
81819         * wcsmbs/uchar.h: Likewise.
81820         * wcsmbs/wchar.h: Likewise.
81821         * wctype/wctype.h: Likewise.
81823         [BZ #13551]
81824         * Makeconfig: Remove all but ELF support including AIX support.
81825         * Makerules: Likewise.
81826         * config.h.in: Likewise.
81827         * config.make.in: Likewise.
81828         * configure: Likewise.
81829         * configure.in: Likewise.
81830         * csu/Makefile: Likewise.
81831         * csu/version.c: Likewise.
81832         * debug/Makefile: Likewise.
81833         * dlfcn/Makefile: Likewise.
81834         * elf/Makefile: Likewise.
81835         * extra-lib.mk: Likewise.
81836         * iconv/Makefile: Likewise.
81837         * include/libc-symbols.h: Likewise.
81838         * include/shlib-compat.h: Likewise.
81839         * resolv/Makefile: Likewise.
81840         * resolv/res_libc.c: Likewise.
81841         * rt/Makefile: Likewise.
81842         * sysdeps/i386/asm-syntax.h: Likewise.
81843         * sysdeps/i386/sysdep.h: Likewise.
81844         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
81845         * sysdeps/mach/sysdep.h: Likewise.
81846         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
81847         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
81848         * sysdeps/s390/asm-syntax.h: Likewise.
81849         * sysdeps/s390/s390-32/sysdep.h: Likewise.
81850         * sysdeps/s390/s390-64/sysdep.h: Likewise.
81851         * sysdeps/sh/sysdep.h: Likewise.
81852         * sysdeps/unix/sparc/sysdep.h: Likewise.
81853         * sysdeps/wordsize-32/divdi3.c: Likewise.
81854         * sysdeps/x86_64/sysdep.h: Likewise.
81856         * argp/Versions: Remove _argp_unlock_xxx.
81858         [BZ #13559]
81859         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
81860         * abilist/libBrokenLocale.abilist: Likewise.
81861         * abilist/libanl.abilist: Likewise.
81862         * abilist/libc.abilist: Likewise.
81863         * abilist/libcrypt.abilist: Likewise.
81864         * abilist/libdl.abilist: Likewise.
81865         * abilist/libm.abilist: Likewise.
81866         * abilist/libnsl.abilist: Likewise.
81867         * abilist/libpthread.abilist: Likewise.
81868         * abilist/libresolv.abilist: Likewise.
81869         * abilist/librt.abilist: Likewise.
81870         * abilist/libthread_db.abilist: Likewise.
81871         * abilist/libutil.abilist: Likewise.
81872         * abilist/libnss_db.abilist: New file.
81874         * scripts/abilist.awk: Add support for indirect functions.
81876         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
81878         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
81880         * shlib-versions: Remove entries for ports architectures.
81882         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
81883         files in ports.
81884         * elf/stackguard-macros.h: Remove support for IA-64.
81885         * elf/tst-auditmod1.c: Likewise.
81886         * sysdeps/generic/ldsodefs.h: Likewise.
81888         * sysdeps/unix/sysv/linux/configure.in: Ports should define
81889         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
81890         configure files.
81892         [BZ #13552]
81893         * configure.in: Remove --enable-omitfp support.
81894         * FAQ.in: Adjust.
81895         * config.make.in: Likewise.
81896         * Makeconfig: Likewise.
81897         * manual/install.texi: Likewise.
81899         In case anyone cares, the IA-64 architecture could move to ports.
81900         * sysdeps/ia64/*: Removed.
81901         * sysdeps/unix/sysv/linux/ia64/*: Removed.
81902         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
81904         [BZ #13555]
81905         * configure.in: Remove entries for unsupported architectures.
81907         [BZ #13533]
81908         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
81909         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
81910         routines.
81911         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
81912         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
81913         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
81914         fall back to using wcrtomb.
81915         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
81916         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
81917         renaming.
81918         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
81919         * wcsmbs/tst-c16c32-1.c: New file.
81921         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
81922         local variable.
81924         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
81926         * elf/tst-unique3.cc: Add explicit declaration of gets.
81927         * elf/tst-unique3lib.cc: Likewise.
81928         * elf/tst-unique3lib2.cc: Likewise.
81929         * elf/tst-unique4.cc: Likewise.
81931         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
81933 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
81935         [BZ #13566]
81936         * assert/assert.h (static_assert): Don't define for C++.
81937         * libio/stdio.h (gets): Do declare for C++ <= C++11.
81938         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
81940 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
81942         * iconv/loop.c (single loop): Fix assertion in storing of
81943         remaining bytes.
81945         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
81947 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
81949         * posix/getconf.c: Update copyright year.
81950         * nss/getent.c: Likewise.
81951         * nss/makedb.c: Likewise.
81952         * iconv/iconvconfig.c: Likewise.
81953         * iconv/iconv_prog.c: Likewise.
81954         * elf/ldconfig.c: Likewise.
81955         * elf/pldd.c: Likewise.
81956         * elf/sotruss.ksh: Likewise.
81957         * catgets/gencat.c: Likewise.
81958         * csu/version.c: Likewise.
81959         * elf/ldd.bash.in: Likewise.
81960         * elf/sprof.c (print_version): Likewise.
81961         * locale/programs/locale.c: Likewise.
81962         * locale/programs/localedef.c: Likewise.
81963         * login/programs/pt_chown.c: Likewise.
81964         * nscd/nscd.c (print_version): Likewise.
81965         * debug/xtrace.sh: Likewise.
81966         * malloc/memusage.sh: Likewise.
81967         * malloc/mtrace.pl: Likewise.
81968         * debug/catchsegv.sh: Likewise.
81970 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
81972         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
81973         pure attribute.
81975 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
81977         [BZ #13533]
81978         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
81979         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
81980         transformations.
81981         * iconv/gconv_int.h: Likewise.
81982         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
81983         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
81984         from libc for GLIBC_2.16.
81985         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
81986         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
81987         * wcsmbs/uchar.h: Really define mbstate_t.
81988         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
81989         * wcsmbs/c16rtomb.c: New file.
81990         * wcsmbs/mbrtoc16.c: New file.
81991         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
81992         for C/POSIX locale.
81993         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
81994         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
81996         * wcsmbs/wchar.h: Add missing __restrict.
81998 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
82000         [BZ #13532]
82001         * time/Makefile (routines): Add timespec_get.
82002         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
82003         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
82004         timespec for ISO C11.
82005         * time/timespec_get.c: New file.
82006         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
82007         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
82009         [BZ #13531]
82010         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
82011         * stdlib/stdlib.h: Declare aligned_alloc.
82012         * Versions.def: Add GLIBC_2.16 for libc.
82013         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
82015         [BZ 13527]
82016         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
82017         ISO C11.
82019         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
82020         code.
82022         [BZ #13528]
82023         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
82025         [BZ #13529]
82026         * assert/assert.h (static_assert): Define.
82028         * version.h: Update for 2.16 development version.
82030         [BZ #13526]
82031         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
82032         _ISOC11_SOURCE.
82034         * version.h (RELEASE): Bump for 2.15 release.
82035         * include/features.h (__GLIBC_MINOR__): Bump to 15.
82037         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
82038         Patch by Marek Polacek <mpolacek@redhat.com>.
82040         * bits/byteswap.h: Protect long long constants with __extension__.
82041         * sysdeps/i386/bits/byteswap.h: Likewise.
82042         * sysdeps/ia64/bits/byteswap.h: Likewise.
82043         * sysdeps/s390/bits/byteswap.h: Likewise.
82044         * sysdeps/x86_64/bits/byteswap.h: Likewise.
82046 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82048         [BZ #13540]
82049         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
82050         destination buffer.
82051         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
82053 2011-12-23  Marek Polacek  <polacek@redhat.com>
82055         * elf/dl-addr.c (determine_info): Add inline keyword.
82056         * elf/tst-auditmod4b.c (check_avx): Likewise.
82057         * elf/tst-auditmod6b.c (check_avx): Likewise.
82058         * elf/tst-auditmod6c.c (check_avx): Likewise.
82059         * elf/tst-auditmod7b.c (check_avx): Likewise.
82061 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
82063         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
82064         !__SSE_MATH__.
82066 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82068         [BZ #13540]
82069         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
82070         processing for last bytes.
82072 2011-08-06  Bruno Haible  <bruno@clisp.org>
82074         [BZ #13061]
82075         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
82076         U+0385, not to U+1FEE.
82078         [BZ #13062]
82079         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
82080         entry for U+00A5 U+0301.
82082 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
82084         [BZ #13166]
82085         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
82086         buffer for the output is too small.
82088         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
82089         optimization.
82091         [BZ #13185]
82092         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
82093         SSE flags if possible.
82095 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82097         [BZ #13540]
82098         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
82099         processing for last bytes.
82101 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
82103         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
82104         (syscall-list-default-options, syscall-list-default-condition)
82105         (syscall-list-includes): Define.
82106         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
82107         list of ABIs and options and #if conditions for each ABI.  Do not
82108         handle common syscalls between ABIs specially.
82109         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
82110         Remove.
82111         (syscall-list-variants, syscall-list-32bit-options)
82112         (syscall-list-32bit-condition, syscall-list-64bit-options)
82113         (syscall-list-64bit-condition): Define.
82114         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
82115         (syscall-list-variants, syscall-list-32bit-options)
82116         (syscall-list-32bit-condition, syscall-list-64bit-options)
82117         (syscall-list-64bit-condition): Define.
82118         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
82119         Remove.
82120         (syscall-list-variants, syscall-list-32bit-options)
82121         (syscall-list-32bit-condition, syscall-list-64bit-options)
82122         (syscall-list-64bit-condition): Define.
82123         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
82124         Remove.
82125         (syscall-list-variants, syscall-list-32bit-options)
82126         (syscall-list-32bit-condition, syscall-list-64bit-options)
82127         (syscall-list-64bit-condition): Define.
82129 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
82131         * locale/iso-639.def: Add brx entry.
82133         [BZ #13328]
82134         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
82135         Proposed by Mariusz_Cukr <marcukr@op.pl>.
82137         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
82138         __feraiseexcept_renamed.
82140 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
82142         [BZ #13538]
82143         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
82144         EPOLLET with unsigned values.
82145         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
82146         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
82148         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
82149         to large cancellation.
82150         * math/s_cacoshf.c: Likewise.
82151         * math/s_cacoshl.c: Likewise.
82153 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
82155         [BZ #13305]
82156         [BZ #12786]
82157         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
82158         * math/s_cacoshf.c: Likewise.
82159         * math/s_cacoshl.c: Likewise.
82161 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
82163         [BZ #13439]
82164         * iconv/gconv.h: Define __GCONV_SWAP.
82165         * iconvdata/unicode.c: The swap bit must be stored in __flags.
82166         * iconvdata/utf-16.c: Likewise.
82167         * iconvdata/utf-32.c: Likewise.
82169 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
82171         [BZ #13524]
82172         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
82173         numerator after shifting it by one limb.
82175 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
82177         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
82178         under [__USE_EXTERN_INLINES].
82180 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
82182         [BZ #13446]
82183         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
82185 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82187         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
82188         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
82189         optimized code.
82190         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
82191         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
82192         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
82193         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
82194         for strncasecmp/strncasecmp_l compilation.
82195         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
82196         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
82198 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
82200         [BZ #13484]
82201         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
82202         of __asm__.
82204 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
82206         [BZ #13506]
82207         * time/tzfile.c (__tzfile_read): Check values from file header.
82209 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
82211         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
82212         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
82213         * powerpc/powerpc32/dl-start.S: Likewise.
82214         * powerpc/powerpc32/elf/start.S: Likewise.
82215         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
82216         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
82217         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
82218         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
82219         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
82220         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
82221         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
82222         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
82223         * powerpc/powerpc32/fpu/s_round.S: Likewise.
82224         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
82225         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
82226         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
82227         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
82228         * powerpc/powerpc32/memset.S: Likewise.
82229         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
82230         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
82231         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
82232         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
82233         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
82234         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
82235         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
82236         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
82237         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
82238         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
82239         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
82240         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
82241         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
82243 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82245         * math/libm-test.inc: Added more nearbyint tests.
82246         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
82247         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
82248         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
82249         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
82251 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
82253         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
82254         FD_CLOEXEC.
82256 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82258         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
82259         Add wcscpy-ssse3 wcscpy-c.
82260         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
82261         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
82262         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
82263         * sysdeps/x86_64/wcschr.S: New file.
82264         * sysdeps/x86_64/wcsrchr.S: New file.
82265         * string/test-strcmp.c: Remove checking of wcscmp function for
82266         wrong alignments.
82267         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
82268         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
82269         wcsrchr-sse2 wcsrchr-c.
82270         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
82271         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
82272         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
82273         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
82274         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
82275         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
82276         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
82277         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
82278         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
82279         * wcsmbc/wcschr.c (WCSCHR): New macro.
82281 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82283         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
82284         * wcsmbs/test-wcsrchr.c: New file.
82285         * string/test-strrchr.c: Add wcsrchr support.
82286         (WIDE): New macro.
82287         * wcsmbs/test-wcscpy.c: New file.
82288         * string/test-strcpy.c: Add wcscpy support.
82289         (WIDE): New macro.
82291 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
82293         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
82294         the inner loop.
82296 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
82298         [BZ #13472]
82299         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
82301 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
82303         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
82304         Minor optimizations.
82306         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
82307         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
82308         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
82310 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
82312         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
82313         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
82314         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
82315         for gcc to avoid warnings.
82316         * inet/Makefile (tests): Add tst-checks.
82317         * inet/tst-checks.c: New file.
82319         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
82320         warning.
82322         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
82323         __wmemcmp_sse2.
82325         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
82326         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
82328         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
82330 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
82332         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
82333         problem.
82335         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
82337 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
82339         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
82340         conditional on GCC version.
82341         (__arch_compare_and_exchange_val_8_acq)
82342         (__arch_compare_and_exchange_val_16_acq)
82343         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
82344         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
82345         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
82347 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
82349         * sysdeps/sh/backtrace.c: New file.
82351 2011-12-02  Andreas Schwab  <schwab@redhat.com>
82353         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
82354         parenthesis.
82356 2011-12-01  Andreas Schwab  <schwab@redhat.com>
82358         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
82359         falling back to utime.
82361 2011-11-30  Andreas Schwab  <schwab@redhat.com>
82363         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
82364         expectations for float.
82366 2011-11-29  Andreas Schwab  <schwab@redhat.com>
82368         * locale/weight.h (findidx): Add parameter len.
82369         * locale/weightwc.h (findidx): Likewise.
82370         * posix/fnmatch_loop.c (FCT): Adjust caller.
82371         * posix/regcomp.c (build_equiv_class): Likewise.
82372         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
82373         * posix/regexec.c (check_node_accept_bytes): Likewise.
82374         * string/strcoll_l.c (STRCOLL): Likewise.
82375         * string/strxfrm_l.c (STRXFRM): Likewise.
82377 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
82379         * Makefile.in: Remove CVSOPT handling.
82380         * configure.in: Remove use of AC_REVISION.
82381         * iconvdata/Makefile (distribute): No need to filter out CVS.
82382         * scripts/list-sources.sh: Remove CVS, subversion and monotone
82383         handling.
82385 2011-11-16  Andreas Schwab  <schwab@redhat.com>
82387         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
82388         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
82389         [USE_AS_STRNCASECMP_L]: Likewise.
82390         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
82391         NO_TLS_DIRECT_SEG_REFS.
82392         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
82393         Fix argument offsets for non-PIC.
82394         [USE_AS_STRNCASECMP_L]: Likewise.
82395         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
82396         NO_TLS_DIRECT_SEG_REFS.
82398 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
82400         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
82401         O_CLOEXEC.
82402         * locale/loadlocale.c (_nl_load_locale): Likewise.
82404 2011-11-15  Andreas Schwab  <schwab@redhat.com>
82406         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
82407         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
82408         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
82409         (SYSCALL_GETTIME): Set errno on error.
82411         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
82412         count references to noai6ai_cached.
82414 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
82416         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
82418         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
82419         FD_CLOEXEC for /proc/self/maps.
82421         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
82422         FD_CLOEXEC for /proc/meminfo.
82424         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
82425         gai.conf.
82427         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
82428         FD_CLOEXEC for given file.
82430         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
82432         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
82433         FD_CLOEXEC for /etc/hosts.
82434         (_gethtent): Likewise.
82436         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
82438         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
82439         cancellation and set FD_CLOEXEC for /etc/netgroup.
82441         * nss/nss_files/files-key.c (search): Don't allow cancellation when
82442         reading /etc/publickey.
82444         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
82445         allow cancellation when reading /etc/group.
82447         * nss/nss_files/files-alias.c (internal_setent): Don't allow
82448         cancellation.
82449         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
82451         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
82452         when using data file.
82454         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
82456         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
82457         (write_nis_obj): Use "c" and "e" in fopen.
82459         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
82461         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
82463         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
82465         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
82467         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
82468         locale.alias.
82470         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
82472         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
82474         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
82476         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
82477         file parsing and set FD_CLOEXEC.
82479 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
82481         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
82483 2011-11-14  Andreas Schwab  <schwab@redhat.com>
82485         * malloc/arena.c (arena_get2): Don't call reused_arena when
82486         _int_new_arena failed.
82488 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
82490         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
82491         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
82492         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
82493         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
82494         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
82495         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
82496         to compile strcasecmp and strncasecmp.
82497         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
82498         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
82500         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
82502 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
82504         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
82505         locale-defines.sym to gen-as-const-headers.
82506         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
82507         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
82508         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
82509         to compile strcasecmp and strncasecmp.
82510         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
82511         strcasecmp_l and strncasecmp_l.
82512         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
82513         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
82514         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
82515         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
82516         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
82517         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
82518         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
82519         * sysdeps/i386/i686/multiarch/strncase.S: New file.
82520         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
82521         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
82522         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
82524 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
82526         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
82527         result of SYSDEP_GETTIME_CPU to retval.
82528         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
82529         parameter list to macro.  Remove trailing semicolon.  Adjust users.
82531         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
82532         variable.
82534         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
82535         mantissa words.
82536         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
82538         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
82539         from unused variable.
82541         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
82542         DWARF definitions.
82543         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
82544         for assembling.
82546         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
82547         over namespaces.
82549         * sunrpc/rpc_prot.c (rejected): Fix case value.
82551         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
82552         unsigned long long int to avoid warnings in shift.
82554         * posix/regex_internal.c (re_string_reconstruct): Actually use result
82555         of use of trans.
82556         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
82557         variable tmp.
82559         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
82560         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
82561         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
82563         * nis/nis_table.c (nis_list): Use variable of correct type for
82564         result of __follow_path call.
82566 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82568         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
82569         of math functions ceil, trunc, floor, round, and sqrt, when
82570         avaliable on the platform.
82571         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
82572         name clash.
82573         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
82574         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
82575         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
82577 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
82579         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
82580         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
82582 2011-11-11  Roland McGrath  <roland@hack.frob.com>
82584         * include/unistd.h: Fix __readlink return type.
82585         Reported by Chris Metcalf <cmetcalf@tilera.com>.
82587 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
82589         * stdlib/ucontext.h: Undo last change for makecontext.
82591 2011-11-11  Andreas Schwab  <schwab@redhat.com>
82593         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
82595         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
82596         * setjmp/setjmp.h: Mark functions as non-leaf.
82597         * setjmp/bits/setjmp2.h: Likewise.
82598         * stdlib/ucontext.h: Likewise.
82600 2011-11-10  Andreas Schwab  <schwab@redhat.com>
82602         * malloc/arena.c (_int_new_arena): Don't increment narenas.
82603         (reused_arena): Don't check arena limit.
82604         (arena_get2): Atomically check arena limit.
82606 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
82608         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
82609         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
82611         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
82612         instructions.
82614 2011-11-07  Andreas Schwab  <schwab@redhat.com>
82616         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
82617         handler when locking.
82619         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
82620         Fix size of allocated buffer.
82622 2011-11-04  Andreas Schwab  <schwab@redhat.com>
82624         [BZ #10103]
82625         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
82626         declarations for long double functions.
82627         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
82629         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
82631 2011-11-03  Andreas Schwab  <schwab@redhat.com>
82633         * nscd/nscd.c (main): Don't start AVC thread until credentials are
82634         installed.
82636         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
82637         is disabled.
82639 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82641         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
82643 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
82645         * include/alloca.h (stackinfo_alloca_round): Define.
82646         (extend_alloca): Use it.
82647         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
82648         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
82649         here.
82651         * scripts/check-local-headers.sh: Ignore libaudit.h.
82653         * nscd/Makefile (extra-objs): Make recursively expanded.
82655 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
82657         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
82658         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
82660         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
82661         * posix/tst-rfc3484-2.c: Likewise.
82662         * posix/tst-rfc3484-3.c: Likewise.
82664         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
82665         process_vm_writev.
82666         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
82667         process_vm_writev.
82668         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
82669         process_vm_writev from libc using GLIBC_2.15 version.
82671         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
82673 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
82675         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
82676         stack usage.
82678 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
82680         [BZ #13367]
82681         * nss/getent.c (initgroups_keys): Show error message in case no group
82682         names are given.
82684         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
82685         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
82686         __bump_nl_timestamp.
82687         * nscd/connections (nscd_init): When host database is served open
82688         netlink socket and request notification about configuration changes.
82689         (main_loop_poll): Track netlink file descriptor and bump timestamp
82690         in case data becomes available.
82691         (main_loop_epoll): Likewise.
82692         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
82693         (database_pers_head): Add extra_data fileds.
82694         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
82695         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
82696         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
82697         Adjust caller.
82698         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
82699         in6ai data, call __free_in6ai.
82700         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
82701         Add -DHAVE_NETLINK.
82702         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
82703         interface information.  Reuse previous data if netlink timestamp
82704         is not changed.
82705         (__bump_nl_timestamp): New function.
82706         (__free_in6ai): New function.
82708 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
82710         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
82711         close_not_cancel_no_status here.
82712         (__check_pf): Reorganize code a bit to not call close twice if OOM.
82714 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
82716         [BZ #13276]
82717         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
82718         return value.
82720         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
82721         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
82722         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
82724 2011-07-03  Andreas Jaeger  <aj@suse.de>
82726         [BZ #10709]
82727         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
82728         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
82729         * math/libm-test.inc (sin_test): Add test case.
82731 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
82733         [BZ #13337]
82734         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
82735         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
82737         * elf/chroot_canon.c (chroot_canon): Cleanups.
82739         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
82741         [BZ #13335]
82742         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
82743         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
82745         * string/test-strchr.c: Make usable for strchrnul testing.
82746         * string/test-strchrnul.c: New file.
82747         * string/Makefile (strop-tests): Add strchrnul.
82749         * po/it.po: Update from translation team.
82750         * po/es.po: Likewise.
82752 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
82754         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
82755         the three constants needed as parameters.  Drop the others.
82756         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
82757         __m128i_strloadu_tolower.
82758         Create and initialize variable zero and use it in all the places
82759         where _mm_setzero_si128 was used.
82761         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
82762         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
82763         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
82764         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
82765         anymore.
82766         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
82767         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
82768         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
82769         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
82770         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
82771         __mpranred, __mptan.
82772         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
82773         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
82774         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
82775         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
82776         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
82777         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
82778         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
82779         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
82780         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
82782 2011-10-28  Andreas Schwab  <schwab@redhat.com>
82784         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
82785         redefine if SHARED.
82786         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
82788         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
82789         wide char related routines to wcsmbs subdir.
82791 2011-10-27  Andreas Schwab  <schwab@redhat.com>
82793         [BZ #13344]
82794         * misc/sys/cdefs.h (__THROWNL): Define.
82795         * posix/unistd.h: Use __THREADNL instead of __THREAD
82796         for memory synchronization functions.
82798 2011-10-26  Roland McGrath  <roland@hack.frob.com>
82800         [BZ #13349]
82801         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
82802         doesn't exist.
82803         * manual/stdio.texi (Obstack Streams): Node removed.
82805 2011-10-26  Andreas Schwab  <schwab@redhat.com>
82807         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
82808         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
82809         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
82811         * math/math_private.h (math_force_eval): Allow non-addressable
82812         arguments.
82813         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
82815 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
82817         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
82818         file is not needed.
82820         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
82821         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
82822         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
82823         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
82824         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
82825         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
82826         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
82827         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
82828         Add AVX variants.
82829         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
82830         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
82831         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
82832         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
82833         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
82834         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
82835         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
82836         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
82837         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
82838         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
82839         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
82840         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
82841         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
82842         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
82843         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
82844         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
82845         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
82846         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
82847         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
82849         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
82850         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
82852         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
82853         place.  Use VEX encoding when compiling for AVX.
82855 2011-10-25  Andreas Schwab  <schwab@redhat.com>
82857         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
82858         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
82860         * string/test-strchr.c (do_test): Don't generate NUL bytes.
82862 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
82864         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
82865         useless if() expression.
82866         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
82867         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
82868         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
82869         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
82870         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
82871         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
82872         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
82873         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
82874         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
82875         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
82876         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
82877         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
82878         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
82879         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
82880         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
82881         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
82882         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
82883         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
82884         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
82886         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
82888 2011-10-25  Andreas Schwab  <schwab@redhat.com>
82890         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
82891         condition.
82892         * elf/dl-fini.c (_dl_sort_fini): Likewise.
82894 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
82896         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
82897         .text section.  Avoid duplicate constants.
82898         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
82899         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
82900         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
82901         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82902         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
82903         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82904         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82905         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82906         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
82907         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
82908         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
82909         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
82910         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
82911         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
82912         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
82913         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
82914         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
82915         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
82916         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
82917         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
82918         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
82919         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
82920         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
82921         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
82922         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
82923         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
82924         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
82925         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
82926         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
82927         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
82928         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
82929         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
82930         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
82931         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
82932         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
82933         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
82934         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
82935         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
82936         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
82937         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
82938         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
82939         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
82940         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
82941         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
82942         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
82944 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
82946         * sysdeps/x86_64/dla.h: Move to ...
82947         * sysdeps/x86_64/fpu/dla.h: ...here.
82948         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
82949         situations.  Use __builtin_fma only for gcc 4.6 and up.
82951         * config.make.in: Add have-mfma4 entry.
82952         * configure.in: Substitute libc_cv_cc_fma4.
82953         * math/Makefile (dbl-only-routines): Add sincostab.
82954         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
82955         Use __sincostab not sincos.
82956         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
82957         name is a macro.
82958         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
82959         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82960         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82961         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
82962         using __copysign.
82963         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
82964         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
82965         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
82966         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
82967         and __inv.
82968         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
82969         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
82970         __copysign.
82971         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
82972         define aliases when function name is a macro.
82973         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
82974         sysdeps/ieee754/dbl-64/sincos.tbl.
82975         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
82976         fma4-enabled routines.
82977         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
82978         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
82979         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
82980         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
82981         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
82982         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
82983         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
82984         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
82985         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
82986         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
82987         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
82988         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
82989         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
82990         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
82991         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
82992         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
82993         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
82994         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
82995         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
82996         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
82997         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
82998         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
82999         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
83000         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
83001         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
83002         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
83003         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
83004         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
83005         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
83006         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
83008         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
83009         rename.
83010         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83011         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83012         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83013         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83014         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83015         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83016         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
83017         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83019 2011-10-24  Andreas Schwab  <schwab@redhat.com>
83021         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
83023 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
83025         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
83027         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
83028         prediction.
83029         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
83031         * string/strnlen.c: Don't define STRNLEN, reverse logic.
83032         Remove unused variable magic_bits.
83033         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
83035         * string/strnlen.c: Define and use STRNLEN macro.
83036         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
83037         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
83038         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
83039         * wcsmbs/wcslen.c: Define and use WCSLEN.
83040         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
83041         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
83042         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
83043         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
83044         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
83045         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
83046         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
83048 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83050         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83051         strnlen-sse2-no-bsf.
83052         Rename strlen-no-bsf to strlen-sse2-no-bsf.
83053         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
83054         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
83055         Add strnlen support.
83056         (USE_AS_STRNLEN): New macro.
83057         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
83058         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
83059         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
83060         * sysdeps/x86_64/wcslen.S: New file.
83062 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
83064         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
83065         XMM-moves are used for copying on small sizes.
83067 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83069         * wcsmbs/Makefile (strop-tests): Add wcschr.
83070         * wcsmbs/test-wcschr.c: New file.
83071         * string/test-strchr.c: Update.
83072         Add wcschr support.
83073         (WIDE): New macro.
83075 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83077         * wcsmbs/Makefile (strop-tests): Add wcslen.
83078         * wcsmbs/test-wcslen.c: New file.
83079         * string/test-strlen.c: Update.
83080         Add wcslen support.
83081         (WIDE): New macro.
83083 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
83085         * po/it.po: Update from translation team.
83087 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83089         * sysdeps/x86_64/wcscmp.S: Update.
83090         Fix wrong comparison semantics.
83091         wcscmp shall use signed comparison not unsigned.
83092         Don't use substraction to avoid overflow bug.
83093         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
83094         * wcsmbc/wcscmp.c: Likewise.
83095         * string/test-strcmp.c: Likewise.
83096         Add new tests to check cases with negative values.
83098 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
83100         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
83101         * sysdeps/x86_64/dla.h: ...here.  New file.
83102         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
83103         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83104         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83105         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83106         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83107         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
83108         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83109         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
83110         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83112 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
83114         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
83115         __ynl_finite aliases.
83117 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
83119         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83121         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
83122         define DLA_FMA.
83123         [DLA_FMA] (EMULV): Use DLA_FMA.
83124         [DLA_FMA] (MUL12): Use EMULV.
83125         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
83126         that are not needed.
83127         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83128         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83129         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83130         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83131         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83132         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
83133         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83135 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
83137         * math/s_nan.c: Undef __nan.
83138         * math/s_nanf.c: Undef __nanf.
83139         * math/s_nanl.c: Undef __nanl.
83140         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
83141         "math_private.h".
83143 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
83145         * math/s_catan.c: Add branch predictions.
83146         * math/s_catanf.c: Likewise.
83147         * math/s_catanh.c: Likewise.
83148         * math/s_catanhf.c: Likewise.
83149         * math/s_catanhl.c: Likewise.
83150         * math/s_catanl.c: Likewise.
83151         * math/s_cexp.c: Likewise.
83152         * math/s_cexpf.c: Likewise.
83153         * math/s_cexpl.c: Likewise.
83154         * math/s_clog.c: Likewise.
83155         * math/s_clog10.c: Likewise.
83156         * math/s_clog10f.c: Likewise.
83157         * math/s_clog10l.c: Likewise.
83158         * math/s_clogf.c: Likewise.
83159         * math/s_clogl.c: Likewise.
83160         * math/s_csqrt.c: Likewise.
83161         * math/s_csqrtf.c: Likewise.
83162         * math/s_csqrtl.c: Likewise.
83163         * math/s_ctanf.c: Likewise.
83164         * math/s_ctanh.c: Likewise.
83165         * math/s_ctanhf.c: Likewise.
83166         * math/s_ctanhl.c: Likewise.
83167         * math/s_ctanl.c: Likewise.
83169         * math/math_private.h: Define __nan, __nanf, __nanl.
83170         * math/s_cacosh.c: Include <math_private.h>.
83171         * math/s_cacoshl.c: Likewise.
83172         * math/s_casinh.c: Likewise.
83173         * math/s_casinhf.c: Likewise.
83174         * math/s_casinhl.c: Likewise.
83175         * math/s_ccos.c: Rely entire on ccosh.
83176         * math/s_ccosf.c: Rely entire on ccoshf.
83177         * math/s_ccosl.c: Rely entirely on ccoshl.
83178         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
83179         Remove tests for FE_INVALID.
83180         * math/s_ccoshf.c: Likewise.
83181         * math/s_ccoshl.c: Likewise.
83182         * math/s_csin.c: Likewise.
83183         * math/s_csinf.c: Likewise.
83184         * math/s_csinh.c Likewise.
83185         * math/s_csinhf.c: Likewise.
83186         * math/s_csinhl.c: Likewise.
83187         * math/s_csinl.c: Likewise.
83188         * math/s_ctan.c: Likewise.
83189         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
83190         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
83191         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
83193 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
83195         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
83196         compilation problems.
83198         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
83199         __builtin_expect.
83201 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
83203         * sysdeps/i386/configure.in: Test for -mfma4 option.
83204         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
83205         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
83206         COMMON_CPUID_INDEX_80000001.
83207         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
83208         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
83209         use it if FMA3 is not supported.
83210         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
83212         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
83213         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
83215 2011-10-20  Andreas Schwab  <schwab@redhat.com>
83217         [BZ #12892]
83218         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
83219         it would create a cycle with a link time dependency.
83221 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
83223         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
83224         instruction.
83225         * string/Makefile (strop-tests): Add rawmemchr.
83226         * string/test-rawmemchr.c: New file.
83228         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
83229         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
83230         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
83231         when compiling str{,n}casecmp and when AVX is available.  Hook up
83232         new optimized code in initializers.
83234 2011-10-19  Andreas Schwab  <schwab@redhat.com>
83236         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
83237         __feraiseexcept instead of feraiseexcept.
83239 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
83241         * math/math_private.h: Define defaults for libc_fetestexcept and
83242         libc_feupdateenv.
83243         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
83244         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
83245         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
83246         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
83247         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
83248         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
83249         libc_fetestexcept and libc_feupdateenv.
83251         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
83252         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
83253         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
83254         * sysdeps/x86_64/fpu/math_private.h: Define special version of
83255         libc_feholdexcept_setround.
83257         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
83258         Add s_nearbyint-c and s_nearbyintf-c.
83259         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
83260         nearbyintf inlines.
83261         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
83262         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
83263         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
83264         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
83266         * math/math_private.h: Define defaults for libc_fegetround,
83267         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
83268         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
83269         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
83270         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
83271         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
83272         standard functions.
83273         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
83274         Remove comments and hacks for old compiler versions.
83275         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
83276         libc_fegetround, libc_fesetround, libc_feholdexcept, and
83277         libc_feholdexceptl.
83279 2011-10-18  Andreas Schwab  <schwab@redhat.com>
83281         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83282         (__feraiseexcept_renamed): Add __NTH.
83283         (feraiseexcept): Add __NTH.  Rename local variables to fix
83284         namespace violations.
83286 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
83288         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
83290         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
83292         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
83293         recently added interfaces.
83294         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
83296         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
83297         about macro parameter expansion.
83299         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
83300         __NO_MATH_INLINES is defined.  Cleanups.
83302         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
83303         and __floorf is target has SSE4.1.
83304         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
83305         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
83306         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
83307         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
83309         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
83310         name.
83311         (floorf): Likewise.
83313         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
83315 2011-10-17  Andreas Schwab  <schwab@redhat.com>
83317         * misc/sys/cdefs.h: Fix last change.
83319         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
83320         database lookup.
83322 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
83324         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
83326         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
83327         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
83328         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
83329         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
83330         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
83331         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
83332         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
83333         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
83334         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
83335         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
83336         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
83337         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
83338         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
83339         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
83340         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
83341         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
83342         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
83343         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
83344         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
83345         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
83346         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
83347         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
83349         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
83350         ceil, ceilf, floor, floorf.
83352         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
83353         Perform IRELATIVE relocations last.
83355         * elf/do-rel.h: Add another parameter nrelative, replacing the
83356         local variable with the same name.  Change name of the function
83357         to end in Rel or Rela (uppercase).
83358         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
83359         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
83360         elf_dynamic_do_##reloc function.
83362 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
83364         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
83365         is sufficient, at least on modern CPUs.
83367         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
83369         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
83370         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
83372         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
83373         __expl_finite.
83374         * math/bits/math-finite.h: Add entries for exp.
83375         * math/e_expl.c: Add __*_finite alias.
83376         * sysdeps/i386/fpu/e_exp.S: Likewise.
83377         * sysdeps/i386/fpu/e_expf.S: Likewise.
83378         * sysdeps/i386/fpu/e_expl.c: Likewise.
83379         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
83380         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
83381         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
83382         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
83383         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
83384         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
83385         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
83387         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
83388         is sufficient, at least on modern CPUs.
83390         * ctype/ctype-info.c (__ctype_init): Define.
83391         * include/ctype.h (__ctype_init): Declare.
83392         (__ctype_b_loc): The variable is always initialized.
83393         (__ctype_toupper_loc): Likewise.
83394         (__ctype_tolower_loc): Likewise.
83395         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
83396         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
83398 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
83400         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
83402         * configure.in: Also look in $cxxmachine/include for C++ system
83403         headers.
83405 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83407         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
83408         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
83409         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
83410         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
83411         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
83412         (USE_AS_WMEMCMP): New macro.
83413         Fixing indents.
83414         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
83415         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
83416         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
83417         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
83418         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83419         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
83420         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
83421         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
83422         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
83423         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
83424         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
83425         (USE_AS_WMEMCMP): New macro.
83426         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
83427         * sysdeps/string/test-memcmp.c: Update.
83428         Fix simple_wmemcmp.
83429         Add new tests.
83430         * wcsmbs/wmemcmp.c: Update.
83431         (WMEMCMP): New macro.
83432         Fix overflow bug.
83434 2011-10-12  Andreas Jaeger  <aj@suse.de>
83436         [BZ #13268]
83437         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
83439 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
83441         * libio/iofwide.c (do_length): Avoid warning.
83443         * ctype/ctype.h (__isctype_f): Add missing __THROW.
83445 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
83447         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
83449         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
83450         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
83451         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
83452         * sysdeps/i386/i686/fpu/e_log.S: New file.
83453         * sysdeps/i386/i686/fpu/e_logf.S: New file.
83454         * sysdeps/i386/i686/fpu/e_logl.S: New file.
83456         * ctype/ctype.h: Add support for inlined isXXX functions when
83457         compiling C++ code.
83459 2011-10-14  Andreas Schwab  <schwab@redhat.com>
83461         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
83463         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
83465 2011-10-13  Roland McGrath  <roland@hack.frob.com>
83467         [BZ #13291]
83468         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
83470 2011-10-13  Andreas Schwab  <schwab@redhat.com>
83472         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
83473         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
83474         feraiseexcept.
83476         * sysdeps/x86_64/memrchr.S: Check for zero size.
83478         * string/stratcliff.c: Add memrchr tests.
83480 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83482         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83483         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
83484         rawmemchr-sse2 rawmemchr-sse2-bsf.
83485         * sysdeps/i386/i686/multiarch/memchr.S: New file.
83486         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
83487         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
83488         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
83489         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
83490         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
83491         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
83492         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
83493         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
83494         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
83495         * string/memrchr.c (MEMRCHR): New macro.
83497 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
83499         Add integration with gcc's -ffinite-math-only and optimize wrapper
83500         functions in libm.
83501         * Versions.def: Define GLIBC_2.15 version for libm.
83502         * math/Makefile (headers): Add bits/math-finite.h.
83503         * math/bits/math-finite.h: New file.
83504         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
83505         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
83506         * math/e_acoshl.c: Add __*_finite alias.
83507         * math/e_acosl.c: Likewise.
83508         * math/e_asinl.c: Likewise.
83509         * math/e_atan2l.c: Likewise.
83510         * math/e_atanhl.c: Likewise.
83511         * math/e_coshl.c: Likewise.
83512         * math/e_exp10.c: Likewise.
83513         * math/e_exp10f.c: Likewise.
83514         * math/e_exp10l.c: Likewise.
83515         * math/e_exp2l.c: Likewise.
83516         * math/e_fmodl.c: Likewise.
83517         * math/e_gammal_r.c: Likewise.
83518         * math/e_hypotl.c: Likewise.
83519         * math/e_j0l.c: Likewise.
83520         * math/e_j1l.c: Likewise.
83521         * math/e_jnl.c: Likewise.
83522         * math/e_lgammal_r.c: Likewise.
83523         * math/e_log10l.c: Likewise.
83524         * math/e_log2l.c: Likewise.
83525         * math/e_logl.c: Likewise.
83526         * math/e_powl.c: Likewise.
83527         * math/e_sinhl.c: Likewise.
83528         * math/e_sqrtl.c: Likewise.
83529         * math/e_scalb.c: Completely rewritten and optimized.
83530         * math/e_scalbf.c: Likewise.
83531         * math/e_scalbl.c: Likewise.
83532         * math/w_acos.c: Likewise.
83533         * math/w_acosf.c: Likewise.
83534         * math/w_acosl.c: Likewise.
83535         * math/w_acosh.c: Likewise.
83536         * math/w_acoshf.c: Likewise.
83537         * math/w_acoshl.c: Likewise.
83538         * math/w_asin.c: Likewise.
83539         * math/w_asinf.c: Likewise.
83540         * math/w_asinl.c: Likewise.
83541         * math/w_atan2.c: Likewise.
83542         * math/w_atan2f.c: Likewise.
83543         * math/w_atan2l.c: Likewise.
83544         * math/w_atanh.c: Likewise.
83545         * math/w_atanhf.c: Likewise.
83546         * math/w_atanhl.c: Likewise.
83547         * math/w_exp10.c: Likewise.
83548         * math/w_exp10f.c: Likewise.
83549         * math/w_exp10l.c: Likewise.
83550         * math/w_fmod.c: Likewise.
83551         * math/w_fmodf.c: Likewise.
83552         * math/w_fmodl.c: Likewise.
83553         * math/w_j0.c: Likewise.
83554         * math/w_j0f.c: Likewise.
83555         * math/w_j0l.c: Likewise.
83556         * math/w_j1.c: Likewise.
83557         * math/w_j1f.c: Likewise.
83558         * math/w_j1l.c: Likewise.
83559         * math/w_jn.c: Likewise.
83560         * math/w_jnf.c: Likewise.
83561         * math/w_log.c: Likewise.
83562         * math/w_logf.c: Likewise.
83563         * math/w_logl.c: Likewise.
83564         * math/w_log10.c: Likewise.
83565         * math/w_log10f.c: Likewise.
83566         * math/w_log10l.c: Likewise.
83567         * math/w_log2.c: Likewise.
83568         * math/w_log2f.c: Likewise.
83569         * math/w_log2l.c: Likewise.
83570         * math/w_pow.c: Likewise.
83571         * math/w_powf.c: Likewise.
83572         * math/w_powl.c: Likewise.
83573         * math/w_remainder.c: Likewise.
83574         * math/w_remainderf.c: Likewise.
83575         * math/w_remainderl.c: Likewise.
83576         * math/w_scalb.c: Likewise.
83577         * math/w_scalbf.c: Likewise.
83578         * math/w_scalbl.c: Likewise.
83579         * math/w_sqrt.c: Likewise.
83580         * math/w_sqrtf.c: Likewise.
83581         * math/w_sqrtl.c: Likewise.
83582         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
83583         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
83584         used.
83585         * math/math_private.h: Declare __kernel_standard_f.
83586         * math/w_cosh.c: Remove cruft and optimize a bit.
83587         * math/w_coshf.c: Likewise.
83588         * math/w_coshl.c: Likewise.
83589         * math/w_exp2.c: Likewise.
83590         * math/w_exp2f.c: Likewise.
83591         * math/w_exp2l.c: Likewise.
83592         * math/w_hypot.c: Likewise.
83593         * math/w_hypotf.c: Likewise.
83594         * math/w_hypotl.c: Likewise.
83595         * math/w_lgamma.c: Likewise.
83596         * math/w_lgamma_r.c: Likewise.
83597         * math/w_lgammaf.c: Likewise.
83598         * math/w_lgammaf_r.c: Likewise.
83599         * math/w_lgammal.c: Likewise.
83600         * math/w_lgammal_r.c: Likewise.
83601         * math/w_sinh.c: Likewise.
83602         * math/w_sinhf.c: Likewise.
83603         * math/w_sinhl.c: Likewise.
83604         * math/w_tgamma.c: Likewise.
83605         * math/w_tgammaf.c: Likewise.
83606         * math/w_tgammal.c: Likewise.
83607         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
83608         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
83609         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
83610         Minor optimizations.  Pretty printing.  Remove cruft.
83611         * sysdeps/i386/fpu/e_acosf.S: Likewise.
83612         * sysdeps/i386/fpu/e_acosh.S: Likewise.
83613         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
83614         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
83615         * sysdeps/i386/fpu/e_acosl.c: Likewise.
83616         * sysdeps/i386/fpu/e_asin.S: Likewise.
83617         * sysdeps/i386/fpu/e_asinf.S: Likewise.
83618         * sysdeps/i386/fpu/e_atan2.S: Likewise.
83619         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
83620         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
83621         * sysdeps/i386/fpu/e_atanh.S: Likewise.
83622         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
83623         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
83624         * sysdeps/i386/fpu/e_exp10.S: Likewise.
83625         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
83626         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
83627         * sysdeps/i386/fpu/e_exp2.S: Likewise.
83628         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
83629         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
83630         * sysdeps/i386/fpu/e_fmod.S: Likewise.
83631         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
83632         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
83633         * sysdeps/i386/fpu/e_hypot.S: Likewise.
83634         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
83635         * sysdeps/i386/fpu/e_log.S: Likewise.
83636         * sysdeps/i386/fpu/e_log10.S: Likewise.
83637         * sysdeps/i386/fpu/e_log10f.S: Likewise.
83638         * sysdeps/i386/fpu/e_log10l.S: Likewise.
83639         * sysdeps/i386/fpu/e_log2.S: Likewise.
83640         * sysdeps/i386/fpu/e_log2f.S: Likewise.
83641         * sysdeps/i386/fpu/e_log2l.S: Likewise.
83642         * sysdeps/i386/fpu/e_logf.S: Likewise.
83643         * sysdeps/i386/fpu/e_logl.S: Likewise.
83644         * sysdeps/i386/fpu/e_pow.S: Likewise.
83645         * sysdeps/i386/fpu/e_powf.S: Likewise.
83646         * sysdeps/i386/fpu/e_powl.S: Likewise.
83647         * sysdeps/i386/fpu/e_remainder.S: Likewise.
83648         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
83649         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
83650         * sysdeps/i386/fpu/e_scalb.S: Likewise.
83651         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
83652         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
83653         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
83654         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
83655         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
83656         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
83657         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
83658         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83659         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
83660         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
83661         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
83662         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
83663         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
83664         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
83665         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
83666         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
83667         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
83668         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83669         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
83670         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
83671         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83672         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
83673         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
83674         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
83675         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83676         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
83677         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
83678         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
83679         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
83680         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
83681         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
83682         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
83683         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
83684         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
83685         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
83686         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
83687         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
83688         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
83689         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
83690         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
83691         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
83692         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
83693         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
83694         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
83695         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
83696         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
83697         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
83698         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
83699         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
83700         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
83701         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
83702         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
83703         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
83704         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
83705         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
83706         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
83707         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
83708         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
83709         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
83710         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
83711         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
83712         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
83713         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
83714         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
83715         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
83716         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
83717         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
83718         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
83719         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
83720         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
83721         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
83722         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
83723         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
83724         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
83725         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
83726         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
83727         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
83728         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
83729         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
83730         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
83731         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
83732         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
83733         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
83734         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
83735         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
83736         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
83737         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
83738         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
83739         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
83740         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
83741         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
83742         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
83743         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
83744         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
83745         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
83746         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
83747         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
83748         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
83749         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
83750         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
83751         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
83752         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
83753         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
83754         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
83755         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
83756         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
83757         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
83758         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
83759         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
83760         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
83761         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
83762         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
83763         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
83764         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
83765         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
83766         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
83767         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
83768         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
83769         (__isnanf): Likewise.
83770         (__isinf_ns): Likewise.
83771         (__isinf_nsf): Likewise.
83772         (__finite): Likewise.
83773         (__finitef): Likewise.
83774         (__ieee754_sqrt): Define as macro.
83775         (__ieee754_sqrtf): Define as macro.
83776         (__ieee754_sqrtl): Define as macro.
83777         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
83778         inlined copy.
83779         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
83780         __FINITE_MATH_ONLY__ consistent.
83781         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
83783 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
83785         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
83786         of rawmemchr.
83788         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
83790 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
83792         * po/ja.po: Update from translation team.
83794 2011-10-08  Roland McGrath  <roland@hack.frob.com>
83796         * locale/programs/locarchive.c (prepare_address_space): New function.
83797         (create_archive, enlarge_archive, open_archive): Use it.
83799         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
83800         inside [SHARED], where it is used.
83802         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
83804         * nss/getent.c (netgroup_keys): Remove unused variable.
83805         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
83807 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
83809         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
83810         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
83811         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
83812         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
83813         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
83814         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
83815         * math/Makefile (libm-calls): Add s_isinf_ns.
83816         * math/divtc3.c: Use __isinf_nsl instead of isinf.
83817         * math/multc3.c: Likewise.
83818         * math/s_casin.c: Likewise.
83819         * math/s_casinf.c: Likewise.
83820         * math/s_casinl.c: Likewise.
83821         * math/s_ccos.c: Likewise.
83822         * math/s_ccosf.c: Likewise.
83823         * math/s_ccosl.c: Likewise.
83824         * math/s_ctan.c: Likewise.
83825         * math/s_ctanf.c: Likewise.
83826         * math/s_ctanh.c: Likewise.
83827         * math/s_ctanhf.c: Likewise.
83828         * math/s_ctanhl.c: Likewise.
83829         * math/s_ctanl.c: Likewise.
83830         * math/w_fmod.c: Likewise.
83831         * math/w_fmodf.c: Likewise.
83832         * math/w_fmodl.c: Likewise.
83833         * math/w_remainder.c: Likewise.
83834         * math/w_remainderf.c: Likewise.
83835         * math/w_remainderl.c: Likewise.
83836         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
83837         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
83838         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
83839         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
83840         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
83841         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
83842         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
83843         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
83845         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
83846         of the number.
83847         * stdio-common/printf_fphex.c: Likewise.
83848         * stdio-common/printf_size.c: Likewise.
83850         * math/e_exp10.c: Include math_private.h using <...> not "...".
83851         * math/e_exp10f.c: Likewise.
83852         * math/e_exp10l.c: Likewise.
83853         * math/e_exp2l.c: Likewise.
83854         * math/e_j0l.c: Likewise.
83855         * math/e_j1l.c: Likewise.
83856         * math/e_jnl.c: Likewise.
83857         * math/e_lgammal_r.c: Likewise.
83858         * math/e_rem_pio2l.c: Likewise.
83859         * math/e_scalb.c: Likewise.
83860         * math/e_scalbf.c: Likewise.
83861         * math/e_scalbl.c: Likewise.
83862         * math/k_cosl.c: Likewise.
83863         * math/k_sinl.c: Likewise.
83864         * math/k_tanl.c: Likewise.
83865         * math/s_cacoshf.c: Likewise.
83866         * math/s_catan.c: Likewise.
83867         * math/s_catanf.c: Likewise.
83868         * math/s_catanh.c: Likewise.
83869         * math/s_catanhf.c: Likewise.
83870         * math/s_catanhl.c: Likewise.
83871         * math/s_catanl.c: Likewise.
83872         * math/s_ccosh.c: Likewise.
83873         * math/s_ccoshf.c: Likewise.
83874         * math/s_ccoshl.c: Likewise.
83875         * math/s_cexp.c: Likewise.
83876         * math/s_cexpf.c: Likewise.
83877         * math/s_cexpl.c: Likewise.
83878         * math/s_clog.c: Likewise.
83879         * math/s_clog10.c: Likewise.
83880         * math/s_clog10f.c: Likewise.
83881         * math/s_clog10l.c: Likewise.
83882         * math/s_clogf.c: Likewise.
83883         * math/s_clogl.c: Likewise.
83884         * math/s_csin.c: Likewise.
83885         * math/s_csinf.c: Likewise.
83886         * math/s_csinh.c: Likewise.
83887         * math/s_csinhf.c: Likewise.
83888         * math/s_csinhl.c: Likewise.
83889         * math/s_csinl.c: Likewise.
83890         * math/s_csqrt.c: Likewise.
83891         * math/s_csqrtf.c: Likewise.
83892         * math/s_csqrtl.c: Likewise.
83893         * math/s_ctan.c: Likewise.
83894         * math/s_ctanf.c: Likewise.
83895         * math/s_ctanh.c: Likewise.
83896         * math/s_ctanhf.c: Likewise.
83897         * math/s_ctanhl.c: Likewise.
83898         * math/s_ctanl.c: Likewise.
83899         * math/s_ldexp.c: Likewise.
83900         * math/s_ldexpf.c: Likewise.
83901         * math/s_ldexpl.c: Likewise.
83902         * math/s_significand.c: Likewise.
83903         * math/s_significandf.c: Likewise.
83904         * math/s_significandl.c: Likewise.
83905         * math/w_acos.c: Likewise.
83906         * math/w_acosf.c: Likewise.
83907         * math/w_acosh.c: Likewise.
83908         * math/w_acoshf.c: Likewise.
83909         * math/w_acoshl.c: Likewise.
83910         * math/w_acosl.c: Likewise.
83911         * math/w_asin.c: Likewise.
83912         * math/w_asinf.c: Likewise.
83913         * math/w_asinl.c: Likewise.
83914         * math/w_atan2.c: Likewise.
83915         * math/w_atan2f.c: Likewise.
83916         * math/w_atan2l.c: Likewise.
83917         * math/w_atanh.c: Likewise.
83918         * math/w_atanhf.c: Likewise.
83919         * math/w_atanhl.c: Likewise.
83920         * math/w_cosh.c: Likewise.
83921         * math/w_coshf.c: Likewise.
83922         * math/w_coshl.c: Likewise.
83923         * math/w_dremf.c: Likewise.
83924         * math/w_exp10.c: Likewise.
83925         * math/w_exp10f.c: Likewise.
83926         * math/w_exp10l.c: Likewise.
83927         * math/w_exp2.c: Likewise.
83928         * math/w_exp2f.c: Likewise.
83929         * math/w_fmod.c: Likewise.
83930         * math/w_fmodf.c: Likewise.
83931         * math/w_fmodl.c: Likewise.
83932         * math/w_hypot.c: Likewise.
83933         * math/w_hypotf.c: Likewise.
83934         * math/w_hypotl.c: Likewise.
83935         * math/w_j0.c: Likewise.
83936         * math/w_j0f.c: Likewise.
83937         * math/w_j0l.c: Likewise.
83938         * math/w_j1.c: Likewise.
83939         * math/w_j1f.c: Likewise.
83940         * math/w_j1l.c: Likewise.
83941         * math/w_jn.c: Likewise.
83942         * math/w_jnf.c: Likewise.
83943         * math/w_jnl.c: Likewise.
83944         * math/w_lgamma.c: Likewise.
83945         * math/w_lgamma_r.c: Likewise.
83946         * math/w_lgammaf.c: Likewise.
83947         * math/w_lgammaf_r.c: Likewise.
83948         * math/w_lgammal.c: Likewise.
83949         * math/w_lgammal_r.c: Likewise.
83950         * math/w_log.c: Likewise.
83951         * math/w_log10.c: Likewise.
83952         * math/w_log10f.c: Likewise.
83953         * math/w_log10l.c: Likewise.
83954         * math/w_log2.c: Likewise.
83955         * math/w_log2f.c: Likewise.
83956         * math/w_log2l.c: Likewise.
83957         * math/w_logf.c: Likewise.
83958         * math/w_logl.c: Likewise.
83959         * math/w_pow.c: Likewise.
83960         * math/w_powf.c: Likewise.
83961         * math/w_powl.c: Likewise.
83962         * math/w_remainder.c: Likewise.
83963         * math/w_remainderf.c: Likewise.
83964         * math/w_remainderl.c: Likewise.
83965         * math/w_scalb.c: Likewise.
83966         * math/w_scalbf.c: Likewise.
83967         * math/w_scalbl.c: Likewise.
83968         * math/w_sinh.c: Likewise.
83969         * math/w_sinhf.c: Likewise.
83970         * math/w_sinhl.c: Likewise.
83971         * math/w_sqrt.c: Likewise.
83972         * math/w_sqrtf.c: Likewise.
83973         * math/w_sqrtl.c: Likewise.
83974         * math/w_tgamma.c: Likewise.
83975         * math/w_tgammaf.c: Likewise.
83976         * math/w_tgammal.c: Likewise.
83978         * po/ja.po: Update from translation team.
83980 2011-09-29  Andreas Jaeger  <aj@suse.de>
83982         [BZ #13179]
83983         * sunrpc/netname.c (netname2host): Fix logic.
83985         [BZ #6779]
83986         [BZ #6783]
83987         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
83988         correctly.
83989         * math/w_remainder.c (__remainder): Likewise.
83990         * math/w_remainderf.c (__remainderf): Likewise.
83991         * math/libm-test.inc (remainder_test): Add test cases.
83993 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83995         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
83996         sdiv_qrnnd.
83998 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
84000         * string/test-memcmp.c: Avoid unncessary #defines.
84001         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
84003 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84005         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
84006         Use new sse2 version for core i3 - i7 as it's faster
84007         than sse42 version.
84008         (bit_Prefer_PMINUB_for_stringop): New.
84009         * sysdeps/x86_64/rawmemchr.S: Update.
84010         Replace with faster SSE2 version.
84011         * sysdeps/x86_64/memrchr.S: New file.
84012         * sysdeps/x86_64/memchr.S: Update.
84013         Replace with faster SSE2 version.
84015 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
84017         * elf/dl-load.c (lose): Add cast to avoid warning.
84019 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
84021         * po/ca.po: Update from translation team.
84023         * inet/getnetgrent_r.c: Hook up nscd.
84024         * nscd/Makefile (routines): Add nscd_netgroup.
84025         (nscd-modules): Add netgroupcache.
84026         (CFLAGS-netgroupcache.c): Define.
84027         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
84028         (cache_search): Add const to second parameter.
84029         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
84030         INNETGR.
84031         (dbs): Add netgrdb entry.
84032         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
84033         (verify_persistent_db): Handle netgrdb.
84034         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
84035         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
84036         GETFDNETGR.
84037         (netgroup_response_header): Define.
84038         (innetgroup_response_header): Define.
84039         (datahead): Add netgroup_response_header and innetgroup_response_header
84040         elements.
84041         * nscd/nscd.conf: Add entries for netgroup cache.
84042         * nscd/nscd.h (dbtype): Add netgrdb.
84043         (_PATH_NSCD_NETGROUP_DB): Define.
84044         (netgroup_iov_disabled): Declare.
84045         (xmalloc, xcalloc, xrealloc): Move declarations here.
84046         (cache_search): Adjust prototype.
84047         Add netgroup-related prototypes.
84048         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
84049         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
84050         (__nscd_innetgr): Declare.
84051         * nscd/selinux.c (perms): Use access_vector_t as element type and
84052         add netgroup-related initializers.
84053         * nscd/netgroupcache.c: New file.
84054         * nscd/nscd_netgroup.c: New file.
84055         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
84056         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
84057         For four parameters use innetgr.
84058         * nss/nss_files/files-init.c: Add definition and callback for netgr.
84059         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
84060         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
84061         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
84063         * nscd/connections.c (register_traced_file): Don't register file
84064         for disabled databases.
84066 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
84068         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
84070         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
84071         from tree and freeing node.
84073 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
84075         * nss/nsswitch.c (__nss_database_lookup): Handle
84076         nss_parse_service_list out of memory case.
84078 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
84080         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
84081         out of memory case.
84083 2011-10-04  Andreas Schwab  <schwab@redhat.com>
84085         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
84086         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
84087         pass it down.
84088         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
84089         elf_machine_rela, elf_machine_lazy_rel.
84090         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
84091         (ELF_DYNAMIC_DO_REL): Likewise.
84092         (ELF_DYNAMIC_DO_RELA): Likewise.
84093         (ELF_DYNAMIC_RELOCATE): Likewise.
84094         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
84095         to ELF_DYNAMIC_DO_REL.
84096         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
84097         (dl_main): In trace mode always set __RTLD_NOIFUNC.
84098         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
84099         elf_machine_rela.
84100         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
84101         skip_ifunc, don't call ifunc function if non-zero.
84102         (elf_machine_rela): Likewise.
84103         (elf_machine_lazy_rel): Likewise.
84104         (elf_machine_lazy_rela): Likewise.
84105         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
84106         (elf_machine_lazy_rel): Likewise.
84107         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
84108         Likewise.
84109         (elf_machine_lazy_rel): Likewise.
84110         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
84111         Likewise.
84112         (elf_machine_lazy_rel): Likewise.
84113         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
84114         (elf_machine_lazy_rel): Likewise.
84115         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
84116         (elf_machine_lazy_rel): Likewise.
84117         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
84118         (elf_machine_lazy_rel): Likewise.
84119         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
84120         (elf_machine_lazy_rel): Likewise.
84121         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
84122         (elf_machine_lazy_rel): Likewise.
84123         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
84124         (elf_machine_lazy_rel): Likewise.
84126 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
84128         * nss/nss_files/files-init.c (_nss_files_init): Use static
84129         initialization for all the *_traced_file variables.
84131 2011-09-28  Andreas Schwab  <schwab@redhat.com>
84133         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
84135 2011-09-27  Roland McGrath  <roland@hack.frob.com>
84137         [BZ #13226]
84138         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
84140 2011-09-27  Andreas Schwab  <schwab@redhat.com>
84142         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
84143         Reread the line before reparsing it.
84145 2011-09-26  Andreas Schwab  <schwab@redhat.com>
84147         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
84149 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
84150             Maxim Kuvyrkov  <maxim@codesourcery.com>
84151             Joseph Myers  <joseph@codesourcery.com>
84153         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
84154         if needed for __stack_chk_guard.
84156 2011-09-19  Roland McGrath  <roland@hack.frob.com>
84158         * sysdeps/posix/spawni.c (script_execute): Always define it.
84159         It will be optimized away if unused.
84160         (maybe_script_execute): New function.
84161         (__spawni): Call it.
84163         * Makerules: Don't include tls.make.
84164         (config-tls): Always set to thread.
84165         * tls.make.c: File removed.
84167 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
84169         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
84170         * config.make.in (CPPFLAGS-config): New substituted variable.
84172 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
84174         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
84176         [BZ #13192]
84177         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
84178         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
84180 2011-09-15  Roland McGrath  <roland@hack.frob.com>
84182         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
84183         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
84184         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
84185         (CALL_FAIL): Likewise.
84186         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
84187         (CALL_FAIL): Macro removed.
84188         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
84190 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
84192         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
84193         for __FINITE_MATH_ONLY__ == 1.
84195 2011-09-15  Andreas Schwab  <schwab@redhat.com>
84197         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
84198         __ieee754_sqrt instead of sqrt.
84199         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
84200         __ieee754_sqrtf instead of sqrtf.
84201         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
84202         __floorf instead of floorf.
84203         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
84204         __floorf, __truncf instead of floorf, truncf.
84206 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
84208         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
84210         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
84211         __extern_always_inline.
84212         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
84213         32-bit.
84215 2011-09-14  Andreas Schwab  <schwab@redhat.com>
84217         * elf/rtld.c (dl_main): Also relocate in dependency order when
84218         doing symbol dependency testing.
84220 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
84222         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
84223         Always define `refsym'.
84225 2011-09-13  Andreas Schwab  <schwab@redhat.com>
84227         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
84228         (__FD_ELT): Renamed from __FDELT.
84229         * misc/bits/select2.h (__FD_ELT): Likewise.
84230         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
84231         __FD_MASK instead of __FDELT, __FDMASK.
84232         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
84233         Likewise.
84234         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
84235         Likewise.
84237         * elf/Makefile (gen-ldd): Fix pattern.
84239         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
84240         (init_tls): Likewise.
84242 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
84244         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
84246 2011-09-12  Andreas Schwab  <schwab@redhat.com>
84248         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
84249         `struct cmsghdr *' instead of `void *'.
84250         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
84251         Likewise.
84253 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
84255         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
84256         if non-absolute.
84257         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
84258         ldd_rewrite_script.
84260 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
84262         * configure.in: Remove --with-tls option.
84263         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
84264         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
84265         out in case it is missing.
84266         * sysdeps/ia64/elf/configure.in: Likewise.
84267         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
84268         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
84269         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
84270         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
84271         * sysdeps/sh/elf/configure.in: Likewise.
84272         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
84273         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
84274         * sysdeps/x86_64/elf/configure.in: Likewise.
84275         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
84276         * sysdeps/mach/hurd/tls.h: Likewise.
84278         [BZ #13067]
84279         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
84281         [BZ #13090]
84282         * configure.in: Fix use of AC_INIT.
84284         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
84286 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
84288         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
84289         __set_errno.
84290         * malloc/hooks.c: Likewise.
84292         [BZ #11929]
84293         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
84294         variables statically.
84295         (narenas): Initialize.
84296         (list_lock): Initialize.
84297         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
84298         initializtion of main_arena and list_lock.  Small cleanups.
84299         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
84300         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
84301         Add initializers to main_arena and mp_.
84302         (malloc_state): Remove pagesize member.  Change all users to use
84303         GLRO(dl_pagesize).
84305         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
84306         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
84307         is always initialized.
84309         * malloc/malloc.c: Removed unused configurations and dead code.
84310         * malloc/arena.c: Likewise.
84311         * malloc/hooks.c: Likewise.
84312         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
84314         * include/tls.h: Removed.  USE___THREAD must always be defined.
84315         * bits/libc-tsd.h: Don't handle !USE___THREAD.
84316         * elf/dl-libc.c: Likewise.
84317         * elf/dl-tsd.c: Likewise.
84318         * include/errno.h: Likewise.
84319         * include/netdb.h: Likewise.
84320         * include/resolv.h: Likewise.
84321         * inet/herrno-loc.c: Likewise.
84322         * inet/herrno.c: Likewise.
84323         * malloc/arena.c: Likewise.
84324         * malloc/hooks.c: Likewise.
84325         * malloc/malloc.c: Likewise.
84326         * resolv/res-state.c: Likewise.
84327         * resolv/res_libc.c: Likewise.
84328         * sysdeps/i386/dl-machine.h: Likewise.
84329         * sysdeps/ia64/dl-machine.h: Likewise.
84330         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
84331         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
84332         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
84333         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
84334         * sysdeps/sh/dl-machine.h: Likewise.
84335         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
84336         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
84337         * sysdeps/unix/i386/sysdep.S: Likewise.
84338         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
84339         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
84340         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
84341         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
84342         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
84343         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
84344         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
84345         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
84346         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84347         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
84348         * sysdeps/unix/x86_64/sysdep.S: Likewise.
84349         * sysdeps/x86_64/dl-machine.h: Likewise.
84350         * tls.make.c: Likewise.
84352         * configure.in: Remove --with-__thread option.  Make tests for
84353         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
84354         tls_model attribute fail if no support is available.  Remove
84355         USE_IN_LIBIO.
84356         * Makeconfig: Adjust for dropped configure option.  All features are
84357         now mandatory.
84358         * Makerules: Likewise.
84359         * Versions.def: Likewise.
84360         * argp/argp-fmtstream.c: Likewise.
84361         * argp/argp-fmtstream.h: Likewise.
84362         * argp/argp-help.c: Likewise.
84363         * assert/assert.c: Likewise.
84364         * config.h.in: Likewise.
84365         * config.make.in: Likewise.
84366         * configure: Likewise.
84367         * configure.in: Likewise.
84368         * csu/Versions: Likewise.
84369         * csu/init.c: Likewise.
84370         * elf/tst-audit2.c: Likewise.
84371         * elf/tst-tls10.c: Likewise.
84372         * elf/tst-tls10.h: Likewise.
84373         * elf/tst-tls11.c: Likewise.
84374         * elf/tst-tls12.c: Likewise.
84375         * elf/tst-tls14.c: Likewise.
84376         * elf/tst-tlsmod11.c: Likewise.
84377         * elf/tst-tlsmod12.c: Likewise.
84378         * elf/tst-tlsmod13.c: Likewise.
84379         * elf/tst-tlsmod13a.c: Likewise.
84380         * elf/tst-tlsmod14a.c: Likewise.
84381         * elf/tst-tlsmod15b.c: Likewise.
84382         * elf/tst-tlsmod16a.c: Likewise.
84383         * elf/tst-tlsmod16b.c: Likewise.
84384         * elf/tst-tlsmod7.c: Likewise.
84385         * elf/tst-tlsmod8.c: Likewise.
84386         * elf/tst-tlsmod9.c: Likewise.
84387         * gmon/gmon.c: Likewise.
84388         * grp/fgetgrent_r.c: Likewise.
84389         * grp/putgrent.c: Likewise.
84390         * hurd/fopenport.c: Likewise.
84391         * include/libc-symbols.h: Likewise.
84392         * include/tls.h: Likewise.
84393         * intl/gettextP.h: Likewise.
84394         * intl/loadinfo.h: Likewise.
84395         * locale/global-locale.c: Likewise.
84396         * locale/localeinfo.h: Likewise.
84397         * mach/devstream.c: Likewise.
84398         * malloc/arena.c: Likewise.
84399         * malloc/set-freeres.c: Likewise.
84400         * misc/err.c: Likewise.
84401         * misc/getttyent.c: Likewise.
84402         * misc/mntent_r.c: Likewise.
84403         * posix/getopt.c: Likewise.
84404         * posix/wordexp.c: Likewise.
84405         * pwd/fgetpwent_r.c: Likewise.
84406         * resolv/Versions: Likewise.
84407         * resolv/res_hconf.c: Likewise.
84408         * shadow/fgetspent_r.c: Likewise.
84409         * shadow/putspent.c: Likewise.
84410         * stdio-common/printf_fphex.c: Likewise.
84411         * stdio-common/tmpfile.c: Likewise.
84412         * stdlib/abort.c: Likewise.
84413         * stdlib/fmtmsg.c: Likewise.
84414         * sunrpc/auth_unix.c: Likewise.
84415         * sunrpc/clnt_perr.c: Likewise.
84416         * sunrpc/clnt_tcp.c: Likewise.
84417         * sunrpc/clnt_udp.c: Likewise.
84418         * sunrpc/clnt_unix.c: Likewise.
84419         * sunrpc/openchild.c: Likewise.
84420         * sunrpc/svc_simple.c: Likewise.
84421         * sunrpc/svc_tcp.c: Likewise.
84422         * sunrpc/svc_udp.c: Likewise.
84423         * sunrpc/svc_unix.c: Likewise.
84424         * sunrpc/xdr.c: Likewise.
84425         * sunrpc/xdr_array.c: Likewise.
84426         * sunrpc/xdr_rec.c: Likewise.
84427         * sunrpc/xdr_ref.c: Likewise.
84428         * sunrpc/xdr_stdio.c: Likewise.
84430 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
84432         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
84434 2011-07-03  Andreas Jaeger  <aj@suse.de>
84436         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
84437         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
84438         regenerate with gen-libm-tests.pl.
84440 2010-05-12  Petr Baudis  <pasky@suse.cz>
84442         [BZ #11589]
84443         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
84444         around j0() zero points by switching to j1().
84445         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
84446         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
84447         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
84448         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
84450 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
84452         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
84453         instead of 0.
84454         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
84455         instead of 0.
84456         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
84457         Patch in part by Pavel Roskin <proski@gnu.org>.
84459         [BZ #13138]
84460         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
84461         realloc.
84462         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
84463         Free memory block if necessary.
84465         [BZ #12847]
84466         * libio/genops.c (INTDEF): For string streams the _lock pointer can
84467         be NULL.  Don't lock in this case.
84469 2011-09-09  Roland McGrath  <roland@hack.frob.com>
84471         * elf/elf.h (ELFOSABI_GNU): New macro.
84472         (ELFOSABI_LINUX): Define to that.
84474 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
84476         * string/strncat.c (strncat): Undef the symbol in case it has been
84477         defined in bits/string.h.
84479 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
84481         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
84483         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
84484         link map.
84486 2011-08-17  Andreas Jaeger  <aj@suse.de>
84488         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
84490 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
84491             Ian Lance Taylor  <iant@google.com>
84493         * math/libm-test.inc (lround_test): New testcase.
84494         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
84496 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
84498         * Makefile: Remove support for automatic cvs check-ins.
84499         * Makerules: Likewise.
84500         * config.make.in: Likewise.
84501         * configure.in: Likewise.
84502         * intl/Makefile: Likewise.
84503         * locale/Makefile: Likewise.
84504         * po/Makefile: Likewise.
84505         * posix/Makefile: Likewise.
84506         * sysdeps/gnu/Makefile: Likewise.
84507         * sysdeps/mach/hurd/Makefile: Likewise.
84508         * sysdeps/sparc/sparc32/Makefile: Likewise.
84510         [BZ #13118]
84511         * posix/Makefile (bug-regex32-ENV): Define.
84512         Patch by John Stanley <jpsinthemix@verizon.net>.
84514         * misc/Makefile (headers): Add bits/select2.h.
84515         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
84516         * misc/bits/select2.h: New file.
84517         * include/bits/select2.h: New file.
84518         * debug/Makefile (routines): Add fdelt_chk.
84519         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
84520         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
84521         FD_ISSET.
84522         * debug/fdelt_chk.c: New file.
84524         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
84525         * wcsmbs/test-wmemcmp.c: Likewise.
84526         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
84527         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
84529 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84531         * string/Makefile (strop-tests): Add memcmp.
84532         * string/test-wmemcmp.c: New file.
84533         * string/test-memcmp.c: Add wmemcmp support.
84535 2011-09-08  Roland McGrath  <roland@hack.frob.com>
84537         [BZ #13153]
84538         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
84539         2011-07-19 change.
84541         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
84542         garbage value in a __mach_port_mod_refs call in the cases of the
84543         task-self and thread-self ports.
84545 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84547         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
84549 2011-09-08  Andreas Schwab  <schwab@redhat.com>
84551         * elf/dl-load.c (lose): Check for non-null L.
84553 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
84555         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
84557         * elf/dl-libc.c (dlerror_run): Pass back error code from
84558         dl_catch_error.
84560         [BZ #13123]
84561         * elf/dl-load.c (lose): Free l_origin if it is valid.
84563         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
84564         names.
84565         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
84566         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
84567         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
84568         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
84569         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
84570         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
84572 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84574         * sysdeps/powerpc/fpu/e_hypot.c: New file.
84575         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
84576         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
84577         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
84578         * sysdeps/powerpc/fpu/k_cosf.c: New file.
84579         * sysdeps/powerpc/fpu/k_sinf.c: New file.
84580         * sysdeps/powerpc/fpu/s_cosf.c: New file.
84581         * sysdeps/powerpc/fpu/s_sinf.c: New file.
84582         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
84583         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
84585 2011-08-15  Alan Modra  <amodra@gmail.com>
84587         [BZ #13092]
84588         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
84589         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
84590         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
84591         ppc_mcount to static-only-routines.
84592         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
84593         __mcount_internal.
84594         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
84595         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
84597 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
84599         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
84600         for finite and infinity parameters.
84602 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
84604         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
84605         and add nop instructions for throughput optimization.
84606         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
84608 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
84610         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
84611         aligned copy for power7 with vector-scalar instructions.
84612         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
84614 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
84616         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
84617         AVX check.
84619 2011-09-07  Andreas Schwab  <schwab@redhat.com>
84621         [BZ #13144]
84622         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
84623         last change.
84625 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
84627         * sysdeps/unix/sysv/linux/x86_64/init-first.c
84628         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
84629         syscall wrapper around clock_gettime in __vdso_clock_gettime.
84630         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
84631         clock_gettime.
84633 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
84635         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
84636         Forgot to demangle the pointer.
84638         * sysdeps/i386/sysdep.h: Define atom_text_section.
84639         * sysdeps/x86_64/sysdep.h: Likewise.
84640         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
84641         section with atom_text_section.
84642         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
84643         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
84644         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
84645         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
84646         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
84648         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
84649         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
84650         already be defined.  Change to take two parameters and don't assign
84651         result to variable.  Adjust all users.
84652         Define INTERNAL_GETTIME if not already defined.
84653         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
84654         call.
84655         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
84656         HAVE_CLOCK_GETTIME_VSYSCALL.
84657         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
84659         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
84660         gettimeofday vsyscall, just use time.
84662 2011-09-06  Andreas Schwab  <schwab@redhat.com>
84664         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
84665         <errno.h>.
84667 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
84669         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
84670         syscall on x86-64.
84671         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
84672         syscall.
84673         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
84674         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
84675         syscall if possible.
84677 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
84679         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
84680         e_ident.  Don't pass to find_mapsXX.
84681         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
84683 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
84685         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84686         strchr-sse2-no-bsf strrchr-sse2-no-bsf
84687         * sysdeps/x86_64/multiarch/strchr.S: Update.
84688         Check bit_slow_BSF bit.
84689         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
84690         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
84691         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
84693 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
84695         [BZ #13134]
84696         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
84697         before glibc 2.15.
84698         (tryshell): Define.
84699         (__spawni): Change last parameter to be flag.  Test
84700         SPAWN_XFLAGS_USE_PATH flag to use path or not.
84701         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
84702         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
84703         * posix/spawni.c: Likewise.
84704         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
84705         * posix/spawnp.c: Likewise.  Change normal version to use
84706         SPAWN_XFLAGS_USE_PATH.
84707         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
84708         SPAWN_XFLAGS_TRY_SHELL.
84710         [BZ #13150]
84711         * posix/glob.h: Remove gcc 1.x support.
84713         [BZ #13068]
84714         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
84716 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
84718         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84719         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
84720         strrchr-sse2-bsf
84721         * sysdeps/i386/i686/multiarch/strchr.S: New file.
84722         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
84723         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
84724         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
84725         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
84726         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
84728 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84730         * sysdeps/x86_64/wcscmp.S: New file.
84732         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
84733         wcscmp-c wcscmp-sse2
84734         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
84735         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
84736         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
84737         * wcsmbs/wcscmp.c: Allow renaming.
84739 2011-09-05  David S. Miller  <davem@davemloft.net>
84741         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
84742         stack slot, rather than the struct return pointer slot.
84743         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
84744         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
84745         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
84746         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
84748 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
84750         * po/ja.po: Update from translation team.
84752         [BZ #13144]
84753         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
84754         kernel in 64-bit binaries.
84756 2011-09-01  David S. Miller  <davem@davemloft.net>
84758         * elf/elf.h (HWCAP_SPARC_*): Move to..
84759         * sysdeps/sparc/sysdep.h: this new file and add new values.
84760         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
84761         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
84762         _DL_HWCAP_COUNT to 24.
84763         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
84764         entries.
84765         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
84766         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
84767         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
84768         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
84769         instead of magic constants.
84770         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
84772 2011-08-31  David S. Miller  <davem@davemloft.net>
84774         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
84775         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
84776         Reimplement to do errno handling inline.
84777         (SYSCALL_ERROR_HANDLER): New macro.
84778         (__SYSCALL_STRING): Do not do errno handling in asm.
84779         (__CLONE_SYSCALL_STRING): Delete.
84780         (__INTERNAL_SYSCALL_STRING): Delete.
84781         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
84782         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
84783         (PSEUDO): Reimplement to do errno handling inline.
84784         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
84785         (SYSCALL_ERROR_HANDLER): New macro.
84786         (__SYSCALL_STRING): Do not do errno handling in asm.
84787         (__CLONE_SYSCALL_STRING): Delete.
84788         (__INTERNAL_SYSCALL_STRING): Delete.
84789         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
84790         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
84791         i386.
84792         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
84793         (inline_syscall*): Add 'err' argument.
84794         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
84795         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
84796         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
84797         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
84799         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
84800         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
84802 2011-08-30  Andreas Schwab  <schwab@redhat.com>
84804         * elf/rtld.c (dl_main): Relocate objects in dependency order.
84806 2011-08-29  Jiri Olsa <jolsa@redhat.com>
84808         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
84809         directive.
84811 2011-08-24  David S. Miller  <davem@davemloft.net>
84813         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
84815 2011-08-24  Andreas Schwab  <schwab@redhat.com>
84817         * elf/Makefile: Add rules to build and run unload8 test.
84818         * elf/unload8.c: New file.
84819         * elf/unload8mod1.c: New file.
84820         * elf/unload8mod1x.c: New file.
84821         * elf/unload8mod2.c: New file.
84822         * elf/unload8mod3.c: New file.
84824         * elf/dl-close.c (_dl_close_worker): Reset private search list if
84825         it wasn't used.
84827 2011-08-23  David S. Miller  <davem@davemloft.net>
84829         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
84830         subtract stack bias.
84831         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
84832         %sp not %fp in calculations.
84833         (_JMPBUF_UNWINDS_ADJ): Likewise.
84835         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
84836         (aio_suspend): Call it to force an exception region around the
84837         AIO_MISC_WAIT() invocation.
84839 2011-08-23  Andreas Schwab  <schwab@redhat.com>
84841         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
84842         backslash.
84844 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
84846         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
84847         protection macro.
84848         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
84849         and <dl-machine.h>.
84850         (Elf64_FuncDesc): Remove.
84852 2011-08-22  David S. Miller  <davem@davemloft.net>
84854         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
84855         sigaltstack check, add missing cfi directives.
84856         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
84857         missing cfi directives, and sigaltstack handling.
84859 2011-08-16  Andreas Schwab  <schwab@redhat.com>
84861         [BZ #11724]
84862         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
84863         object is seen twice.
84864         * elf/dl-fini.c (_dl_sort_fini): Likewise.
84866         * elf/Makefile (distribute): Add tst-initorder2.c.
84867         (tests): Add tst-initorder2.
84868         (modules-names): Add tst-initorder2a tst-initorder2b
84869         tst-initorder2c tst-initorder2d.  Add rules to build them.
84870         ($(objpfx)tst-initorder2.out): New rule.
84871         * elf/tst-initorder2.c: New file.
84872         * elf/tst-initorder2.exp: New file.
84874 2011-08-22  Andreas Schwab  <schwab@redhat.com>
84876         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
84878         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
84879         dependencies back to end of function.
84881         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
84882         $(elfobjdir)/ld.so.
84884 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
84886         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
84887         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
84888         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
84889         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
84890         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
84891         of __vdso_gettimeofday.
84892         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
84893         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
84894         attribute_hidden.
84895         (_libc_vdso_platform_setup): Remove initialization of
84896         __vdso_gettimeofday and __vdso_time.
84898 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
84900         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
84901         and fgetc_unlocked.
84902         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
84903         getc_unlocked.
84905         * elf/dl-open.c (add_to_global): Report additions to the global scope
84906         for LD_DEBUG=scopes.
84907         (dl_open_worker): Also print scope of newly loaded dependencies.
84908         (_dl_show_scope): Indicate if there is no scope.
84910         [BZ #13114]
84911         * stdio-common/Makefile (tests): Add bug24.
84912         * stdio-common/bug24.c: New file.
84914 2011-08-19  Andreas Jaeger  <aj@suse.de>
84916         [BZ #13114]
84917         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
84918         non-existant file when using close-on-exec mode.
84920 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
84922         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
84923         the very first instruction.
84925         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
84926         the CFI state in the end.
84927         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
84928         inclusion of dl-trampoline.h.
84929         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
84931 2011-08-19  Andreas Schwab  <schwab@redhat.com>
84933         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
84934         expectations for long double.
84936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
84937         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
84939 2011-08-14  David S. Miller  <davem@davemloft.net>
84941         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
84942         artificual limit depends upon the system page size.
84944 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
84946         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
84947         * resolv/Makefile: Define CFLAGS-libresolv.
84949 2011-08-17  Andreas Schwab  <schwab@redhat.com>
84951         * nss/makedb.c (compute_tables): Make variables used in nested
84952         function static.
84954 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
84956         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
84957         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
84958         if buffer was too small.
84960         * elf/pldd.c (main): Attach to all threads in the process.
84961         Rewrite /proc handling to use *at functions.
84963 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
84965         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
84966         specifies first scope to show.
84967         (dl_open_worker): Update callers.  Move printing scope of new
84968         object to before the relocation.
84969         * elf/rtld.c (dl_main): Update _dl_show_scope call.
84970         * sysdeps/generic/ldsodefs.h: Update declaration.
84972         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
84973         string for the scope number.
84975 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
84977         * nscd/servicescache.c (cache_addserv): Make sure written is always
84978         initialized.
84980 2011-08-14  Roland McGrath  <roland@hack.frob.com>
84982         * sysdeps/i386/i486/bits/atomic.h
84983         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
84984         statement expression, so as to suppress "set but not used" warning.
84985         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
84987         * string/strncat.c (STRNCAT): Use prototype definition.
84989         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
84990         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
84991         -Iprograms here.
84992         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
84993         (localedef-modules): Add localedef.
84994         (locale-modules): Add locale.
84996         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
84997         * elf/rtld.c (dl_main): Invert order of assignment in last change,
84998         to avoid a warning.
85000 2011-08-14  David S. Miller  <davem@davemloft.net>
85002         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
85003         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
85005 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
85007         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
85008         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
85009         * elf/rtld.c (dl_main): Set l_name of vDSO.
85010         Call _dl_show_scope when DL_DEBUG_SCOPES.
85011         (process_dl_debug): Recognize scopes flag and also set it for all.
85012         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
85013         Declare _dl_show_scope.
85015         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
85016         (do_dlopen): Pass caller_dlopen to dl_open.
85017         (__libc_dlopen_mode): Initialize caller_dlopen.
85019         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
85020         of libc.  Make tolower call locale-independent.  Optimize a bit by
85021         using isdigit instead of isalnum.
85022         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
85024 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
85026         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
85027         was a dependency or dynamically loaded.
85029 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
85031         * intl/l10nflist.c: Allow architecture-specific pop function.
85032         * sysdeps/x86_64/l10nflist.c: New file.
85034         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
85035         classification.
85037 2011-08-10  Andreas Schwab  <schwab@redhat.com>
85039         * include/dirent.h: Add libc_hidden_proto for scandirat and
85040         scandirat64.  Don't declare __scandirat64.
85041         * dirent/scandirat.c: Add libc_hidden_def.
85042         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
85043         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
85045 2011-08-10  David S. Miller  <davem@davemloft.net>
85047         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
85048         enum.
85049         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
85050         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
85051         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
85053 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
85055         * Versions.def [libc]: Add GLIBC_2.15.
85056         * dirent/Makefile (routines): Add scandirat and scandirat64.
85057         * dirent/Versions [libc]: Export scandirat and scandirat64 for
85058         GLIBC_2.15.
85059         * dirent/dirent.h: Declare scandirat and scandirat64.
85060         * dirent/scandirat.c: New file.
85061         * dirent/scandirat64.c: New file.
85062         * sysdeps/wordsize-64/scandirat.c: New file.
85063         * sysdeps/wordsize-64/scandirat64.c: New file.
85064         * dirent/opendir.c: Define opendirat.
85065         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
85066         using scandirat.
85067         * dirent/scandir64.c: Adjust for scandir.c change.
85068         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
85069         __scandirat64, and __scandir_cancel_handler.
85070         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
85071         additional parameter and use openat instead of open (outside of ld.so).
85072         Add new __opendir as wrapper around __opendirat.
85073         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
85074         here without requiring old scandirat implementation.
85076 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
85078         * dirent/scandir.c (cancel_handler): Renamed to
85079         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
85080         defined.  Adjust users.
85081         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
85082         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
85084 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
85086         * string/test-string.h (IMPL): Use __STRING to expand name and then
85087         stringify it.
85089         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
85090         of cleanups.
85092 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85094         * string/Makefile: Update.
85095         (strop-tests): Append strncat.
85096         * string/test-wcscmp.c: New file.
85097         New comprehensive test for wcscmp.
85098         * string/test-strcmp.c: Update.
85099         (WIDE): New define.
85101 2011-07-22  Andreas Schwab  <schwab@redhat.com>
85103         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
85104         line.
85106 2011-07-26  Andreas Schwab  <schwab@redhat.com>
85108         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
85109         encoding to ACE if AI_IDN.
85111 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
85113         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
85114         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
85116 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85118         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
85119         Fix overflow bug in strncat.
85120         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
85122         * string/test-strncat.c: Update.
85123         Add new tests for checking overflow bugs.
85125 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85127         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85128         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
85129         * sysdeps/i386/i686/multiarch/strcat.S: New file.
85130         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
85131         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
85132         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
85133         * sysdeps/i386/i686/multiarch/strncat.S: New file.
85134         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
85135         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
85137         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
85138         (USE_AS_STRCAT): Define.
85139         Add strcat and strncat support.
85140         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
85142 2011-07-25  Andreas Schwab  <schwab@redhat.com>
85144         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
85145         __n bigger than INT_MAX+1.
85146         (__strncmp_g): Likewise.
85148 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
85150         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
85151         * libio/stido.h: Likewise.
85153         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
85154         (AF_NFC): Define.
85155         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
85156         (AF_NFC): Define.
85158         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
85159         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
85160         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
85161         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
85162         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
85164         [BZ #13021]
85165         * scripts/test-installation.pl: Don't expect libnss_test1 to be
85166         installed.
85168         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
85169         typo.
85170         (_dl_x86_64_save_sse): Likewise.
85172 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
85174         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
85175         OSXSAVE.
85176         (_dl_x86_64_save_sse): Likewise.
85178         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
85180         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
85182 2011-07-21  Andreas Schwab  <schwab@redhat.com>
85184         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
85185         change.
85186         (_dl_x86_64_save_sse): Use correct AVX check.
85188 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85190         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
85191         bug in strncpy/strncat.
85192         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
85194 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
85196         * string/tester.c (test_strcat): Add tests for different alignments
85197         of source and destination.
85198         (test_strncat): Likewise.
85200 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
85202         [BZ #12852]
85203         * posix/glob.c (glob): Check passed in values before using them in
85204         expressions to avoid some overflows.
85205         (glob_in_dir): Likewise.
85207         [BZ #13007]
85208         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
85209         check for AVX enablement so that we don't crash with old kernels and
85210         new hardware.
85211         * elf/tst-audit4.c: Add same checks here.
85212         * elf/tst-audit6.c: Likewise.
85214         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
85216 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
85218         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
85220 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
85222         * po/cs.po: Update from translation team.
85223         * po/bg.po: Likewise.
85225 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
85227         * misc/sys/cdefs.h: Add support for const attribute.
85228         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
85229         to gnu_dev_{major,minor,makedev} functions.
85231 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
85233         * intl/dcigettext.c (get_output_charset): Add missing bracket.
85235 2011-07-20  Andreas Schwab  <schwab@redhat.com>
85237         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
85238         strlen results.
85240 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85242         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
85243         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
85244         register in order to avoid conflicts with the soft frame pointer
85245         being held in r11 when necessary.
85246         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
85247         (INTERNAL_VSYSCALL_NCS): Likewise.
85249 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
85251         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
85252         * elf/dl-fini.c (_dl_fini): Adjust caller.
85253         * elf/dl-close.c (_dl_close_worker): Likewise.
85254         * sysdeps/generic/ldsodefs.h: Adjust declaration.
85256 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
85258         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
85259         "aux_cache->nlibs < 0".
85261         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
85262         in the reload-count case.
85264 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85266         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85267         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
85268         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
85269         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
85270         * sysdeps/x86_64/multiarch/strcat.S: New file.
85271         * sysdeps/x86_64/multiarch/strncat.S: New file.
85272         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
85273         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
85274         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
85275         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
85276         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
85277         (USE_AS_STRCAT): Define.
85278         Add strcat and strncat support.
85279         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
85280         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
85281         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
85282         * string/strncat.c: Update.
85283         (USE_AS_STRNCAT): Define.
85284         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85285         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
85286         and i7.
85287         * sysdeps/x86_64/multiarch/init-arch.h
85288         (bit_Prefer_PMINUB_for_stringop): New.
85289         (index_Prefer_PMINUB_for_stringop): Likewise.
85290         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
85291         bit_Prefer_PMINUB_for_stringop.
85293 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
85295         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
85296         buffer64.
85297         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
85298         of casting of buffer.
85299         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
85300         buffer32 and buffer64.
85301         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
85302         writes instead of casting of buffer.
85303         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
85304         buffer32.
85305         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
85306         casting of buffer.
85308 2011-07-19  Andreas Schwab  <schwab@redhat.com>
85310         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
85312 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
85314         * nscd/nscd.c (termination_handler): Don't do anything for a database
85315         if it has not yet been initialized.
85317 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
85319         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
85321 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
85323         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
85325 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
85327         * po/nl.po: Update from translation team.
85328         * po/sv.po: Likewise.
85330 2011-07-16  Roland McGrath  <roland@hack.frob.com>
85332         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
85333         now disallowed by GCC.
85335         * configure.in (use-default-link): Default to yes if a test -shared
85336         link meets our qualifications.
85337         * configure: Regenerated.
85339         * config.make.in (output-format): New variable.
85340         * configure.in: Check for ld --print-output-format support.
85341         * configure: Regenerated.
85342         * Makerules ($(common-objpfx)format.lds)
85343         [$(output-format) != unknown]: Just use $(output-format),
85344         instead of the linker-script munging.
85346 2011-07-14  Roland McGrath  <roland@hack.frob.com>
85348         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
85349         of $(common-objpfx)shlib.lds.
85350         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
85352         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
85353         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
85355         * configure.in (-z relro check): Adjust test code to add a large
85356         writable data section after it.
85357         * configure: Regenerated.
85359 2011-07-11  Roland McGrath  <roland@hack.frob.com>
85361         * configure.in (-z relro check): Fix test code to make the variable
85362         truly const.
85363         * configure: Regenerated.
85365 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
85367         * nscd/nscd.h (struct traced_file): Define.
85368         (struct database_dyn): Remove inotify_descr, reset_res, and filename
85369         elements.  Add traced_files.
85370         (inotify_fd): Declare.
85371         (register_traced_file): Declare.
85372         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
85373         (inotify_fd): Export.
85374         (resolv_conf_descr): Remove.
85375         (nscd_init): Move inotify descriptor creation to main.
85376         Don't register files for notification here.
85377         (register_traced_file): New function.
85378         (invalidate_cache): Don't use reset_res to determine whether to call
85379         res_init, go through the list of registered files.
85380         (main_loop_poll): The inotify descriptors are now stored in the
85381         structures for the traced files.
85382         (main_loop_epoll): Likewise.
85383         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
85384         to __nss_disable_nscd.
85385         * nscd/cache.c (prune_cache): There is no single inotify descriptor
85386         for a database anymore.  Check the records for all the registered
85387         files instead.
85388         * nss/Makefile (libnss_files-routines): Add files-init.
85389         (libnss_db-routines): Add db-init.
85390         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
85391         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
85392         * nss/nss_db/db-init.c: New file.
85393         * nss/nss_files/files-init.c: New file.
85394         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
85395         __nss_lookup_function.
85396         (__nss_lookup_function): Call nss_load_library.
85397         (nss_load_all_libraries): New function.
85398         (__nss_disable_nscd): Take parameter with callback function for files
85399         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
85400         used for the cached services.
85401         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
85402         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
85403         options for features to all the files in nscd.
85405         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
85407 2011-07-10  Roland McGrath  <roland@hack.frob.com>
85409         * csu/elf-init.c (__libc_csu_init): Comment typo.
85411 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
85413         * po/pl.po: Update from translation team.
85414         * po/ja.po: Likewise.
85415         * po/ru.po: Likewise.
85416         * po/ko.po: Likewise.
85417         * po/fr.po: Likewise.
85419 2011-07-09  Roland McGrath  <roland@hack.frob.com>
85421         * configure.in (.ctors/.dtors header and trailer check):
85422         Use an empirical test on a built program.
85423         * configure: Regenerated.
85425         * configure.in (-z relro check): Use an empirical test on a built DSO.
85426         Detect, but do not require, on ia64.
85427         * configure: Regenerated.
85429         * configure.in (READELF): Find it with AC_CHECK_TOOL.
85430         Update tests that use readelf to use $READELF instead.
85431         * configure: Regenerated.
85433 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
85435         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
85436         if the result is not used.
85438 2011-07-05  Andreas Jaeger  <aj@suse.de>
85440         [BZ#9696]
85441         * stdlib/tst-strtod.c: Add testcase.
85443 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
85445         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
85446         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
85447         The latter has a higher limit.  Take additional parameter to pass to
85448         the new function.
85449         (__pathconf): Pass file to __statfs_link_max.
85450         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
85451         __statfs_link_max.
85452         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
85453         __statfs_link_max.
85455         [BZ #12868]
85456         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
85457         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
85458         Handle Lustre.
85459         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
85460         (__statfs_filesize_max): Likewise.
85461         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
85463 2011-07-05  Andreas Jaeger  <aj@suse.de>
85465         * resolv/res_comp.c (dn_skipname): Remove unused variable.
85467 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
85469         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
85470         `status' variable.
85471         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
85472         Likewise.
85474 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
85476         * Makefile (strop-tests): Add strncat.
85477         * string/test-strncat.c: New file.
85479 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
85481         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
85483 2011-06-21  Andreas Jaeger  <aj@suse.de>
85485         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
85486         Copy rule from iconvdata/Makefile.
85488 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
85490         [BZ #12922]
85491         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
85492         but no long options are defined, just return 'W'.
85494 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
85496         [BZ #9696]
85497         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
85499 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
85501         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
85502         netgroups to read.
85503         (innetgr): Likewise.
85505 2011-07-05  Roland McGrath  <roland@hack.frob.com>
85507         * config.make.in (install_root): Default to $(DESTDIR).
85509 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
85511         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
85513 2011-07-02  Roland McGrath  <roland@hack.frob.com>
85515         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
85517         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
85518         containing directory rather than embedding absolute directory names.
85520         * scripts/check-local-headers.sh: Rewritten using awk.
85521         Match by word, not by line.  Print error messages for matches.
85522         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
85524         * Makerules [shlib-lds-flags empty]:
85525         ($(common-objpfx)libc_pic.opts): New target.
85526         ($(common-objpfx)libc_pic.os.clean): New target.
85527         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
85529         * config.make.in (OBJCOPY): New variable.
85530         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
85531         * configure: Regenerated.
85533         * config.make.in (use-default-link): New variable.
85534         * configure.in (use_default_link): Grok --with-default-link to set it.
85535         * configure: Regenerated.
85536         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
85537         (shlib-lds, shlib-lds-flags): Define to empty.
85539         * Makerules (shlib-lds): New variable.
85540         (shlib-lds-flags): New variable.
85541         (build-shlib, build-moduile, build-module-asneeded): Use it.
85542         ($(common-objpfx)libc.so): Use $(shlib-lds).
85543         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
85544         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
85546         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
85547         DT_FLAGS/DT_FLAGS_1 with zero flags.
85549         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
85550         linker script munging.
85552 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
85554         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
85555         as 128-bit value.
85556         * crypt/sha512.c (sha512_process_block): Perform total addition using
85557         128-bit if possible.
85558         (__sha512_finish_ctx): Likewise.
85559         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
85560         as 64-bit value.
85561         * crypt/sha256.c (SWAP64): Define.
85562         (sha256_process_block): Perform total addition using 64-bit if
85563         possible.
85564         (__sha256_finish_ctx): Likewise.
85566 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
85568         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
85569         * nscd/initgrcache.c (addinitgroupsX): Likewise.
85570         * nscd/hstcache.c (cache_addhst): Likewise.
85571         * nscd/grpcache.c (cache_addgr): Likewise.
85572         * nscd/aicache.c (addhstaiX): Likewise.
85573         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
85575 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
85577         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
85578         * nscd/initgrcache.c (addinitgroupsX): Likewise.
85579         * nscd/hstcache.c (cache_addhst): Likewise.
85580         * nscd/grpcache.c (cache_addgr): Likewise.
85581         * nscd/aicache.c (addhstaiX): Likewise.
85583 2011-07-01  Andreas Schwab  <schwab@redhat.com>
85585         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
85586         domain only when needed.
85588 2011-06-30  Andreas Schwab  <schwab@redhat.com>
85590         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
85591         is always restored.
85593 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
85595         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
85596         are re-adding the entry.
85597         * nscd/servicescache.c (cache_addserv): Likewise.
85599 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
85601         * sysdeps/generic/dl-irel.h: fix protection against multiple
85602         inclusions.
85603         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
85605 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
85607         [BZ #12935]
85608         * malloc/memusage.sh: Fix quoting in message.
85609         * debug/xtrace.sh: Likewise.
85611         * configure.in: Remove support for --experimental-malloc option, make
85612         it the default.
85613         * config.make.in: Likewise.
85614         * malloc/Makefile: Likewise.
85616 2011-06-27  Andreas Schwab  <schwab@redhat.com>
85618         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
85619         two-byte characters.
85621 2011-06-27  Roland McGrath  <roland@hack.frob.com>
85623         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
85624         AC_CACHE_CHECK invocation.
85625         * configure: Regenerated.
85627         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
85629 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
85631         [BZ #12350]
85632         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
85633         bit from old_res_options.
85635         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
85637         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
85638         value type for setfct.
85640 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
85642         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
85643         __gettimeofday instead of gettimeofday.
85645 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
85647         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
85649 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
85651         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
85653         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
85654         info.
85656 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
85658         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85659         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
85660         strcpy-sse2-unaligned strncpy-sse2-unaligned
85661         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
85662         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
85663         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
85664         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
85665         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
85666         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
85667         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
85668         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
85669         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
85670         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
85671         (STRCPY): Support SSE2 and SSSE3 versions.
85673 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
85675         [BZ #12874]
85676         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
85677         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
85678         kernels which artificially limit size of requests.
85680 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
85682         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85683         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
85684         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
85685         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
85686         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
85687         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
85688         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
85689         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
85690         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
85691         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
85692         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
85693         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
85694         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
85695         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
85696         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
85697         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85698         Enable unaligned load optimization for Intel Core i3, i5 and i7
85699         processors.
85700         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
85701         Define.
85702         (index_Fast_Unaligned_Load): Define.
85703         (HAS_FAST_UNALIGNED_LOAD): Define.
85705 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
85707         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
85709 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
85711         [BZ #12907]
85712         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
85713         until it is clear that the information is realy needed.
85714         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
85716 2011-06-22  Andreas Schwab  <schwab@redhat.com>
85718         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
85720 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
85722         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
85723         /sys/devices/system/cpu/online if it is usable.
85725         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
85726         reading the information from the /proc filesystem to once a second.
85728 2011-06-21  Andreas Jaeger  <aj@suse.de>
85730         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
85731         NULL after inclusion of kernel headers.
85733 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
85735         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
85736         calls to internal_setent.
85738         [BZ #12885]
85739         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
85740         addresses using gethostbyname4_r ignore IPv4 addresses.
85742         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
85743         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
85745         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
85747 2011-06-20  David S. Miller  <davem@davemloft.net>
85749         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
85750         inclusions.
85751         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
85753         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
85754         (elf_irel): Use it.
85755         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
85756         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
85757         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
85758         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
85759         * sysdeps/x86_64/dl-irel.h: Likewise.
85761         * elf/dl-runtime.c: Use elf_ifunc_invoke.
85762         * elf/dl-sym.c: Likewise.
85764 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
85766         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
85767         need to dereference resplen2.
85769 2011-06-14  Andreas Schwab  <schwab@redhat.com>
85771         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
85773 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
85775         * Makeconfig: Define vardbdir and inst_vardbdir.
85776         * nss/Makefile: Add rules to install db-Makefile.
85778         * nss/nss_db/db-XXX.c: Cleanup.
85780         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
85781         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
85782         GLIBC_PRIVATE.
85783         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
85784         * nss/makedb.c: Implement -g option to specify that value strings
85785         are generated and should not be added to table iterated over for
85786         get*ent calls.
85787         * nss/nss_db/db-initgroups.c: New file.
85789         * nss/getent.c: Add support for initgroups lookups through getgrouplist
85790         interface.
85792         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
85793         (internal_getgrouplist): Adjust to name change.
85794         Update use_initgroups_entry if this is not the first call.
85795         * nss/databases.def: Add initgroups entry.
85797         * nss/makedb.c (compute_tables): Check result of multiple hash table
85798         sizes to minimize maximum chain length.
85800 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
85802         * Versions.def: Add entry for libnss_db.
85803         * shlib-versions: Likewise.
85804         * nss/Makefile: Add rules to build libnss_db.
85805         * nss/Versions: Add libnss_db information.  Organize libnss_files
85806         entries better.
85807         * nss/db-Makefile: Add gshadow support.  Change rules for the new
85808         makedb progra.  Some minor improvements to generate smaller files.
85809         * nss/nss_db/nss_db.h: Move NSS database header data structures to
85810         here from...
85811         * nss/makedb.c: ...here.
85812         Improve database format to be smaller and require less memory at
85813         runtime.
85814         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
85815         db anymore.
85816         * nss/nss_db/db-netgrp.c: Likewise.
85817         * nss/nss_db/db-open.c: Likewise.
85818         * nss/nss_files/flies-XXX.x: Adjust comments.
85819         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
85820         * nss/nss_files/files-grp.c: Likewise.
85821         * nss/nss_files/files-hosts.c: Likewise.
85822         * nss/nss_files/files-network.c: Likewise.
85823         * nss/nss_files/files-proto.c: Likewise.
85824         * nss/nss_files/files-pwd.c: Likewise.
85825         * nss/nss_files/files-rpc.c: Likewise.
85826         * nss/nss_files/files-service.c: Likewise.
85827         * nss/nss_files/files-sgrp.c: Likewise.
85828         * nss/nss_files/files-spwd.c: Likewise.
85829         * nss/nss_db/db-alias.c: Removed.
85830         * nss/nss_db/dummy-db.h: Removed.
85832 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
85834         * nss/makedb.c: Rewritten to not use database library.
85835         * nss/Makefile: Update to build new makedb program.
85837 2011-06-14  Andreas Jaeger  <aj@suse.de>
85839         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
85840         memset declaration.
85842 2011-06-10  Andreas Schwab  <schwab@redhat.com>
85844         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
85845         tmpbuf.
85847 2011-06-10  Roland McGrath  <roland@hack.frob.com>
85849         * Makerules (shlib.lds): Fail if the linker script comes out empty.
85850         * elf/Makefile ($(objpfx)ld.so): Likewise.
85852         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
85853         Don't list ld.so twice in dependencies.
85855         * posix/bug-regex31.c: Include <stdlib.h>.
85857         * nscd/hstcache.c (cache_addhst): Remove unused variable.
85859         * nis/nss_compat/compat-spwd.c
85860         (getspent_next_nss_netgr): Remove unused variable.
85861         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
85863         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
85864         nonmembers" output to use the right array.
85866         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
85868         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
85870         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
85871         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
85872         * catgets/gencat.c (read_input_file): Likewise.
85873         * locale/programs/locarchive.c (enlarge_archive): Likewise.
85875         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
85876         variable definition inside #if's controlling its use.
85878         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
85880         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
85882         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
85884         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
85885         unreachable code.
85887         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
85889         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
85890         * configure: Regenerated.
85892         * Makerules: Revert last change.
85893         * elf/Makefile: Likewise.
85895 2011-06-09  Roland McGrath  <roland@hack.frob.com>
85897         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
85898         * elf/Makefile ($(objpfx)librtld.os): Likewise.
85899         (reloc-link): Likewise.
85901 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
85903         * elf/Makefile: Add rules to build pldd.
85904         * elf/pldd.c: New file.
85905         * elf/pldd-xx.c: New file.
85907 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
85909         * version.h: Update for 2.15 development version.
85911 2011-06-07  David S. Miller  <davem@davemloft.net>
85913         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
85914         ifuncs.
85915         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
85916         elf_machine_lazy_rel): Likewise.
85917         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
85918         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
85919         elf_machine_lazy_rel): Likewise.
85920         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
85921         dl_hwcap via passed in argument.
85922         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
85923         Likewise.
85925 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85927         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
85929 2011-06-06  Roland McGrath  <roland@hack.frob.com>
85931         [BZ #12849]
85932         * manual/fdl-1.1.texi: New file, verbatim from:
85933         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
85934         * manual/lgpl-2.1.texi: New file, verbatim from:
85935         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
85936         * manual/Makefile (licenses): New variable, list those new file names.
85937         (texis): Use it.
85938         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
85940         * manual/fdl.texi: File removed.
85941         * manual/lesser.texi: File removed.
85942         * manual/libc.texinfo (Copying, Documentation License):
85943         Use new @include file names, put @appendix directive before @include.
85945 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
85947         [BZ #12841]
85948         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
85949         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
85950         (mq_open): Add __NTH.
85952 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
85954         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85955         Assume Intel Core i3/i5/i7 processor if AVX is available.
85957 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
85959         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
85960         typo.
85962 2011-05-31  Andreas Schwab  <schwab@redhat.com>
85964         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
85965         memory.  Use alloca_account.  Fix memory leak when retrying.
85967 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
85969         * version.h (RELEASE): Bump for 2.14 release.
85970         * include/features.h (__GLIBC_MINOR__): Bump to 14.
85972         * config.make.in (RANLIB): Remove entry.
85974 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
85976         * po/Makefile (po-sed-cmd): Add ksh to extensions.
85977         (libc.pot): Work around missing support for .ksh extension in xgettext.
85979         [BZ #12684]
85980         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
85981         if both request failed.
85982         (send_dg): In case of server errors clear resplen or *resplen2.
85984         [BZ #12454]
85985         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
85986         when there are multiple maps.
85987         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
85988         (_dl_fini): Remove test here.
85990         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
85992 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
85994         [BZ #12350]
85995         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
85996         bit from old_res_options.
85997         (gaih_inet): Likewise.
85999         [BZ #11099]
86000         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
86001         as signed.
86003         * resolv/res_init.c (res_setoptions): Make the code more compact.
86005         [BZ #11558]
86006         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
86007         set RES_USEVC.
86009         [BZ #11634]
86010         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
86012         * malloc/malloc.h: Mark malloc hook variables as deprecated.
86014         [BZ #11781]
86015         * malloc/malloc.h: Declare malloc hook variables as volatile.
86017         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
86018         in last patch.
86020         [BZ #11799]
86021         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
86022         raise in the comment.
86023         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
86024         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
86025         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
86027 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
86029         [BZ #12811]
86030         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
86031         grow the buffers more if it already has to be sufficient.
86032         (build_wcs_upper_buffer): Likewise.
86033         * posix/regexec.c (check_matching): Likewise.
86034         (clean_state_log_if_needed): Likewise.
86035         (extend_buffers): Don't enlarge buffers beyond size of the input
86036         buffer.
86037         Patches mostly by Emil Wojak <emil@wojak.eu>.
86038         * posix/bug-regex32.c: New file.
86039         * posix/Makefile (tests): Add bug-regex32.
86041         * locale/findlocale.c (_nl_find_locale): Return right away if
86042         _nl_explode_name failed.
86043         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
86045         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
86047         * debug/xtrace.sh: Unify messages.
86048         * malloc/memusage.sh: Likewise.
86050         [BZ #12813]
86051         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
86052         time symbol from vDSO.  Substitute with vsyscall if not available.
86053         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
86054         __vdso_time.
86056         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
86057         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
86058         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
86059         Add sendmmsg and internal_sendmmsg.
86060         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
86061         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
86062         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
86064         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
86065         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
86066         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
86068 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
86070         [BZ #12813]
86071         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
86072         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
86073         available.
86074         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
86075         __vdso_getcpu.
86077         [BZ #12814]
86078         * iconvdata/Makefile (tests): Add bug-iconv9.
86079         * iconvdata/bug-iconv9.c: New file.
86081 2011-05-27  Andreas Schwab  <schwab@redhat.com>
86083         [BZ #12814]
86084         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
86086 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
86088         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
86089         (struct user_regs_struct): Change intcs field back to cs.
86091 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
86093         * po/ja.po: Update from translation team.
86095 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
86097         [BZ #12795]
86098         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
86099         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
86101 2011-05-20  Andreas Schwab  <schwab@redhat.com>
86103         * stdlib/longlong.h: Update from GCC.
86105 2011-05-23  Andreas Schwab  <schwab@redhat.com>
86107         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
86108         parameter name.
86109         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
86110         Add parameter name.
86111         (__sysconf): Pass it down.
86113 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
86115         [BZ #12671]
86116         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
86117         some situations.
86118         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
86119         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
86120         add in in __libc_use_alloca calls.  Adjust callers.
86121         (glob): Use malloc in some situations.
86123         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
86124         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
86125         pltexit.
86127 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
86129         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
86130         and CLOCK_BOOTTIME_ALARM.
86132         [BZ #12782]
86133         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
86134         is returned.
86136         * string/_strerror.c (__strerror_r): Print negative errors as signed
86137         numbers.
86139         [BZ #12777]
86140         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
86141         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
86142         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
86144         * configure.in: Fix typo in redirection and correct removal of test
86145         files in two cases.
86147         [BZ #12788]
86148         * locale/setlocale.c (new_composite_name): Fix test to check for
86149         identical name of all categories.
86151         [BZ #12792]
86152         * libio/filedoalloc.c (local_isatty): New function.
86153         (_IO_file_doallocate): Use local_isatty.
86154         * stdio-common/perror.c (perror): In case a new stream is used
86155         forward the stream error.
86156         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
86157         error flag.
86159 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
86161         [BZ #11884]
86162         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
86163         alloca.
86164         * include/alloca.h (extend_alloca_account): Define.
86166         [BZ #11857]
86167         * posix/regex.h: Fix comments with documentation of user-accessible
86168         fields after compilation and describe correct free'ing of pattern
86169         after re_compile_pattern.
86170         Patch by Reuben Thomas <rrt@sc3d.org>.
86172 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
86174         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
86175         and -mno-altivec to prevent the compiler from using Altivec and/or
86176         VSX instructions when the corresponding registers are not available.
86178 2011-05-19  Andreas Schwab  <schwab@redhat.com>
86180         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
86182 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
86184         * libio/freopen.c (freopen): Use __dup2, not dup2.
86185         * libio/freopen64.c (freopen64): Likewise.
86187 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
86189         [BZ #12775]
86190         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
86191         * math/Makefile (tests): Add test-powl.
86192         (CFLAGS-test-powl.c): Define.
86193         * math/test-powl.c: New file.
86195 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
86197         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
86199 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
86201         [BZ #11837]
86202         * iconvdata/gb18030.c: Update to GB18020-2005.
86204 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
86206         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
86207         RE_SYNTAX_POSIX_AWK): Update to match recent development.
86208         Patch by Aharon Robbins <arnold@skeeve.com>.
86210         [BZ #11892]
86211         * stdlib/putenv.c (putenv): Don't always create copy of the variable
86212         on the stack.
86214         [BZ #11895]
86215         * misc/pselect.c (__pselect): Handle timeout value errors hidden
86216         through underflows.
86218         [BZ #12766]
86219         * misc/error.c (error_at_line): Ensure file_name and old_file_name
86220         point to strings before performing equality test for error_one_per_line
86221         mode.
86223         [BZ #11697]
86224         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
86226         [BZ #11820]
86227         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
86228         (struct user_fpregs_struct): Avoid __uint*_t types.
86230         [BZ #6420]
86231         * malloc/mtrace.c (tr_where): Add additional parameter to point to
86232         symbol info.  Use it instead of calling _dl_addr locally.
86233         (lock_and_info): New function.
86234         (tr_freehook): Call lock_and_info and pass symbol info as additional
86235         parameter to tr_where.
86236         (tr_mallochook): Likewise.
86237         (tr_reallochook): Likewise.
86238         (tr_memalignhook): Likewise.
86240         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
86241         used and couldn't be at all thread-safe.
86243 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
86245         * libio/freopen.c (freopen): Don't close old file descriptor
86246         before the new one is opened.  Instead dup the new file descriptor
86247         to the old one after the new stream is created.
86248         * libio/freopen64.c (freopen64): Likewise.
86249         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
86250         * libio/fileops.c (_IO_new_file_close_it): Handle new
86251         _IO_FLAGS2_NOCLOSE flag.
86252         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
86253         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
86254         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
86255         _IO_FLAGS2_NOCLOSE flag.
86256         * include/unistd.h: Add hidden_proto for dup3.
86257         Define __have_dup3.
86258         * io/dup3.c: Define hidden symbol.
86259         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
86261         [BZ #7101]
86262         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
86263         when an incomplete long option is used.
86264         * posix/tst-getopt_long1.c: New file.
86265         * posix/Makefile (tests): Add tst-getopt_long1.
86267         [BZ #10138]
86268         * scripts/config.guess: Update from autoconf-2.68.
86269         * scripts/config.sub: Likewise.
86271         [BZ #10157]
86272         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
86273         tests into ...
86274         (has_cpuclock): ...this.  New function.
86275         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
86276         macro here based on has_cpuclock code.
86278         [BZ #10149]
86279         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86280         First byte (not low byte) is now always NUL.
86281         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
86283         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86284         Use non-cancelable interfaces.
86286         [BZ #9809]
86287         * locale/iso-639.def: Add entry for Sorani.
86289         [BZ #11901]
86290         * include/stdlib.h: Move include protection to the right place.
86291         Define abort_msg_s.  Declare __abort_msg with it.
86292         * stdlib/abort.c (__abort_msg): Adjust type.
86293         * assert/assert.c (__assert_fail_base): New function.  Majority
86294         of code from __assert_fail.  Allocate memory for __abort_msg with
86295         mmap.
86296         (__assert_fail): Now call __assert_fail_base.
86297         * assert/assert-perr.c: Remove bulk of implementation.  Use
86298         __assert_fail_base.
86299         * include/assert.hL Declare __assert_fail_base.
86300         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
86301         mmap.
86302         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
86304 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
86306         [BZ #11952]
86307         [BZ #12453]
86308         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
86309         until all modules are registered in the DTV.
86310         * elf/Makefile: Add rules to build and run tst-tls19.
86311         * elf/tst-tls19.c: New file.
86312         * elf/tst-tls19mod1.c: New file.
86313         * elf/tst-tls19mod2.c: New file.
86314         * elf/tst-tls19mod3.c: New file.
86315         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
86317         [BZ #12083]
86318         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
86319         correctly.
86321         [BZ #12601]
86322         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
86323         two-byte sequence errors.
86324         * iconvdata/Makefile (tests): Add bug-iconv8.
86325         * iconvdata/bug-iconv8.c: New file.
86327         [BZ #12626]
86328         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
86329         buf2 definition.
86331         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
86333         [BZ #12432]
86334         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
86335         (dummy_getcfa): New function.
86336         (init): Get _Unwind_GetCFA address, use dummy if not found.
86337         (backtrace_helper): In recursion check, also check whether CFA changes.
86338         (__backtrace): Completely initialize arg.
86340         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
86341         storing incomplete byte sequence in state object.  Avoid testing for
86342         guaranteed too small input if we know there is enough data available.
86344 2011-05-11  Andreas Schwab  <schwab@redhat.com>
86346         * Makeconfig (+link-pie): Indent.
86347         * Rules (binaries-pie): Define if $(have-fpie) and
86348         $(build-shared).
86349         (binaries-shared): Also filter out $(binaries-pie).
86350         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
86351         * nscd/Makefile (others-pie): Add nscd.
86352         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
86353         ($(objpfx)nscd): Remove command override.
86354         * login/Makefile (others-pie): Add pt_chown.
86355         ($(objpfx)pt_chown): Remove command override.
86356         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
86357         remove command overrides.
86359 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
86361         * libio/tst_putwc.c: Fix error messages.
86363         [BZ #12724]
86364         * libio/fileops.c (_IO_new_file_close_it): Always flush when
86365         currently writing and seek to current position when not.
86366         * libio/Makefile (tests): Add bug-fclose1.
86367         * libio/bug-fclose1.c: New file.
86369 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
86371         [BZ #12511]
86372         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
86373         don't set DF_1_NODELETE here.
86374         (do_lookup_x): When entering new entry test for copy relocation
86375         and if necessary set DF_1_NODELETE flag.
86376         * elf/tst-unique4.cc: New file.
86377         * elf/tst-unique4.h: New file.
86378         * elf/tst-unique4lib.cc: New file.
86379         * elf/Makefile: Add rules to build and run tst-unique4.
86380         Patch by Piotr Bury <pbury@goahead.com>.
86382 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
86384         [BZ #12052]
86385         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
86387         [BZ #12625]
86388         * misc/mntent_r.c (addmntent): Flush the stream after the output
86390         [BZ #12393]
86391         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
86392         (is_trusted_path_normalize): Skip initial colon.  Append slash
86393         to empty buffer.  Duplicate is_trusted_path code but allow
86394         constructed patch to be prefix.
86395         (is_dst): Allow $ORIGIN followed by /.
86396         (_dl_dst_substitute): Correct clearing of check_for_trusted.
86397         Correct testing of result of is_trusted_path_normalize
86398         (decompose_rpath): Fix warning.
86400 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
86402         [BZ #11257]
86403         * grp/initgroups.c (internal_getgrouplist): When we found the service
86404         list through the initgroups entry in nsswitch.conf do not always
86405         continue on a successful lookup.  Don't always use the
86406         __nss_group_database value if it is set.
86407         * nss/nsswitch.conf (initgroups): Change action for successful db
86408         lookup to continue for compatibility.
86410 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
86412         [BZ #11532]
86413         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
86414         and CP774 modules.
86415         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
86416         and CP774 modules.
86417         * iconvdata/tst-tables.sh: Likewise.
86418         * iconvdata/cp770.c: New file.
86419         * iconvdata/cp771.c: New file.
86420         * iconvdata/cp772.c: New file.
86421         * iconvdata/cp773.c: New file.
86422         * iconvdata/cp774.c: New file.
86423         * iconvdata/testdata/CP770: New file.
86424         * iconvdata/testdata/CP770..UTF8: New file.
86425         * iconvdata/testdata/CP771: New file.
86426         * iconvdata/testdata/CP771..UTF8: New file.
86427         * iconvdata/testdata/CP772: New file.
86428         * iconvdata/testdata/CP772..UTF8: New file.
86429         * iconvdata/testdata/CP773: New file.
86430         * iconvdata/testdata/CP773..UTF8: New file.
86431         * iconvdata/testdata/CP774: New file.
86432         * iconvdata/testdata/CP774..UTF8: New file.
86434         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
86435         END CHARMAP line.
86436         * iconvdata/gen-8bit-gap.sh: Likewise.
86437         * iconvdata/gen-8bit.sh: Likewise.
86439         * locale/iso-639.def: Add ary entry.
86441         [BZ #11258]
86442         * locale/C-translit.h.in: Add U20A1 transliteration.
86444         [BZ #12178]
86445         * locale/iso-639.def: Add wae entry.
86446         Patch by Kevin Bortis <bortis@translate-wae.ch>.
86448         [BZ #12545]
86449         * locale/programs/localedef.c (construct_output_path): Use ssize_t
86450         for n.
86452         [BZ #12711]
86453         * locale/C-translit.h.in: Add entry for U20B9.
86454         Patch by pravin.d.s@gmail.com.
86456 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
86458         [BZ #12713]
86459         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
86460         ENAMETOOLONG use generic getcwd.
86461         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
86462         in rtld.  Use *stat64.
86463         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
86464         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
86465         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
86466         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
86467         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
86468         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
86469         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
86470         __fstatat64 macros.
86471         * include/dirent.h: Add libc_hidden_proto for rewinddir.
86472         * dirent/rewinddir.c: Add libc_hidden_def.
86473         * sysdeps/mach/hurd/rewinddir.c: Likewise.
86474         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
86476         * include/dirent.h (__alloc_dir): Add flags parameter.
86477         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
86478         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
86479         __alloc_dir.
86480         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
86481         from fdopendir if O_CLOEXEC is already set.
86483 2011-03-15  Alan Modra  <amodra@gmail.com>
86485         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
86486         l_tls_firstbyte_offset non-zero.  Save padding offset in
86487         l_tls_firstbyte_offset for later use.
86488         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
86489         freeing static tls block.
86491 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
86493         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
86494         where #ifdef was intended.  The intent is to prevent ARG_MAX from
86495         being defined by the kernel headers.
86497 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
86499         [BZ #12734]
86500         * resolv/resolv.h: Define RES_NOTLDQUERY.
86501         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
86502         no-tld-query and set RES_NOTLDQUERY.
86503         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
86504         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
86505         modern BIND to search name as TLD unless forbidden.
86507 2011-05-07  Petr Baudis  <pasky@suse.cz>
86508             Ulrich Drepper  <drepper@gmail.com>
86510         [BZ #12393]
86511         * elf/dl-load.c (fillin_rpath): Move trusted path check...
86512         (is_trusted_path): ...to here.
86513         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
86514         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
86515         using is_trusted_path_normalize() in setuid scripts.
86517 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
86519         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
86520         __BEGIN/__END_DECLS.
86522 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
86524         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
86525         NSS_STATUS_NOTFOUND if no record was found.
86527 2011-05-05  Andreas Schwab  <schwab@redhat.com>
86529         * sunrpc/Makefile (headers): Add rpc/netdb.h.
86530         (headers-not-in-tirpc): Remove rpc/netdb.h
86531         * resolv/netdb.h: Revert last change.
86533 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
86535         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
86536         circular dependency between libgcc.a and libc.a.
86538 2011-05-05  Andreas Schwab  <schwab@redhat.com>
86540         * resolv/netdb.h: Don't include <rpc/netdb.h>.
86541         * nis/Makefile: Don't install rpcsvc/*.
86542         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
86543         instead of <rpc/types.h>.
86544         (MAXHOSTNAMELEN): Define.
86546 2011-05-03  Andreas Schwab  <schwab@redhat.com>
86548         * elf/ldconfig.c (add_dir): Don't crash on empty path.
86550 2011-04-28  Maciej Babinski  <mbabinski@google.com>
86552         [BZ #12714]
86553         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
86554         gethostbyname4_r when IPv6 results are possible.
86556 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
86558         [BZ #12723]
86559         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
86560         _PC_PIPE_BUF handling.
86562 2011-04-30  Bruno Haible  <bruno@clisp.org>
86564         [BZ #12717]
86565         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
86566         * resolv/netdb.h (getnameinfo): Change type of flags parameter
86567         to 'int'.
86568         * inet/getnameinfo.c (getnameinfo): Likewise.
86570 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
86572         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
86573         to groups setting in database lookup.
86574         * nss/nsswitch.conf: Add initgroups entry.
86576 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
86578         [BZ #12685]
86579         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
86580         mode string.
86581         Patch by Eric Blake <eblake@redhat.com>.
86583 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
86585         * sunrpc/Makefile (need-export-routines): Add svc_run.
86586         (routines): Remove svc_run.
86587         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
86588         * sunrpc/clnt_perr.c (clnt_perrno): Export.
86589         * sunrpc/svc_run.c (svc_run): Likewise.
86590         * sunrpc/svc_udp.c (svcudp_create): Likewise.
86592 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
86594         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
86595         problem in reallocation in last patch.
86597 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
86599         * sunrpc/Makefile: Move inclusion of Rules.
86601 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
86603         * nss/nss_files/files-initgroups.c: New file.
86604         * nss/Makefile (libnss_files-routines): Add files-initgroups.
86605         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
86606         _nss_files_initgroups_dyn.
86608 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
86610         * elf/elf.h (R_ARM_IRELATIVE): Define.
86612 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
86614         * po/ru.po: Update from translation team.
86616 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
86618         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
86619         dependencies.
86621 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
86623         [BZ #12653]
86624         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
86625         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
86626         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
86627         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
86628         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
86630 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
86632         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
86633         differing bytes.
86634         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
86635         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
86636         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
86638 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
86640         [BZ #12420]
86641         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
86642         storing it.
86643         * stdlib/bug-getcontext.c: New file.
86644         * stdlib/Makefile: Add rules to build and run bug-getcontext.
86646 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86648         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
86649         instructions into .machine "z9-109".
86650         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
86651         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
86653 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86655         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
86656         between environment variables and auxiliary vector.
86658 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
86660         * Makefile: Add rules to build linkobj/libc.so.
86661         * include/libc-symbols.h: Define libc_hidden_nolink.
86662         * include/rpc/auth.h: Mark functions which are to be hidden.
86663         * include/rpc/auth_des.h: Likewise.
86664         * include/rpc/auth_unix.h: Likewise.
86665         * include/rpc/clnt.h: Likewise.
86666         * include/rpc/des_crypt.h: Likewise.
86667         * include/rpc/key_prot.h: Likewise.
86668         * include/rpc/pmap_clnt.h: Likewise.
86669         * include/rpc/pmap_prot.h: Likewise.
86670         * include/rpc/pmap_rmt.h: Likewise.
86671         * include/rpc/rpc_msg.h: Likewise.
86672         * include/rpc/svc.h: Likewise.
86673         * include/rpc/svc_auth.h: Likewise.
86674         * include/rpc/xdr.h: Likewise.
86675         * nis/Makefile: Link all DSOs against linkobj/libc.so.
86676         * nss/Makefile: Likewise.
86677         * sunrpc/Makefile: Don't install headers.  Build library with normal
86678         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
86679         * sunrpc/auth_des.c: Hide exported symbols by default, export some
86680         for the compat linking library.  Remove use of INTDEF/INTUSE.
86681         * sunrpc/auth_none.c: Likewise.
86682         * sunrpc/auth_unix.c: Likewise.
86683         * sunrpc/authdes_prot.c: Likewise.
86684         * sunrpc/authuxprot.c: Likewise.
86685         * sunrpc/clnt_gen.c: Likewise.
86686         * sunrpc/clnt_perr.c: Likewise.
86687         * sunrpc/clnt_raw.c: Likewise.
86688         * sunrpc/clnt_simp.c: Likewise.
86689         * sunrpc/clnt_tcp.c: Likewise.
86690         * sunrpc/clnt_udp.c: Likewise.
86691         * sunrpc/clnt_unix.c: Likewise.
86692         * sunrpc/des_crypt.c: Likewise.
86693         * sunrpc/des_soft.c: Likewise.
86694         * sunrpc/get_myaddr.c: Likewise.
86695         * sunrpc/key_call.c: Likewise.
86696         * sunrpc/key_prot.c: Likewise.
86697         * sunrpc/netname.c: Likewise.
86698         * sunrpc/pm_getmaps.c: Likewise.
86699         * sunrpc/pm_getport.c: Likewise.
86700         * sunrpc/pmap_clnt.c: Likewise.
86701         * sunrpc/pmap_prot.c: Likewise.
86702         * sunrpc/pmap_prot2.c: Likewise.
86703         * sunrpc/pmap_rmt.c: Likewise.
86704         * sunrpc/publickey.c: Likewise.
86705         * sunrpc/rpc_cmsg.c: Likewise.
86706         * sunrpc/rpc_common.c: Likewise.
86707         * sunrpc/rpc_dtable.c: Likewise.
86708         * sunrpc/rpc_prot.c: Likewise.
86709         * sunrpc/rpc_thread.c: Likewise.
86710         * sunrpc/rtime.c: Likewise.
86711         * sunrpc/svc.c: Likewise.
86712         * sunrpc/svc_auth.c: Likewise.
86713         * sunrpc/svc_authux.c: Likewise.
86714         * sunrpc/svc_raw.c: Likewise.
86715         * sunrpc/svc_run.c: Likewise.
86716         * sunrpc/svc_simple.c: Likewise.
86717         * sunrpc/svc_tcp.c: Likewise.
86718         * sunrpc/svc_udp.c: Likewise.
86719         * sunrpc/svc_unix.c: Likewise.
86720         * sunrpc/svcauth_des.c: Likewise.
86721         * sunrpc/xcrypt.c: Likewise.
86722         * sunrpc/xdr.c: Likewise.
86723         * sunrpc/xdr_array.c: Likewise.
86724         * sunrpc/xdr_float.c: Likewise.
86725         * sunrpc/xdr_intXX_t.c: Likewise.
86726         * sunrpc/xdr_mem.c: Likewise.
86727         * sunrpc/xdr_rec.c: Likewise.
86728         * sunrpc/xdr_ref.c: Likewise.
86729         * sunrpc/xdr_sizeof.c: Likewise.
86730         * sunrpc/xdr_stdio.c: Likewise.
86732 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
86734         [BZ #12650]
86735         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
86736         * sysdeps/ia64/dl-tls.h: Likewise.
86737         * sysdeps/powerpc/dl-tls.h: Likewise.
86738         * sysdeps/s390/dl-tls.h: Likewise.
86739         * sysdeps/sh/dl-tls.h: Likewise.
86740         * sysdeps/sparc/dl-tls.h: Likewise.
86741         * sysdeps/x86_64/dl-tls.h: Likewise.
86742         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
86744 2011-03-14  Andreas Schwab  <schwab@redhat.com>
86746         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
86747         rpath element also skip the following colon.
86748         (expand_dynamic_string_token): Add is_path parameter and pass
86749         down to DL_DST_REQUIRED and _dl_dst_substitute.
86750         (decompose_rpath): Call expand_dynamic_string_token with
86751         non-zero is_path.  Ignore empty rpaths.
86752         (_dl_map_object_from_fd): Call expand_dynamic_string_token
86753         with zero is_path.
86755 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
86757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
86758         Make cancelable.
86760 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
86762         [BZ #12655]
86763         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
86764         Patch by Filipe David Manana <fdmanana@apache.org>.
86766 2011-04-07  Andreas Schwab  <schwab@redhat.com>
86768         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
86769         Maintain aligned stack.
86770         (CHECK_RSP): Remove unused macro.
86772 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
86774         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
86775         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
86777 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
86779         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
86781         * include/features.h: Mention __USE_XOPEN2K8 in comment.
86783 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
86785         [BZ #12518]
86786         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
86787         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
86788         * sysdeps/x86_64/memmove.c: New file.
86789         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
86790         (memcpy): Renamed to ...
86791         (__new_memcpy): This.
86792         (memcpy): Provide GLIBC_2_14 memcpy.
86793         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
86794         (memcpy): Provide GLIBC_2_2_5 memcpy.
86796 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
86798         [BZ #12631]
86799         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
86801 2011-03-30  Andreas Schwab  <schwab@redhat.com>
86803         * misc/syncfs.c: New file.
86804         * misc/Makefile (routines): Add syncfs.
86805         * posix/unistd.h: Declare syncfs.
86806         * sysdeps/unix/syscalls.list: Add syncfs.
86808 2011-04-01  Andreas Schwab  <schwab@redhat.com>
86810         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
86811         open_by_handle_at.
86812         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
86813         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
86814         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
86815         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
86816         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
86817         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
86818         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
86820 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
86822         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
86823         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
86824         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
86825         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
86826         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
86827         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
86828         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
86830         * io/Makefile: Compile fallocate.c, fallocate64.c, and
86831         sync_file_range.c with -fexceptions.
86832         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
86833         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
86834         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
86835         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
86836         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
86837         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
86838         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
86839         sync_file_range as cancellation point
86840         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
86841         now a wrapper around __call_sync_file_range with cancellation handling.
86842         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
86843         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
86844         function name to __call_sync_file_range.
86845         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
86846         Add call_sync_file_range.
86848 2011-04-01  Andreas Schwab  <schwab@redhat.com>
86850         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86851         bits/timex.h.
86853 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
86855         * iconv/iconv.h: Fix typo in comment.
86856         * io/fcntl.h: Likewise.
86857         * libio/stdio.h: Likewise.
86858         * posix/spawn.h: Likewise.
86859         * posix/unistd.h: Likewise.
86860         * stdlib/stdlib.h: Likewise.
86861         * time/time.h: Likewise.
86862         * wcsmbs/wchar.h: Likewise.
86864         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
86865         open_by_handle): Add.
86866         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
86867         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
86868         Augment a few comments.
86869         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
86870         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
86871         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
86872         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
86873         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
86874         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
86875         open_by_handle.
86877         * io/fcntl.h (AT_EMPTY_PATH): Define.
86879 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
86881         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
86882         * sysdeps/unix/sysv/linux/bits/time.h: New file.
86883         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
86884         to...
86885         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
86886         * Versions.def: Add GLIBC_2.14.
86887         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
86888         Export.
86890 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
86892         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
86893         round counter.
86894         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
86896 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
86898         [BZ #12597]
86899         * string/test-strncmp.c (do_page_test): New function.
86900         (check2): Likewise.
86901         (test_main): Call check2.
86902         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
86904 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
86906         [BZ #12587]
86907         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
86908         Handle cache information in CPU leaf 4.
86909         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
86911 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
86913         [BZ #12583]
86914         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
86915         character representation.
86916         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
86918 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
86920         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
86921         END(__isnan) to END(__isnanf) to match function entry point/label
86922         EALIGN(__isnanf,...).
86924 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
86926         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
86928 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
86930         [BZ #12510]
86931         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
86932         copy from the symbol referenced in the relocation to initialize the
86933         used variable.
86934         Patch by Piotr Bury <pbury@goahead.com>.
86935         * elf/Makefile: Add rules to build and tst-unique3.
86936         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
86937         * elf/tst-unique3.cc: New file.
86938         * elf/tst-unique3.h: New file.
86939         * elf/tst-unique3lib.cc: New file.
86940         * elf/tst-unique3lib2.cc: New file.
86942         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
86944 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
86946         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
86947         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
86948         to _start.
86950 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
86952         * elf/dl-load.c (_dl_map_object): If we are looking for the first
86953         to-be-loaded object along a path to loader is ld.so.
86955 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
86956             Ulrich Drepper  <drepper@gmail.com>
86958         * sysdeps/x86_64/memset.S: After aligning destination, code
86959         branches to different locations depending on the value of
86960         misalignment, when multiarch is enabled. Fix this.
86962 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
86964         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
86965         Set _x86_64_preferred_memory_instruction for AMD processsors.
86966         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86967         Set bit_Prefer_SSE_for_memop for AMD processors.
86969 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
86971         * libio/fmemopen.c (fmemopen): Optimize a bit.
86973 2011-03-03  Andreas Schwab  <schwab@redhat.com>
86975         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
86977 2011-03-03  Roland McGrath  <roland@redhat.com>
86979         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
86981 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
86983         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
86984         __bzero_ultra1 instead of __memset_ultra1.
86986 2011-02-23  Andreas Schwab  <schwab@redhat.com>
86987             Ulrich Drepper  <drepper@gmail.com>
86989         [BZ #12509]
86990         * include/link.h (struct link_map): Add l_orig_initfini.
86991         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
86992         returning unsuccessfully.
86993         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
86994         close of a file loaded at startup, restore the original l_initfini
86995         list.
86996         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
86997         list, store the pointer.
86998         * elf/Makefile ($(objpfx)noload-mem): New rule.
86999         (noload-ENV): Define.
87000         (tests): Add $(objpfx)noload-mem.
87001         * elf/noload.c: Include <memcheck.h>.
87002         (main): Call mtrace.  Close all opened handles.
87004 2011-02-17  Andreas Schwab  <schwab@redhat.com>
87006         [BZ #12454]
87007         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
87008         dependencies are missing.
87010 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87012         Fix __if_freereq crash: Unlike the generic version which uses free,
87013         Hurd needs munmap.
87014         * sysdeps/mach/hurd/ifreq.h: New file.
87016 2011-01-27  Petr Baudis  <pasky@suse.cz>
87017             Ulrich Drepper  <drepper@gmail.com>
87019         [BZ 12445]#
87020         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
87021         to extend_alloca().
87022         * stdio-common/bug23.c: New file.
87023         * stdio-common/Makefile (tests): Add bug23.
87025 2010-09-28  Andreas Schwab  <schwab@redhat.com>
87026             Ulrich Drepper  <drepper@gmail.com>
87028         [BZ #12489]
87029         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
87030         before performing relro protection.  At old place add assertion
87031         to make sure nothing changed.
87033 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
87034             Glauber de Oliveira Costa  <glommer@gmail.com>
87036         * elf/elf.h: Add new ARM TLS relocs.
87038 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
87040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
87041         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
87042         cast from r3.
87043         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
87044         'tests' variable.
87045         * sysdeps/wordsize-64/tst-writev.c: New file.
87047 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
87049         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
87050         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
87051         insns in _dl_start to prevent a TOC reference before relocs are
87052         resolved.
87054 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
87056         [BZ #12469]
87057         * Makeconfig: Remove RANLIB definition.
87058         * Makerules: Don't use RANLIB.
87059         * aclocal.m4: Remove ranlib test.
87060         * configure.in: No need to check for ranlib.
87061         * elf/rtld-Rules: Don't use RANLIB.
87063 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87065         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
87066         protection macro.
87067         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
87068         inclusion protection macro.
87070         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
87071         SIGRTMIN and SIGRTMAX and print information in that case only when
87072         SIGRTMIN is defined.
87074 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
87076         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
87077         arginfo fn returning -1.
87079         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
87080         and thousands string is zero terminated.
87082 2011-02-03  Andreas Schwab  <schwab@redhat.com>
87084         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
87085         sysdeps/unix/sysv/linux/bits/socket.h.
87087 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87089         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
87090         (__CPU_COUNT): Remove old macros.
87091         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
87092         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
87093         (__CPU_ALLOC, __CPU_FREE): Add macros.
87094         (__sched_cpualloc, __sched_cpufree): Add declarations.
87096 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
87098         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
87099         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
87100         * nscd/aicache.c (addhstaiX): Return timeout of added value.
87101         (readdhstai): Return value of addhstaiX call.
87102         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
87103         (addgrbyX): Return value returned by cache_addgr.
87104         (readdgrbyname): Return value returned by addgrbyX.
87105         (readdgrbygid): Likewise.
87106         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
87107         (addpwbyX): Return value returned by cache_addpw.
87108         (readdpwbyname): Return value returned by addhstbyX.
87109         (readdpwbyuid): Likewise.
87110         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
87111         (addservbyX): Return value returned by cache_addserv.
87112         (readdservbyname): Return value returned by addservbyX:
87113         (readdservbyport): Likewise.
87114         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
87115         (addhstbyX): Return value returned by cache_addhst.
87116         (readdhstbyname): Return value returned by addhstbyX.
87117         (readdhstbyaddr): Likewise.
87118         (readdhstbynamev6): Likewise.
87119         (readdhstbyaddrv6): Likewise.
87120         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
87121         (readdinitgroups): Return value returned by addinitgroupsX.
87122         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
87123         (prune_cache): Keep track of timeout value of re-added entries.
87124         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
87125         * nscd/nscd.h: Adjust prototypes of readd* functions.
87127 2011-02-04  Roland McGrath  <roland@redhat.com>
87129         * nis/nis_server.c (nis_servstate): Use the right name for 0.
87130         (nis_stats): Likewise.
87131         * nis/nis_modify.c (nis_modify): Likewise.
87132         * nis/nis_remove.c (nis_remove): Likewise.
87133         * nis/nis_add.c (nis_add): Likewise.
87135         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
87137         * posix/fnmatch_loop.c: Add some consts.
87139         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
87141 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
87143         [BZ #12460]
87144         * config.make.in (config-cflags-novzeroupper): Define.
87145         * configure.in: Substitute libc_cv_cc_novzeroupper.
87146         * elf/Makefile (AVX-CFLAGS): Define.
87147         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
87148         (CFLAGS-tst-auditmod4a.c): Likewise.
87149         (CFLAGS-tst-auditmod4b.c): Likewise.
87150         (CFLAGS-tst-auditmod6b.c): Likewise.
87151         (CFLAGS-tst-auditmod6c.c): Likewise.
87152         (CFLAGS-tst-auditmod7b.c): Likewise.
87153         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
87155 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
87157         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
87158         function to the callback.
87159         Patch partly by Jiri Olsa <jolsa@redhat.com>.
87161 2011-02-02  Andreas Schwab  <schwab@redhat.com>
87163         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
87164         of errno.
87166 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
87168         [BZ #11724]
87169         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
87170         of constructors.
87171         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
87172         of destructors.
87173         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
87175         [BZ #11724]
87176         * elf/Makefile: Add rules to build and run new test.
87177         * elf/tst-initorder.c: New file.
87178         * elf/tst-initorder.exp: New file.
87179         * elf/tst-initordera1.c: New file.
87180         * elf/tst-initordera2.c: New file.
87181         * elf/tst-initordera3.c: New file.
87182         * elf/tst-initordera4.c: New file.
87183         * elf/tst-initorderb1.c: New file.
87184         * elf/tst-initorderb2.c: New file.
87185         * elf/tst-order-a1.c: New file.
87186         * elf/tst-order-a2.c: New file.
87187         * elf/tst-order-a3.c: New file.
87188         * elf/tst-order-a4.c: New file.
87189         * elf/tst-order-b1.c: New file.
87190         * elf/tst-order-b2.c: New file.
87191         * elf/tst-order-main.c: New file.
87192         New test case by George Gensure <werkt0@gmail.com>.
87194 2010-10-01  Andreas Schwab  <schwab@redhat.com>
87196         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
87197         decoding ACE if AI_CANONIDN.
87199 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
87201         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
87203 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
87205         * version.h (RELEASE): Bump for 2.13 release.
87206         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
87208         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
87210         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
87211         MADV_NOHUGEPAGE.
87212         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
87213         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
87214         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
87215         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
87216         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
87217         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
87219         * posix/getconf.c: Update copyright year.
87220         * catgets/gencat.c: Likewise.
87221         * csu/version.c: Likewise.
87222         * debug/catchsegv.sh: Likewise.
87223         * debug/xtrace.sh: Likewise.
87224         * elf/ldconfig.c: Likewise.
87225         * elf/ldd.bash.in: Likewise.
87226         * elf/sprof.c (print_version): Likewise.
87227         * iconv/iconv_prog.c: Likewise.
87228         * iconv/iconvconfig.c: Likewise.
87229         * locale/programs/locale.c: Likewise.
87230         * locale/programs/localedef.c: Likewise.
87231         * malloc/memusage.sh: Likewise.
87232         * malloc/mtrace.pl: Likewise.
87233         * nscd/nscd.c (print_version): Likewise.
87234         * nss/getent.c: Likewise.
87236         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
87237         PF_CAIF, and PF_ALG.
87238         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
87240 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
87242         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
87243         (modules-names): Use them.
87244         (ifunc-test-modules, ifunc-pie-tests): Define.
87245         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
87246         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
87247         (test-extras): Likewise.
87248         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
87249         $(compile-command.c).
87250         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
87251         (all-built-dso): Define.
87252         (check-textrel.out, check-execstack.out): Depend on it.
87254         * configure.in: Don't override --enable-multi-arch.
87256 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
87258         [BZ #6812]
87259         * nscd/hstcache.c (tryagain): Define.
87260         (cache_addhst): Return tryagain not notfound for temporary errors.
87261         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
87262         failed.
87264 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
87266         [BZ #10563]
87267         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
87268         to make the syscall.
87269         * sysdeps/unix/sysv/linux/setgroups.c: New file.
87271         [BZ #12378]
87272         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
87273         and fall back to matching as normal character if the string ends before
87274         the matching ']' is found.  This is what POSIX requires.
87275         * posix/testfnm.c: Adjust test result.
87276         * posix/globtest.sh: Adjust test result.  Add new test.
87277         * posix/tst-fnmatch.input: Likewise.
87278         * posix/tst-fnmatch2.c: Add new test.
87280 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
87282         * elf/Makefile (check-execstack): Revert last change.  Depend on
87283         check-execstack.h.
87284         (check-execstack.h): New target.
87285         (generated): Add check-execstack.h.
87286         * elf/check-execstack.c: Include "check-execstack.h".
87287         (main): Revert last change.
87288         (handle_file): Return zero if GNU_STACK is absent and
87289         DEFAULT_STACK_PERMS doesn't include PF_X.
87291 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
87293         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
87294         in child fails because the descriptor is already closed.
87295         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
87296         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
87297         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
87299         [BZ #12397]
87300         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
87301         syscall.
87303         [BZ #10484]
87304         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
87305         temporary buffer used to handle multi lookups locally.
87306         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
87308 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
87310         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
87311         loader is ld.so.
87313 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
87315         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
87316         alignment for SSE2.
87318 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
87320         [BZ #12394]
87321         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
87322         characters.  When rounding increased number of integer digits recompute
87323         number of groups.
87324         * stdio-common/tst-grouping.c: New file.
87325         * stdio-common/Makefile: Add rules to build and run tst-grouping.
87327 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
87329         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
87330         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
87332         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
87333         void.
87334         * bits/select.h: Likewise.
87336 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
87338         * po/ja.po: Update from translation team.
87340 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
87342         [BZ #11155]
87343         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
87344         implementation just like for lxstat, fxstatat, et al.
87346 2010-12-27  Jim Meyering  <meyering@redhat.com>
87348         [BZ #12348]
87349         * posix/regexec.c (build_trtable): Return failure indication upon
87350         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
87352 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
87354         [BZ #12201]
87355         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
87356         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
87357         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
87358         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
87360         [BZ #12207]
87361         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
87363         [BZ #12204]
87364         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
87365         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
87367 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
87369         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
87370         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
87371         script has SORT_BY_INIT_PRIORITY.
87372         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
87373         NO_CTORS_DTORS_SECTIONS is defined.
87374         * elf/soinit.c: Likewise.
87375         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
87376         NO_CTORS_DTORS_SECTIONS is defined.
87377         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
87378         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
87379         * sysdeps/sh/init-first.c: Likewise.
87380         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
87382 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
87384         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
87385         always use the slow path.
87387 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
87389         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
87390         similar rule which adds the sysdep directories to the header search in
87391         order to pick up the correct platform stackinfo.h.
87392         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
87393         perform test if it is, otherwise return successfully without testing.
87394         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
87395         DEFAULT_STACK_PERMS define in stackinfo.h.
87396         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
87397         defined in stackinfo.h.
87398         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
87399         DEFAULT_STACK_PERMS defined in stackinfo.h.
87400         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
87401         * sysdeps/ia64/stackinfo.h: Likewise.
87402         * sysdeps/s390/stackinfo.h: Likewise.
87403         * sysdeps/sh/stackinfo.h: Likewise.
87404         * sysdeps/sparc/stackinfo.h: Likewise.
87405         * sysdeps/x86_64/stackinfo.h: Likewise.
87406         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
87407         PF_X for powerpc64.  Retain PF_X for powerpc32.
87409 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
87411         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
87412         accurately.
87413         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
87414         GETDENTS_64BIT_ALIGNED.
87416 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
87418         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
87420 2010-12-10  Andreas Schwab  <schwab@redhat.com>
87422         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
87423         _GNU_SOURCE.
87425         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
87426         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
87427         Remove __restrict.
87428         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
87429         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
87431 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
87433         [BZ #11655]
87434         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
87435         are initialized.
87437 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
87439         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
87441 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
87443         * po/it.po: Update from translation team.
87445 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
87447         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
87448         unused codes.
87450 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
87452         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
87454 2010-11-24  Andreas Schwab  <schwab@redhat.com>
87456         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
87457         specially.
87458         (gaih_getanswer_slice): Likewise.
87460 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
87462         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
87464 2010-05-31  Petr Baudis  <pasky@suse.cz>
87466         [BZ #11149]
87467         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
87468         silently even in the chroot mode.
87470 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
87472         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
87473         last patch a bit.  Pretty printing
87475 2010-05-31  Petr Baudis <pasky@suse.cz>
87477         [BZ #10085]
87478         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
87479         initialization of skip_initgroups_dyn.
87481 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
87483         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
87484         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
87486 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
87488         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
87490 2010-11-11  Andreas Schwab  <schwab@redhat.com>
87492         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
87493         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
87494         (tst-fnmatch-ENV): Set MALLOC_TRACE.
87495         ($(objpfx)tst-fnmatch-mem): New rule.
87496         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
87497         * posix/tst-fnmatch.c (main): Call mtrace.
87499 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
87501         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87502         Support Intel processor model 6 and model 0x2c.
87504 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
87506         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
87507           signed comparison.
87509 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
87511         [BZ #12205]
87512         * string/test-strncasecmp.c (check_result): New function.
87513         (do_one_test): Use it.
87514         (check1): New function.
87515         (test_main): Use it.
87516         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
87517         Support strcasecmp and strncasecmp.
87519 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
87521         [BZ #12194]
87522         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
87523         * sysdeps/x86_64/bits/byteswap.h: Likewise.
87525 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
87527         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
87528         IFUNC support.
87529         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87530         memset-x86-64.
87531         * sysdeps/x86_64/multiarch/bzero.S: New file.
87532         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
87533         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
87534         * sysdeps/x86_64/multiarch/memset.S: New file.
87535         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
87536         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87537         Set bit_Prefer_SSE_for_memop for Intel processors.
87538         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
87539         Define.
87540         (index_Prefer_SSE_for_memop): Define.
87541         (HAS_PREFER_SSE_FOR_MEMOP): Define.
87543 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
87545         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
87546         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
87548 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
87550         [BZ #12191]
87551         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
87552         (__x86_64_raw_data_cache_size_half): Likewise.
87553         (__x86_64_raw_shared_cache_size): Likewise.
87554         (__x86_64_raw_shared_cache_size_half): Likewise.
87556         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
87557         (__x86_64_raw_data_cache_size_half): Likewise.
87558         (__x86_64_raw_shared_cache_size): Likewise.
87559         (__x86_64_raw_shared_cache_size_half): Likewise.
87560         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
87561         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
87562         and __x86_64_raw_shared_cache_size_half.  Round
87563         __x86_64_data_cache_size_half, __x86_64_data_cache_size
87564         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
87565         to multiple of 256 bytes.
87567 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
87569         [BZ #12167]
87570         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
87571         of inacessible symlinks.  Verify result of symlink before returning it.
87572         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
87573         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
87575 2010-10-28  Erich Ritz  <erichritz@gmail.com>
87577         * math/math.h (isinf): Fix typo in comment.
87579 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
87581         * po/da.po: Update from translation team.
87583 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
87585         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
87586         is added to the list.
87588 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87589             Ulrich Drepper  <drepper@gmail.com>
87591         * elf/dl-object.c (_dl_new_object): Don't append the new object to
87592         the global list here.  Move code to...
87593         (_dl_add_to_namespace_list): ...here.  New function.
87594         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
87595         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
87596         * elf/dl-load.c (lose): Don't remove the element from the list.
87597         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
87598         (_dl_map_object): Likewise.
87600 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
87602         [BZ #12159]
87603         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
87604         into all bytes of SSE register.
87605         Patch by Richard Li <richardpku@gmail.com>.
87607 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
87609         [BZ #12140]
87610         * malloc/malloc.c (_int_free): Fill correct number of bytes when
87611         perturbing.
87613 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
87615         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
87616         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
87617         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
87618         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
87619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
87620         submachine.
87621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
87623 2010-10-22  Andreas Schwab  <schwab@redhat.com>
87625         * include/dlfcn.h (__RTLD_SECURE): Define.
87626         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
87627         mode & __RTLD_SECURE instead.
87628         (open_path): Rename preloaded parameter to secure.
87629         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
87630         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
87631         * elf/dl-deps.c (openaux): Likewise.
87632         * elf/rtld.c (struct map_args): Remove is_preloaded.
87633         (map_doit): Don't use it.
87634         (dl_main): Likewise.
87635         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
87636         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
87638 2010-09-09  Andreas Schwab  <schwab@redhat.com>
87640         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
87641         (sysd-rules-targets): Remove duplicates.
87642         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
87643         rtld-%.$o dependency.
87645 2010-10-18  Andreas Schwab  <schwab@redhat.com>
87647         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
87648         _dl_map_object do it.
87650 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
87652         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
87653         fast fma builtins, define the macros in the C99 standard.
87654         (FP_FAST_FMAF): Likewise.
87655         (FP_FAST_FMAL): Likewise.
87656         * sysdeps/x86_64/bits/mathdef.h: Likewise.
87658         * bits/mathdef.h: Update copyright year.
87659         * sysdeps/powerpc/bits/mathdef.h: Likewise.
87661 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
87663         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
87664         builtins, define the macros in the C99 standard.
87665         (FP_FAST_FMAF): Likewise.
87666         (FP_FAST_FMAL): Likewise.
87667         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
87668         multiply/add.
87669         (FP_FAST_FMAF): Likewise.
87671 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
87673         [BZ #3268]
87674         * math/libm-test.inc (fma_test): Some new testcases.
87675         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
87676         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
87677         y and infinite z.  Do multiplication by C already in long double.
87678         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
87679         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
87680         y and infinite z.  Do bitwise or of inexact bit into u.d.
87681         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
87682         * sysdeps/i386/fpu/s_fmaf.S: Removed.
87683         * sysdeps/i386/fpu/s_fma.S: Removed.
87684         * sysdeps/i386/fpu/s_fmal.S: Removed.
87686 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
87688         [BZ #3268]
87689         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
87690         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
87691         computation is not scheduled after fetestexcept.  Fix value
87692         of minimum denormal long double.
87694 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
87696         [BZ #3268]
87697         * math/libm-test.inc (fma_test): Add some more tests.
87698         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
87699         correctly.
87701 2010-10-15  Andreas Schwab  <schwab@redhat.com>
87703         * scripts/data/localplt-s390-linux-gnu.data: New file.
87704         * scripts/data/localplt-s390x-linux-gnu.data: New file.
87706 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
87708         [BZ #3268]
87709         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
87710         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
87711         instead of dbl-64.
87712         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
87713         inlines.
87714         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
87715         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
87716         if one of x and y is very large and the other is subnormal.
87717         * sysdeps/s390/fpu/s_fmaf.c: New file.
87718         * sysdeps/s390/fpu/s_fma.c: New file.
87719         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
87720         * sysdeps/powerpc/fpu/s_fma.S: New file.
87721         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
87722         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
87723         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
87725 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
87727         [BZ #3268]
87728         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
87729         fma tests.
87730         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
87731         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
87732         * sysdeps/i386/i686/multiarch/s_fma.c: Include
87733         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
87734         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
87735         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
87736         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
87738 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
87740         [BZ #12078]
87741         * posix/regcomp.c (parse_branch): One more memory leak plugged.
87742         * posix/bug-regex31.input: Add test case.
87744 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
87746         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
87747         * posix/bug-regex31.input: New file.
87749         [BZ #12078]
87750         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
87751         (parse_sub_exp): Fix last change, use postorder.
87753         * posix/bug-regex31.c: New file.
87754         * posix/Makefile: Add rules to build and run bug-regex31.
87756         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
87758         [BZ #12078]
87759         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
87761         [BZ #12108]
87762         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
87763         to have entries in sys_siglist.
87765         [BZ #12093]
87766         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
87767         be NULL.
87769 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
87771         [BZ #3268]
87772         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
87773         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
87774         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
87775         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
87776         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
87777         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
87778         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
87779         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
87780         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
87781         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
87782         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
87783         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
87784         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
87785         * math/ftestexcept.c (fetestexcept): Likewise.
87786         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
87787         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
87788         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
87789         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
87790         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
87791         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
87792         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
87794 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
87796         [BZ #12107]
87797         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
87798         newline.
87800 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
87802         * string/bug-strstr1.c: New file.
87803         * string/Makefile: Add rules to build and run bug-strstr1.
87805 2010-10-05  Eric Blake  <eblake@redhat.com>
87807         [BZ #12092]
87808         * string/str-two-way.h (two_way_long_needle): Always clear memory
87809         when skipping input due to the shift table.
87811 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
87813         [BZ #12005]
87814         * malloc/mcheck.c: Handle large requests.
87816         [BZ #12077]
87817         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
87818         for strncmp and strncasecmp.
87819         * string/stratcliff.c: Add tests for strcmp and strncmp.
87820         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
87822 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
87824         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
87825         __set_fpscr.
87827 2010-09-30  Andreas Jaeger  <aj@suse.de>
87829         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
87830         (CGROUP_SUPER_MAGIC): Define.
87831         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
87832         Handle btrfs and cgroup file systems.
87833         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
87834         Likewise.
87836 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
87838         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
87839         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
87841 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87843         [BZ #12067]
87844         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
87845         trying to locate the ELF header.
87847 2010-09-27  Andreas Schwab  <schwab@redhat.com>
87849         [BZ #11611]
87850         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
87851         Mask out sign-bit copies when constructing f_fsid.
87853 2010-09-24  Petr Baudis <pasky@suse.cz>
87855         * debug/stack_chk_fail_local.c: Add missing licence exception.
87856         * debug/warning-nop.c: Likewise.
87858 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
87860         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
87861         implementing getdents64 using getdents syscall, set d_type if
87862         __ASSUME_GETDENTS32_D_TYPE.
87864 2010-09-16  Andreas Schwab  <schwab@redhat.com>
87866         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
87867         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
87869 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
87871         [BZ #12037]
87872         * posix/unistd.h: Undo change of feature selection for ftruncate from
87873         2010-01-11.
87875 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
87877         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
87878         detection.
87880 2010-09-20  Andreas Schwab  <schwab@redhat.com>
87882         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
87883         fanotify_mark.
87884         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
87886 2010-09-14  Andreas Schwab  <schwab@redhat.com>
87888         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
87889         variables after CHECK_SP call.
87890         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
87892 2010-09-13  Andreas Schwab  <schwab@redhat.com>
87893             Ulrich Drepper  <drepper@redhat.com>
87895         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
87896         re-relocationg ld.so.
87897         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
87898         _dl_init_paths call.
87899         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
87900         here anymore.
87902 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
87904         * resolv/res_init.c (__res_vinit): Count the default server we added.
87906 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
87907             Ulrich Drepper  <drepper@redhat.com>
87909         [BZ #11968]
87910         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
87911         (____longjmp_chk): Use %ebx for saving value across system call.
87912         Add unwind info.
87914 2010-09-06  Andreas Schwab  <schwab@redhat.com>
87916         * manual/Makefile: Don't mix pattern rules with normal rules.
87918 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
87920         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
87921         operation.
87922         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
87923         * libio/iofopncook.c (_IO_cookie_init): Likewise.
87924         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
87925         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
87926         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
87927         Likewise.
87929 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
87931         [BZ #11979]
87932         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
87933         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
87935 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
87937         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
87938         * sysdeps/x86_64/addmul_1.S: Likewise.
87939         * sysdeps/x86_64/lshift.S: Likewise.
87940         * sysdeps/x86_64/mul_1.S: Likewise.
87941         * sysdeps/x86_64/rshift.S: Likewise.
87942         * sysdeps/x86_64/sub_n.S: Likewise.
87943         * sysdeps/x86_64/submul_1.S: Likewise.
87945 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87947         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
87948         Define __sched_param instead of SCHED_* and sched_param when
87949         <bits/sched.h> is included with __need_schedparam defined.
87950         * bits/sched.h [__need_schedparam]
87951         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
87952         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
87953         (__defined_schedparam): Define to 1.
87954         (__sched_param): New structure, identical to sched_param.
87955         (__need_schedparam): Undefine.
87957 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
87959         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
87960         (epoll_create1): Declare.
87962         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
87964 2010-08-31  Andreas Schwab  <schwab@redhat.com>
87966         [BZ #7066]
87967         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
87968         shifting retval into place.
87970 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
87972         * nis/rpcsvc/nis.h: Update copyright notice.
87973         * nis/rpcsvc/nis.x: Likewise.
87974         * nis/rpcsvc/nis_callback.h: Likewise.
87975         * nis/rpcsvc/nis_callback.x: Likewise.
87976         * nis/rpcsvc/nis_object.x: Likewise.
87977         * nis/rpcsvc/nis_tags.h: Likewise.
87978         * nis/rpcsvc/yp.h: Likewise.
87979         * nis/rpcsvc/yp.x: Likewise.
87980         * nis/rpcsvc/ypupd.h: Likewise.
87981         * nis/yp_xdr.c: Likewise.
87982         * nis/ypupdate_xdr.c: Likewise.
87984         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
87985         mainly the body of pmap_getport.  Add parameters to specify timeouts.
87986         (pmap_getport): Use __libc_rpc_getport.
87987         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
87988         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
87989         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
87991 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
87993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
87994         fanotify_mark.
87996 2010-08-27  Roland McGrath  <roland@redhat.com>
87998         * sysdeps/i386/i686/multiarch/Makefile
87999         (CFLAGS-varshift.c): New variable.
88001 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
88003         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
88004         * sysdeps/i386/i686/multiarch/varshift.c: New file.
88006         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
88008         * sysdeps/x86_64/strlen.S: Minimal code improvement.
88010 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
88012         * sysdeps/x86_64/strlen.S: Unroll the loop.
88013         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88014         strlen-sse2 strlen-sse2-bsf.
88015         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
88016         __strlen_no_bsf if bit_Slow_BSF is set.
88017         (__strlen_sse42): Removed.
88018         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
88019         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
88021 2010-08-25  Roland McGrath  <roland@redhat.com>
88023         * sysdeps/x86_64/multiarch/varshift.S: File removed.
88024         * sysdeps/x86_64/multiarch/varshift.c: New file.
88025         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
88026         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
88027         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
88028         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
88030 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
88032         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88033         strlen-sse2 strlen-sse2-bsf.
88034         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
88035         __strlen_sse2_bsf if bit_Slow_BSF is unset.
88036         (__strlen_sse2): Removed.
88037         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
88038         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
88039         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
88040         bit_Slow_BSF for Atom.
88041         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
88042         (index_Slow_BSF): Define.
88043         (HAS_SLOW_BSF): Define.
88045 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
88047         [BZ #10851]
88048         * resolv/res_init.c (__res_vinit): When no server address at all
88049         is given default to loopback.
88051 2010-08-24  Roland McGrath  <roland@redhat.com>
88053         * configure.in: Remove config-name.h generation.
88054         * configure: Regenerated.
88055         * config-name.in: File removed.
88056         * scripts/config-uname.sh: New file.
88057         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
88058         ($(objdir)config-name.h): New target.
88060         * sunrpc/rpc_parse.h: Avoid nested comment.
88062 2010-08-24  Richard Henderson  <rth@redhat.com>
88063             Ulrich Drepper  <drepper@redhat.com>
88064             H.J. Lu  <hongjiu.lu@intel.com>
88066         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
88067         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
88068         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
88069         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
88070         _mm_alignr_epi8 with _mm_loadu_si128.
88071         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
88072         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
88073         (__m128i_shift_right): Removed.
88074         * sysdeps/i386/i686/multiarch/varshift.h: New file.
88075         * sysdeps/i386/i686/multiarch/varshift.S: New file.
88076         * sysdeps/x86_64/multiarch/varshift.h: New file.
88077         * sysdeps/x86_64/multiarch/varshift.S: New file.
88079 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
88081         * configure.in: Move assembler checks to before sysdep dir checking.
88083 2010-08-20  Petr Baudis  <pasky@suse.cz>
88085         * LICENSES: Sync the sunrpc license.
88087 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
88089         * sunrpc/auth_des.c: Update copyright notice once again.
88090         * sunrpc/auth_none.c: Likewise.
88091         * sunrpc/auth_unix.c: Likewise.
88092         * sunrpc/authdes_prot.c: Likewise.
88093         * sunrpc/authuxprot.c: Likewise.
88094         * sunrpc/bindrsvprt.c: Likewise.
88095         * sunrpc/clnt_gen.c: Likewise.
88096         * sunrpc/clnt_perr.c: Likewise.
88097         * sunrpc/clnt_raw.c: Likewise.
88098         * sunrpc/clnt_simp.c: Likewise.
88099         * sunrpc/clnt_tcp.c: Likewise.
88100         * sunrpc/clnt_udp.c: Likewise.
88101         * sunrpc/clnt_unix.c: Likewise.
88102         * sunrpc/des_crypt.c: Likewise.
88103         * sunrpc/des_soft.c: Likewise.
88104         * sunrpc/get_myaddr.c: Likewise.
88105         * sunrpc/getrpcport.c: Likewise.
88106         * sunrpc/key_call.c: Likewise.
88107         * sunrpc/key_prot.c: Likewise.
88108         * sunrpc/openchild.c: Likewise.
88109         * sunrpc/pm_getmaps.c: Likewise.
88110         * sunrpc/pm_getport.c: Likewise.
88111         * sunrpc/pmap_clnt.c: Likewise.
88112         * sunrpc/pmap_prot.c: Likewise.
88113         * sunrpc/pmap_prot2.c: Likewise.
88114         * sunrpc/pmap_rmt.c: Likewise.
88115         * sunrpc/rpc/auth.h: Likewise.
88116         * sunrpc/rpc/auth_unix.h: Likewise.
88117         * sunrpc/rpc/clnt.h: Likewise.
88118         * sunrpc/rpc/des_crypt.h: Likewise.
88119         * sunrpc/rpc/key_prot.h: Likewise.
88120         * sunrpc/rpc/netdb.h: Likewise.
88121         * sunrpc/rpc/pmap_clnt.h: Likewise.
88122         * sunrpc/rpc/pmap_prot.h: Likewise.
88123         * sunrpc/rpc/pmap_rmt.h: Likewise.
88124         * sunrpc/rpc/rpc.h: Likewise.
88125         * sunrpc/rpc/rpc_des.h: Likewise.
88126         * sunrpc/rpc/rpc_msg.h: Likewise.
88127         * sunrpc/rpc/svc.h: Likewise.
88128         * sunrpc/rpc/svc_auth.h: Likewise.
88129         * sunrpc/rpc/types.h: Likewise.
88130         * sunrpc/rpc/xdr.h: Likewise.
88131         * sunrpc/rpc_clntout.c: Likewise.
88132         * sunrpc/rpc_cmsg.c: Likewise.
88133         * sunrpc/rpc_common.c: Likewise.
88134         * sunrpc/rpc_cout.c: Likewise.
88135         * sunrpc/rpc_dtable.c: Likewise.
88136         * sunrpc/rpc_hout.c: Likewise.
88137         * sunrpc/rpc_main.c: Likewise.
88138         * sunrpc/rpc_parse.c: Likewise.
88139         * sunrpc/rpc_parse.h: Likewise.
88140         * sunrpc/rpc_prot.c: Likewise.
88141         * sunrpc/rpc_sample.c: Likewise.
88142         * sunrpc/rpc_scan.c: Likewise.
88143         * sunrpc/rpc_scan.h: Likewise.
88144         * sunrpc/rpc_svcout.c: Likewise.
88145         * sunrpc/rpc_tblout.c: Likewise.
88146         * sunrpc/rpc_util.c: Likewise.
88147         * sunrpc/rpc_util.h: Likewise.
88148         * sunrpc/rpcinfo.c: Likewise.
88149         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
88150         * sunrpc/rpcsvc/key_prot.x: Likewise.
88151         * sunrpc/rpcsvc/klm_prot.x: Likewise.
88152         * sunrpc/rpcsvc/mount.x: Likewise.
88153         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
88154         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
88155         * sunrpc/rpcsvc/rex.x: Likewise.
88156         * sunrpc/rpcsvc/rstat.x: Likewise.
88157         * sunrpc/rpcsvc/rusers.x: Likewise.
88158         * sunrpc/rpcsvc/sm_inter.x: Likewise.
88159         * sunrpc/rpcsvc/spray.x: Likewise.
88160         * sunrpc/rpcsvc/yppasswd.x: Likewise.
88161         * sunrpc/rtime.c: Likewise.
88162         * sunrpc/svc.c: Likewise.
88163         * sunrpc/svc_auth.c: Likewise.
88164         * sunrpc/svc_authux.c: Likewise.
88165         * sunrpc/svc_raw.c: Likewise.
88166         * sunrpc/svc_run.c: Likewise.
88167         * sunrpc/svc_simple.c: Likewise.
88168         * sunrpc/svc_tcp.c: Likewise.
88169         * sunrpc/svc_udp.c: Likewise.
88170         * sunrpc/svc_unix.c: Likewise.
88171         * sunrpc/svcauth_des.c: Likewise.
88172         * sunrpc/xcrypt.c: Likewise.
88173         * sunrpc/xdr.c: Likewise.
88174         * sunrpc/xdr_array.c: Likewise.
88175         * sunrpc/xdr_float.c: Likewise.
88176         * sunrpc/xdr_mem.c: Likewise.
88177         * sunrpc/xdr_rec.c: Likewise.
88178         * sunrpc/xdr_ref.c: Likewise.
88179         * sunrpc/xdr_sizeof.c: Likewise.
88180         * sunrpc/xdr_stdio.c: Likewise.
88182         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
88183         handling.
88185 2010-08-19  Andreas Schwab  <schwab@redhat.com>
88187         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
88189 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
88191         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
88192         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
88193         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
88194         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
88195         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
88196         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
88197         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
88198         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
88199         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
88200         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
88201         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
88202         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
88203         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
88204         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
88206 2010-07-26  Anton Blanchard  <anton@samba.org>
88208         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
88209         * malloc/arena.c (heap_trim): Likewise.
88211 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
88213         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
88214         here.  Not...
88215         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
88216         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
88218 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
88220         * sysdeps/i386/elf/Makefile: New file.
88222 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
88224         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
88225         from fanotify_init.
88226         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
88227         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
88229 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
88231         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
88232         of strncasecmp_l.
88233         * sysdeps/multiarch/strcmp.S: Likewise.
88235 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
88237         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
88238         strncase_l-nonascii.
88239         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
88240         Add strncase_l-ssse3.
88241         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
88242         * sysdeps/x86_64/strcmp.S: Likewise.
88243         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
88244         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
88245         * sysdeps/x86_64/strncase.S: New file.
88246         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
88247         * sysdeps/x86_64/strncase_l.S: New file.
88248         * string/Makefile (strop-tests): Add strncasecmp.
88249         * string/test-strncasecmp.c: New file.
88251         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
88252         warning.
88254         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
88255         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
88257 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
88259         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
88261 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
88263         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
88264         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
88265         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
88267 2010-05-01  Alan Modra  <amodra@gmail.com>
88269         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
88270         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
88271         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
88272         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
88273         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
88274         tidying.  Don't tail-call __sigjmp_save for static lib.
88275         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
88276         save location.
88277         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
88278         (CALL_MCOUNT): Add eh info, and nop after bl.
88279         (TAIL_CALL_SYSCALL_ERROR): New macro.
88280         (PSEUDO_RET): Use it.
88281         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
88282         Correct save location of integer regs and cr.
88283         (_dl_profile_resolve): Correct cr save location.  Delete nops
88284         after bl when SHARED.  Reduce cfi size a little by better
88285         placement of cfi directives.
88286         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
88287         make a stack frame.  Instead use parm save area as a temp.
88288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
88289         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
88290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
88291         Don't make a stack frame for parent, use parm save area.
88292         Increase child stack frame to 112 bytes.  Don't save unused reg,
88293         and adjust reg usage.  Set up cfi on error recovery and
88294         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
88295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
88296         (__makecontext): Add dummy nop after jump to exit.
88297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
88298         Use correct parm save area and cr save, reduce stack frame.
88299         Correct cfi for possible PSEUDO_RET frame setup.
88300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
88301         Branch to local label emitted by PSEUDO_RET rather than
88302         __syscall_error.
88304 2010-08-12  Andreas Schwab  <schwab@redhat.com>
88306         [BZ #11904]
88307         * locale/programs/locale.c (print_assignment): New function.
88308         (show_locale_vars): Use it.
88310 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
88312         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
88313         field.
88314         (struct statfs64): Likewise.
88315         (_STATFS_F_FLAGS): Define.
88316         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
88317         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
88318         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
88319         (ST_VALID): Define locally.
88320         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
88321         __statvfs_getflags, use the provided value.
88322         * sysdeps/unix/sysv/linux/kernel-features.h: Define
88323         __ASSUME_STATFS_F_FLAGS.
88325         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
88327         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
88328         Add sys/fanotify.h.
88329         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
88330         fanotify_mask for GLIBC_2.13.
88331         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
88332         fanotify_init and fanotify_mark.
88333         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
88334         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
88336         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
88337         Add prlimit.
88338         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
88339         prlimit64 for GLIBC_2.13.
88340         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
88341         prlimit64.
88342         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
88343         syscall.
88344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
88345         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
88346         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
88347         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
88348         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
88349         add prlimit alias.
88350         * sysdeps/unix/sysv/linux/prlimit.c: New file.
88352         [BZ #11903]
88353         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
88354         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
88356         * nss/Makefile: Add rules to build and run tst-nss-test1.
88357         * shlib-versions: Add entry for libnss_test1.
88358         * nss/nss_test1.c: New file.
88359         * nss/tst-nss-test1.c: New file.
88361         * nss/nsswitch.c (__nss_database_custom): Define new variable.
88362         (__nss_configure_lookup): Set appropriate entry in
88363         __nss_configure_lookup to true.
88364         * nss/nsswitch.h: Define enum with indeces of databases in
88365         databases and __nss_database_custom arrays.  Declare
88366         __nss_database_custom.
88367         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
88368         to avoid using nscd when custom rules are installed.
88369         * nss/getXXbyYY_r.c: Likewise.
88370         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
88372         * nss/nss_files/files-parse.c: Whitespace fixes.
88374 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
88376         [BZ #11883]
88377         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
88378         * posix/fnmatch_loop.c: Likewise.
88380 2010-07-17  Andi Kleen  <ak@linux.intel.com>
88382         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
88383         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
88384         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
88385         * Versions.def [GLIBC_2.13]: Add.
88387 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
88389         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
88390         Also fail if tpwd after pwuid call is NULL.
88392 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88394         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
88395         when converting to ms.
88397 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88399         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
88400         EOPNOTSUPP errors with ENOTTY.
88401         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
88402         EOPNOTSUPP errors with ENOTTY.
88404 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
88406         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
88407         Add strcasecmp_l-ssse3.
88408         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
88409         strcasecmp.
88410         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
88411         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
88412         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
88414 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
88416         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
88418         * string/Makefile (strop-tests): Add strcasecmp.
88419         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
88420         strcasecmp_l-nonascii.
88421         (gen-as-const-headers): Add locale-defines.sym.
88422         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
88423         * sysdeps/x86_64/strcasecmp.S: New file.
88424         * sysdeps/x86_64/strcasecmp_l.S: New file.
88425         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
88426         * sysdeps/x86_64/locale-defines.sym: New file.
88427         * string/test-strcasecmp.c: New file.
88429         * string/test-strcasestr.c: Test both ends of the range of characters.
88430         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
88432 2010-07-29  Roland McGrath  <roland@redhat.com>
88434         [BZ #11856]
88435         * manual/locale.texi (Yes-or-No Questions): Fix example code.
88437 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
88439         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
88440         for ld.so.
88442 2010-07-27  Andreas Schwab  <schwab@redhat.com>
88444         * manual/memory.texi (Malloc Tunable Parameters): Document
88445         M_PERTURB.
88447 2010-07-26  Roland McGrath  <roland@redhat.com>
88449         [BZ #11840]
88450         * configure.in (-fgnu89-inline check): Set and substitute
88451         gnu89_inline, not libc_cv_gnu89_inline.
88452         * configure: Regenerated.
88453         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
88455 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
88457         * string/test-strnlen.c: New file.
88458         * string/Makefile (strop-tests): Add strnlen.
88459         * string/tester.c (test_strnlen): Add a few more test cases.
88460         * string/tst-strlen.c: Better error reporting.
88462         * sysdeps/x86_64/strnlen.S: New file.
88464 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
88466         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
88467         lower-latency instructions.
88469 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
88471         * string/test-strcasestr.c: New file.
88472         * string/test-strstr.c: New file.
88473         * string/Makefile (strop-tests): Add strstr and strcasestr.
88474         * string/str-two-way.h: Don't undefine MAX.
88475         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
88477 2010-07-21  Andreas Schwab  <schwab@redhat.com>
88479         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88480         strcasestr-nonascii.
88481         (CFLAGS-strcasestr-nonascii.c): Define.
88482         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
88483         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
88484         Remove unused attribute.
88486 2010-07-20  Roland McGrath  <roland@redhat.com>
88488         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
88489         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
88490         ld.so.cache was broken.  With it, there is no way to disable dsocaps
88491         like LD_HWCAP_MASK can disable hwcaps.
88493 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
88495         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
88497 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
88499         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
88500         call in strcasestr.
88501         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
88502         __strcasestr_sse42_nonascii.
88503         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
88504         strcasestr-nonascii.c.
88505         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
88507 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
88509         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
88510         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
88511         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
88512         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
88514 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
88516         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
88517         fcntl.
88519 2010-07-06  Andreas Schwab  <schwab@redhat.com>
88521         [BZ #11577]
88522         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
88523         dl_signal_cerror.
88525 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
88527         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
88528         _PC_PIPE_BUF using F_GETPIPE_SZ.
88530 2010-07-05  Roland McGrath  <roland@redhat.com>
88532         * manual/arith.texi (Rounding Functions): Fix rint description
88533         implicit in round description.
88535 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
88537         * elf/Makefile: Fix linking for a few tests to make recent linker
88538         happy.
88540 2010-06-30  Andreas Schwab  <schwab@redhat.com>
88542         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
88543         $(common-objpfx)libc_nonshared.a.
88545 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
88547         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
88548         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
88549         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
88550         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
88551         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
88552         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
88553         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
88554         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
88555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
88556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
88557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
88558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
88559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
88560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
88561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
88562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
88563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
88564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
88565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
88566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
88567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
88568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
88569         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
88570         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
88571         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
88572         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
88573         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
88574         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
88575         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
88576         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
88577         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
88578         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
88579         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
88580         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
88581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
88582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
88583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
88584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
88585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
88586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
88587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
88588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
88589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
88590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
88591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
88592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
88593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
88594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
88596 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
88598         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
88599         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
88600         * string/memmove.c (memmove): Renamed to ...
88601         (MEMMOVE): ...this.  Default to memmove.
88602         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
88603         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
88604         (END_CHK): Define.
88605         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88606         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
88607         mempcpy-ssse3-back memmove-ssse3-back.
88608         * sysdeps/x86_64/multiarch/bcopy.S: New file .
88609         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
88610         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
88611         * sysdeps/x86_64/multiarch/memcpy.S: New file.
88612         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
88613         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
88614         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
88615         * sysdeps/x86_64/multiarch/memmove.c: New file.
88616         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
88617         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
88618         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
88619         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
88620         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
88621         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
88622         Define.
88623         (index_Fast_Copy_Backward): Define.
88624         (HAS_ARCH_FEATURE): Define.
88625         (HAS_FAST_REP_STRING): Define.
88626         (HAS_FAST_COPY_BACKWARD): Define.
88628 2010-06-21  Andreas Schwab  <schwab@redhat.com>
88630         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
88631         Restore proper fallback handling.
88633 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
88635         [BZ #11701]
88636         * posix/group_member.c (__group_member): Correct checking loop.
88638         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
88639         OOM in getpwuid_r correctly.  Return error number when the caller
88640         should return, otherwise -1.
88641         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
88642         call returning > 0 value.
88643         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
88645 2010-06-07  Andreas Schwab  <schwab@redhat.com>
88647         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
88648         libc_nonshared.a from targets in modules-names.
88650 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
88652         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
88653         requires it.
88655 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
88657         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
88658         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
88659         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
88660         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
88662 2010-06-02  Andreas Schwab  <schwab@redhat.com>
88664         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
88666 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
88668         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
88669         and F_GETPIPE_SZ.
88670         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
88671         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
88672         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
88673         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
88674         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
88675         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
88677 2010-06-14  Roland McGrath  <roland@redhat.com>
88679         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
88681 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
88683         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
88684         __REDIRECT followed by __THROW.
88685         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
88686         * posix/getopt.h (getopt): Likewise.
88688 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
88690         * hurd/lookup-at.c (__file_name_lookup_at): Accept
88691         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
88692         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
88693         in AT_FLAGS.
88694         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
88695         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
88697 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
88699         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
88701 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
88703         [BZ #11640]
88704         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88705         Properly check family and model.
88707 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
88709         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
88711 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
88713         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
88715 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
88717         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
88718         symbol reference.
88720 2010-05-19  Andreas Schwab  <schwab@redhat.com>
88722         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
88723         symbol reference.
88725 2010-05-21  Andreas Schwab  <schwab@redhat.com>
88727         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
88728         and internal_recvmmsg.
88729         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
88730         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
88731         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
88732         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
88734         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
88735         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
88736         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
88738 2010-05-20  Andreas Schwab  <schwab@redhat.com>
88740         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
88742 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
88744         POWER7 optimizations.
88745         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
88746         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
88748 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
88750         * version.h: Update for 2.13 development version.
88752 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
88754         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
88755         exceptions.  Return 0.
88757 2010-05-07  Roland McGrath  <roland@redhat.com>
88759         * elf/ldconfig.c (main): Add a const.
88761 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
88763         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
88764         (args_options): Add no-idn option.
88765         (ahosts_keys_int): Add idn_flags to ai_flags.
88766         (parse_option): Handle 'i' option to clear idn_flags.
88768         * malloc/malloc.c (_int_free): Possible race in the most recently
88769         added check.  Only act on the data if no current modification
88770         happened.
88772 See ChangeLog.17 for earlier changes.